summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2006-08-24 10:18:13 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2006-08-24 10:18:13 +0000
commit54476a20379bc2b7d0e49d32f20fb794b0ad7688 (patch)
tree7143f7cdb02eb9cc545dafb9af570d828ad2b977
parentAdded ~ppc64 (diff)
downloadgentoo-2-54476a20379bc2b7d0e49d32f20fb794b0ad7688.tar.gz
gentoo-2-54476a20379bc2b7d0e49d32f20fb794b0ad7688.tar.bz2
gentoo-2-54476a20379bc2b7d0e49d32f20fb794b0ad7688.zip
Firt release
(Portage version: 2.1-r2)
-rw-r--r--app-admin/recursos/ChangeLog10
-rw-r--r--app-admin/recursos/Manifest16
-rw-r--r--app-admin/recursos/files/digest-recursos-2.03
-rw-r--r--app-admin/recursos/metadata.xml12
-rw-r--r--app-admin/recursos/recursos-2.0.ebuild57
5 files changed, 98 insertions, 0 deletions
diff --git a/app-admin/recursos/ChangeLog b/app-admin/recursos/ChangeLog
new file mode 100644
index 000000000000..1f05a44da0c3
--- /dev/null
+++ b/app-admin/recursos/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/recursos
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/recursos/ChangeLog,v 1.3 2006/08/24 10:18:13 bass Exp $
+
+*recursos-2.0 (24 Aug 2006)
+
+ 24 Aug 2006; J. Alberto Suárez López <bass@gentoo.org>
+ +recursos-2.0.ebuild:
+ First release
+
diff --git a/app-admin/recursos/Manifest b/app-admin/recursos/Manifest
new file mode 100644
index 000000000000..5778b75f666d
--- /dev/null
+++ b/app-admin/recursos/Manifest
@@ -0,0 +1,16 @@
+DIST recursos-2.0.tbz2 29480 RMD160 d46b275e849fe54b6d2eebe2781c3f230449c1d9 SHA1 ac130a28f1a09c2c07436d2cb1bfd644fcedae60 SHA256 031e2b2cae9c86ce828b609c30ca24d32ddcfa13c53b15f35388ad9da6ec1520
+EBUILD recursos-2.0.ebuild 1343 RMD160 37a1b6082027c694dcd0c9d4f83db675c9259bbc SHA1 e044144c6bc8d93a1641ce85f2dd1f0bb7473d31 SHA256 f93ad4cd7c5cec2b6ea8daba4dd7e5795ed685460d3e3d2fc7d836b8e4534607
+MD5 7ce6ec019ed86ce95430f4b7093e21c3 recursos-2.0.ebuild 1343
+RMD160 37a1b6082027c694dcd0c9d4f83db675c9259bbc recursos-2.0.ebuild 1343
+SHA256 f93ad4cd7c5cec2b6ea8daba4dd7e5795ed685460d3e3d2fc7d836b8e4534607 recursos-2.0.ebuild 1343
+MISC ChangeLog 248 RMD160 7fa829b4600a64b9275064d37c9535dc0bb3664b SHA1 7a6088d742ca1834e4c07af89caf877d2c751cc8 SHA256 b621cf59f976699c4c8915d602dabf7e3ded4374a859dce46bdb5233e1a8df4c
+MD5 f4327867d95c0dc6c3ace6f9786b591c ChangeLog 248
+RMD160 7fa829b4600a64b9275064d37c9535dc0bb3664b ChangeLog 248
+SHA256 b621cf59f976699c4c8915d602dabf7e3ded4374a859dce46bdb5233e1a8df4c ChangeLog 248
+MISC metadata.xml 392 RMD160 35257688233c15d74059c26fc23b68f970042fb4 SHA1 5a17b3014ccee6f2a0631af5472baa6b106bb2a1 SHA256 d78e7faa2eda2d2db0337d1da1036f73a73d980a5a7c98e23305ecbbb15cdde7
+MD5 fd7d6d09e8ee8959d1604c14f01a0aa4 metadata.xml 392
+RMD160 35257688233c15d74059c26fc23b68f970042fb4 metadata.xml 392
+SHA256 d78e7faa2eda2d2db0337d1da1036f73a73d980a5a7c98e23305ecbbb15cdde7 metadata.xml 392
+MD5 172972f000741c0912e0dc62b6680630 files/digest-recursos-2.0 229
+RMD160 a0161b57121d7e25e2da2a2095005979c95ddd2c files/digest-recursos-2.0 229
+SHA256 76aef57957eb5d83c8a8a49a4559390dbbbea08e4b66a79f7536489b331c7e21 files/digest-recursos-2.0 229
diff --git a/app-admin/recursos/files/digest-recursos-2.0 b/app-admin/recursos/files/digest-recursos-2.0
new file mode 100644
index 000000000000..684b418f5b7a
--- /dev/null
+++ b/app-admin/recursos/files/digest-recursos-2.0
@@ -0,0 +1,3 @@
+MD5 d2a5727efb2a031edfaf1388896d2896 recursos-2.0.tbz2 29480
+RMD160 d46b275e849fe54b6d2eebe2781c3f230449c1d9 recursos-2.0.tbz2 29480
+SHA256 031e2b2cae9c86ce828b609c30ca24d32ddcfa13c53b15f35388ad9da6ec1520 recursos-2.0.tbz2 29480
diff --git a/app-admin/recursos/metadata.xml b/app-admin/recursos/metadata.xml
new file mode 100644
index 000000000000..03483b8b8732
--- /dev/null
+++ b/app-admin/recursos/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>bass@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ A set of script to extrac usefull info about your system and report it
+ in plain text or html. It can generate Grpahs using rrdtools.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-admin/recursos/recursos-2.0.ebuild b/app-admin/recursos/recursos-2.0.ebuild
new file mode 100644
index 000000000000..02cb03f9f604
--- /dev/null
+++ b/app-admin/recursos/recursos-2.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/recursos/recursos-2.0.ebuild,v 1.4 2006/08/24 10:18:13 bass Exp $
+
+DESCRIPTION="Script to create html and text report about your system."
+HOMEPAGE="http://www.josealberto.org"
+SRC_URI="mirror://gentoo/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="media-gfx/imagemagick
+app-shells/bash
+net-analyzer/rrdtool"
+
+S=${WORKDIR}/r2
+
+src_install() {
+ WWWDIR="/var/www/localhost/htdocs/R2"
+
+ insinto /etc
+ doins recursos2.conf
+
+ dobin R2createrrd.sh R2generarrd.sh R2updaterrd.sh Recursos2.sh
+
+ dodir ${WWWDIR}
+ insinto ${WWWDIR}
+ doins R2/*.html
+
+ dodir ${WWWDIR}/common
+ insinto ${WWWDIR}/common
+ doins R2/common/*
+
+ dodir ${WWWDIR}/rrd/mini
+}
+
+pkg_postinst() {
+ einfo "Fist you must configure /etc/recursos2.conf"
+ einfo "Then follow these steps:"
+ echo
+ einfo "1. Run R2createrrd.sh"
+ echo
+ einfo "2. Add crontab jobs (this is an example):"
+ einfo "*/2 * * * * root /usr/bin/R2updaterrd.sh"
+ einfo "*/5 * * * * root /usr/bin/R2generarrd.sh"
+ einfo "*/10 * * * * root /usr/bin/Recursos2.sh \ "
+ einfo " title general system disks net \ "
+ einfo " > /var/www/localhost/htdocs/recursos.html"
+ echo
+ einfo "You can use Recursos2.sh to extract info about your system"
+ einfo "in html or plain text and mail the file or whatever."
+ echo
+}
+