1 |
commit: c59c3935ff8769fb9e109bba5471fca5e4fac9e5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 2 09:00:58 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 10 08:22:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59c3935 |
7 |
|
8 |
net-analyzer/cacti-spine: Version 1.2.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.90, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/cacti-spine/Manifest | 1 + |
14 |
net-analyzer/cacti-spine/cacti-spine-1.2.10.ebuild | 51 ++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest |
18 |
index 936e540866a..5a6dd9407f6 100644 |
19 |
--- a/net-analyzer/cacti-spine/Manifest |
20 |
+++ b/net-analyzer/cacti-spine/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST cacti-spine-1.2.10.tar.gz 106625 BLAKE2B 8038fb4352b71d5885b07d2ca5af76c38369d2a904f1b669da31a82b0d25bcebf63c5facdb268ee5f4c6bc4bf4772f120bbf85101831cea9ac7d469ed93b27f9 SHA512 56e796a613037b49e54fa07654f337ac7522cb9ead81673f3e1dcd61b29d152b997a2f46a7c2b28409944ffd3ba3afa70d4867f2d0ff7f58525372bae41f1048 |
23 |
DIST cacti-spine-1.2.9.tar.gz 106572 BLAKE2B 803d16b6708e4cc5fc5ea9a5cb49bfd535fea421a873ce9baf74e1de75597a5a4941a909219d729e291ff3201c0f9c2a8304381144d935778ef331779395c688 SHA512 668b25cb89fad331ae4bc726b797bbeade74c90500af348748a995be0de2f699264cd24e98ea709214453328058e1dba6399dca2074bb6ce71e0d4b434b9dee4 |
24 |
|
25 |
diff --git a/net-analyzer/cacti-spine/cacti-spine-1.2.10.ebuild b/net-analyzer/cacti-spine/cacti-spine-1.2.10.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a5c1da23c06 |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/cacti-spine/cacti-spine-1.2.10.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit autotools |
36 |
+ |
37 |
+MY_P=${PN}-${PV/_p/-} |
38 |
+ |
39 |
+DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)" |
40 |
+HOMEPAGE="https://cacti.net/spine_info.php" |
41 |
+SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="libressl" |
47 |
+ |
48 |
+CDEPEND=" |
49 |
+ !libressl? ( dev-libs/openssl:0= ) |
50 |
+ libressl? ( dev-libs/libressl:0= ) |
51 |
+ net-analyzer/net-snmp:= |
52 |
+ dev-db/mysql-connector-c:0= |
53 |
+" |
54 |
+DEPEND=" |
55 |
+ ${CDEPEND} |
56 |
+ sys-apps/help2man |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ ${CDEPEND} |
60 |
+ >net-analyzer/cacti-0.8.8 |
61 |
+" |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ eautoreconf |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dosbin spine |
74 |
+ |
75 |
+ insinto /etc/ |
76 |
+ insopts -m0640 -o root |
77 |
+ newins spine.conf{.dist,} |
78 |
+ |
79 |
+ doman spine.1 |
80 |
+ dodoc CHANGELOG |
81 |
+} |