diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2006-08-23 09:47:59 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2006-08-23 09:47:59 +0000 |
commit | 09cba79a6846dde81752999e643f2f0d7ed91e7e (patch) | |
tree | 3b0d42e703ce9755582d2eb54e26628121bf8863 /app-admin/recursos | |
parent | stable on amd64 (diff) | |
download | gentoo-2-09cba79a6846dde81752999e643f2f0d7ed91e7e.tar.gz gentoo-2-09cba79a6846dde81752999e643f2f0d7ed91e7e.tar.bz2 gentoo-2-09cba79a6846dde81752999e643f2f0d7ed91e7e.zip |
first release
Diffstat (limited to 'app-admin/recursos')
-rw-r--r-- | app-admin/recursos/Manifest | 8 | ||||
-rw-r--r-- | app-admin/recursos/files/digest-recursos-2.0 | 3 | ||||
-rw-r--r-- | app-admin/recursos/recursos-2.0.ebuild | 57 |
3 files changed, 68 insertions, 0 deletions
diff --git a/app-admin/recursos/Manifest b/app-admin/recursos/Manifest new file mode 100644 index 000000000000..5c045d430537 --- /dev/null +++ b/app-admin/recursos/Manifest @@ -0,0 +1,8 @@ +DIST recursos-2.0.tbz2 29480 RMD160 d46b275e849fe54b6d2eebe2781c3f230449c1d9 SHA1 ac130a28f1a09c2c07436d2cb1bfd644fcedae60 SHA256 031e2b2cae9c86ce828b609c30ca24d32ddcfa13c53b15f35388ad9da6ec1520 +EBUILD recursos-2.0.ebuild 1344 RMD160 3d1ce9345ef59d79e4e375002c55c77cce9e3d07 SHA1 7b8eb5973369fb591f90ade7fb6ffe18387cc6a2 SHA256 bac8a1f77fe298559ea7ef39d9516f6cb2d18c19e62933840fb8e220efbb9f16 +MD5 aff8c0cff9f93a3b7041ffb0b5c49af5 recursos-2.0.ebuild 1344 +RMD160 3d1ce9345ef59d79e4e375002c55c77cce9e3d07 recursos-2.0.ebuild 1344 +SHA256 bac8a1f77fe298559ea7ef39d9516f6cb2d18c19e62933840fb8e220efbb9f16 recursos-2.0.ebuild 1344 +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/recursos-2.0.ebuild b/app-admin/recursos/recursos-2.0.ebuild new file mode 100644 index 000000000000..6e126111622f --- /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.1 2006/08/23 09:47:59 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="GPL2" +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 +} + |