Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pmacct/files/, net-analyzer/pmacct/
Date: Thu, 18 Aug 2022 00:31:41
Message-Id: 1660782662.eeeca3dd5fb8a7c0dcb3a8202cb206a65865e1d6.sam@gentoo
1 commit: eeeca3dd5fb8a7c0dcb3a8202cb206a65865e1d6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 00:31:02 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 00:31:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeeca3dd
7
8 net-analyzer/pmacct: drop 1.7.6-r2, 1.7.6-r3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-analyzer/pmacct/Manifest | 1 -
13 .../files/pmacct-1.7.6-fix-mysql-crash.patch | 26 ------
14 net-analyzer/pmacct/pmacct-1.7.6-r2.ebuild | 98 ---------------------
15 net-analyzer/pmacct/pmacct-1.7.6-r3.ebuild | 99 ----------------------
16 4 files changed, 224 deletions(-)
17
18 diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest
19 index 8ca96495e5e3..17b03eeb9f42 100644
20 --- a/net-analyzer/pmacct/Manifest
21 +++ b/net-analyzer/pmacct/Manifest
22 @@ -1,2 +1 @@
23 -DIST pmacct-1.7.6.tar.gz 2126837 BLAKE2B df04822e88f9409d335457031fb26ce4ae8b5da13cf2f55f8d6c78eb50dade62ef763d389ac81a509d9351e12844446ac73171e9966a5aeeecc0e5fb10219c73 SHA512 b370d20f8b8d49b9114db3ab74c66cd16962dee5e7c3642fab0b2787c4ea924a249ff4d8d770c0ccc8ca81366b9a5e557dcfb7cdddf878b99b719d0accdb949a
24 DIST pmacct-1.7.7.tar.gz 2149629 BLAKE2B 00357cbf1f52452c4a9ee9807e2c18f823019521cc9cb99553fe262826d7343e286694d666c7bab59e62767598ff373b3abafbecfdd43a823ba8784777740643 SHA512 7bc4c48041f023b5cd7ba927722478b0008d751bdb679f44beb2b281f4b16cb0bafb211d0fb947516ca80f86082f1bce578973ec298f4947ffd9d063a44bd00b
25
26 diff --git a/net-analyzer/pmacct/files/pmacct-1.7.6-fix-mysql-crash.patch b/net-analyzer/pmacct/files/pmacct-1.7.6-fix-mysql-crash.patch
27 deleted file mode 100644
28 index b76ce8761326..000000000000
29 --- a/net-analyzer/pmacct/files/pmacct-1.7.6-fix-mysql-crash.patch
30 +++ /dev/null
31 @@ -1,26 +0,0 @@
32 -From 1922062277d87da024938cc3057df9a4c3725e76 Mon Sep 17 00:00:00 2001
33 -From: Paolo Lucente <pl+github@××××××.net>
34 -Date: Sun, 28 Feb 2021 02:51:10 +0000
35 -Subject: [PATCH] * fix, MySQL plugin: check for 'unix:' string only if
36 - sql_host is supplied
37 -
38 ----
39 - src/mysql_plugin.c | 5 ++++-
40 - 1 file changed, 4 insertions(+), 1 deletion(-)
41 -
42 -diff --git a/src/mysql_plugin.c b/src/mysql_plugin.c
43 -index 7f5179abd..dce117732 100644
44 ---- a/src/mysql_plugin.c
45 -+++ b/src/mysql_plugin.c
46 -@@ -695,7 +695,10 @@ void MY_DB_Connect(struct DBdesc *db, char *host)
47 - mysql_options(db->desc, MYSQL_OPT_RECONNECT, &reconnect);
48 - if (config.sql_conn_ca_file) mysql_ssl_set(db->desc, NULL, NULL, config.sql_conn_ca_file, NULL, NULL);
49 -
50 -- usp = strstr(host, "unix:");
51 -+ if (host) {
52 -+ usp = strstr(host, "unix:");
53 -+ }
54 -+
55 - if (usp && usp == host) {
56 - usp += 5; /* go right past the 'unix:' string */
57 - mysql_ret = mysql_real_connect(db->desc, NULL, config.sql_user, config.sql_passwd, config.sql_db, FALSE, usp, 0);
58
59 diff --git a/net-analyzer/pmacct/pmacct-1.7.6-r2.ebuild b/net-analyzer/pmacct/pmacct-1.7.6-r2.ebuild
60 deleted file mode 100644
61 index 41834f7749e8..000000000000
62 --- a/net-analyzer/pmacct/pmacct-1.7.6-r2.ebuild
63 +++ /dev/null
64 @@ -1,98 +0,0 @@
65 -# Copyright 1999-2021 Gentoo Authors
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -EAPI=7
69 -
70 -inherit autotools flag-o-matic toolchain-funcs
71 -
72 -DESCRIPTION="A network tool to gather IP traffic information"
73 -HOMEPAGE="http://www.pmacct.net/"
74 -SRC_URI="http://www.pmacct.net/${P}.tar.gz"
75 -
76 -LICENSE="GPL-2"
77 -SLOT="0"
78 -KEYWORDS="~amd64 ~x86"
79 -IUSE="
80 - +bgp-bins +bmp-bins geoip geoipv2 jansson kafka +l2 mysql ndpi nflog
81 - postgres rabbitmq sqlite +st-bins +traffic-bins zmq
82 -"
83 -REQUIRED_USE="
84 - ?? ( geoip geoipv2 )
85 - kafka? ( jansson )
86 - rabbitmq? ( jansson )
87 -"
88 -
89 -RDEPEND="dev-libs/libcdada
90 - net-libs/libpcap
91 - geoip? ( dev-libs/geoip )
92 - geoipv2? ( dev-libs/libmaxminddb )
93 - jansson? ( dev-libs/jansson:= )
94 - kafka? ( dev-libs/librdkafka )
95 - mysql? (
96 - dev-db/mysql-connector-c:0=
97 - sys-process/numactl
98 - )
99 - ndpi? ( >=net-libs/nDPI-3.2:= )
100 - nflog? ( net-libs/libnetfilter_log )
101 - postgres? ( dev-db/postgresql:* )
102 - rabbitmq? ( net-libs/rabbitmq-c )
103 - sqlite? ( =dev-db/sqlite-3* )
104 - zmq? ( >=net-libs/zeromq-4.2.0:= )"
105 -DEPEND="${RDEPEND}"
106 -BDEPEND="virtual/pkgconfig"
107 -
108 -PATCHES=(
109 - "${FILESDIR}/${PN}-1.7.4--Werror.patch"
110 - "${FILESDIR}/${PN}-1.7.6-nogit.patch"
111 -)
112 -
113 -DOCS=(
114 - CONFIG-KEYS ChangeLog FAQS QUICKSTART UPGRADE
115 - docs/INTERNALS docs/PLUGINS docs/SIGNALS
116 -)
117 -
118 -src_prepare() {
119 - default
120 - eautoreconf
121 -}
122 -
123 -src_configure() {
124 - tc-export CC AR RANLIB
125 - append-cflags -fcommon
126 -
127 - econf \
128 - $(use_enable bgp-bins) \
129 - $(use_enable bmp-bins) \
130 - $(use_enable geoip) \
131 - $(use_enable geoipv2) \
132 - $(use_enable jansson) \
133 - $(use_enable kafka) \
134 - $(use_enable l2) \
135 - $(use_enable mysql) \
136 - $(use_enable ndpi) \
137 - $(use_enable nflog) \
138 - $(use_enable postgres pgsql) \
139 - $(use_enable rabbitmq) \
140 - $(use_enable sqlite sqlite3) \
141 - $(use_enable st-bins) \
142 - $(use_enable traffic-bins) \
143 - $(use_enable zmq) \
144 - --without-external-deps \
145 - --disable-debug \
146 - --disable-mongodb
147 -}
148 -
149 -src_install() {
150 - default
151 -
152 - for dirname in examples sql telemetry; do
153 - docinto ${dirname}
154 - dodoc -r ${dirname}/*
155 - done
156 -
157 - newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
158 - newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
159 -
160 - insinto /etc/pmacctd
161 - newins examples/pmacctd-imt.conf.example pmacctd.conf
162 -}
163
164 diff --git a/net-analyzer/pmacct/pmacct-1.7.6-r3.ebuild b/net-analyzer/pmacct/pmacct-1.7.6-r3.ebuild
165 deleted file mode 100644
166 index 07c9fac4b6b1..000000000000
167 --- a/net-analyzer/pmacct/pmacct-1.7.6-r3.ebuild
168 +++ /dev/null
169 @@ -1,99 +0,0 @@
170 -# Copyright 1999-2021 Gentoo Authors
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -EAPI=7
174 -
175 -inherit autotools flag-o-matic toolchain-funcs
176 -
177 -DESCRIPTION="A network tool to gather IP traffic information"
178 -HOMEPAGE="http://www.pmacct.net/"
179 -SRC_URI="http://www.pmacct.net/${P}.tar.gz"
180 -
181 -LICENSE="GPL-2"
182 -SLOT="0"
183 -KEYWORDS="~amd64 ~x86"
184 -IUSE="
185 - +bgp-bins +bmp-bins geoip geoipv2 jansson kafka +l2 mysql ndpi nflog
186 - postgres rabbitmq sqlite +st-bins +traffic-bins zmq
187 -"
188 -REQUIRED_USE="
189 - ?? ( geoip geoipv2 )
190 - kafka? ( jansson )
191 - rabbitmq? ( jansson )
192 -"
193 -
194 -RDEPEND="dev-libs/libcdada
195 - net-libs/libpcap
196 - geoip? ( dev-libs/geoip )
197 - geoipv2? ( dev-libs/libmaxminddb )
198 - jansson? ( dev-libs/jansson:= )
199 - kafka? ( dev-libs/librdkafka )
200 - mysql? (
201 - dev-db/mysql-connector-c:0=
202 - sys-process/numactl
203 - )
204 - ndpi? ( >=net-libs/nDPI-3.2:= )
205 - nflog? ( net-libs/libnetfilter_log )
206 - postgres? ( dev-db/postgresql:* )
207 - rabbitmq? ( net-libs/rabbitmq-c )
208 - sqlite? ( =dev-db/sqlite-3* )
209 - zmq? ( >=net-libs/zeromq-4.2.0:= )"
210 -DEPEND="${RDEPEND}"
211 -BDEPEND="virtual/pkgconfig"
212 -
213 -PATCHES=(
214 - "${FILESDIR}/${PN}-1.7.4--Werror.patch"
215 - "${FILESDIR}/${PN}-1.7.6-nogit.patch"
216 - "${FILESDIR}/${P}-fix-mysql-crash.patch"
217 -)
218 -
219 -DOCS=(
220 - CONFIG-KEYS ChangeLog FAQS QUICKSTART UPGRADE
221 - docs/INTERNALS docs/PLUGINS docs/SIGNALS
222 -)
223 -
224 -src_prepare() {
225 - default
226 - eautoreconf
227 -}
228 -
229 -src_configure() {
230 - tc-export CC AR RANLIB
231 - append-cflags -fcommon
232 -
233 - econf \
234 - $(use_enable bgp-bins) \
235 - $(use_enable bmp-bins) \
236 - $(use_enable geoip) \
237 - $(use_enable geoipv2) \
238 - $(use_enable jansson) \
239 - $(use_enable kafka) \
240 - $(use_enable l2) \
241 - $(use_enable mysql) \
242 - $(use_enable ndpi) \
243 - $(use_enable nflog) \
244 - $(use_enable postgres pgsql) \
245 - $(use_enable rabbitmq) \
246 - $(use_enable sqlite sqlite3) \
247 - $(use_enable st-bins) \
248 - $(use_enable traffic-bins) \
249 - $(use_enable zmq) \
250 - --without-external-deps \
251 - --disable-debug \
252 - --disable-mongodb
253 -}
254 -
255 -src_install() {
256 - default
257 -
258 - for dirname in examples sql telemetry; do
259 - docinto ${dirname}
260 - dodoc -r ${dirname}/*
261 - done
262 -
263 - newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
264 - newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
265 -
266 - insinto /etc/pmacctd
267 - newins examples/pmacctd-imt.conf.example pmacctd.conf
268 -}