1 |
commit: be9952d05e2aedffbe3d986423d4c442625b64a1 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 27 19:17:13 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 27 19:17:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9952d0 |
7 |
|
8 |
net-dialup/freeradius: remove unused version 3.0.12-r1. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-dialup/freeradius/Manifest | 1 - |
13 |
net-dialup/freeradius/freeradius-3.0.12-r1.ebuild | 220 ---------------------- |
14 |
2 files changed, 221 deletions(-) |
15 |
|
16 |
diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest |
17 |
index fc49609a4e6..0886686ea08 100644 |
18 |
--- a/net-dialup/freeradius/Manifest |
19 |
+++ b/net-dialup/freeradius/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d WHIRLPOOL a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27 |
22 |
DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e WHIRLPOOL 14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9 |
23 |
-DIST freeradius-server-3.0.12.tar.gz 4767418 SHA256 4a5af6efcf7fef08ea9bb02979200131e1332a48341c529da73bea76d3b25da0 SHA512 69258da3976f75aa74a9ceb24e08bd5ae0aac2398cd8051368dea7f26a1c969f613a1c94f507e9ec3213f22a60b0b9e194dc68fe7807de501e56880b2fa52604 WHIRLPOOL 88c87178b440348672bbf6a69516c6c451605346f4e1f6d3dac0a5cc5e16bdf57de78a886c6a88b040249bea4f5cea2cadd851752c4e4b8a36a7f0195ce996f1 |
24 |
DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f WHIRLPOOL 74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7 |
25 |
|
26 |
diff --git a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index aa64c722539..00000000000 |
29 |
--- a/net-dialup/freeradius/freeradius-3.0.12-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,220 +0,0 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
-inherit autotools eutils pam python-any-r1 systemd user |
39 |
- |
40 |
-MY_P="${PN}-server-${PV}" |
41 |
- |
42 |
-DESCRIPTION="Highly configurable free RADIUS server" |
43 |
-SRC_URI=" |
44 |
- ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz |
45 |
- ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz |
46 |
-" |
47 |
-HOMEPAGE="http://www.freeradius.org/" |
48 |
- |
49 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
50 |
-LICENSE="GPL-2" |
51 |
-SLOT="0" |
52 |
- |
53 |
-IUSE=" |
54 |
- debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap |
55 |
- postgres python readline sqlite ssl |
56 |
-" |
57 |
-RESTRICT="test firebird? ( bindist )" |
58 |
- |
59 |
-RDEPEND="!net-dialup/cistronradius |
60 |
- !net-dialup/gnuradius |
61 |
- sys-devel/libtool |
62 |
- dev-lang/perl:= |
63 |
- sys-libs/gdbm |
64 |
- sys-libs/talloc |
65 |
- python? ( ${PYTHON_DEPS} ) |
66 |
- readline? ( sys-libs/readline:0= ) |
67 |
- pcap? ( net-libs/libpcap ) |
68 |
- mysql? ( virtual/mysql ) |
69 |
- postgres? ( dev-db/postgresql:= ) |
70 |
- firebird? ( dev-db/firebird ) |
71 |
- pam? ( virtual/pam ) |
72 |
- ssl? ( dev-libs/openssl:0= ) |
73 |
- ldap? ( net-nds/openldap ) |
74 |
- kerberos? ( virtual/krb5 ) |
75 |
- sqlite? ( dev-db/sqlite:3 ) |
76 |
- odbc? ( dev-db/unixODBC ) |
77 |
- iodbc? ( dev-db/libiodbc ) |
78 |
- oracle? ( dev-db/oracle-instantclient-basic )" |
79 |
-DEPEND="${RDEPEND}" |
80 |
- |
81 |
-S="${WORKDIR}/${MY_P}" |
82 |
- |
83 |
-pkg_setup() { |
84 |
- enewgroup radius |
85 |
- enewuser radius -1 -1 /var/log/radius radius |
86 |
- |
87 |
- python-any-r1_pkg_setup |
88 |
- export PYTHONBIN="${EPYTHON}" |
89 |
-} |
90 |
- |
91 |
-src_prepare() { |
92 |
- # most of the configuration options do not appear as ./configure |
93 |
- # switches. Instead it identifies the directories that are available |
94 |
- # and run through them. These might check for the presence of |
95 |
- # various libraries, in which case they are not built. To avoid |
96 |
- # automagic dependencies, we just remove all the modules that we're |
97 |
- # not interested in using. |
98 |
- |
99 |
- use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; } |
100 |
- use ldap || { rm -r src/modules/rlm_ldap || die ; } |
101 |
- use kerberos || { rm -r src/modules/rlm_krb5 || die ; } |
102 |
- use pam || { rm -r src/modules/rlm_pam || die ; } |
103 |
- use python || { rm -r src/modules/rlm_python || die ; } |
104 |
- # Do not install ruby rlm module, bug #483108 |
105 |
- rm -r src/modules/rlm_ruby || die |
106 |
- |
107 |
- # these are all things we don't have in portage/I don't want to deal |
108 |
- # with myself |
109 |
- rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS library |
110 |
- rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires libeap-ikev2 |
111 |
- rm -r src/modules/rlm_opendirectory || die # requires some membership.h |
112 |
- rm -r src/modules/rlm_redis{,who} || die # requires redis |
113 |
- rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds} || die |
114 |
- |
115 |
- # sql drivers that are not part of experimental are loaded from a |
116 |
- # file, so we have to remove them from the file itself when we |
117 |
- # remove them. |
118 |
- usesqldriver() { |
119 |
- local flag=$1 |
120 |
- local driver=rlm_sql_${2:-${flag}} |
121 |
- |
122 |
- if ! use ${flag}; then |
123 |
- rm -r src/modules/rlm_sql/drivers/${driver} || die |
124 |
- sed -i -e /${driver}/d src/modules/rlm_sql/stable || die |
125 |
- fi |
126 |
- } |
127 |
- |
128 |
- sed -i \ |
129 |
- -e 's:^#\tuser = :\tuser = :g' \ |
130 |
- -e 's:^#\tgroup = :\tgroup = :g' \ |
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-r4" radiusd |
230 |
- |
231 |
- systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf |
232 |
- systemd_dounit "${FILESDIR}"/freeradius.service |
233 |
- |
234 |
- prune_libtool_files |
235 |
-} |
236 |
- |
237 |
-pkg_config() { |
238 |
- if use ssl; then |
239 |
- cd "${ROOT}"/etc/raddb/certs |
240 |
- ./bootstrap |
241 |
- |
242 |
- chown -R root:radius "${ROOT}"/etc/raddb/certs |
243 |
- fi |
244 |
-} |
245 |
- |
246 |
-pkg_preinst() { |
247 |
- if ! has_version ${CATEGORY}/${PN} && use ssl; then |
248 |
- elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able" |
249 |
- elog "to start the radiusd service." |
250 |
- fi |
251 |
-} |