diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-05-03 22:39:29 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-05-03 23:36:03 +0200 |
commit | f9dc53ec3d9926ea797a7937e5f72577b2cd189c (patch) | |
tree | 6a94496aee4d9235f704eca6af866c9e41b1be37 /net-analyzer/cacti | |
parent | net-analyzer/cacti-spine: Version 1.2.12 (diff) | |
download | gentoo-f9dc53ec3d9926ea797a7937e5f72577b2cd189c.tar.gz gentoo-f9dc53ec3d9926ea797a7937e5f72577b2cd189c.tar.bz2 gentoo-f9dc53ec3d9926ea797a7937e5f72577b2cd189c.zip |
net-analyzer/cacti: Version 1.2.12
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/cacti')
-rw-r--r-- | net-analyzer/cacti/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-1.2.12.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index ec3830761a91..382c8aa97d72 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1 +1,2 @@ DIST cacti-1.2.11.tar.gz 25099698 BLAKE2B 25d974eb21bafeb9d5c84d1a857b1d95803945c73b21fc4e7219c5349c15aebb4d0130dc9701b3a3615c3514bfa3f3a29286153ba8f7cb515a255e06f20a56a9 SHA512 ab8a856fde55f405314fe0ec1eccccfb78105181fc081dcc04091963b08777550182867b45daea4f630f19dbb538ad7ca5c62f2dac9cd867524dfef113e2a220 +DIST cacti-1.2.12.tar.gz 25126474 BLAKE2B 12f552480bfd72ed8b73400c1d53c08eb38171c83baf63b3bdbac8bec5e9bf798824fb2c19954fda240c64f35adca601a2dbe9af6229b1f6791dc7b5f8477968 SHA512 df6a512a2e8faa70b8ee0b2ab72ea9e21db465f3978a3ecedf17cd34cb16793d3b0107f01f8cd8400fb15b162c27214680f22657f6f0d59853de88c49966087c diff --git a/net-analyzer/cacti/cacti-1.2.12.ebuild b/net-analyzer/cacti/cacti-1.2.12.ebuild new file mode 100644 index 000000000000..66775efc3b40 --- /dev/null +++ b/net-analyzer/cacti/cacti-1.2.12.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 +} |