1 |
commit: 9a44116d36fbdf2156f0bafa6598bbcba3784d21 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 12 07:25:14 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 07:25:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a44116d |
7 |
|
8 |
net-analyzer/cacti: Version 1.2.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/cacti/Manifest | 1 + |
14 |
net-analyzer/cacti/cacti-1.2.5.ebuild | 48 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest |
18 |
index 08297479cec..43bcd8de6e4 100644 |
19 |
--- a/net-analyzer/cacti/Manifest |
20 |
+++ b/net-analyzer/cacti/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST cacti-1.1.38.tar.gz 9081347 BLAKE2B 9f64bc7cd33187c4c744e1473409ea8998cd953c6fd047c66af6ff07d288678cbd944d2e70d0fc3838a42c7f7a9dbf7b094963391791a46bc50c3ed65ed4251f SHA512 1f91156416a9988fa149f9b8fc9fc7df904e4cf6d9a19a62d06c7de1ded99ddaec2f5b5f1a21b0effc4dee7b9c1d1911ca5aaa6113b57edc7e2f42b7969343b5 |
23 |
DIST cacti-1.2.2.tar.gz 23800723 BLAKE2B 3608edd60d796dcd8c875f2611c268605813d9f4102ecac99dd71d1b7a904f7bb74031d1c5692d0af7964af9e1a13fb46a88d98bbb6961bde0696b339fe84505 SHA512 4a41aff20f06ad56f4723e52084d1a09e3b3eb017e8f1c957f700e4e2f9b12e8f0e599cb56611241c6fcc59bbd6bf957e948631f3beca72e2a7fdadacc473c65 |
24 |
+DIST cacti-1.2.5.tar.gz 24677665 BLAKE2B 098a855c9eda7c6eca255a96be0d6abe016be00ffd985ce356773e8af4114ecdca4753e1b288a697c8defbbe481a9244eecf553f228518e1c223b582e0974eb7 SHA512 991847ded6045c8c6111c58c5f8687f2497183a545158924bba92ee5d0b7de3e658ddbfce6f59c651fa29118aedb271a438c5668a3db4b93f97f82fe721f0a32 |
25 |
|
26 |
diff --git a/net-analyzer/cacti/cacti-1.2.5.ebuild b/net-analyzer/cacti/cacti-1.2.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c44b77bddbd |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/cacti/cacti-1.2.5.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
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="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 . "${D}"${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 |
+} |