[gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/

2020-05-23 Thread Jeroen Roovers
commit: d7f0ab8d2a9ae1cb9eb5aab7342605295ed82677
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat May 23 18:21:43 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat May 23 18:22:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f0ab8d

net-analyzer/cacti-spine: Update live ebuild

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/cacti-spine/cacti-spine-9.ebuild|  3 +--
 net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch | 11 ---
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/net-analyzer/cacti-spine/cacti-spine-9.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-9.ebuild
index 3eacb02e847..34e6c184a65 100644
--- a/net-analyzer/cacti-spine/cacti-spine-9.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,7 +30,6 @@ RDEPEND="
>net-analyzer/cacti-0.8.8
 "
 PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.8d-ping.patch
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
 )
 

diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch 
b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
deleted file mode 100644
index 55dc8754c8d..000
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/ping.c
-+++ b/ping.c
-@@ -913,7 +913,7 @@
-   struct hostent result;
- 
-   buf = malloc(len*sizeof(char));
--  memset(buf, 0, sizeof(buf));
-+  memset(buf, 0, len*sizeof(char));
- 
-   while (1) {
-   hostinfo = gethostbyname_r(hostname, , buf, len, 
_errno);



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/

2017-02-28 Thread Jeroen Roovers
commit: 9a3e78ec9f9e623c63ef289e43a88d097ccbe4ae
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar  1 07:36:08 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar  1 07:36:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3e78ec

net-analyzer/cacti-spine: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/cacti-spine/Manifest  |  3 --
 net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild  | 48 --
 net-analyzer/cacti-spine/cacti-spine-1.0.1.ebuild  | 47 -
 net-analyzer/cacti-spine/cacti-spine-1.0.2.ebuild  | 47 -
 .../files/cacti-spine-1.0.0-help2man.patch | 14 ---
 5 files changed, 159 deletions(-)

diff --git a/net-analyzer/cacti-spine/Manifest 
b/net-analyzer/cacti-spine/Manifest
index dc2eca843fc..fe258ae229d 100644
--- a/net-analyzer/cacti-spine/Manifest
+++ b/net-analyzer/cacti-spine/Manifest
@@ -1,6 +1,3 @@
 DIST cacti-spine-0.8.8h.tar.gz 804951 SHA256 
a693136839bd7d03cae5b3ff4614a4d21a2153ffb14d09fc061b843ab0b2bb30 SHA512 
6a7147ab645be44de0d330c7801e569705817da10bf6cedba82c712e1701ada8aa8924a6b3b063ea680e6af24f815d6767e8773ad7b8da212abfa082b4211bd4
 WHIRLPOOL 
36daed4986ca84883e51ab6b02ebb2ade00205c30705cfc94e73835bc2fc427a60a2dba9c7ca3665d0c0b2fca21afab77d94cde63b740f3734f9279c929cccaf
-DIST cacti-spine-1.0.0.tar.gz 800770 SHA256 
074528eec16e8a49d535ce96d2347bd2a891a56722b261d744225d9f90b6382f SHA512 
458b0050ceff3a9e2d31c54c177d75f8d36ff521204d5f7b52a5fb9ff6082c25ef98f46d80dc6c79816e5a977f5b61decac03b625728fc9dc654170e3ce3e87f
 WHIRLPOOL 
3c24d028606ab382ea61feeecda141c96d6b2a588247656285bbb832e309d1e6acd086a8464c9083cc19c777fcd0e15bff53aad417d8889e3b08a85aa38b5be1
-DIST cacti-spine-1.0.1.tar.gz 800797 SHA256 
75b699bd4a85389a4fe026423aae97b51e9f6b091cffbfb6b41d5785d7423330 SHA512 
c5b2f22c6304f5a95e3db58609fb430fc3fb1ba01de6a0817bc6d86ea94af791e55a4985496980b472ce88723ee498dbb4e8a004be4d41e61b795a7b510af999
 WHIRLPOOL 
a67b29de02b0b21cdd65c8c1aefd89a1b0c74eff4ab7dcb6395ed2bff8d0d14f32c579df8c55adca0e3b6c1d9dd01693b19db54efdb80ec10042913bcfc4cef7
-DIST cacti-spine-1.0.2.tar.gz 800868 SHA256 
02137dcfe2e04e8e1ab9bc955afbd2cf6368749280eed027a5a46176b00e230a SHA512 
6a872ec82861c08f4f02d1e070683011caa64d613c3fef54b002e545e607ef3be0d9ed841ca061eedaa2b25d8116f93b143dd4f829bd13e20c48f9565ff72678
 WHIRLPOOL 
b79b14923bd052e09c5b3f3aa79a765ba813bf980433916bb479be4552239f305ea735120fd5c1ff842adce01d1ba3f8809b85628ecaed0ed79c49be5fe13e06
 DIST cacti-spine-1.0.3.tar.gz 800855 SHA256 
f63f90f0c81d72cdb6a8b7c64cc2d341e34ccf3424e1087669b3df92451af2ab SHA512 
6cd93cd10dd0c6338909ce381a1b8bb208c0351521131b0bab488e6a6ef6081e279ef0ce47653d88ceecfeaf3128031bce22fbcbc926f9bae381cfea65db655b
 WHIRLPOOL 
9a92c8bbf38e8512308625e1107e9af69ccff2f2c748bd5d49997feb63ec76663a31ad25fbefed62f2e970563c38df13bf378c3dff7a91a7d232958058cb1d64
 DIST cacti-spine-1.0.4.tar.gz 800817 SHA256 
0c1640728834c0022712d991cc98d5fade7ad91ff80a4409f26e40236d96d187 SHA512 
0546edded564a87696b880166819a1d72d0c02e9e94630997fe6b0f0b183c93172cb43d6f6c73f8156e7b9d13878dc105487da24ecce08f0004284d1000701ac
 WHIRLPOOL 
cb0c0df93f801dd0f65d2d438c6cc070cdcacf2a52afa9162cb99b50ea2981ebd45fbdf2c833329e562c2da967e6115874984372c63f989ed5040e39b91a470b

diff --git a/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild
deleted file mode 100644
index ef241df7c78..000
--- a/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils
-
-MY_P=${PN}-${PV/_p/-}
-
-DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
-HOMEPAGE="http://cacti.net/spine_info.php;
-SRC_URI="http://www.cacti.net/downloads/spine/${MY_P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-
-CDEPEND="
-   dev-libs/openssl:*
-   net-analyzer/net-snmp
-   virtual/mysql
-"
-DEPEND="
-   ${CDEPEND}
-   sys-apps/help2man
-"
-RDEPEND="
-   ${CDEPEND}
-   >net-analyzer/cacti-0.8.8
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.8d-ping.patch
-   "${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
-   "${FILESDIR}"/${PN}-1.0.0-help2man.patch
-)
-
-src_prepare() {
-   default
-
-   AT_M4DIR="config" eautoreconf
-}
-
-src_install() {
-   dosbin spine
-   insinto /etc/
-   insopts -m0640 -o root
-   newins spine.conf{.dist,}
-   dodoc ChangeLog
-}

diff --git a/net-analyzer/cacti-spine/cacti-spine-1.0.1.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-1.0.1.ebuild
deleted file mode 100644
index 34727025866..000
--- a/net-analyzer/cacti-spine/cacti-spine-1.0.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/

2017-02-03 Thread Jeroen Roovers
commit: 1ddf95a009684ecee7a1fbff5f384503cf7c3f31
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Feb  3 19:33:45 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Feb  3 19:33:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ddf95a0

net-analyzer/cacti-spine: sed script => patch.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild   | 1 -
 net-analyzer/cacti-spine/files/cacti-spine-1.0.0-help2man.patch | 7 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild
index a0b1283..621b6a9 100644
--- a/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-1.0.0.ebuild
@@ -37,7 +37,6 @@ PATCHES=(
 src_prepare() {
default
 
-   sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
AT_M4DIR="config" eautoreconf
 }
 

diff --git a/net-analyzer/cacti-spine/files/cacti-spine-1.0.0-help2man.patch 
b/net-analyzer/cacti-spine/files/cacti-spine-1.0.0-help2man.patch
index 1e9dffa..081b8ae 100644
--- a/net-analyzer/cacti-spine/files/cacti-spine-1.0.0-help2man.patch
+++ b/net-analyzer/cacti-spine/files/cacti-spine-1.0.0-help2man.patch
@@ -1,6 +1,11 @@
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -11,5 +11,5 @@
+@@ -7,9 +7,9 @@
+ configdir = $(sysconfdir)
+ config_DATA = spine.conf.dist
+ 
+-bin_PROGRAMS = spine
++sbin_PROGRAMS = spine
  
  man_MANS = spine.1
  



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/

2016-10-10 Thread Jeroen Roovers
commit: 384aa8fb417c350a516b59685d636d1c0af804dd
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 10 15:23:47 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 10 15:23:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384aa8fb

net-analyzer/cacti-spine: Old.

Package-Manager: portage-2.3.1

 net-analyzer/cacti-spine/Manifest  |  1 -
 net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild | 46 --
 .../cacti-spine-0.8.8d-snmp_spine_close.patch  | 10 -
 .../files/cacti-spine-0.8.8e-fix-ac-macro.patch| 11 --
 .../files/cacti-spine-0.8.8e-net-snmp.patch| 19 -
 5 files changed, 87 deletions(-)

diff --git a/net-analyzer/cacti-spine/Manifest 
b/net-analyzer/cacti-spine/Manifest
index 2dcb67b..a2f365d 100644
--- a/net-analyzer/cacti-spine/Manifest
+++ b/net-analyzer/cacti-spine/Manifest
@@ -1,2 +1 @@
-DIST cacti-spine-0.8.8e.tar.gz 757042 SHA256 
e014488acffd4dd3a88306c3809e93a89c8538a050c2a58a9666e4c04c004b92 SHA512 
165e93d4cce3378e911aec41fcd68fb541d82d849ebf3e2e28e0ddb65027ff2eb77d488acbaa133244091cd02adb58d8f74ea5abc36abed07af9ea72bc104f40
 WHIRLPOOL 
59442f54fbb8956a945404f374eba848bc21b60d53dacb025132a91dc077115aa65ee30959ba81fb521beb9732c1c5944adb1c555a36ad6ea72898172404970c
 DIST cacti-spine-0.8.8h.tar.gz 804951 SHA256 
a693136839bd7d03cae5b3ff4614a4d21a2153ffb14d09fc061b843ab0b2bb30 SHA512 
6a7147ab645be44de0d330c7801e569705817da10bf6cedba82c712e1701ada8aa8924a6b3b063ea680e6af24f815d6767e8773ad7b8da212abfa082b4211bd4
 WHIRLPOOL 
36daed4986ca84883e51ab6b02ebb2ade00205c30705cfc94e73835bc2fc427a60a2dba9c7ca3665d0c0b2fca21afab77d94cde63b740f3734f9279c929cccaf

diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild
deleted file mode 100644
index f463320..
--- a/net-analyzer/cacti-spine/cacti-spine-0.8.8e.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils
-
-MY_P=${PN}-${PV/_p/-}
-
-DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)"
-HOMEPAGE="http://cacti.net/spine_info.php;
-SRC_URI="http://www.cacti.net/downloads/spine/${MY_P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 hppa ~ppc ~ppc64 sparc x86"
-
-DEPEND="
-   dev-libs/openssl:*
-   net-analyzer/net-snmp
-   virtual/mysql
-"
-RDEPEND="
-   ${DEPEND}
-   >net-analyzer/cacti-0.8.8
-"
-
-src_prepare() {
-   epatch \
-   "${FILESDIR}"/${PN}-0.8.8e-fix-ac-macro.patch \
-   "${FILESDIR}"/${PN}-0.8.8e-net-snmp.patch \
-   "${FILESDIR}"/${PN}-0.8.8d-mysql.patch \
-   "${FILESDIR}"/${PN}-0.8.8d-ping.patch \
-   "${FILESDIR}"/${PN}-0.8.8d-snmp_spine_close.patch
-
-   sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am
-   AT_M4DIR="config" eautoreconf
-}
-
-src_install() {
-   dosbin spine
-   insinto /etc/
-   insopts -m0640 -o root
-   newins spine.conf{.dist,}
-   dodoc ChangeLog README
-}

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
deleted file mode 100644
index f39e8c6..
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-snmp_spine_close.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/snmp.h
-+++ b/snmp.h
-@@ -32,6 +32,7 @@
- */
- 
- extern void snmp_spine_init(void);
-+extern void snmp_spine_close(void);
- 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);
- extern void snmp_host_cleanup(void *snmp_session);
- extern char *snmp_get(host_t *current_host, char *snmp_oid);

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
deleted file mode 100644
index 5249cdf..
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-fix-ac-macro.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -10,7 +10,7 @@
- AC_LANG(C)
- 
- AM_INIT_AUTOMAKE(spine, 0.8.8e)
--AM_CONFIG_HEADER(config/config.h)
-+AC_CONFIG_HEADERS(config/config.h)
- 
- # static libraries
- AC_ARG_WITH(static,

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
deleted file mode 100644
index c96bbc9..
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8e-net-snmp.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -254,14 +254,14 @@
- )
- 
- AC_MSG_CHECKING([if Net-SNMP needs crypto support])