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/files/, net-analyzer/cacti-spine/
Date: Mon, 10 Oct 2016 15:33:25
Message-Id: 1476113027.384aa8fb417c350a516b59685d636d1c0af804dd.jer@gentoo
1 commit: 384aa8fb417c350a516b59685d636d1c0af804dd
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 10 15:23:47 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 10 15:23:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384aa8fb
7
8 net-analyzer/cacti-spine: Old.
9
10 Package-Manager: portage-2.3.1
11
12 net-analyzer/cacti-spine/Manifest | 1 -
13 net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild | 46 ----------------------
14 .../cacti-spine-0.8.8d-snmp_spine_close.patch | 10 -----
15 .../files/cacti-spine-0.8.8e-fix-ac-macro.patch | 11 ------
16 .../files/cacti-spine-0.8.8e-net-snmp.patch | 19 ---------
17 5 files changed, 87 deletions(-)
18
19 diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest
20 index 2dcb67b..a2f365d 100644
21 --- a/net-analyzer/cacti-spine/Manifest
22 +++ b/net-analyzer/cacti-spine/Manifest
23 @@ -1,2 +1 @@
24 -DIST cacti-spine-0.8.8e.tar.gz 757042 SHA256 e014488acffd4dd3a88306c3809e93a89c8538a050c2a58a9666e4c04c004b92 SHA512 165e93d4cce3378e911aec41fcd68fb541d82d849ebf3e2e28e0ddb65027ff2eb77d488acbaa133244091cd02adb58d8f74ea5abc36abed07af9ea72bc104f40 WHIRLPOOL 59442f54fbb8956a945404f374eba848bc21b60d53dacb025132a91dc077115aa65ee30959ba81fb521beb9732c1c5944adb1c555a36ad6ea72898172404970c
25 DIST cacti-spine-0.8.8h.tar.gz 804951 SHA256 a693136839bd7d03cae5b3ff4614a4d21a2153ffb14d09fc061b843ab0b2bb30 SHA512 6a7147ab645be44de0d330c7801e569705817da10bf6cedba82c712e1701ada8aa8924a6b3b063ea680e6af24f815d6767e8773ad7b8da212abfa082b4211bd4 WHIRLPOOL 36daed4986ca84883e51ab6b02ebb2ade00205c30705cfc94e73835bc2fc427a60a2dba9c7ca3665d0c0b2fca21afab77d94cde63b740f3734f9279c929cccaf
26
27 diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild
28 deleted file mode 100644
29 index f463320..00000000
30 --- a/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild
31 +++ /dev/null
32 @@ -1,46 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -inherit autotools eutils
39 -
40 -MY_P=${PN}-${PV/_p/-}
41 -
42 -DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
43 -HOMEPAGE="http://cacti.net/spine_info.php"
44 -SRC_URI="http://www.cacti.net/downloads/spine/${MY_P}.tar.gz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0"
48 -KEYWORDS="amd64 hppa ~ppc ~ppc64 sparc x86"
49 -
50 -DEPEND="
51 - dev-libs/openssl:*
52 - net-analyzer/net-snmp
53 - virtual/mysql
54 -"
55 -RDEPEND="
56 - ${DEPEND}
57 - >net-analyzer/cacti-0.8.8
58 -"
59 -
60 -src_prepare() {
61 - epatch \
62 - "${FILESDIR}"/${PN}-0.8.8e-fix-ac-macro.patch \
63 - "${FILESDIR}"/${PN}-0.8.8e-net-snmp.patch \
64 - "${FILESDIR}"/${PN}-0.8.8d-mysql.patch \
65 - "${FILESDIR}"/${PN}-0.8.8d-ping.patch \
66 - "${FILESDIR}"/${PN}-0.8.8d-snmp_spine_close.patch
67 -
68 - sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
69 - AT_M4DIR="config" eautoreconf
70 -}
71 -
72 -src_install() {
73 - dosbin spine
74 - insinto /etc/
75 - insopts -m0640 -o root
76 - newins spine.conf{.dist,}
77 - dodoc ChangeLog README
78 -}
79
80 diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-snmp_spine_close.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-snmp_spine_close.patch
81 deleted file mode 100644
82 index f39e8c6..00000000
83 --- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-snmp_spine_close.patch
84 +++ /dev/null
85 @@ -1,10 +0,0 @@
86 ---- a/snmp.h
87 -+++ b/snmp.h
88 -@@ -32,6 +32,7 @@
89 - */
90 -
91 - extern void snmp_spine_init(void);
92 -+extern void snmp_spine_close(void);
93 - extern void *snmp_host_init(int host_id, char *hostname, int snmp_version, char *snmp_community, char *snmp_username, char *snmp_password, char *snmp_auth_protocol, char *snmp_priv_passphrase, char *snmp_priv_protocol, char *snmp_context, int snmp_port, int snmp_timeout);
94 - extern void snmp_host_cleanup(void *snmp_session);
95 - extern char *snmp_get(host_t *current_host, char *snmp_oid);
96
97 diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-fix-ac-macro.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-fix-ac-macro.patch
98 deleted file mode 100644
99 index 5249cdf..00000000
100 --- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-fix-ac-macro.patch
101 +++ /dev/null
102 @@ -1,11 +0,0 @@
103 ---- a/configure.ac
104 -+++ b/configure.ac
105 -@@ -10,7 +10,7 @@
106 - AC_LANG(C)
107 -
108 - AM_INIT_AUTOMAKE(spine, 0.8.8e)
109 --AM_CONFIG_HEADER(config/config.h)
110 -+AC_CONFIG_HEADERS(config/config.h)
111 -
112 - # static libraries
113 - AC_ARG_WITH(static,
114
115 diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-net-snmp.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-net-snmp.patch
116 deleted file mode 100644
117 index c96bbc9..00000000
118 --- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-net-snmp.patch
119 +++ /dev/null
120 @@ -1,19 +0,0 @@
121 ---- a/configure.ac
122 -+++ b/configure.ac
123 -@@ -254,14 +254,14 @@
124 - )
125 -
126 - AC_MSG_CHECKING([if Net-SNMP needs crypto support])
127 --AC_TRY_COMPILE([#include <net-snmp-config.h>], [exit(USE_OPENSSL != 1);],
128 -+AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>], [exit(USE_OPENSSL != 1);],
129 - [ AC_MSG_RESULT(yes)
130 - SNMP_SSL=yes
131 - ],
132 - AC_MSG_RESULT(no)
133 - )
134 -
135 --AC_TRY_COMPILE([ #include <net-snmp-config.h>
136 -+AC_TRY_COMPILE([ #include <net-snmp/net-snmp-config.h>
137 - #include <net-snmp/utilities.h>
138 - #include <net-snmp/net-snmp-includes.h>
139 - #include <net-snmp/config_api.h>