Gentoo Archives: gentoo-commits

From: Tony Vroon <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pmacct/
Date: Thu, 25 May 2017 16:38:27
Message-Id: 1495730306.b063a5c50dbaa16c1fcff08649eb5e16b861518c.chainsaw@gentoo
1 commit: b063a5c50dbaa16c1fcff08649eb5e16b861518c
2 Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 25 16:35:04 2017 +0000
4 Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
5 CommitDate: Thu May 25 16:38:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b063a5c5
7
8 net-analyzer/pmacct: Reinstate 1.5.3 versions due to operational need.
9 Permission sought on #gentoo-dev and by private message on IRC.
10
11 net-analyzer/pmacct/Manifest | 3 +
12 net-analyzer/pmacct/pmacct-1.5.2.ebuild | 71 ++++++++++++++++++++
13 .../pmacct/pmacct-1.5.3_pre20150925-r1.ebuild | 76 ++++++++++++++++++++++
14 .../pmacct/pmacct-1.5.3_pre20150925.ebuild | 71 ++++++++++++++++++++
15 net-analyzer/pmacct/pmacct-1.6.0.ebuild | 73 +++++++++++++++++++++
16 5 files changed, 294 insertions(+)
17
18 diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest
19 index dbd1e0c4065..6eb7cb230b7 100644
20 --- a/net-analyzer/pmacct/Manifest
21 +++ b/net-analyzer/pmacct/Manifest
22 @@ -1,3 +1,6 @@
23 DIST pmacct-1.5.1.tar.gz 874563 SHA256 96134549a10947f3f6d610b670a26f1a54e01af4be0eff09bf48c19246d33584 SHA512 c3a0ddaf1b8679df2097147ce844eb2a3e3058599aea457e463cd4e65a7601e0ce5bac5ca5e1c82afecd5edc92dae673eed3ed1787bfbd3e8ac2af5677885bb7 WHIRLPOOL bd071ac30493f5ee2e0393eb9277dfae2d2fdd6283293aee589ae41ab326b0aaef0ec9b70a421eeca4df857a0046ca7b196e0692ffdd2ea12d9a7c66a74e9a32
24 +DIST pmacct-1.5.2.tar.gz 897530 SHA256 c12e3897e2f9aa89333968da46eb46855f357750ac1e06e36e72f374e2b54df9 SHA512 3705432cc2a28e179de637b8fc11becd2022b36191a13d440d5bec7d7e594d0936773f202f3d82e983a83695176380aa6a7c27748b632b180000590be0ead599 WHIRLPOOL e7bb1fa1b7372af7d932e19da1d14f3922d8a8ebda245fa03e2a5f283c66141a9299cc9dfa6f32e9384c7d2c9a2d2ef35ef62d7b9910e4f76cacc132231420e5
25 +DIST pmacct-1.5.3_pre20150925.tar.gz 896168 SHA256 ae63580ae879b3ce20e9725690b6337a72857376192dd2f610e0359ee9d4364c SHA512 e6675855f403ee746b0243cce1ee0e28fd649d2b1c6c1e33f012d7858f977952ba6ed5d1ee47ce42a4f6950b139be2bc50a88740fd19c4775d61d1fb1aa6c05d WHIRLPOOL c7f5003754835f0e1883f13bfba740667ebcbef54a49cc8b8f6fcca1f2db2dea337c910417ff75d86dcfa6bc294fa9b44567bc0d5d07b79ffcfc9b11b1efad5d
26 +DIST pmacct-1.6.0.tar.gz 1253947 SHA256 1b8d65032b21e152811b6a20ee38ac18ded7ee9ff27cd86870673f088db3c395 SHA512 6c227648a67b69096c814a41f3931f516f2286c110d635ad351de96ee3a918b53a9c723b2199d0dd3ebff1ac20471d9cde2cab2d1b97c147b08ba1a4bd42f872 WHIRLPOOL 66fe8d57ed04f3433dd9ce974b75d0810fecacbd163cbc29e83de70b211c5a6498fe7c627dfc783c8e123dc742ecfad920b2c8ecc19dc830f328eecf1522b566
27 DIST pmacct-1.6.1.tar.gz 1280968 SHA256 eb332a6812d1e02134900a1d115a24f315de7c861a9b63093c1226753486cbe7 SHA512 e4c24d4c09716374a1315f8b4a70f3c58fb45848d80cf5c36e5a7653c47249717353a297826e341ec9fd741dd77b840241ad8f5e9d33f4c3dd0525661127cf27 WHIRLPOOL 2ba781d320ceccf7a815d5dd1f8e2362d3fa5085fecafe4e6d75116ca3dafb7ce49d4c455add1615773a83e614f7b7c941c2e4c6ec8424b1cdaf559227f3ab98
28 DIST pmacct-1.6.2.tar.gz 1311678 SHA256 e6ede7f500fb1771b5cdfb63dfa016e34c19b8aa2d2f672bd4c63016a5d6bbe2 SHA512 8495f97752ae586fd842eed49ce91db3e4753133f7d380d067e7df153abeea469e5126800074e9071cb7227a3f1df64d4642dfece624fbbfa39b4537fde38b46 WHIRLPOOL ebfa8caeaa1cf48d6b3785cb600d4459e9408e9e8e110b636d0dd0108fcd33a8660259d99469960d32aff720b5387b029891f4d6419dab88920f3bae89f0871a
29
30 diff --git a/net-analyzer/pmacct/pmacct-1.5.2.ebuild b/net-analyzer/pmacct/pmacct-1.5.2.ebuild
31 new file mode 100644
32 index 00000000000..f27118bbbe3
33 --- /dev/null
34 +++ b/net-analyzer/pmacct/pmacct-1.5.2.ebuild
35 @@ -0,0 +1,71 @@
36 +# Copyright 1999-2015 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=5
40 +inherit toolchain-funcs
41 +
42 +DESCRIPTION="A network tool to gather IP traffic information"
43 +HOMEPAGE="http://www.pmacct.net/"
44 +SRC_URI="http://www.pmacct.net/${P/_}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~x86"
49 +IUSE="64bit debug geoip ipv6 mongodb mysql postgres sqlite threads ulog"
50 +
51 +RDEPEND="
52 + net-libs/libpcap
53 + geoip? ( dev-libs/geoip )
54 + mongodb? (
55 + >=dev-libs/mongo-c-driver-0.8.1-r1
56 + <dev-libs/mongo-c-driver-0.98
57 + )
58 + mysql? ( virtual/mysql )
59 + postgres? ( dev-db/postgresql:* )
60 + sqlite? ( =dev-db/sqlite-3* )
61 +"
62 +DEPEND="
63 + ${RDEPEND}
64 + virtual/pkgconfig
65 +"
66 +
67 +S="${WORKDIR}/${P/_/}"
68 +
69 +DOCS=(
70 + CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS QUICKSTART README TODO TOOLS UPGRADE
71 + docs/INTERNALS docs/PLUGINS docs/SIGNALS
72 +)
73 +
74 +src_configure() {
75 + tc-export CC AR RANLIB
76 +
77 + econf \
78 + $(use_enable 64bit) \
79 + $(use_enable debug) \
80 + $(use_enable geoip) \
81 + $(use_enable ipv6) \
82 + $(use_enable mongodb) \
83 + $(use_enable mysql) \
84 + $(use_enable postgres pgsql) \
85 + $(use_enable sqlite sqlite3) \
86 + $(use_enable threads) \
87 + $(use_enable ulog) \
88 + $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \
89 + $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \
90 + --disable-debug
91 +}
92 +
93 +src_install() {
94 + default
95 +
96 + for dirname in examples sql; do
97 + docinto ${dirname}
98 + dodoc -r ${dirname}/*
99 + done
100 +
101 + newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
102 + newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
103 +
104 + insinto /etc/pmacctd
105 + newins examples/pmacctd-imt.conf.example pmacctd.conf
106 +}
107
108 diff --git a/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild
109 new file mode 100644
110 index 00000000000..bf3780777ae
111 --- /dev/null
112 +++ b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild
113 @@ -0,0 +1,76 @@
114 +# Copyright 1999-2015 Gentoo Foundation
115 +# Distributed under the terms of the GNU General Public License v2
116 +
117 +EAPI=5
118 +inherit toolchain-funcs
119 +
120 +DESCRIPTION="A network tool to gather IP traffic information"
121 +HOMEPAGE="http://www.pmacct.net/"
122 +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz"
123 +
124 +LICENSE="GPL-2"
125 +SLOT="0"
126 +KEYWORDS="~amd64 ~x86"
127 +IUSE="64bit debug geoip geoipv2 ipv6 mongodb mysql postgres sqlite threads ulog"
128 +REQUIRED_USE="
129 + ?? ( geoip geoipv2 )
130 +"
131 +
132 +RDEPEND="
133 + net-libs/libpcap
134 + geoip? ( dev-libs/geoip )
135 + geoipv2? ( dev-libs/libmaxminddb )
136 + mongodb? (
137 + >=dev-libs/mongo-c-driver-0.8.1-r1
138 + <dev-libs/mongo-c-driver-0.98
139 + )
140 + mysql? ( virtual/mysql )
141 + postgres? ( dev-db/postgresql:* )
142 + sqlite? ( =dev-db/sqlite-3* )
143 +"
144 +DEPEND="
145 + ${RDEPEND}
146 + virtual/pkgconfig
147 +"
148 +
149 +S="${WORKDIR}/pmacct-daily"
150 +
151 +DOCS=(
152 + CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS QUICKSTART README TODO TOOLS UPGRADE
153 + docs/INTERNALS docs/PLUGINS docs/SIGNALS
154 +)
155 +
156 +src_configure() {
157 + tc-export CC AR RANLIB
158 +
159 + econf \
160 + $(use_enable 64bit) \
161 + $(use_enable debug) \
162 + $(use_enable geoip) \
163 + $(use_enable geoipv2) \
164 + $(use_enable ipv6) \
165 + $(use_enable mongodb) \
166 + $(use_enable mysql) \
167 + $(use_enable postgres pgsql) \
168 + $(use_enable sqlite sqlite3) \
169 + $(use_enable threads) \
170 + $(use_enable ulog) \
171 + $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \
172 + $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \
173 + --disable-debug
174 +}
175 +
176 +src_install() {
177 + default
178 +
179 + for dirname in examples sql; do
180 + docinto ${dirname}
181 + dodoc -r ${dirname}/*
182 + done
183 +
184 + newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
185 + newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
186 +
187 + insinto /etc/pmacctd
188 + newins examples/pmacctd-imt.conf.example pmacctd.conf
189 +}
190
191 diff --git a/net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild
192 new file mode 100644
193 index 00000000000..f2807008293
194 --- /dev/null
195 +++ b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild
196 @@ -0,0 +1,71 @@
197 +# Copyright 1999-2015 Gentoo Foundation
198 +# Distributed under the terms of the GNU General Public License v2
199 +
200 +EAPI=5
201 +inherit toolchain-funcs
202 +
203 +DESCRIPTION="A network tool to gather IP traffic information"
204 +HOMEPAGE="http://www.pmacct.net/"
205 +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz"
206 +
207 +LICENSE="GPL-2"
208 +SLOT="0"
209 +KEYWORDS="~amd64 ~ppc ~x86"
210 +IUSE="64bit debug geoip ipv6 mongodb mysql postgres sqlite threads ulog"
211 +
212 +RDEPEND="
213 + net-libs/libpcap
214 + geoip? ( dev-libs/geoip )
215 + mongodb? (
216 + >=dev-libs/mongo-c-driver-0.8.1-r1
217 + <dev-libs/mongo-c-driver-0.98
218 + )
219 + mysql? ( virtual/mysql )
220 + postgres? ( dev-db/postgresql:* )
221 + sqlite? ( =dev-db/sqlite-3* )
222 +"
223 +DEPEND="
224 + ${RDEPEND}
225 + virtual/pkgconfig
226 +"
227 +
228 +S="${WORKDIR}/pmacct-daily"
229 +
230 +DOCS=(
231 + CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS QUICKSTART README TODO TOOLS UPGRADE
232 + docs/INTERNALS docs/PLUGINS docs/SIGNALS
233 +)
234 +
235 +src_configure() {
236 + tc-export CC AR RANLIB
237 +
238 + econf \
239 + $(use_enable 64bit) \
240 + $(use_enable debug) \
241 + $(use_enable geoip) \
242 + $(use_enable ipv6) \
243 + $(use_enable mongodb) \
244 + $(use_enable mysql) \
245 + $(use_enable postgres pgsql) \
246 + $(use_enable sqlite sqlite3) \
247 + $(use_enable threads) \
248 + $(use_enable ulog) \
249 + $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \
250 + $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \
251 + --disable-debug
252 +}
253 +
254 +src_install() {
255 + default
256 +
257 + for dirname in examples sql; do
258 + docinto ${dirname}
259 + dodoc -r ${dirname}/*
260 + done
261 +
262 + newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
263 + newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
264 +
265 + insinto /etc/pmacctd
266 + newins examples/pmacctd-imt.conf.example pmacctd.conf
267 +}
268
269 diff --git a/net-analyzer/pmacct/pmacct-1.6.0.ebuild b/net-analyzer/pmacct/pmacct-1.6.0.ebuild
270 new file mode 100644
271 index 00000000000..91a703ca1ff
272 --- /dev/null
273 +++ b/net-analyzer/pmacct/pmacct-1.6.0.ebuild
274 @@ -0,0 +1,73 @@
275 +# Copyright 1999-2016 Gentoo Foundation
276 +# Distributed under the terms of the GNU General Public License v2
277 +
278 +EAPI=6
279 +inherit toolchain-funcs
280 +
281 +DESCRIPTION="A network tool to gather IP traffic information"
282 +HOMEPAGE="http://www.pmacct.net/"
283 +SRC_URI="http://www.pmacct.net/${P}.tar.gz"
284 +
285 +LICENSE="GPL-2"
286 +SLOT="0"
287 +KEYWORDS="~amd64 ~x86"
288 +IUSE="64bit debug geoip geoipv2 ipv6 mongodb mysql postgres sqlite threads"
289 +REQUIRED_USE="
290 + ?? ( geoip geoipv2 )
291 +"
292 +
293 +RDEPEND="
294 + net-libs/libpcap
295 + geoip? ( dev-libs/geoip )
296 + geoipv2? ( dev-libs/libmaxminddb )
297 + mongodb? (
298 + >=dev-libs/mongo-c-driver-0.8.1-r1
299 + <dev-libs/mongo-c-driver-0.98
300 + )
301 + mysql? ( virtual/mysql )
302 + postgres? ( dev-db/postgresql:* )
303 + sqlite? ( =dev-db/sqlite-3* )
304 +"
305 +DEPEND="
306 + ${RDEPEND}
307 + virtual/pkgconfig
308 +"
309 +
310 +DOCS=(
311 + CONFIG-KEYS ChangeLog FAQS QUICKSTART TOOLS UPGRADE
312 + docs/INTERNALS docs/PLUGINS docs/SIGNALS
313 +)
314 +
315 +src_configure() {
316 + tc-export CC AR RANLIB
317 +
318 + econf \
319 + $(use_enable 64bit) \
320 + $(use_enable debug) \
321 + $(use_enable geoip) \
322 + $(use_enable geoipv2) \
323 + $(use_enable ipv6) \
324 + $(use_enable mongodb) \
325 + $(use_enable mysql) \
326 + $(use_enable postgres pgsql) \
327 + $(use_enable sqlite sqlite3) \
328 + $(use_enable threads) \
329 + $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \
330 + $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \
331 + --disable-debug
332 +}
333 +
334 +src_install() {
335 + default
336 +
337 + for dirname in examples sql; do
338 + docinto ${dirname}
339 + dodoc -r ${dirname}/*
340 + done
341 +
342 + newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
343 + newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
344 +
345 + insinto /etc/pmacctd
346 + newins examples/pmacctd-imt.conf.example pmacctd.conf
347 +}