From 622b65f6283908f28709abd3399807c5c5688fe4 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 1 Mar 2017 08:34:53 +0100 Subject: [PATCH] net-analyzer/cacti: Version bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- net-analyzer/cacti/Manifest | 1 + net-analyzer/cacti/cacti-1.0.4.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 net-analyzer/cacti/cacti-1.0.4.ebuild diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index ce721e475ee3..118233f53ce6 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -3,3 +3,4 @@ DIST cacti-1.0.0.tar.gz 7275783 SHA256 180a23102af0415b961ef4d4181f93f49d40ebed3 DIST cacti-1.0.1.tar.gz 7230227 SHA256 cc36b83653cecd2be0a4a239927dcdaafeb81e7fd7ad6f97c664edcb7fb07628 SHA512 b87837f2f9ec634dcf6477baa827d489485c0b93702c9ba6e4ae35772dfb828a25bb3a0ac7920103afcd8fe88baf5096e985496de09343de73bceddef8b19ec4 WHIRLPOOL 04865593375f802d8e809d1a6180dce07d33d0e98feb450a24123526e2daa9525f0e7445aad786765390e5b1ba826578ac96eb52a06e61cb4460c165b75d726d DIST cacti-1.0.2.tar.gz 7230604 SHA256 8dd4650ce6c81019a7606b66a5ecf08a26f46122ca930e4dd225ed19d813377d SHA512 f7842cc4b89a9a8ca9e1d2c113300aee81d364806bbbcaac87e95a09e3dfbb81cd4dfbb15bf0667e35715a81712bb91e4a3b66af381c95b42e0f0b29d7b05243 WHIRLPOOL ed8069078928050b23d424798d0590c8f58bf920adcbe411f4ef0b2fa239a505a70bdc657a84e60e76bfe9010d8881d2df44007abd4e9a8bc05e4afe82ac3fb0 DIST cacti-1.0.3.tar.gz 7232006 SHA256 9b1ed9e1dc2002f50a31c293870e1125d1c9e0a213d485cdef1e65658be420f3 SHA512 a101a4f370ba14f4f6536b5fef2ddba9b909aef7d2afc76bc147c9a65bc82dec3c7adae04fe086a88dca6fdf5f29028ea414c04a3420aadbb3d9895d3446a172 WHIRLPOOL 1060fe90679f53669977012911fb300cd1b4375c0c79bf851812327aff5ff53464b518fd941483a469bf4025603910a3990d843e738dbeba98db4946840bb5bb +DIST cacti-1.0.4.tar.gz 7259630 SHA256 f6523a925001194f35ebb30f353f596f08c5cb562332b590021e07af49693e18 SHA512 2b271ac2d3ec32c69726ac0f0d32de42159eea5d2d4e38dc797c7191e5b91d14114ad89a5eee7fee2808e66f14f0b7ed027f85c2da2e3ec8f3a5aa1b900cea90 WHIRLPOOL 6877a46451947555b35a5970bdfb0721b2969bd5bca9e581bd75aeadf3577693e6e71080d221fbda774a301bc653a11742c32e9fc0b16484754b5201f297aa55 diff --git a/net-analyzer/cacti/cacti-1.0.4.ebuild b/net-analyzer/cacti/cacti-1.0.4.ebuild new file mode 100644 index 000000000000..f2641066e9cc --- /dev/null +++ b/net-analyzer/cacti/cacti-1.0.4.ebuild @@ -0,0 +1,59 @@ +# 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() { + webapp_src_preinst + + dodoc docs/{CHANGELOG,txt/manual.txt} + docinto html + doins -r docs/html/ + rm -rf docs + + edos2unix `find -type f -name '*.php'` + + dodir ${MY_HTDOCSDIR} + cp -r . "${D}"${MY_HTDOCSDIR} + + webapp_serverowned ${MY_HTDOCSDIR}/rra + webapp_serverowned ${MY_HTDOCSDIR}/log/cacti.log + webapp_configfile ${MY_HTDOCSDIR}/include/config.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} -- 2.26.2