1 |
commit: 622b65f6283908f28709abd3399807c5c5688fe4 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 07:34:53 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 07:36:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622b65f6 |
7 |
|
8 |
net-analyzer/cacti: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-analyzer/cacti/Manifest | 1 + |
13 |
net-analyzer/cacti/cacti-1.0.4.ebuild | 59 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest |
17 |
index ce721e475ee..118233f53ce 100644 |
18 |
--- a/net-analyzer/cacti/Manifest |
19 |
+++ b/net-analyzer/cacti/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST cacti-1.0.0.tar.gz 7275783 SHA256 180a23102af0415b961ef4d4181f93f49d40ebed3 |
21 |
DIST cacti-1.0.1.tar.gz 7230227 SHA256 cc36b83653cecd2be0a4a239927dcdaafeb81e7fd7ad6f97c664edcb7fb07628 SHA512 b87837f2f9ec634dcf6477baa827d489485c0b93702c9ba6e4ae35772dfb828a25bb3a0ac7920103afcd8fe88baf5096e985496de09343de73bceddef8b19ec4 WHIRLPOOL 04865593375f802d8e809d1a6180dce07d33d0e98feb450a24123526e2daa9525f0e7445aad786765390e5b1ba826578ac96eb52a06e61cb4460c165b75d726d |
22 |
DIST cacti-1.0.2.tar.gz 7230604 SHA256 8dd4650ce6c81019a7606b66a5ecf08a26f46122ca930e4dd225ed19d813377d SHA512 f7842cc4b89a9a8ca9e1d2c113300aee81d364806bbbcaac87e95a09e3dfbb81cd4dfbb15bf0667e35715a81712bb91e4a3b66af381c95b42e0f0b29d7b05243 WHIRLPOOL ed8069078928050b23d424798d0590c8f58bf920adcbe411f4ef0b2fa239a505a70bdc657a84e60e76bfe9010d8881d2df44007abd4e9a8bc05e4afe82ac3fb0 |
23 |
DIST cacti-1.0.3.tar.gz 7232006 SHA256 9b1ed9e1dc2002f50a31c293870e1125d1c9e0a213d485cdef1e65658be420f3 SHA512 a101a4f370ba14f4f6536b5fef2ddba9b909aef7d2afc76bc147c9a65bc82dec3c7adae04fe086a88dca6fdf5f29028ea414c04a3420aadbb3d9895d3446a172 WHIRLPOOL 1060fe90679f53669977012911fb300cd1b4375c0c79bf851812327aff5ff53464b518fd941483a469bf4025603910a3990d843e738dbeba98db4946840bb5bb |
24 |
+DIST cacti-1.0.4.tar.gz 7259630 SHA256 f6523a925001194f35ebb30f353f596f08c5cb562332b590021e07af49693e18 SHA512 2b271ac2d3ec32c69726ac0f0d32de42159eea5d2d4e38dc797c7191e5b91d14114ad89a5eee7fee2808e66f14f0b7ed027f85c2da2e3ec8f3a5aa1b900cea90 WHIRLPOOL 6877a46451947555b35a5970bdfb0721b2969bd5bca9e581bd75aeadf3577693e6e71080d221fbda774a301bc653a11742c32e9fc0b16484754b5201f297aa55 |
25 |
|
26 |
diff --git a/net-analyzer/cacti/cacti-1.0.4.ebuild b/net-analyzer/cacti/cacti-1.0.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f2641066e9c |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/cacti/cacti-1.0.4.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit eutils webapp |
37 |
+ |
38 |
+# Support for _p* in version. |
39 |
+MY_P=${P/_p*/} |
40 |
+ |
41 |
+DESCRIPTION="Cacti is a complete frontend to rrdtool" |
42 |
+HOMEPAGE="http://www.cacti.net/" |
43 |
+SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
47 |
+IUSE="snmp doc" |
48 |
+ |
49 |
+need_httpd |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-lang/php[cli,mysql,session,sockets,xml] |
53 |
+ dev-php/adodb |
54 |
+ net-analyzer/rrdtool[graph] |
55 |
+ virtual/cron |
56 |
+ virtual/mysql |
57 |
+ snmp? ( >=net-analyzer/net-snmp-5.2.0 ) |
58 |
+" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ sed -i -e \ |
63 |
+ 's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \ |
64 |
+ "${S}"/include/global.php || die |
65 |
+ |
66 |
+ rm -rf lib/adodb || die # don't use bundled adodb |
67 |
+} |
68 |
+ |
69 |
+src_compile() { :; } |
70 |
+ |
71 |
+src_install() { |
72 |
+ webapp_src_preinst |
73 |
+ |
74 |
+ dodoc docs/{CHANGELOG,txt/manual.txt} |
75 |
+ docinto html |
76 |
+ doins -r docs/html/ |
77 |
+ rm -rf docs |
78 |
+ |
79 |
+ edos2unix `find -type f -name '*.php'` |
80 |
+ |
81 |
+ dodir ${MY_HTDOCSDIR} |
82 |
+ cp -r . "${D}"${MY_HTDOCSDIR} |
83 |
+ |
84 |
+ webapp_serverowned ${MY_HTDOCSDIR}/rra |
85 |
+ webapp_serverowned ${MY_HTDOCSDIR}/log/cacti.log |
86 |
+ webapp_configfile ${MY_HTDOCSDIR}/include/config.php |
87 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
88 |
+ |
89 |
+ webapp_src_install |
90 |
+} |