diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-03-14 07:41:51 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-03-14 07:41:51 +0100 |
commit | 1f95f6703f6e4ff9333cbb9b31318ddd9dcb72c8 (patch) | |
tree | fda8b7187cac774f4d90fef659a1cba52a7a809b /net-analyzer | |
parent | www-client/opera-developer: Version bump. (diff) | |
download | gentoo-1f95f6703f6e4ff9333cbb9b31318ddd9dcb72c8.tar.gz gentoo-1f95f6703f6e4ff9333cbb9b31318ddd9dcb72c8.tar.bz2 gentoo-1f95f6703f6e4ff9333cbb9b31318ddd9dcb72c8.zip |
net-analyzer/cacti: Version bump.
Package-Manager: Portage-2.3.4, 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.0.5.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index d2c4d2498500..fc5dc7bfbe3f 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.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 +DIST cacti-1.0.5.tar.gz 7151194 SHA256 1fe8cdcc10ca5b38f73d8a29f2c8a3bd3d0f2b0188bfb67501aa5025e0a221eb SHA512 a48bb9042cdd62b8a4835e084a43ef681773086d19f4e1bcede29056d01f74274aaf2d81028d00890c892f6c3144c9e2950ae56766ab1277968aca5e4854536c WHIRLPOOL e44cdad300d11a6c49a6d60cf4fd7bfee2129ea3364a743dbb7314b5654a5cffcb4d9bebf450d3784ef09108f2744f0c80a2d0aeb48cfe5c87344f5f67d9eccf diff --git a/net-analyzer/cacti/cacti-1.0.5.ebuild b/net-analyzer/cacti/cacti-1.0.5.ebuild new file mode 100644 index 000000000000..f2641066e9cc --- /dev/null +++ b/net-analyzer/cacti/cacti-1.0.5.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 +} |