1 |
commit: 808d66f59c5fc0130a9b22a30f47ffcfb384be87 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 26 23:46:19 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 26 23:46:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808d66f5 |
7 |
|
8 |
net-analyzer/cacti: security cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/765019 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/cacti/Manifest | 1 - |
15 |
net-analyzer/cacti/cacti-1.2.14.ebuild | 48 --------------------------------- |
16 |
net-analyzer/cacti/cacti-1.2.16.ebuild | 49 ---------------------------------- |
17 |
3 files changed, 98 deletions(-) |
18 |
|
19 |
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest |
20 |
index ef0ed74ed51..1d34b23f3ee 100644 |
21 |
--- a/net-analyzer/cacti/Manifest |
22 |
+++ b/net-analyzer/cacti/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST cacti-1.2.14.tar.gz 25182521 BLAKE2B 555c30ebd06ac71df608a1564892ecd176cf46fa079fd3615dc59fd984bc8bedd4512d971dc3c2731848107da728724ef459d84f0308bef8b0b6ab943b8bc3cf SHA512 734d8e059ea47630072269d92ad79e773268c5dd1cd9c565d23c41b2a74c8892bdc5190f7de6bb9ed281a67ade9c8ef6d723a9d4f486a4ba9aca99182d6ad056 |
25 |
DIST cacti-1.2.16.tar.gz 29197220 BLAKE2B 19939d0ff79c895b481aeb7ffec8331d8b9c10a6b7e0dbda6532e06ef0322f21cf02f4bf53a9522e1f672dd04b343f5550e2f34f08b3af2050e1f72465cffc43 SHA512 fe22acf4dea8ab6ec79825d66a84ad4c43fdce2815e7327536d182bc04400ed7b1d268209bbbca8b307c4779ee5bf7369a617ec1f052d8805757c2ca9b30cc35 |
26 |
|
27 |
diff --git a/net-analyzer/cacti/cacti-1.2.14.ebuild b/net-analyzer/cacti/cacti-1.2.14.ebuild |
28 |
deleted file mode 100644 |
29 |
index 2ec9213257a..00000000000 |
30 |
--- a/net-analyzer/cacti/cacti-1.2.14.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,48 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
-inherit eutils webapp |
38 |
- |
39 |
-# Support for _p* in version. |
40 |
-MY_P=${P/_p*/} |
41 |
- |
42 |
-DESCRIPTION="Cacti is a complete frontend to rrdtool" |
43 |
-HOMEPAGE="https://www.cacti.net/" |
44 |
-SRC_URI="https://www.cacti.net/downloads/${MY_P}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 sparc x86" |
48 |
-IUSE="snmp doc" |
49 |
- |
50 |
-need_httpd |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-lang/php[cli,mysql,pdo,session,sockets,xml] |
54 |
- dev-php/adodb |
55 |
- net-analyzer/rrdtool[graph] |
56 |
- virtual/cron |
57 |
- snmp? ( >=net-analyzer/net-snmp-5.2.0 ) |
58 |
-" |
59 |
- |
60 |
-src_compile() { :; } |
61 |
- |
62 |
-src_install() { |
63 |
- dodoc CHANGELOG |
64 |
- dodoc -r docs |
65 |
- mv docs .. || die |
66 |
- |
67 |
- webapp_src_preinst |
68 |
- |
69 |
- edos2unix `find -type f -name '*.php'` |
70 |
- |
71 |
- dodir ${MY_HTDOCSDIR} |
72 |
- cp -r . "${D}"${MY_HTDOCSDIR} |
73 |
- |
74 |
- webapp_serverowned ${MY_HTDOCSDIR}/rra |
75 |
- webapp_serverowned ${MY_HTDOCSDIR}/log |
76 |
- webapp_configfile ${MY_HTDOCSDIR}/include/config.php |
77 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
78 |
- |
79 |
- webapp_src_install |
80 |
-} |
81 |
|
82 |
diff --git a/net-analyzer/cacti/cacti-1.2.16.ebuild b/net-analyzer/cacti/cacti-1.2.16.ebuild |
83 |
deleted file mode 100644 |
84 |
index 1dfa8747632..00000000000 |
85 |
--- a/net-analyzer/cacti/cacti-1.2.16.ebuild |
86 |
+++ /dev/null |
87 |
@@ -1,49 +0,0 @@ |
88 |
-# Copyright 1999-2021 Gentoo Authors |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
- |
91 |
-EAPI=7 |
92 |
- |
93 |
-inherit edos2unix webapp |
94 |
- |
95 |
-# Support for _p* in version. |
96 |
-MY_P=${P/_p*/} |
97 |
- |
98 |
-DESCRIPTION="Cacti is a complete frontend to rrdtool" |
99 |
-HOMEPAGE="https://www.cacti.net/" |
100 |
-SRC_URI="https://www.cacti.net/downloads/${MY_P}.tar.gz" |
101 |
- |
102 |
-LICENSE="GPL-2" |
103 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
104 |
-IUSE="snmp doc" |
105 |
- |
106 |
-need_httpd |
107 |
- |
108 |
-RDEPEND=" |
109 |
- dev-lang/php[cli,mysql,pdo,session,sockets,xml] |
110 |
- dev-php/adodb |
111 |
- net-analyzer/rrdtool[graph] |
112 |
- virtual/cron |
113 |
- snmp? ( >=net-analyzer/net-snmp-5.2.0 ) |
114 |
-" |
115 |
- |
116 |
-src_compile() { :; } |
117 |
- |
118 |
-src_install() { |
119 |
- dodoc CHANGELOG |
120 |
- dodoc -r docs |
121 |
- mv docs .. || die |
122 |
- |
123 |
- webapp_src_preinst |
124 |
- |
125 |
- edos2unix `find -type f -name '*.php'` |
126 |
- |
127 |
- dodir ${MY_HTDOCSDIR} |
128 |
- cp -r . "${ED}"${MY_HTDOCSDIR} |
129 |
- |
130 |
- webapp_serverowned ${MY_HTDOCSDIR}/rra |
131 |
- webapp_serverowned ${MY_HTDOCSDIR}/log |
132 |
- webapp_configfile ${MY_HTDOCSDIR}/include/config.php |
133 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
134 |
- |
135 |
- webapp_src_install |
136 |
-} |