Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/
Date: Sat, 26 Nov 2016 22:29:04
Message-Id: 1480199237.5c6777782bffa1f2aaeb53090df3455a2dd75857.mattst88@gentoo
1 commit: 5c6777782bffa1f2aaeb53090df3455a2dd75857
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 23 18:06:59 2016 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 26 22:27:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c677778
7
8 net-dialup/freeradius: Drop old versions 3.0.11-r2 and 3.0.12.
9
10 net-dialup/freeradius/Manifest | 1 -
11 net-dialup/freeradius/freeradius-3.0.11-r2.ebuild | 216 ----------------------
12 net-dialup/freeradius/freeradius-3.0.12.ebuild | 216 ----------------------
13 3 files changed, 433 deletions(-)
14
15 diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
16 index ce23c0e..1f0c11c 100644
17 --- a/net-dialup/freeradius/Manifest
18 +++ b/net-dialup/freeradius/Manifest
19 @@ -1,4 +1,3 @@
20 DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d WHIRLPOOL a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27
21 DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e WHIRLPOOL 14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9
22 -DIST freeradius-server-3.0.11.tar.gz 4808234 SHA256 b97b72915315f2dcd34001af2c1737947f91ad9104a40408b92b030356e25d59 SHA512 451ba4052db68f9855aff96e12df282b31a98973361001f393dac23cb030274d9d9fb9ae85f7feef077e69d7d57152e427fb861892c8fd700b3e17e3389fea64 WHIRLPOOL 06a9e949b69d4244e1d02471e969032aa3ac5781d682c1b7bb87f7c87646fe7a217b6f477391e855e51bfb28214ded836a08acc3eb3e34f6626b1f9dc59d2f2e
23 DIST freeradius-server-3.0.12.tar.gz 4767418 SHA256 4a5af6efcf7fef08ea9bb02979200131e1332a48341c529da73bea76d3b25da0 SHA512 69258da3976f75aa74a9ceb24e08bd5ae0aac2398cd8051368dea7f26a1c969f613a1c94f507e9ec3213f22a60b0b9e194dc68fe7807de501e56880b2fa52604 WHIRLPOOL 88c87178b440348672bbf6a69516c6c451605346f4e1f6d3dac0a5cc5e16bdf57de78a886c6a88b040249bea4f5cea2cadd851752c4e4b8a36a7f0195ce996f1
24
25 diff --git a/net-dialup/freeradius/freeradius-3.0.11-r2.ebuild b/net-dialup/freeradius/freeradius-3.0.11-r2.ebuild
26 deleted file mode 100644
27 index 0b7f671..00000000
28 --- a/net-dialup/freeradius/freeradius-3.0.11-r2.ebuild
29 +++ /dev/null
30 @@ -1,216 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python2_7 )
38 -inherit autotools eutils pam python-any-r1 user
39 -
40 -#PATCHSET=4
41 -
42 -MY_P="${PN}-server-${PV}"
43 -
44 -DESCRIPTION="Highly configurable free RADIUS server"
45 -SRC_URI="
46 - ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
47 - ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
48 -"
49 -HOMEPAGE="http://www.freeradius.org/"
50 -
51 -KEYWORDS=""
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -
55 -IUSE="
56 - debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
57 - postgres python readline sqlite ssl
58 -"
59 -RESTRICT="test firebird? ( bindist )"
60 -
61 -RDEPEND="!net-dialup/cistronradius
62 - !net-dialup/gnuradius
63 - sys-devel/libtool
64 - dev-lang/perl:=
65 - sys-libs/gdbm
66 - sys-libs/talloc
67 - python? ( ${PYTHON_DEPS} )
68 - readline? ( sys-libs/readline:0= )
69 - pcap? ( net-libs/libpcap )
70 - mysql? ( virtual/mysql )
71 - postgres? ( dev-db/postgresql:= )
72 - firebird? ( dev-db/firebird )
73 - pam? ( virtual/pam )
74 - ssl? ( dev-libs/openssl:0= )
75 - ldap? ( net-nds/openldap )
76 - kerberos? ( virtual/krb5 )
77 - sqlite? ( dev-db/sqlite:3 )
78 - odbc? ( dev-db/unixODBC )
79 - iodbc? ( dev-db/libiodbc )
80 - oracle? ( dev-db/oracle-instantclient-basic )"
81 -DEPEND="${RDEPEND}"
82 -
83 -S="${WORKDIR}/${MY_P}"
84 -
85 -pkg_setup() {
86 - enewgroup radius
87 - enewuser radius -1 -1 /var/log/radius radius
88 -
89 - python-any-r1_pkg_setup
90 - export PYTHONBIN="${EPYTHON}"
91 -}
92 -
93 -src_prepare() {
94 - # most of the configuration options do not appear as ./configure
95 - # switches. Instead it identifies the directories that are available
96 - # and run through them. These might check for the presence of
97 - # various libraries, in which case they are not built. To avoid
98 - # automagic dependencies, we just remove all the modules that we're
99 - # not interested in using.
100 -
101 - use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; }
102 - use ldap || { rm -r src/modules/rlm_ldap || die ; }
103 - use kerberos || { rm -r src/modules/rlm_krb5 || die ; }
104 - use pam || { rm -r src/modules/rlm_pam || die ; }
105 - use python || { rm -r src/modules/rlm_python || die ; }
106 - # Do not install ruby rlm module, bug #483108
107 - rm -r src/modules/rlm_ruby || die
108 -
109 - # these are all things we don't have in portage/I don't want to deal
110 - # with myself
111 - rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS library
112 - rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires libeap-ikev2
113 - rm -r src/modules/rlm_opendirectory || die # requires some membership.h
114 - rm -r src/modules/rlm_redis{,who} || die # requires redis
115 - rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
116 -
117 - # sql drivers that are not part of experimental are loaded from a
118 - # file, so we have to remove them from the file itself when we
119 - # remove them.
120 - usesqldriver() {
121 - local flag=$1
122 - local driver=rlm_sql_${2:-${flag}}
123 -
124 - if ! use ${flag}; then
125 - rm -r src/modules/rlm_sql/drivers/${driver} || die
126 - sed -i -e /${driver}/d src/modules/rlm_sql/stable || die
127 - fi
128 - }
129 -
130 - sed -i \
131 - -e 's:/var/run/radiusd:/run/radiusd:g' \
132 - -e '/^run_dir/s:${localstatedir}::g' \
133 - raddb/radiusd.conf.in || die
134 -
135 - # verbosity
136 - # build shared libraries using jlibtool --shared
137 - sed -i \
138 - -e '/$(LIBTOOL)/s|--quiet ||g' \
139 - -e 's:--mode=\(compile\|link\):& --shared:g' \
140 - Make.inc.in || die
141 -
142 - sed -i \
143 - -e 's|--silent ||g' \
144 - -e 's:--mode=\(compile\|link\):& --shared:g' \
145 - scripts/libtool.mk || die
146 -
147 - # crude measure to stop jlibtool from running ranlib and ar
148 - sed -i \
149 - -e '/LIBRARIAN/s|".*"|"true"|g' \
150 - -e '/RANLIB/s|".*"|"true"|g' \
151 - scripts/jlibtool.c || die
152 -
153 - usesqldriver mysql
154 - usesqldriver postgres postgresql
155 - usesqldriver firebird
156 - usesqldriver iodbc
157 - usesqldriver odbc unixodbc
158 - usesqldriver oracle
159 - usesqldriver sqlite
160 -
161 - default
162 -
163 - eautoreconf
164 -}
165 -
166 -src_configure() {
167 - # fix bug #77613
168 - if has_version app-crypt/heimdal; then
169 - myconf+=( --enable-heimdal-krb5 )
170 - fi
171 -
172 - use readline || export ac_cv_lib_readline=no
173 - use pcap || export ac_cv_lib_pcap_pcap_open_live=no
174 -
175 - # do not try to enable static with static-libs; upstream is a
176 - # massacre of libtool best practices so you also have to make sure
177 - # to --enable-shared explicitly.
178 - econf \
179 - --enable-shared \
180 - --disable-static \
181 - --disable-ltdl-install \
182 - --with-system-libtool \
183 - --with-system-libltdl \
184 - --with-ascend-binary \
185 - --with-udpfromto \
186 - --with-dhcp \
187 - --with-iodbc-include-dir=/usr/include/iodbc \
188 - --with-experimental-modules \
189 - --with-docdir=/usr/share/doc/${PF} \
190 - --with-logdir=/var/log/radius \
191 - $(use_enable debug developer) \
192 - $(use_with ldap edir) \
193 - $(use_with ssl openssl) \
194 - ${myconf[@]}
195 -}
196 -
197 -src_compile() {
198 - # verbose, do not generate certificates
199 - emake \
200 - Q='' ECHO=true \
201 - LOCAL_CERT_PRODUCTS=''
202 -}
203 -
204 -src_install() {
205 - dodir /etc
206 - diropts -m0750 -o root -g radius
207 - dodir /etc/raddb
208 - diropts -m0750 -o radius -g radius
209 - dodir /var/log/radius
210 - keepdir /var/log/radius/radacct
211 - diropts
212 -
213 - # verbose, do not install certificates
214 - emake -j1 \
215 - Q='' ECHO=true \
216 - LOCAL_CERT_PRODUCTS='' \
217 - R="${D}" \
218 - install
219 -
220 - fowners -R root:radius /etc/raddb
221 -
222 - pamd_mimic_system radiusd auth account password session
223 -
224 - dodoc CREDITS
225 -
226 - rm "${D}/usr/sbin/rc.radiusd" || die
227 -
228 - newinitd "${FILESDIR}/radius.init-r3" radiusd
229 - newconfd "${FILESDIR}/radius.conf-r3" radiusd
230 -
231 - prune_libtool_files
232 -}
233 -
234 -pkg_config() {
235 - if use ssl; then
236 - cd "${ROOT}"/etc/raddb/certs
237 - ./bootstrap
238 - fi
239 -}
240 -
241 -pkg_preinst() {
242 - if ! has_version ${CATEGORY}/${PN} && use ssl; then
243 - elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able"
244 - elog "to start the radiusd service."
245 - fi
246 -}
247
248 diff --git a/net-dialup/freeradius/freeradius-3.0.12.ebuild b/net-dialup/freeradius/freeradius-3.0.12.ebuild
249 deleted file mode 100644
250 index 0b7f671..00000000
251 --- a/net-dialup/freeradius/freeradius-3.0.12.ebuild
252 +++ /dev/null
253 @@ -1,216 +0,0 @@
254 -# Copyright 1999-2016 Gentoo Foundation
255 -# Distributed under the terms of the GNU General Public License v2
256 -# $Id$
257 -
258 -EAPI=6
259 -
260 -PYTHON_COMPAT=( python2_7 )
261 -inherit autotools eutils pam python-any-r1 user
262 -
263 -#PATCHSET=4
264 -
265 -MY_P="${PN}-server-${PV}"
266 -
267 -DESCRIPTION="Highly configurable free RADIUS server"
268 -SRC_URI="
269 - ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz
270 - ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz
271 -"
272 -HOMEPAGE="http://www.freeradius.org/"
273 -
274 -KEYWORDS=""
275 -LICENSE="GPL-2"
276 -SLOT="0"
277 -
278 -IUSE="
279 - debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap
280 - postgres python readline sqlite ssl
281 -"
282 -RESTRICT="test firebird? ( bindist )"
283 -
284 -RDEPEND="!net-dialup/cistronradius
285 - !net-dialup/gnuradius
286 - sys-devel/libtool
287 - dev-lang/perl:=
288 - sys-libs/gdbm
289 - sys-libs/talloc
290 - python? ( ${PYTHON_DEPS} )
291 - readline? ( sys-libs/readline:0= )
292 - pcap? ( net-libs/libpcap )
293 - mysql? ( virtual/mysql )
294 - postgres? ( dev-db/postgresql:= )
295 - firebird? ( dev-db/firebird )
296 - pam? ( virtual/pam )
297 - ssl? ( dev-libs/openssl:0= )
298 - ldap? ( net-nds/openldap )
299 - kerberos? ( virtual/krb5 )
300 - sqlite? ( dev-db/sqlite:3 )
301 - odbc? ( dev-db/unixODBC )
302 - iodbc? ( dev-db/libiodbc )
303 - oracle? ( dev-db/oracle-instantclient-basic )"
304 -DEPEND="${RDEPEND}"
305 -
306 -S="${WORKDIR}/${MY_P}"
307 -
308 -pkg_setup() {
309 - enewgroup radius
310 - enewuser radius -1 -1 /var/log/radius radius
311 -
312 - python-any-r1_pkg_setup
313 - export PYTHONBIN="${EPYTHON}"
314 -}
315 -
316 -src_prepare() {
317 - # most of the configuration options do not appear as ./configure
318 - # switches. Instead it identifies the directories that are available
319 - # and run through them. These might check for the presence of
320 - # various libraries, in which case they are not built. To avoid
321 - # automagic dependencies, we just remove all the modules that we're
322 - # not interested in using.
323 -
324 - use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; }
325 - use ldap || { rm -r src/modules/rlm_ldap || die ; }
326 - use kerberos || { rm -r src/modules/rlm_krb5 || die ; }
327 - use pam || { rm -r src/modules/rlm_pam || die ; }
328 - use python || { rm -r src/modules/rlm_python || die ; }
329 - # Do not install ruby rlm module, bug #483108
330 - rm -r src/modules/rlm_ruby || die
331 -
332 - # these are all things we don't have in portage/I don't want to deal
333 - # with myself
334 - rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS library
335 - rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires libeap-ikev2
336 - rm -r src/modules/rlm_opendirectory || die # requires some membership.h
337 - rm -r src/modules/rlm_redis{,who} || die # requires redis
338 - rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die
339 -
340 - # sql drivers that are not part of experimental are loaded from a
341 - # file, so we have to remove them from the file itself when we
342 - # remove them.
343 - usesqldriver() {
344 - local flag=$1
345 - local driver=rlm_sql_${2:-${flag}}
346 -
347 - if ! use ${flag}; then
348 - rm -r src/modules/rlm_sql/drivers/${driver} || die
349 - sed -i -e /${driver}/d src/modules/rlm_sql/stable || die
350 - fi
351 - }
352 -
353 - sed -i \
354 - -e 's:/var/run/radiusd:/run/radiusd:g' \
355 - -e '/^run_dir/s:${localstatedir}::g' \
356 - raddb/radiusd.conf.in || die
357 -
358 - # verbosity
359 - # build shared libraries using jlibtool --shared
360 - sed -i \
361 - -e '/$(LIBTOOL)/s|--quiet ||g' \
362 - -e 's:--mode=\(compile\|link\):& --shared:g' \
363 - Make.inc.in || die
364 -
365 - sed -i \
366 - -e 's|--silent ||g' \
367 - -e 's:--mode=\(compile\|link\):& --shared:g' \
368 - scripts/libtool.mk || die
369 -
370 - # crude measure to stop jlibtool from running ranlib and ar
371 - sed -i \
372 - -e '/LIBRARIAN/s|".*"|"true"|g' \
373 - -e '/RANLIB/s|".*"|"true"|g' \
374 - scripts/jlibtool.c || die
375 -
376 - usesqldriver mysql
377 - usesqldriver postgres postgresql
378 - usesqldriver firebird
379 - usesqldriver iodbc
380 - usesqldriver odbc unixodbc
381 - usesqldriver oracle
382 - usesqldriver sqlite
383 -
384 - default
385 -
386 - eautoreconf
387 -}
388 -
389 -src_configure() {
390 - # fix bug #77613
391 - if has_version app-crypt/heimdal; then
392 - myconf+=( --enable-heimdal-krb5 )
393 - fi
394 -
395 - use readline || export ac_cv_lib_readline=no
396 - use pcap || export ac_cv_lib_pcap_pcap_open_live=no
397 -
398 - # do not try to enable static with static-libs; upstream is a
399 - # massacre of libtool best practices so you also have to make sure
400 - # to --enable-shared explicitly.
401 - econf \
402 - --enable-shared \
403 - --disable-static \
404 - --disable-ltdl-install \
405 - --with-system-libtool \
406 - --with-system-libltdl \
407 - --with-ascend-binary \
408 - --with-udpfromto \
409 - --with-dhcp \
410 - --with-iodbc-include-dir=/usr/include/iodbc \
411 - --with-experimental-modules \
412 - --with-docdir=/usr/share/doc/${PF} \
413 - --with-logdir=/var/log/radius \
414 - $(use_enable debug developer) \
415 - $(use_with ldap edir) \
416 - $(use_with ssl openssl) \
417 - ${myconf[@]}
418 -}
419 -
420 -src_compile() {
421 - # verbose, do not generate certificates
422 - emake \
423 - Q='' ECHO=true \
424 - LOCAL_CERT_PRODUCTS=''
425 -}
426 -
427 -src_install() {
428 - dodir /etc
429 - diropts -m0750 -o root -g radius
430 - dodir /etc/raddb
431 - diropts -m0750 -o radius -g radius
432 - dodir /var/log/radius
433 - keepdir /var/log/radius/radacct
434 - diropts
435 -
436 - # verbose, do not install certificates
437 - emake -j1 \
438 - Q='' ECHO=true \
439 - LOCAL_CERT_PRODUCTS='' \
440 - R="${D}" \
441 - install
442 -
443 - fowners -R root:radius /etc/raddb
444 -
445 - pamd_mimic_system radiusd auth account password session
446 -
447 - dodoc CREDITS
448 -
449 - rm "${D}/usr/sbin/rc.radiusd" || die
450 -
451 - newinitd "${FILESDIR}/radius.init-r3" radiusd
452 - newconfd "${FILESDIR}/radius.conf-r3" radiusd
453 -
454 - prune_libtool_files
455 -}
456 -
457 -pkg_config() {
458 - if use ssl; then
459 - cd "${ROOT}"/etc/raddb/certs
460 - ./bootstrap
461 - fi
462 -}
463 -
464 -pkg_preinst() {
465 - if ! has_version ${CATEGORY}/${PN} && use ssl; then
466 - elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able"
467 - elog "to start the radiusd service."
468 - fi
469 -}