From 9a510291f49a25fd34d36d999949a3415bd60d90 Mon Sep 17 00:00:00 2001 From: "Markus Rennings (mren)" Date: Fri, 25 Jun 2010 21:41:23 +0000 Subject: www-misc/monitorix: Version bump svn path=/sunrise/; revision=10830 --- www-misc/monitorix/ChangeLog | 4 ++ www-misc/monitorix/Manifest | 6 +-- www-misc/monitorix/monitorix-1.5.0.ebuild | 87 ------------------------------- www-misc/monitorix/monitorix-1.5.1.ebuild | 87 +++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+), 90 deletions(-) delete mode 100644 www-misc/monitorix/monitorix-1.5.0.ebuild create mode 100644 www-misc/monitorix/monitorix-1.5.1.ebuild (limited to 'www-misc') diff --git a/www-misc/monitorix/ChangeLog b/www-misc/monitorix/ChangeLog index 89a02b1f5..4eba900d5 100644 --- a/www-misc/monitorix/ChangeLog +++ b/www-misc/monitorix/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 25 Jun 2010; Markus Rennings (mren) + -monitorix-1.5.0.ebuild, +monitorix-1.5.1.ebuild: + Version bump + 16 Apr 2010; Markus Rennings (mren) -monitorix-1.4.2.ebuild, +monitorix-1.5.0.ebuild: Version bump diff --git a/www-misc/monitorix/Manifest b/www-misc/monitorix/Manifest index 847740056..6c79089a4 100644 --- a/www-misc/monitorix/Manifest +++ b/www-misc/monitorix/Manifest @@ -1,4 +1,4 @@ -DIST monitorix-1.5.0.tar.gz 140673 RMD160 de1365763f61402dabe7136d35f7f6a5757b4ae0 SHA1 0cf32fecc6a6d3bb84315ee0b7fe325eed24bdc9 SHA256 c01893f397f783a701f4cf7920211f6633476b319eef26a6d00054cfd2db706b -EBUILD monitorix-1.5.0.ebuild 2571 RMD160 424e101e3ae5884b734c94a96d8ccbcba9d3b634 SHA1 bdd0467e6cbc6e1de07ccb1ae87b970eebd6158a SHA256 508c6c4533d97088ae6db3bfe824a4cc7d395d13d3b0719d33938b62cff55bfa -MISC ChangeLog 1919 RMD160 0d54c3a31df43fa71b4609682a442514df2714a5 SHA1 bbbd92c9d223df76cb3c766e91506f2ab9936326 SHA256 9ed8d602fe93de18dc913f195c86e841425c6f8aa8694d7a2251dd115ed4d595 +DIST monitorix-1.5.1.tar.gz 141695 RMD160 fd7a1a21da488e80d3743d340e9a7822a223b50c SHA1 5d1007b58176d4dba662774914defa97cf747abf SHA256 e3bb853209e6fc56a883b34ab3a0395d3db0a8c512d87b40b6420620b102252b +EBUILD monitorix-1.5.1.ebuild 2571 RMD160 424e101e3ae5884b734c94a96d8ccbcba9d3b634 SHA1 bdd0467e6cbc6e1de07ccb1ae87b970eebd6158a SHA256 508c6c4533d97088ae6db3bfe824a4cc7d395d13d3b0719d33938b62cff55bfa +MISC ChangeLog 2040 RMD160 b659dc8988a103cff94bea199166c8582cd0f985 SHA1 f95874d3084b171d55b191dcfc1c71b5868fd528 SHA256 78550b06fb30f1a26281e855df39b3c00a8f80aeac080e79258d66bd90c78eb9 MISC metadata.xml 345 RMD160 955410fdcdce147a9c51329e7a3cdd3256ce5bea SHA1 c0d27c6499dd76fb235632485d6fc33121da6f76 SHA256 51a3829cc7b88a8e9d46413b735a59d5a443783111764c6e3bf00350581c5b5f diff --git a/www-misc/monitorix/monitorix-1.5.0.ebuild b/www-misc/monitorix/monitorix-1.5.0.ebuild deleted file mode 100644 index b6afc3746..000000000 --- a/www-misc/monitorix/monitorix-1.5.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils webapp - -DESCRIPTION="A lighweight system monitoring tool" -HOMEPAGE="http://www.monitorix.org/" -SRC_URI="http://www.monitorix.org/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="evms hddtemp lm_sensors" - -DEPEND="sys-apps/sed" -RDEPEND="net-analyzer/rrdtool[perl] - net-mail/metamail - dev-perl/libwww-perl - evms? ( sys-fs/evms ) - hddtemp? ( app-admin/hddtemp ) - lm_sensors? ( sys-apps/lm_sensors ) - || ( sys-process/bcron - sys-process/cronie - sys-process/dcron - sys-process/fcron - sys-process/vixie-cron )" - -need_httpd_cgi - -src_prepare() { - sed -i -e "s|\(our \$OSTYPE = \"Linux-\)RHFC|\1Gentoo|" ${PN}.conf \ - || die "sed failed" -} - -src_install() { - webapp_src_preinst - - dosbin ${PN}.pl || die "dosbin failed" - - newinitd ports/Linux-Gentoo/${PN}.init ${PN} || die "newinitd failed" - - insinto /etc - doins ${PN}.conf || die "doins failed" - - dodoc Changes ${PN}-apache.conf README{,.nginx} TODO \ - ${PN}-alert.sh || die "dodoc failed" - doman man/man5/${PN}.conf.5 || die "doman failed" - - insinto "${MY_HTDOCSDIR}" - doins logo_bot.png logo_top.png monitorixico.png || die "doins failed" - dodir "${MY_HTDOCSDIR}/imgs" || die "dodir failed" - webapp_serverowned "${MY_HTDOCSDIR}/imgs" - - exeinto ${MY_CGIBINDIR} - doexe ${PN}.cgi || die "doexe failed" - - dodir /var/lib/${PN}/usage || die "dodir failed" - insinto /var/lib/${PN}/reports - doins -r reports/* || die "doins failed" - webapp_src_install -} - -pkg_postinst() { - elog "Before starting the ${PN} init script make sure you edited the " - elog "config file. After that you can start ${PN} by running" - elog "\t/etc/init.d/${PN} start" - elog "If you want to start it automatically on boot run" - elog "\trc-update add ${PN} default" - elog - elog "This package is run via /etc/cron.d and therefore uses root " - elog "privileges to collect the informations. The graphs are created " - elog "at runtime directly to the imgs/ directory inside the dir you " - elog "installed the app to with webapp-config. These are created " - elog "with the privileges of the webserver user account." - elog - elog "If you want to use the alert function (introduced in ${PN}-1.4.0), you " - elog "need to enable it in the config and provide a path to a script " - elog "which should be run in an alert case. An example script is provided " - elog "with this package." - elog - elog "If you don't use sendmail be sure to set 'ENABLE_MAIL' to 'N' in the" - elog "config file." - - webapp_pkg_postinst -} diff --git a/www-misc/monitorix/monitorix-1.5.1.ebuild b/www-misc/monitorix/monitorix-1.5.1.ebuild new file mode 100644 index 000000000..b6afc3746 --- /dev/null +++ b/www-misc/monitorix/monitorix-1.5.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils webapp + +DESCRIPTION="A lighweight system monitoring tool" +HOMEPAGE="http://www.monitorix.org/" +SRC_URI="http://www.monitorix.org/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="evms hddtemp lm_sensors" + +DEPEND="sys-apps/sed" +RDEPEND="net-analyzer/rrdtool[perl] + net-mail/metamail + dev-perl/libwww-perl + evms? ( sys-fs/evms ) + hddtemp? ( app-admin/hddtemp ) + lm_sensors? ( sys-apps/lm_sensors ) + || ( sys-process/bcron + sys-process/cronie + sys-process/dcron + sys-process/fcron + sys-process/vixie-cron )" + +need_httpd_cgi + +src_prepare() { + sed -i -e "s|\(our \$OSTYPE = \"Linux-\)RHFC|\1Gentoo|" ${PN}.conf \ + || die "sed failed" +} + +src_install() { + webapp_src_preinst + + dosbin ${PN}.pl || die "dosbin failed" + + newinitd ports/Linux-Gentoo/${PN}.init ${PN} || die "newinitd failed" + + insinto /etc + doins ${PN}.conf || die "doins failed" + + dodoc Changes ${PN}-apache.conf README{,.nginx} TODO \ + ${PN}-alert.sh || die "dodoc failed" + doman man/man5/${PN}.conf.5 || die "doman failed" + + insinto "${MY_HTDOCSDIR}" + doins logo_bot.png logo_top.png monitorixico.png || die "doins failed" + dodir "${MY_HTDOCSDIR}/imgs" || die "dodir failed" + webapp_serverowned "${MY_HTDOCSDIR}/imgs" + + exeinto ${MY_CGIBINDIR} + doexe ${PN}.cgi || die "doexe failed" + + dodir /var/lib/${PN}/usage || die "dodir failed" + insinto /var/lib/${PN}/reports + doins -r reports/* || die "doins failed" + webapp_src_install +} + +pkg_postinst() { + elog "Before starting the ${PN} init script make sure you edited the " + elog "config file. After that you can start ${PN} by running" + elog "\t/etc/init.d/${PN} start" + elog "If you want to start it automatically on boot run" + elog "\trc-update add ${PN} default" + elog + elog "This package is run via /etc/cron.d and therefore uses root " + elog "privileges to collect the informations. The graphs are created " + elog "at runtime directly to the imgs/ directory inside the dir you " + elog "installed the app to with webapp-config. These are created " + elog "with the privileges of the webserver user account." + elog + elog "If you want to use the alert function (introduced in ${PN}-1.4.0), you " + elog "need to enable it in the config and provide a path to a script " + elog "which should be run in an alert case. An example script is provided " + elog "with this package." + elog + elog "If you don't use sendmail be sure to set 'ENABLE_MAIL' to 'N' in the" + elog "config file." + + webapp_pkg_postinst +} -- cgit v1.2.3-18-g5258