summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-06-07 16:38:17 +0200
committerJeroen Roovers <jer@gentoo.org>2017-06-07 16:38:17 +0200
commitecc6f9e078aaf6a37ad3281f1d55108dfffd3757 (patch)
treedda0a1ec507af4c96ab6bf6b6029e5ef7a714707 /net-analyzer/cacti
parentwww-client/opera-beta: Old. (diff)
downloadgentoo-ecc6f9e078aaf6a37ad3281f1d55108dfffd3757.tar.gz
gentoo-ecc6f9e078aaf6a37ad3281f1d55108dfffd3757.tar.bz2
gentoo-ecc6f9e078aaf6a37ad3281f1d55108dfffd3757.zip
net-analyzer/cacti: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/cacti')
-rw-r--r--net-analyzer/cacti/Manifest1
-rw-r--r--net-analyzer/cacti/cacti-1.1.9.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest
index ea1cb527c2f3..3b10189540f3 100644
--- a/net-analyzer/cacti/Manifest
+++ b/net-analyzer/cacti/Manifest
@@ -1,3 +1,4 @@
DIST cacti-0.8.8h.tar.gz 2585226 SHA256 0673bd9513dad381c8bbb9133c721a32bc6422dc91c5a81de16e3cd32e4d0600 SHA512 11bb0682a7220af5581f42579cf9c38d94aae202425ce15b824849684b1a6778d6f14e6a62ec94c608b7ba06562a825be7fd6d812d0800daa5eb56e640ac1c5f WHIRLPOOL 250ee38d969c9a7d9a71b15a25e48c2b9b22412c6c2394798d178172d9a1be056b009b328594559524adbd47ad05032992b13cb5a632af1a23f947fb55342402
DIST cacti-1.1.6.tar.gz 8548365 SHA256 af7e569a7234b1bf12c124262eacecde3fb3ebd68af4318de19c6d0aaf2ef7e1 SHA512 e8fd1fefb9060e9a246b04148593ad0b11cc0fba8ebc09e0e11d62586bf051df3a6ed8bca80d4eab4ead2b8a7cbc9de5bc8bfa404dfc9f5eac581b18365061b3 WHIRLPOOL b9309692c358140fef7f9f538d0493c520e8647743543c56c0598a70f174a6ba2a8566babb11ec0226652cde55879ba924e11ef38f145c8860d996da81eb455f
DIST cacti-1.1.7.tar.gz 8523998 SHA256 e6dcbcef54c42ee7920559d9afc7ba6f53c77a2f7054e8d58a83af304c24f969 SHA512 33c35d1f8d07478d40c756c87f6c1aad3d327e9b42bb4aa5131738ace4b6f9feef4a042b154c894f5a71ba627652e6f2eab286f023e1bf29abb88ed9c21b19f0 WHIRLPOOL f0c80922e5039b6b1a4e5e0e6836db05a6e61d0c94d899b43bbe981f68747069d1f30642179efdb3e8cdf3485e89d57a1df93d15c3b96b4c254dac0bd7357833
+DIST cacti-1.1.9.tar.gz 8720015 SHA256 329b9a9b388f1a11c92c483a404c8ad0d0e63720cfed12edd82bec866950d67c SHA512 8e17f2c708ed932875e92d5e23533e48eb04a3c1c53008f1f7c471efe079ee5f57971b0818d5ca447a43a7a404ebbb95e011c931b096ef4cad6c58bb682cee66 WHIRLPOOL 9acb5204305f9f11049871a5e1aea82ebd1791cc462f7dd918d7f94a69ac88582b287e6c568c5d58eeb6ead8bee15cf3da4042bd720b24862bbebc88667e6b50
diff --git a/net-analyzer/cacti/cacti-1.1.9.ebuild b/net-analyzer/cacti/cacti-1.1.9.ebuild
new file mode 100644
index 000000000000..8bd160234471
--- /dev/null
+++ b/net-analyzer/cacti/cacti-1.1.9.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils webapp
+
+# Support for _p* in version.
+MY_P=${P/_p*/}
+
+DESCRIPTION="Cacti is a complete frontend to rrdtool"
+HOMEPAGE="http://www.cacti.net/"
+SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="snmp doc"
+
+need_httpd
+
+RDEPEND="
+ dev-lang/php[cli,mysql,session,sockets,xml]
+ dev-php/adodb
+ net-analyzer/rrdtool[graph]
+ virtual/cron
+ virtual/mysql
+ snmp? ( >=net-analyzer/net-snmp-5.2.0 )
+"
+
+src_prepare() {
+ default
+ sed -i -e \
+ 's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \
+ "${S}"/include/global.php || die
+
+ rm -rf lib/adodb || die # don't use bundled adodb
+}
+
+src_compile() { :; }
+
+src_install() {
+ dodoc docs/{CHANGELOG,txt/manual.txt}
+ dodoc -r docs/html/
+ rm -rf docs
+
+ webapp_src_preinst
+
+ edos2unix `find -type f -name '*.php'`
+
+ dodir ${MY_HTDOCSDIR}
+ cp -r . "${D}"${MY_HTDOCSDIR}
+
+ webapp_serverowned ${MY_HTDOCSDIR}/rra
+ webapp_serverowned ${MY_HTDOCSDIR}/log
+ webapp_configfile ${MY_HTDOCSDIR}/include/config.php
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}