From 26d4623a274fe2245fca548a50bc0793bfcd03e5 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 3 Aug 2020 07:05:06 +0200 Subject: net-analyzer/cacti: Version 1.2.14 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jeroen Roovers --- net-analyzer/cacti/Manifest | 1 + net-analyzer/cacti/cacti-1.2.14.ebuild | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 net-analyzer/cacti/cacti-1.2.14.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index ed2962eeb582..e71b9c05535f 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1 +1,2 @@ DIST cacti-1.2.13.tar.gz 25182816 BLAKE2B 934deba81a0ac66d4f6a6efcb254204f3d26b40ee56b3b0b926334cefc99a8dcda688250218b796446e6dc9ad3b0efdbe4a0e408873921ff38977485c3fcf9af SHA512 e111c90b77a43bb3ea7cd5cc90cd95a09be95413443db474c04e30d5b00ff96a69e8cb2792a3995462f4623538fc33b89029ff13c25181beff015c47e506d4b9 +DIST cacti-1.2.14.tar.gz 25182521 BLAKE2B 555c30ebd06ac71df608a1564892ecd176cf46fa079fd3615dc59fd984bc8bedd4512d971dc3c2731848107da728724ef459d84f0308bef8b0b6ab943b8bc3cf SHA512 734d8e059ea47630072269d92ad79e773268c5dd1cd9c565d23c41b2a74c8892bdc5190f7de6bb9ed281a67ade9c8ef6d723a9d4f486a4ba9aca99182d6ad056 diff --git a/net-analyzer/cacti/cacti-1.2.14.ebuild b/net-analyzer/cacti/cacti-1.2.14.ebuild new file mode 100644 index 000000000000..66775efc3b40 --- /dev/null +++ b/net-analyzer/cacti/cacti-1.2.14.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 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 +} -- cgit v1.2.3-65-gdbad