1 |
commit: be997d13a918be6e338e293021c9b1a8cc4d0306 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 19:34:46 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 19:41:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be997d13 |
7 |
|
8 |
net-analyzer/cacti: Version 1.2.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, 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.7.ebuild | 48 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest |
18 |
index e85cc8aaa95..e7b862abe53 100644 |
19 |
--- a/net-analyzer/cacti/Manifest |
20 |
+++ b/net-analyzer/cacti/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST cacti-1.1.38.tar.gz 9081347 BLAKE2B 9f64bc7cd33187c4c744e1473409ea8998cd953c6fd047c66af6ff07d288678cbd944d2e70d0fc3838a42c7f7a9dbf7b094963391791a46bc50c3ed65ed4251f SHA512 1f91156416a9988fa149f9b8fc9fc7df904e4cf6d9a19a62d06c7de1ded99ddaec2f5b5f1a21b0effc4dee7b9c1d1911ca5aaa6113b57edc7e2f42b7969343b5 |
23 |
DIST cacti-1.2.5.tar.gz 24677665 BLAKE2B 098a855c9eda7c6eca255a96be0d6abe016be00ffd985ce356773e8af4114ecdca4753e1b288a697c8defbbe481a9244eecf553f228518e1c223b582e0974eb7 SHA512 991847ded6045c8c6111c58c5f8687f2497183a545158924bba92ee5d0b7de3e658ddbfce6f59c651fa29118aedb271a438c5668a3db4b93f97f82fe721f0a32 |
24 |
DIST cacti-1.2.6.tar.gz 24707849 BLAKE2B eaeee3953d170d7df9eb14be85d700af2221f8f940f19ef59dc57b5f9d86e048811a04c31c8390d5722ae15dd9ad911a602ce0c95b2b999baf2104570cb4fb3b SHA512 69cccb6f87c0b7128c878528898395965b0223dc6edafa52905febd596d7b58ed240c7d0ffc211a3ef69d131c77a0f2dd5047914fb879d026c052b6c889cf21e |
25 |
+DIST cacti-1.2.7.tar.gz 24819135 BLAKE2B 75dfc9eb054acf5a1344ebbbda30f35777db876e67891e8c793901882b3ba27f5bf250be4e4527ea64b5ea9af575e58fccccb47233c2a3d27ef57657312c6c5a SHA512 2fc31342aa23b4fa98e6f3cf6b7e42f8cf98f272232a1bceb1b256b2104ea26445c1be1c1ff83bf20d293a3c1e7a21eb3a871623f78069aea9b21151ac57a243 |
26 |
|
27 |
diff --git a/net-analyzer/cacti/cacti-1.2.7.ebuild b/net-analyzer/cacti/cacti-1.2.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..c44b77bddbd |
30 |
--- /dev/null |
31 |
+++ b/net-analyzer/cacti/cacti-1.2.7.ebuild |
32 |
@@ -0,0 +1,48 @@ |
33 |
+# Copyright 1999-2019 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 |
+} |