summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/cacti')
-rw-r--r--net-analyzer/cacti/Manifest1
-rw-r--r--net-analyzer/cacti/cacti-1.2.8.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest
index 0211970f75fe..016857610421 100644
--- a/net-analyzer/cacti/Manifest
+++ b/net-analyzer/cacti/Manifest
@@ -1,3 +1,4 @@
DIST cacti-1.1.38.tar.gz 9081347 BLAKE2B 9f64bc7cd33187c4c744e1473409ea8998cd953c6fd047c66af6ff07d288678cbd944d2e70d0fc3838a42c7f7a9dbf7b094963391791a46bc50c3ed65ed4251f SHA512 1f91156416a9988fa149f9b8fc9fc7df904e4cf6d9a19a62d06c7de1ded99ddaec2f5b5f1a21b0effc4dee7b9c1d1911ca5aaa6113b57edc7e2f42b7969343b5
DIST cacti-1.2.6.tar.gz 24707849 BLAKE2B eaeee3953d170d7df9eb14be85d700af2221f8f940f19ef59dc57b5f9d86e048811a04c31c8390d5722ae15dd9ad911a602ce0c95b2b999baf2104570cb4fb3b SHA512 69cccb6f87c0b7128c878528898395965b0223dc6edafa52905febd596d7b58ed240c7d0ffc211a3ef69d131c77a0f2dd5047914fb879d026c052b6c889cf21e
DIST cacti-1.2.7.tar.gz 24819135 BLAKE2B 75dfc9eb054acf5a1344ebbbda30f35777db876e67891e8c793901882b3ba27f5bf250be4e4527ea64b5ea9af575e58fccccb47233c2a3d27ef57657312c6c5a SHA512 2fc31342aa23b4fa98e6f3cf6b7e42f8cf98f272232a1bceb1b256b2104ea26445c1be1c1ff83bf20d293a3c1e7a21eb3a871623f78069aea9b21151ac57a243
+DIST cacti-1.2.8.tar.gz 24881030 BLAKE2B e8929d7c2e7e85bc0fd84e6300912dd45ede886ce27bd57bb7477bd8f02059e58fb3894c53601e2c748883c9648708c128c3fd3bf60d9cfab1558c4efc086ac6 SHA512 03bdd08b06d02b66d52c003ed0f5416d27ecb8cea4966f53514ca6254ea5bae32858a3466f2fbf1f3faf2e87bc5063c7e584a4de99a17cc7d132243b1009a45a
diff --git a/net-analyzer/cacti/cacti-1.2.8.ebuild b/net-analyzer/cacti/cacti-1.2.8.ebuild
new file mode 100644
index 000000000000..c44b77bddbdf
--- /dev/null
+++ b/net-analyzer/cacti/cacti-1.2.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils webapp
+
+# Support for _p* in version.
+MY_P=${P/_p*/}
+
+DESCRIPTION="Cacti is a complete frontend to rrdtool"
+HOMEPAGE="https://www.cacti.net/"
+SRC_URI="https://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,pdo,session,sockets,xml]
+ dev-php/adodb
+ net-analyzer/rrdtool[graph]
+ virtual/cron
+ snmp? ( >=net-analyzer/net-snmp-5.2.0 )
+"
+
+src_compile() { :; }
+
+src_install() {
+ dodoc CHANGELOG
+ dodoc -r docs
+ mv docs .. || die
+
+ 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
+}