1 |
commit: e3d233464b1062f3866977a01bcfeb01d342451f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 04:41:18 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 05:03:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d23346 |
7 |
|
8 |
net-analyzer/cacti: bump to 1.12.16 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/cacti/Manifest | 1 + |
14 |
net-analyzer/cacti/cacti-1.2.16.ebuild | 49 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest |
18 |
index 7559d482923..ef0ed74ed51 100644 |
19 |
--- a/net-analyzer/cacti/Manifest |
20 |
+++ b/net-analyzer/cacti/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST cacti-1.2.14.tar.gz 25182521 BLAKE2B 555c30ebd06ac71df608a1564892ecd176cf46fa079fd3615dc59fd984bc8bedd4512d971dc3c2731848107da728724ef459d84f0308bef8b0b6ab943b8bc3cf SHA512 734d8e059ea47630072269d92ad79e773268c5dd1cd9c565d23c41b2a74c8892bdc5190f7de6bb9ed281a67ade9c8ef6d723a9d4f486a4ba9aca99182d6ad056 |
23 |
+DIST cacti-1.2.16.tar.gz 29197220 BLAKE2B 19939d0ff79c895b481aeb7ffec8331d8b9c10a6b7e0dbda6532e06ef0322f21cf02f4bf53a9522e1f672dd04b343f5550e2f34f08b3af2050e1f72465cffc43 SHA512 fe22acf4dea8ab6ec79825d66a84ad4c43fdce2815e7327536d182bc04400ed7b1d268209bbbca8b307c4779ee5bf7369a617ec1f052d8805757c2ca9b30cc35 |
24 |
|
25 |
diff --git a/net-analyzer/cacti/cacti-1.2.16.ebuild b/net-analyzer/cacti/cacti-1.2.16.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1dfa8747632 |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/cacti/cacti-1.2.16.ebuild |
30 |
@@ -0,0 +1,49 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit edos2unix 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="https://www.cacti.net/" |
43 |
+SRC_URI="https://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,pdo,session,sockets,xml] |
53 |
+ dev-php/adodb |
54 |
+ net-analyzer/rrdtool[graph] |
55 |
+ virtual/cron |
56 |
+ snmp? ( >=net-analyzer/net-snmp-5.2.0 ) |
57 |
+" |
58 |
+ |
59 |
+src_compile() { :; } |
60 |
+ |
61 |
+src_install() { |
62 |
+ dodoc CHANGELOG |
63 |
+ dodoc -r docs |
64 |
+ mv docs .. || die |
65 |
+ |
66 |
+ webapp_src_preinst |
67 |
+ |
68 |
+ edos2unix `find -type f -name '*.php'` |
69 |
+ |
70 |
+ dodir ${MY_HTDOCSDIR} |
71 |
+ cp -r . "${ED}"${MY_HTDOCSDIR} |
72 |
+ |
73 |
+ webapp_serverowned ${MY_HTDOCSDIR}/rra |
74 |
+ webapp_serverowned ${MY_HTDOCSDIR}/log |
75 |
+ webapp_configfile ${MY_HTDOCSDIR}/include/config.php |
76 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
77 |
+ |
78 |
+ webapp_src_install |
79 |
+} |