1 |
commit: 7527905c4777bb0c1afe4336bfd963a269463722 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 16 07:02:43 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 19:56:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7527905c |
7 |
|
8 |
net-analyzer/cacti-spine: add 1.2.20 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/834597 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/cacti-spine/Manifest | 1 + |
14 |
net-analyzer/cacti-spine/cacti-spine-1.2.20.ebuild | 45 ++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest |
18 |
index 30385882f72e..80deba0f5188 100644 |
19 |
--- a/net-analyzer/cacti-spine/Manifest |
20 |
+++ b/net-analyzer/cacti-spine/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST cacti-spine-1.2.17.tar.gz 110371 BLAKE2B 1f9605d34fcff0e4e7921ccbb5a22eeb9e2f2e2f22cf56189790dcdec798db5bff681df11cd82006254cc270174248c07ce3d94dca8d3367add6b220f1599adf SHA512 4c616af041d2f08e18fd274409c98d3efce84b7cca2d6e23db3d6c2a0d4c9a77a2c52c0ef8e0ed0c6ad409f28b56fdf3160e27654522d8aeb1b88e3cb4128d4a |
23 |
DIST cacti-spine-1.2.19.tar.gz 113974 BLAKE2B 6ec71e1480e9dfd2636c61bcea10c6581009908334fddbaab5cf4bf6948bc6f8ffb27b0325ab1f325b9ad0b0f2ba7e018373c34534ca5d4967f66100fba76934 SHA512 407a4e83aabaa62693c2f7c3d3952da9178bb28e2b8b914a5649e3eaccb9ea77d0c7db8e251a113a308bfaaa0674be941abfb2fc4f8e50d43fb73c8cd9deec63 |
24 |
+DIST cacti-spine-1.2.20.tar.gz 115258 BLAKE2B 78a9ed8a9e7e69e98bfa9971134dd6f34f540a93b0b1a2aababb66781f3c9787712d57d86b81d7f409487c4cc4447d4f84bd7292890b7eb70ec4137d97248793 SHA512 d7e129f7b42542d7ecc78d55cebc6d9ce481834342d3f3da1fce5538d8e42bc194a825795053d5e3a065b54574e2a3b9413725f1bc0562e55f1db213f9a94d0c |
25 |
|
26 |
diff --git a/net-analyzer/cacti-spine/cacti-spine-1.2.20.ebuild b/net-analyzer/cacti-spine/cacti-spine-1.2.20.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a8ac30938351 |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/cacti-spine/cacti-spine-1.2.20.ebuild |
31 |
@@ -0,0 +1,45 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit autotools |
38 |
+ |
39 |
+MY_P=${PN}-${PV/_p/-} |
40 |
+ |
41 |
+DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)" |
42 |
+HOMEPAGE="https://cacti.net/spine_info.php" |
43 |
+SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
48 |
+ |
49 |
+DEPEND="dev-db/mysql-connector-c:= |
50 |
+ dev-libs/openssl:= |
51 |
+ net-analyzer/net-snmp:=" |
52 |
+RDEPEND="${DEPEND} |
53 |
+ >net-analyzer/cacti-0.8.8" |
54 |
+BDEPEND="sys-apps/help2man" |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ # Drop CONFIG_SHELL after 1.2.x (fix is on develop branch) |
64 |
+ CONFIG_SHELL="${BROOT}"/bin/bash econf |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dosbin spine |
69 |
+ |
70 |
+ insinto /etc/ |
71 |
+ insopts -m0640 -o root |
72 |
+ newins spine.conf{.dist,} |
73 |
+ |
74 |
+ doman spine.1 |
75 |
+ dodoc CHANGELOG |
76 |
+} |