From 1ba9b9d677d11f7c82887a16f17b9e604992507f Mon Sep 17 00:00:00 2001 From: Jakub Moc Date: Thu, 27 Dec 2007 22:01:06 +0000 Subject: www-apps/serverstats: Version bump, remove old. svn path=/experimental/; revision=713 --- www-apps/serverstats/ChangeLog | 4 ++ www-apps/serverstats/Manifest | 6 +-- www-apps/serverstats/serverstats-0.8.2.ebuild | 64 +++++++++++++++++++++++++++ www-apps/serverstats/serverstats-0.8.ebuild | 64 --------------------------- 4 files changed, 71 insertions(+), 67 deletions(-) create mode 100644 www-apps/serverstats/serverstats-0.8.2.ebuild delete mode 100644 www-apps/serverstats/serverstats-0.8.ebuild diff --git a/www-apps/serverstats/ChangeLog b/www-apps/serverstats/ChangeLog index e64ce6c..d515eca 100644 --- a/www-apps/serverstats/ChangeLog +++ b/www-apps/serverstats/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 27 Dec 2007; Jakub Moc -serverstats-0.8.ebuild, + +serverstats-0.8.2.ebuild: + Version bump, remove old. + 14 Sep 2007; Jakub Moc serverstats-0.8.ebuild: Use virtual/httpd-cgi for webserver dependency. Add checks for required php SAPIs to pkg_setup diff --git a/www-apps/serverstats/Manifest b/www-apps/serverstats/Manifest index a208cc2..2345108 100644 --- a/www-apps/serverstats/Manifest +++ b/www-apps/serverstats/Manifest @@ -1,5 +1,5 @@ AUX postinstall-en.txt 663 RMD160 83b2426cd9ee0130481aea801d8e70a898392b4f SHA1 255560b3c3f2a7097ac6ce91453a3e242be435cf SHA256 f319ce0d2d748b7f89467cabfe7bf0287aaabc88cf454ac1593c85bcfd660e19 -DIST serverstats-0.8.tar.bz2 35852 RMD160 85bdae34c617ee98f28158cdd44e076cc791e19b SHA1 2e60e36f2e0f12c3c6c2552e2e7724559b6e9734 SHA256 9fb97e276b7602c6b5d4d0f8032f692ee23f91ce67547bd4e6ef64cb0bd8e290 -EBUILD serverstats-0.8.ebuild 1483 RMD160 05569e0055f32c113ce73eb3a7578db8e60c29fe SHA1 f24d4aa60926199b8369d293f2a0866cd35d7265 SHA256 2643a86b8d8df048d006876a0b249d2ef1dc91e93b7c6c7ef44804f5c4ec22f2 -MISC ChangeLog 398 RMD160 e5ed162f414d31ec222881168dac7a11e4d288fb SHA1 a18f74d9a48bdd07e62207c52a8b690772812dc2 SHA256 a7293fb063aa3e940436c7731d330c4968a29dbfdb6b96d21f3226fe5d34dbf8 +DIST serverstats-0.8.2.tar.bz2 43899 RMD160 3f2724f2b3928e36024343ccc3d5c78829129338 SHA1 86c040f34814dbaa6fbc32973a78462953a01462 SHA256 86da8412c4c7c7d44e2ab82f8dfaefef35b9f871397a99c70704d5d2c9996e1b +EBUILD serverstats-0.8.2.ebuild 1493 RMD160 52caaa6b1f29c6cfc101f119389881952c914a3f SHA1 892ab291b88833e19f9f52bd78091e8168b8f301 SHA256 230bb5e1f8c80fbf45cb22ac69e3634568a2604be2698e5448572da85b7fd838 +MISC ChangeLog 525 RMD160 a16752f6b6543b582cc33292224d9af5cac36074 SHA1 cc7836d64eae6a29a9052a8a74cfe77ab0edc23d SHA256 71d2cd134a25ce7166a6e73cffdb731f83e80e9e10c721521a33af1a5c4c8516 MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0 diff --git a/www-apps/serverstats/serverstats-0.8.2.ebuild b/www-apps/serverstats/serverstats-0.8.2.ebuild new file mode 100644 index 0000000..d7a7188 --- /dev/null +++ b/www-apps/serverstats/serverstats-0.8.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="A rrdtool harvester and a lightweight replacement for cacti." +HOMEPAGE="http://serverstats.berlios.de/" +#SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=net-analyzer/rrdtool-1.2 + virtual/cron + virtual/httpd-cgi" + +need_php5_httpd + +src_unpack() { + unpack "${A}" + cd "${S}" + mv config.sample/ config +} + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_use cli \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use apache2 cgi ; then + die "Re-install ${PHP_PKG} with cli and at least one of apache2 cgi USE flags." + fi +} + +src_install() { + webapp_src_preinst + + einfo "Installing docs" + dodoc doc/*.txt + docinto examples + newdoc sources/traffic/iptables.sample iptables-rules.sample + newdoc sources/traffic/traffic.sh traffic.sh.sample + rm sources/traffic/iptables.sample + rm sources/traffic/traffic.sh + rm -rf doc/ + rm -f INSTALL LICENSE sources/external/cacti/{LICENSE,README} + + einfo "Installing main files" + cp -pPR . "${D}/${MY_HTDOCSDIR}" + + webapp_serverowned "${MY_HTDOCSDIR}"/graph + + cd "${D}/${MY_HTDOCSDIR}" + local CONFFILE + for CONFFILE in config/* ; do + webapp_configfile "${MY_HTDOCSDIR}/${CONFFILE}" + done + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} diff --git a/www-apps/serverstats/serverstats-0.8.ebuild b/www-apps/serverstats/serverstats-0.8.ebuild deleted file mode 100644 index 4f55285..0000000 --- a/www-apps/serverstats/serverstats-0.8.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit webapp depend.php - -DESCRIPTION="A rrdtool harvester and a lightweight replacement for cacti." -HOMEPAGE="http://serverstats.berlios.de/" -#SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" -SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -RDEPEND=">=net-analyzer/rrdtool-1.2 - virtual/cron - virtual/httpd-cgi" - -need_php5_httpd - -src_unpack() { - unpack "${A}" - cd "${S}" - mv config.sample/ config -} - -pkg_setup() { - webapp_pkg_setup - - if ! PHPCHECKNODIE="yes" require_php_with_use cli \ - || ! PHPCHECKNODIE="yes" require_php_with_any_use apache2 cgi ; then - die "Re-install ${PHP_PKG} with cli and at least one of apache2 cgi USE flags." - fi -} - -src_install() { - webapp_src_preinst - - einfo "Installing docs" - dodoc doc/*.txt - docinto examples - newdoc sources/traffic/iptables.sample iptables-rules.sample - newdoc sources/traffic/traffic.sh traffic.sh.sample - rm sources/traffic/iptables.sample - rm sources/traffic/traffic.sh - rm -rf doc/ - rm -f INSTALL LICENSE sources/external/cacti/README - - einfo "Installing main files" - cp -pPR . "${D}/${MY_HTDOCSDIR}" - - webapp_serverowned "${MY_HTDOCSDIR}"/graph - - cd "${D}/${MY_HTDOCSDIR}" - local CONFFILE - for CONFFILE in config/* ; do - webapp_configfile "${MY_HTDOCSDIR}/${CONFFILE}" - done - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - - webapp_src_install -} -- cgit v1.2.3-65-gdbad