diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-04-20 14:41:17 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-04-20 14:41:17 +0200 |
commit | 767756b6a9c8ee8de7f7da57f7f10c23e46e9176 (patch) | |
tree | 520cbfbd6cb282eb532ca417a1db09dad6920c11 /net-analyzer | |
parent | dev-perl/MongoDB: Cleanup old re bug #615320 (diff) | |
download | gentoo-767756b6a9c8ee8de7f7da57f7f10c23e46e9176.tar.gz gentoo-767756b6a9c8ee8de7f7da57f7f10c23e46e9176.tar.bz2 gentoo-767756b6a9c8ee8de7f7da57f7f10c23e46e9176.zip |
net-analyzer/cacti: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-1.1.3.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index 6742e830446f..055df2068042 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.0.tar.gz 7528752 SHA256 a612e9e8b1c62d34bf861223058a3a4c2948d3ff51d8ddd2e3437c59c6a33b45 SHA512 126bc987a830231e56b6bb816ecdfa2ae6389e1233f884a611401c2bfb4769be2f7182e69b106376cb675325a3adad9e96b262264721f28071e5a60bd0bd12cd WHIRLPOOL dbe05583ab5218be177e1c9d2b98c4cb5df6a76f9ac17102ad65988f9141679967790925c06da63dceacfac03ac8df5948fa01572b2da67a8765bb1e191aceb9 DIST cacti-1.1.2.tar.gz 7624550 SHA256 fec07a9aa45de35ce09a8bc6798a6509c48b1a31c06aa27ace3dc94b32ded77e SHA512 a0684e23771d3b4230003aff4984f0fd02c894f8e3a407247679257f6666dad0e26a0e7df1b4d0d405a92620c821bcdc287eff0b118a7d330dcea54865c0bd7f WHIRLPOOL 540b145f6b4c3b630a5d0375fd808a1e03be045946937454da89109f1b56d46be788445ac3389c36c46a737bd4ac3e534fc30b0b636ec2e21b62bc09bd04825f +DIST cacti-1.1.3.tar.gz 7784592 SHA256 0302d963129a69fb2444360e450c8ec77e25fb777f1ecfe6011090d284f68094 SHA512 edb0abbde8c7af213ee9af511b63cc76b1699fd09b93fb3a4926ae4697589fdebeaab52340bfad301cef5ae8133644025102c326e5e5a43bb5e9fb24cbd40910 WHIRLPOOL 09241b3b5003c7b499d733b0eb5462eada3b045f44635f0463aea9f321ad452d13673224864460b669dad742265925902c2bc9a7c5f13be32b67cc5dcaf1c4a4 diff --git a/net-analyzer/cacti/cacti-1.1.3.ebuild b/net-analyzer/cacti/cacti-1.1.3.ebuild new file mode 100644 index 000000000000..76d6e67cbafb --- /dev/null +++ b/net-analyzer/cacti/cacti-1.1.3.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/cacti.log + webapp_configfile ${MY_HTDOCSDIR}/include/config.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} |