Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/flow-tools/
Date: Wed, 13 Jul 2016 17:25:48
Message-Id: 1468430954.951bbd7e60ff137134aec0026703b5ecf87c56f4.blueness@gentoo
1 commit: 951bbd7e60ff137134aec0026703b5ecf87c56f4
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 13 17:25:00 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 13 17:29:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=951bbd7e
7
8 net-analyzer/flow-tools: add libressl support
9
10 Package-Manager: portage-2.2.28
11
12 .../flow-tools/flow-tools-0.68.5.1-r4.ebuild | 72 ----------------------
13 .../flow-tools/flow-tools-0.68.5.1-r5.ebuild | 72 ----------------------
14 .../flow-tools/flow-tools-0.68.5.1-r6.ebuild | 13 ++--
15 3 files changed, 8 insertions(+), 149 deletions(-)
16
17 diff --git a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild
18 deleted file mode 100644
19 index ea94ae5..0000000
20 --- a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild
21 +++ /dev/null
22 @@ -1,72 +0,0 @@
23 -# Copyright 1999-2014 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI=5
28 -inherit eutils user
29 -
30 -DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
31 -HOMEPAGE="https://code.google.com/p/flow-tools/"
32 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
33 -
34 -LICENSE="BSD GPL-2"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~ppc ~x86"
37 -IUSE="debug mysql postgres ssl static-libs"
38 -
39 -RDEPEND="sys-apps/tcp-wrappers
40 - sys-libs/zlib
41 - mysql? ( virtual/mysql )
42 - postgres? ( dev-db/postgresql )
43 - ssl? ( dev-libs/openssl )"
44 -
45 -DEPEND="${RDEPEND}
46 - sys-devel/flex
47 - sys-devel/bison"
48 -
49 -DOCS=( ChangeLog README SECURITY TODO )
50 -
51 -pkg_setup() {
52 - enewgroup flows
53 - enewuser flows -1 -1 /var/lib/flows flows
54 -}
55 -
56 -src_prepare() {
57 - epatch "${FILESDIR}"/${P}-run.patch
58 - epatch "${FILESDIR}"/${P}-syslog.patch
59 -}
60 -
61 -src_configure() {
62 - econf \
63 - $(use_enable static-libs static) \
64 - $(usex mysql --with-mysql '') \
65 - $(usex postgres --with-postgresql=yes --with-postgresql=no) \
66 - $(usex ssl --with-openssl '') \
67 - --sysconfdir=/etc/flow-tools
68 -}
69 -
70 -src_install() {
71 - default
72 -
73 - prune_libtool_files
74 -
75 - exeinto /var/lib/flows/bin
76 - doexe "${FILESDIR}"/linkme
77 -
78 - keepdir /var/lib/flows/ft
79 -
80 - newinitd "${FILESDIR}/flowcapture.initd" flowcapture
81 - newconfd "${FILESDIR}/flowcapture.confd" flowcapture
82 -
83 - fowners flows:flows /var/lib/flows
84 - fowners flows:flows /var/lib/flows/bin
85 - fowners flows:flows /var/lib/flows/ft
86 -
87 - fperms 0755 /var/lib/flows
88 - fperms 0755 /var/lib/flows/bin
89 -}
90 -
91 -pkg_preinst() {
92 - enewgroup flows
93 - enewuser flows -1 -1 /var/lib/flows flows
94 -}
95
96 diff --git a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r5.ebuild b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r5.ebuild
97 deleted file mode 100644
98 index ea94ae5..0000000
99 --- a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r5.ebuild
100 +++ /dev/null
101 @@ -1,72 +0,0 @@
102 -# Copyright 1999-2014 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -# $Id$
105 -
106 -EAPI=5
107 -inherit eutils user
108 -
109 -DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
110 -HOMEPAGE="https://code.google.com/p/flow-tools/"
111 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
112 -
113 -LICENSE="BSD GPL-2"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~ppc ~x86"
116 -IUSE="debug mysql postgres ssl static-libs"
117 -
118 -RDEPEND="sys-apps/tcp-wrappers
119 - sys-libs/zlib
120 - mysql? ( virtual/mysql )
121 - postgres? ( dev-db/postgresql )
122 - ssl? ( dev-libs/openssl )"
123 -
124 -DEPEND="${RDEPEND}
125 - sys-devel/flex
126 - sys-devel/bison"
127 -
128 -DOCS=( ChangeLog README SECURITY TODO )
129 -
130 -pkg_setup() {
131 - enewgroup flows
132 - enewuser flows -1 -1 /var/lib/flows flows
133 -}
134 -
135 -src_prepare() {
136 - epatch "${FILESDIR}"/${P}-run.patch
137 - epatch "${FILESDIR}"/${P}-syslog.patch
138 -}
139 -
140 -src_configure() {
141 - econf \
142 - $(use_enable static-libs static) \
143 - $(usex mysql --with-mysql '') \
144 - $(usex postgres --with-postgresql=yes --with-postgresql=no) \
145 - $(usex ssl --with-openssl '') \
146 - --sysconfdir=/etc/flow-tools
147 -}
148 -
149 -src_install() {
150 - default
151 -
152 - prune_libtool_files
153 -
154 - exeinto /var/lib/flows/bin
155 - doexe "${FILESDIR}"/linkme
156 -
157 - keepdir /var/lib/flows/ft
158 -
159 - newinitd "${FILESDIR}/flowcapture.initd" flowcapture
160 - newconfd "${FILESDIR}/flowcapture.confd" flowcapture
161 -
162 - fowners flows:flows /var/lib/flows
163 - fowners flows:flows /var/lib/flows/bin
164 - fowners flows:flows /var/lib/flows/ft
165 -
166 - fperms 0755 /var/lib/flows
167 - fperms 0755 /var/lib/flows/bin
168 -}
169 -
170 -pkg_preinst() {
171 - enewgroup flows
172 - enewuser flows -1 -1 /var/lib/flows flows
173 -}
174
175 diff --git a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild
176 index 501d9f9..087e3c9 100644
177 --- a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild
178 +++ b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild
179 @@ -1,24 +1,27 @@
180 -# Copyright 1999-2015 Gentoo Foundation
181 +# Copyright 1999-2016 Gentoo Foundation
182 # Distributed under the terms of the GNU General Public License v2
183 # $Id$
184
185 EAPI=5
186 inherit eutils user
187
188 -DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
189 +DESCRIPTION="library and programs to process reports from NetFlow data"
190 HOMEPAGE="https://code.google.com/p/flow-tools/"
191 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
192
193 LICENSE="BSD GPL-2"
194 SLOT="0"
195 KEYWORDS="~amd64 ~ppc ~x86"
196 -IUSE="debug mysql postgres ssl static-libs"
197 +IUSE="debug libressl mysql postgres ssl static-libs"
198
199 RDEPEND="sys-apps/tcp-wrappers
200 sys-libs/zlib
201 mysql? ( virtual/mysql )
202 - postgres? ( dev-db/postgresql )
203 - ssl? ( dev-libs/openssl )"
204 + postgres? ( dev-db/postgresql:* )
205 + ssl? (
206 + !libressl? ( dev-libs/openssl:0= )
207 + libressl? ( dev-libs/libressl:0= )
208 + )"
209
210 DEPEND="${RDEPEND}
211 sys-devel/flex