diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-25 12:09:55 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-25 12:11:50 +0200 |
commit | 7101721e6da43fb99d3ec652a9f19cbacc756290 (patch) | |
tree | a21088af73b9e117bcfababba32617b0e16e8b56 /net-analyzer | |
parent | dev-python/smmap2: A sliding window memory map manager (diff) | |
download | gentoo-7101721e6da43fb99d3ec652a9f19cbacc756290.tar.gz gentoo-7101721e6da43fb99d3ec652a9f19cbacc756290.tar.bz2 gentoo-7101721e6da43fb99d3ec652a9f19cbacc756290.zip |
net-analyzer/cacti: Version bump.
Package-Manager: Portage-2.3.6, 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.7.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index 9087aa808536..49d393bf3d06 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -2,3 +2,4 @@ DIST cacti-0.8.8h.tar.gz 2585226 SHA256 0673bd9513dad381c8bbb9133c721a32bc6422dc DIST cacti-1.1.3.tar.gz 7784592 SHA256 0302d963129a69fb2444360e450c8ec77e25fb777f1ecfe6011090d284f68094 SHA512 edb0abbde8c7af213ee9af511b63cc76b1699fd09b93fb3a4926ae4697589fdebeaab52340bfad301cef5ae8133644025102c326e5e5a43bb5e9fb24cbd40910 WHIRLPOOL 09241b3b5003c7b499d733b0eb5462eada3b045f44635f0463aea9f321ad452d13673224864460b669dad742265925902c2bc9a7c5f13be32b67cc5dcaf1c4a4 DIST cacti-1.1.5.tar.gz 7845954 SHA256 47d47ec7fa64615dae15d292a9879535e74a9a684718dc65dbe0c755d4e2cc4d SHA512 8005839cd6c7ff388f671b64dba07373fe8ebf7664fe76c84320d77f1f5697c34a6fea0fb865d26ecf4d913bbcf2443d0bbc245455e6162d5ec73ac5345ec5d2 WHIRLPOOL 8ab00f27e4912394d0630029f3c71c8da0490ea42023f2f85cf917e502f6eaf4eb157f0c4b0a9798387a7146002b0034a1a5dbc4474475bf05b6ff5dedc50eed DIST cacti-1.1.6.tar.gz 8548365 SHA256 af7e569a7234b1bf12c124262eacecde3fb3ebd68af4318de19c6d0aaf2ef7e1 SHA512 e8fd1fefb9060e9a246b04148593ad0b11cc0fba8ebc09e0e11d62586bf051df3a6ed8bca80d4eab4ead2b8a7cbc9de5bc8bfa404dfc9f5eac581b18365061b3 WHIRLPOOL b9309692c358140fef7f9f538d0493c520e8647743543c56c0598a70f174a6ba2a8566babb11ec0226652cde55879ba924e11ef38f145c8860d996da81eb455f +DIST cacti-1.1.7.tar.gz 8523998 SHA256 e6dcbcef54c42ee7920559d9afc7ba6f53c77a2f7054e8d58a83af304c24f969 SHA512 33c35d1f8d07478d40c756c87f6c1aad3d327e9b42bb4aa5131738ace4b6f9feef4a042b154c894f5a71ba627652e6f2eab286f023e1bf29abb88ed9c21b19f0 WHIRLPOOL f0c80922e5039b6b1a4e5e0e6836db05a6e61d0c94d899b43bbe981f68747069d1f30642179efdb3e8cdf3485e89d57a1df93d15c3b96b4c254dac0bd7357833 diff --git a/net-analyzer/cacti/cacti-1.1.7.ebuild b/net-analyzer/cacti/cacti-1.1.7.ebuild new file mode 100644 index 000000000000..8bd160234471 --- /dev/null +++ b/net-analyzer/cacti/cacti-1.1.7.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 + webapp_configfile ${MY_HTDOCSDIR}/include/config.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} |