Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti-spine/
Date: Tue, 20 Aug 2019 07:50:40
Message-Id: 1566287432.4b87613b200acaeb6d9c50069f37d8868402c2d3.jer@gentoo
1 commit: 4b87613b200acaeb6d9c50069f37d8868402c2d3
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 20 07:28:30 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 20 07:50:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b87613b
7
8 net-analyzer/cacti-spine: Add live ebuild
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-spine/cacti-spine-99999.ebuild | 50 +++++++++++++++++++++++
14 1 file changed, 50 insertions(+)
15
16 diff --git a/net-analyzer/cacti-spine/cacti-spine-99999.ebuild b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild
17 new file mode 100644
18 index 00000000000..c378e4a617f
19 --- /dev/null
20 +++ b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild
21 @@ -0,0 +1,50 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit autotools git-r3
27 +
28 +MY_P=${PN}-${PV/_p/-}
29 +
30 +DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
31 +HOMEPAGE="https://cacti.net/spine_info.php"
32 +EGIT_REPO_URI="https://github.com/Cacti/spine"
33 +
34 +LICENSE="LGPL-2.1"
35 +SLOT="0"
36 +KEYWORDS=""
37 +
38 +CDEPEND="
39 + dev-libs/openssl:0=
40 + net-analyzer/net-snmp:=
41 + dev-db/mysql-connector-c:0=
42 +"
43 +DEPEND="
44 + ${CDEPEND}
45 + sys-apps/help2man
46 +"
47 +RDEPEND="
48 + ${CDEPEND}
49 + >net-analyzer/cacti-0.8.8
50 +"
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-0.8.8d-ping.patch
53 + "${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
54 +)
55 +
56 +src_prepare() {
57 + default
58 +
59 + AT_M4DIR="config" eautoreconf
60 +}
61 +
62 +src_install() {
63 + dosbin spine
64 +
65 + insinto /etc/
66 + insopts -m0640 -o root
67 + newins spine.conf{.dist,}
68 +
69 + doman spine.1
70 + dodoc CHANGELOG
71 +}