Clean up loopback / inaddr_any checks
[freeradius.git] / redhat / freeradius.spec
1 Summary: High-performance and highly configurable free RADIUS server
2 Name: freeradius
3 Version: 2.1.8
4 Release: 2%{?dist}
5 License: GPLv2+ and LGPLv2+
6 Group: System Environment/Daemons
7 URL: http://www.freeradius.org/
8
9 Source0: ftp://ftp.freeradius.org/pub/radius/freeradius-server-%{version}.tar.bz2
10 Source100: freeradius-radiusd-init
11 Source102: freeradius-logrotate
12 Source103: freeradius-pam-conf
13
14 Patch1: freeradius-cert-config.patch
15
16 Obsoletes: freeradius-devel
17 Obsoletes: freeradius-libs
18
19 %define docdir %{_docdir}/freeradius-%{version}
20 %define initddir %{?_initddir:%{_initddir}}%{!?_initddir:%{_initrddir}}
21
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
23
24 BuildRequires: autoconf
25 BuildRequires: gdbm-devel
26 BuildRequires: libtool
27 BuildRequires: libtool-ltdl-devel
28 BuildRequires: openssl-devel
29 BuildRequires: pam-devel
30 BuildRequires: zlib-devel
31 BuildRequires: net-snmp-devel
32 BuildRequires: net-snmp-utils
33 BuildRequires: readline-devel
34 BuildRequires: libpcap-devel
35
36 Requires(pre): shadow-utils glibc-common
37 Requires(post): /sbin/chkconfig
38 Requires(preun): /sbin/chkconfig
39
40 %description
41 The FreeRADIUS Server Project is a high performance and highly configurable
42 GPL'd free RADIUS server. The server is similar in some respects to
43 Livingston's 2.0 server.  While FreeRADIUS started as a variant of the
44 Cistron RADIUS server, they don't share a lot in common any more. It now has
45 many more features than Cistron or Livingston, and is much more configurable.
46
47 FreeRADIUS is an Internet authentication daemon, which implements the RADIUS
48 protocol, as defined in RFC 2865 (and others). It allows Network Access
49 Servers (NAS boxes) to perform authentication for dial-up users. There are
50 also RADIUS clients available for Web servers, firewalls, Unix logins, and
51 more.  Using RADIUS allows authentication and authorization for a network to
52 be centralized, and minimizes the amount of re-configuration which has to be
53 done when adding or deleting new users.
54
55 %package utils
56 Group: System Environment/Daemons
57 Summary: FreeRADIUS utilities
58 Requires: %{name} = %{version}-%{release}
59 Requires: libpcap >= 0.9.4
60
61 %description utils
62 The FreeRADIUS server has a number of features found in other servers,
63 and additional features not found in any other server. Rather than
64 doing a feature by feature comparison, we will simply list the features
65 of the server, and let you decide if they satisfy your needs.
66
67 Support for RFC and VSA Attributes Additional server configuration
68 attributes Selecting a particular configuration Authentication methods
69
70 %package ldap
71 Summary: LDAP support for freeradius
72 Group: System Environment/Daemons
73 Requires: %{name} = %{version}-%{release}
74 BuildRequires: openldap-devel
75
76 %description ldap
77 This plugin provides the LDAP support for the FreeRADIUS server project.
78
79 %package krb5
80 Summary: Kerberos 5 support for freeradius
81 Group: System Environment/Daemons
82 Requires: %{name} = %{version}-%{release}
83 BuildRequires: krb5-devel
84
85 %description krb5
86 This plugin provides the Kerberos 5 support for the FreeRADIUS server project.
87
88 %package perl
89 Summary: Perl support for freeradius
90 Group: System Environment/Daemons
91 Requires: %{name} = %{version}-%{release}
92 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
93 %{?fedora:BuildRequires: perl-devel}
94 %if 0%{?rhel} <= 5
95 BuildRequires: perl
96 %endif
97 %if 0%{?rhel} >= 6
98 BuildRequires: perl-devel
99 %endif
100 BuildRequires: perl(ExtUtils::Embed)
101
102 %description perl
103 This plugin provides the Perl support for the FreeRADIUS server project.
104
105 %package python
106 Summary: Python support for freeradius
107 Group: System Environment/Daemons
108 Requires: %{name} = %{version}-%{release}
109 BuildRequires: python-devel
110
111 %description python
112 This plugin provides the Python support for the FreeRADIUS server project.
113
114 %package mysql
115 Summary: MySQL support for freeradius
116 Group: System Environment/Daemons
117 Requires: %{name} = %{version}-%{release}
118 BuildRequires: mysql-devel
119
120 %description mysql
121 This plugin provides the MySQL support for the FreeRADIUS server project.
122
123 %package postgresql
124 Summary: Postgresql support for freeradius
125 Group: System Environment/Daemons
126 Requires: %{name} = %{version}-%{release}
127 BuildRequires: postgresql-devel
128
129 %description postgresql
130 This plugin provides the postgresql support for the FreeRADIUS server project.
131
132 %package unixODBC
133 Summary: Unix ODBC support for freeradius
134 Group: System Environment/Daemons
135 Requires: %{name} = %{version}-%{release}
136 BuildRequires: unixODBC-devel
137
138 %description unixODBC
139 This plugin provides the unixODBC support for the FreeRADIUS server project.
140
141
142 %prep
143 %setup -q -n freeradius-server-%{version}
144 %patch1 -p1 -b .cert-config
145 # Some source files mistakenly have execute permissions set
146 find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \) -a -perm /0111 -exec chmod a-x {} +
147
148 %build
149 %ifarch s390 s390x
150 export CFLAGS="$RPM_OPT_FLAGS -fPIC"
151 %else
152 export CFLAGS="$RPM_OPT_FLAGS -fpic"
153 %endif
154
155 %configure \
156         --libdir=%{_libdir}/freeradius \
157         --with-system-libtool \
158         --disable-ltdl-install \
159         --with-gnu-ld \
160         --with-threads \
161         --with-thread-pool \
162         --with-docdir=%{docdir} \
163         --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
164         --with-rlm-sql-postgresql-lib-dir=%{_libdir} \
165         --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
166         --with-mysql-lib-dir=%{_libdir}/mysql \
167         --with-unixodbc-lib-dir=%{_libdir} \
168         --with-rlm-dbm-lib-dir=%{_libdir} \
169         --with-rlm-krb5-include-dir=/usr/kerberos/include \
170         --with-modules="rlm_wimax" \
171         --without-rlm_eap_ikev2 \
172         --without-rlm_sql_iodbc \
173         --without-rlm_sql_firebird \
174         --without-rlm_sql_db2 \
175         --without-rlm_sql_oracle
176
177 %if "%{_lib}" == "lib64"
178 perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
179 %endif
180
181 make
182
183 %install
184 rm -rf $RPM_BUILD_ROOT
185 mkdir -p $RPM_BUILD_ROOT/var/run/radiusd
186 mkdir -p $RPM_BUILD_ROOT/var/lib/radiusd
187 # fix for bad libtool bug - can not rebuild dependent libs and bins
188 #FIXME export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}
189 make install R=$RPM_BUILD_ROOT
190 # modify default configuration
191 RADDB=$RPM_BUILD_ROOT%{_sysconfdir}/raddb
192 perl -i -pe 's/^#user =.*$/user = radiusd/'   $RADDB/radiusd.conf
193 perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
194 # logs
195 mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
196 touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}
197
198 install -D -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{initddir}/radiusd
199 install -D -m 644 %{SOURCE102} $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
200 install -D -m 644 %{SOURCE103} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
201
202 # remove unneeded stuff
203 rm -rf doc/00-OLD
204 rm -f $RPM_BUILD_ROOT/usr/sbin/rc.radiusd
205 rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
206 rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
207 rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/mssql
208 rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/oracle
209 rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/sql/oracle
210 rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/oracle
211 rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/drivers/oracle
212
213 # remove header files, we don't ship a devel package and the 
214 # headers have multilib conflicts
215 rm -rf $RPM_BUILD_ROOT/%{_includedir}
216
217 # remove unsupported config files
218 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
219
220 # install doc files omitted by standard install
221 for f in COPYRIGHT CREDITS INSTALL README; do
222     cp $f $RPM_BUILD_ROOT/%{docdir}
223 done
224 cp LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.gpl
225 cp src/lib/LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.lgpl
226 cp src/LICENSE.openssl $RPM_BUILD_ROOT/%{docdir}/LICENSE.openssl
227
228 # add Red Hat specific documentation
229 cat >> $RPM_BUILD_ROOT/%{docdir}/REDHAT << EOF
230
231 Red Hat, RHEL, Fedora, and CentOS specific information can be found on the
232 FreeRADIUS Wiki in the Red Hat FAQ.
233
234 http://wiki.freeradius.org/Red_Hat_FAQ
235
236 Please reference that document.
237
238 EOF
239
240 %clean
241 rm -rf $RPM_BUILD_ROOT
242
243
244
245 # Make sure our user/group is present prior to any package or subpackage installation
246 %pre
247 getent group  radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd
248 getent passwd radiusd >/dev/null || /usr/sbin/useradd  -r -g radiusd -u 95 -c "radiusd user" -s /sbin/nologin radiusd > /dev/null 2>&1
249 exit 0
250
251 %post
252 if [ $1 = 1 ]; then
253   /sbin/chkconfig --add radiusd
254   if [ ! -e /etc/raddb/certs/server.pem ]; then
255     /sbin/runuser -g radiusd -c 'umask 007; /etc/raddb/certs/bootstrap' > /dev/null 2>&1 || :
256   fi
257 fi
258
259 %preun
260 if [ $1 = 0 ]; then
261   /sbin/service radiusd stop > /dev/null 2>&1
262   /sbin/chkconfig --del radiusd
263 fi
264
265
266 %postun
267 if [ $1 -ge 1 ]; then
268   /sbin/service radiusd condrestart >/dev/null 2>&1 || :
269 fi
270
271
272 %files
273 %defattr(-,root,root)
274 %doc %{docdir}/
275 %config(noreplace) %{_sysconfdir}/pam.d/radiusd
276 %config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
277 %{initddir}/radiusd
278 %dir %attr(755,radiusd,radiusd) /var/lib/radiusd
279 # configs
280 %dir %attr(755,root,radiusd) /etc/raddb
281 %defattr(-,root,radiusd)
282 %attr(644,root,radiusd) %config(noreplace) /etc/raddb/dictionary
283 %config(noreplace) /etc/raddb/acct_users
284 %config(noreplace) /etc/raddb/attrs
285 %config(noreplace) /etc/raddb/attrs.access_challenge
286 %config(noreplace) /etc/raddb/attrs.access_reject
287 %config(noreplace) /etc/raddb/attrs.accounting_response
288 %config(noreplace) /etc/raddb/attrs.pre-proxy
289 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/clients.conf
290 %config(noreplace) /etc/raddb/hints
291 %config(noreplace) /etc/raddb/huntgroups
292 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sqlippool.conf
293 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/preproxy_users
294 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/proxy.conf
295 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/radiusd.conf
296 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql.conf
297 %dir %attr(750,root,radiusd) /etc/raddb/sql
298 #%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/oracle/*
299 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/users
300 %dir %attr(770,root,radiusd) /etc/raddb/certs
301 %config(noreplace) /etc/raddb/certs/Makefile
302 %config(noreplace) /etc/raddb/certs/README
303 %config(noreplace) /etc/raddb/certs/xpextensions
304 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
305 %attr(750,root,radiusd) /etc/raddb/certs/bootstrap
306 %dir %attr(750,root,radiusd) /etc/raddb/sites-available
307 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/*
308 %dir %attr(750,root,radiusd) /etc/raddb/sites-enabled
309 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
310 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/eap.conf
311 %config(noreplace) %attr(640,root,radiusd) /etc/raddb/example.pl
312 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.conf
313 %config(noreplace) /etc/raddb/policy.txt
314 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/templates.conf
315 %dir %attr(750,root,radiusd) /etc/raddb/modules
316 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/acct_unique
317 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/always
318 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_filter
319 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_rewrite
320 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/chap
321 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/checkval
322 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/counter
323 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/cui
324 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail
325 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.example.com
326 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.log
327 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/digest
328 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/echo
329 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/etc_group
330 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/exec
331 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expiration
332 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expr
333 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/files
334 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/inner-eap
335 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ippool
336 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/logintime
337 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/linelog
338 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2ip
339 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2vlan
340 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mschap
341 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ntlm_auth
342 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/otp
343 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pam
344 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pap
345 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/perl
346 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/passwd
347 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/policy
348 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/preprocess
349 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/radutmp
350 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/realm
351 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/smbpasswd
352 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/smsotp
353 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sql_log
354 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sqlcounter_expire_on_login
355 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sradutmp
356 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/unix
357 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/wimax
358 %dir %attr(755,radiusd,radiusd) /var/run/radiusd/
359 # binaries
360 %defattr(-,root,root)
361 /usr/sbin/checkrad
362 /usr/sbin/raddebug
363 /usr/sbin/radiusd
364 /usr/sbin/radwatch
365 /usr/sbin/radmin
366 # man-pages
367 %doc %{_mandir}/man5/acct_users.5.gz
368 %doc %{_mandir}/man5/clients.conf.5.gz
369 %doc %{_mandir}/man5/dictionary.5.gz
370 %doc %{_mandir}/man5/radiusd.conf.5.gz
371 %doc %{_mandir}/man5/radrelay.conf.5.gz
372 %doc %{_mandir}/man5/rlm_acct_unique.5.gz
373 %doc %{_mandir}/man5/rlm_always.5.gz
374 %doc %{_mandir}/man5/rlm_attr_filter.5.gz
375 %doc %{_mandir}/man5/rlm_attr_rewrite.5.gz
376 %doc %{_mandir}/man5/rlm_chap.5.gz
377 %doc %{_mandir}/man5/rlm_counter.5.gz
378 %doc %{_mandir}/man5/rlm_detail.5.gz
379 %doc %{_mandir}/man5/rlm_digest.5.gz
380 %doc %{_mandir}/man5/rlm_expr.5.gz
381 %doc %{_mandir}/man5/rlm_files.5.gz
382 %doc %{_mandir}/man5/rlm_mschap.5.gz
383 %doc %{_mandir}/man5/rlm_pap.5.gz
384 %doc %{_mandir}/man5/rlm_passwd.5.gz
385 %doc %{_mandir}/man5/rlm_policy.5.gz
386 %doc %{_mandir}/man5/rlm_realm.5.gz
387 %doc %{_mandir}/man5/rlm_sql.5.gz
388 %doc %{_mandir}/man5/rlm_sql_log.5.gz
389 %doc %{_mandir}/man5/rlm_unix.5.gz
390 %doc %{_mandir}/man5/unlang.5.gz
391 %doc %{_mandir}/man5/users.5.gz
392 %doc %{_mandir}/man8/raddebug.8.gz
393 %doc %{_mandir}/man8/radiusd.8.gz
394 %doc %{_mandir}/man8/radmin.8.gz
395 %doc %{_mandir}/man8/radrelay.8.gz
396 %doc %{_mandir}/man8/radwatch.8.gz
397 # dictionaries
398 %dir %attr(755,root,root) /usr/share/freeradius
399 /usr/share/freeradius/*
400 # logs
401 %dir %attr(700,radiusd,radiusd) /var/log/radius/
402 %dir %attr(700,radiusd,radiusd) /var/log/radius/radacct/
403 %ghost %attr(644,radiusd,radiusd) /var/log/radius/radutmp
404 %ghost %attr(600,radiusd,radiusd) /var/log/radius/radius.log
405 # RADIUS shared libs
406 %attr(755,root,root) %{_libdir}/freeradius/lib*.so*
407 # RADIUS Loadable Modules
408 %dir %attr(755,root,root) %{_libdir}/freeradius
409 #%attr(755,root,root) %{_libdir}/freeradius/rlm_*.so*
410 #%{_libdir}/freeradius/rlm_acctlog*.so
411 %{_libdir}/freeradius/rlm_acct_unique.so
412 %{_libdir}/freeradius/rlm_acct_unique-%{version}.so
413 %{_libdir}/freeradius/rlm_acctlog.so
414 %{_libdir}/freeradius/rlm_acctlog-%{version}.so
415 %{_libdir}/freeradius/rlm_always.so
416 %{_libdir}/freeradius/rlm_always-%{version}.so
417 %{_libdir}/freeradius/rlm_attr_filter.so
418 %{_libdir}/freeradius/rlm_attr_filter-%{version}.so
419 %{_libdir}/freeradius/rlm_attr_rewrite.so
420 %{_libdir}/freeradius/rlm_attr_rewrite-%{version}.so
421 %{_libdir}/freeradius/rlm_chap.so
422 %{_libdir}/freeradius/rlm_chap-%{version}.so
423 %{_libdir}/freeradius/rlm_checkval.so
424 %{_libdir}/freeradius/rlm_checkval-%{version}.so
425 %{_libdir}/freeradius/rlm_copy_packet.so
426 %{_libdir}/freeradius/rlm_copy_packet-%{version}.so
427 %{_libdir}/freeradius/rlm_counter.so
428 %{_libdir}/freeradius/rlm_counter-%{version}.so
429 %{_libdir}/freeradius/rlm_dbm.so
430 %{_libdir}/freeradius/rlm_dbm-%{version}.so
431 %{_libdir}/freeradius/rlm_detail.so
432 %{_libdir}/freeradius/rlm_detail-%{version}.so
433 %{_libdir}/freeradius/rlm_digest.so
434 %{_libdir}/freeradius/rlm_digest-%{version}.so
435 %{_libdir}/freeradius/rlm_dynamic_clients.so
436 %{_libdir}/freeradius/rlm_dynamic_clients-%{version}.so
437 %{_libdir}/freeradius/rlm_eap.so
438 %{_libdir}/freeradius/rlm_eap-%{version}.so
439 %{_libdir}/freeradius/rlm_eap_gtc.so
440 %{_libdir}/freeradius/rlm_eap_gtc-%{version}.so
441 %{_libdir}/freeradius/rlm_eap_leap.so
442 %{_libdir}/freeradius/rlm_eap_leap-%{version}.so
443 %{_libdir}/freeradius/rlm_eap_md5.so
444 %{_libdir}/freeradius/rlm_eap_md5-%{version}.so
445 %{_libdir}/freeradius/rlm_eap_mschapv2.so
446 %{_libdir}/freeradius/rlm_eap_mschapv2-%{version}.so
447 %{_libdir}/freeradius/rlm_eap_peap.so
448 %{_libdir}/freeradius/rlm_eap_peap-%{version}.so
449 %{_libdir}/freeradius/rlm_eap_sim.so
450 %{_libdir}/freeradius/rlm_eap_sim-%{version}.so
451 %{_libdir}/freeradius/rlm_eap_tls.so
452 %{_libdir}/freeradius/rlm_eap_tls-%{version}.so
453 %{_libdir}/freeradius/rlm_eap_ttls.so
454 %{_libdir}/freeradius/rlm_eap_ttls-%{version}.so
455 %{_libdir}/freeradius/rlm_exec.so
456 %{_libdir}/freeradius/rlm_exec-%{version}.so
457 %{_libdir}/freeradius/rlm_expiration.so
458 %{_libdir}/freeradius/rlm_expiration-%{version}.so
459 %{_libdir}/freeradius/rlm_expr.so
460 %{_libdir}/freeradius/rlm_expr-%{version}.so
461 %{_libdir}/freeradius/rlm_fastusers.so
462 %{_libdir}/freeradius/rlm_fastusers-%{version}.so
463 %{_libdir}/freeradius/rlm_files.so
464 %{_libdir}/freeradius/rlm_files-%{version}.so
465 %{_libdir}/freeradius/rlm_ippool.so
466 %{_libdir}/freeradius/rlm_ippool-%{version}.so
467 %{_libdir}/freeradius/rlm_linelog.so
468 %{_libdir}/freeradius/rlm_linelog-%{version}.so
469 %{_libdir}/freeradius/rlm_logintime.so
470 %{_libdir}/freeradius/rlm_logintime-%{version}.so
471 %{_libdir}/freeradius/rlm_mschap.so
472 %{_libdir}/freeradius/rlm_mschap-%{version}.so
473 %{_libdir}/freeradius/rlm_otp.so
474 %{_libdir}/freeradius/rlm_otp-%{version}.so
475 %{_libdir}/freeradius/rlm_pam.so
476 %{_libdir}/freeradius/rlm_pam-%{version}.so
477 %{_libdir}/freeradius/rlm_pap.so
478 %{_libdir}/freeradius/rlm_pap-%{version}.so
479 %{_libdir}/freeradius/rlm_passwd.so
480 %{_libdir}/freeradius/rlm_passwd-%{version}.so
481 %{_libdir}/freeradius/rlm_policy.so
482 %{_libdir}/freeradius/rlm_policy-%{version}.so
483 %{_libdir}/freeradius/rlm_preprocess.so
484 %{_libdir}/freeradius/rlm_preprocess-%{version}.so
485 %{_libdir}/freeradius/rlm_radutmp.so
486 %{_libdir}/freeradius/rlm_radutmp-%{version}.so
487 %{_libdir}/freeradius/rlm_realm.so
488 %{_libdir}/freeradius/rlm_realm-%{version}.so
489 %{_libdir}/freeradius/rlm_sql.so
490 %{_libdir}/freeradius/rlm_sql-%{version}.so
491 %{_libdir}/freeradius/rlm_sql_log.so
492 %{_libdir}/freeradius/rlm_sql_log-%{version}.so
493 %{_libdir}/freeradius/rlm_sqlcounter.so
494 %{_libdir}/freeradius/rlm_sqlcounter-%{version}.so
495 %{_libdir}/freeradius/rlm_sqlippool.so
496 %{_libdir}/freeradius/rlm_sqlippool-%{version}.so
497 %{_libdir}/freeradius/rlm_unix.so
498 %{_libdir}/freeradius/rlm_unix-%{version}.so
499 %{_libdir}/freeradius/rlm_wimax.so
500 %{_libdir}/freeradius/rlm_wimax-%{version}.so
501
502 %files utils
503 %defattr(-,root,root)
504 /usr/bin/*
505 # man-pages
506 %doc %{_mandir}/man1/radclient.1.gz
507 %doc %{_mandir}/man1/radeapclient.1.gz
508 %doc %{_mandir}/man1/radlast.1.gz
509 %doc %{_mandir}/man1/radtest.1.gz
510 %doc %{_mandir}/man1/radwho.1.gz
511 %doc %{_mandir}/man1/radzap.1.gz
512 %doc %{_mandir}/man8/radsqlrelay.8.gz
513 %doc %{_mandir}/man8/rlm_ippool_tool.8.gz
514
515 %files krb5
516 %defattr(-,root,root)
517 %{_libdir}/freeradius/rlm_krb5.so
518 %{_libdir}/freeradius/rlm_krb5-%{version}.so
519 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/krb5
520
521 %files perl
522 %defattr(-,root,root)
523 %{_libdir}/freeradius/rlm_perl.so
524 %{_libdir}/freeradius/rlm_perl-%{version}.so
525
526 %files python
527 %defattr(-,root,root)
528 %{_libdir}/freeradius/rlm_python.so
529 %{_libdir}/freeradius/rlm_python-%{version}.so
530
531 %files mysql
532 %defattr(-,root,root)
533 %dir %attr(750,root,radiusd) /etc/raddb/sql/mysql
534 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
535 %dir %attr(750,root,radiusd) /etc/raddb/sql/ndb
536 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/ndb/*
537 %{_libdir}/freeradius/rlm_sql_mysql.so
538 %{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
539
540 %files postgresql
541 %defattr(-,root,root)
542 %dir %attr(750,root,radiusd) /etc/raddb/sql/postgresql
543 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
544 %{_libdir}/freeradius/rlm_sql_postgresql.so
545 %{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
546
547 %files ldap
548 %defattr(-,root,root)
549 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/ldap.attrmap
550 %{_libdir}/freeradius/rlm_ldap.so
551 %{_libdir}/freeradius/rlm_ldap-%{version}.so
552 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ldap
553
554 %files unixODBC
555 %defattr(-,root,root)
556 %{_libdir}/freeradius/rlm_sql_unixodbc.so
557 %{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
558
559 %changelog
560 * Thu Jan  7 2010 John Dennis <jdennis@redhat.com> - 2.1.8-2
561 - resolves: bug #526559 initial install should run bootstrap to create certificates
562   running radiusd in debug mode to generate inital temporary certificates
563   is no longer necessary, the /etc/raddb/certs/bootstrap is invoked on initial
564   rpm install (not upgrade) if there is no existing /etc/raddb/certs/server.pem file
565 - resolves: bug #528493 use sha1 algorithm instead of md5 during cert generation
566   the certificate configuration (/etc/raddb/certs/{ca,server,client}.cnf) files
567   were modifed to use sha1 instead of md5 and the validity reduced from 1 year to 2 months
568
569 * Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.8-1
570 - update to latest upstream
571   Feature improvements
572   * Print more descriptive error message for too many EAP sessions.
573     This gives hints on what to do when "failed to store handler"
574   * Commands received from radmin are now printed on stdout when
575     in debugging mode.
576   * Allow accounting packets to be written to a detail file, even
577     if they were read from a different detail file.
578   * Added OpenSSL license exception (src/LICENSE.openssl)
579
580   Bug fixes
581   * DHCP sockets can now set the broadcast flag before binding to a
582     socket.  You need to set "broadcast = yes" in the DHCP listener.
583   * Be more restrictive on string parsing in the config files
584   * Fix password length in scripts/create-users.pl
585   * Be more flexible about parsing the detail file.  This allows
586     it to read files where the attributes have been edited.
587   * Ensure that requests read from the detail file are cleaned up
588     (i.e. don't leak) if they are proxied without a response.
589   * Write the PID file after opening sockets, not before
590     (closes bug #29)
591   * Proxying large numbers of packets no longer gives error
592     "unable to open proxy socket".
593   * Avoid mutex locks in libc after fork
594   * Retry packet from detail file if there was no response.
595   * Allow old-style dictionary formats, where the vendor name is the
596     last field in an ATTRIBUTE definition.
597   * Removed all recursive use of mutexes.  Some systems just don't
598     support this.
599   * Allow !* to work as documented.
600   * make templates work (see templates.conf)
601   * Enabled "allow_core_dumps" to work again
602   * Print better errors when reading invalid dictionaries
603   * Sign client certificates with CA, rather than server certs.
604   * Fix potential crash in rlm_passwd when file was closed
605   * Fixed corner cases in conditional dynamic expansion.
606   * Use InnoDB for MySQL IP Pools, to gain transactional support
607   * Apply patch to libltdl for CVE-2009-3736.
608   * Fixed a few issues found by LLVM's static checker
609   * Keep track of "bad authenticators" for accounting packets
610   * Keep track of "dropped packets" for auth/acct packets
611   * Synced the "debian" directory with upstream
612   * Made "unlang" use unsigned 32-bit integers, to match the
613     dictionaries.
614
615 * Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.7-7
616 - Remove devel subpackage. It doesn't make much sense to have a devel package since
617   we don't ship libraries and it produces multilib conflicts.
618
619 * Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-6
620 - more spec file clean up from review comments
621 - remove freeradius-libs subpackage, move libfreeradius-eap and
622   libfreeradius-radius into the main package
623 - fix subpackage requires, change from freeradius-libs to main package
624 - fix description of the devel subpackage, remove referene to non-shipped libs
625 - remove execute permissions on src files included in debuginfo
626 - remove unnecessary use of ldconfig
627 - since all sub-packages now require main package remove user creation for sub-packages
628 - also include the LGPL library license file in addition to the GPL license file
629 - fix BuildRequires for perl so it's compatible with both Fedora, RHEL5 and RHEL6
630
631 * Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-5
632 - fix various rpmlint issues.
633
634 * Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.1.7-4
635 - rebuild against perl 5.10.1
636
637 * Thu Dec  3 2009 John Dennis <jdennis@redhat.com> - 2.1.7-3
638 - resolves: bug #522111 non-conformant initscript
639   also change permission of /var/run/radiusd from 0700 to 0755
640   so that "service radiusd status" can be run as non-root
641
642 * Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.7-2
643 - use password-auth common PAM configuration instead of system-auth
644
645 * Tue Sep 15 2009 John Dennis <jdennis@redhat.com> - 2.1.7-1
646 - enable building of the rlm_wimax module
647 - pcap wire analysis support is enabled and available in utils subpackage
648 - Resolves bug #523053 radtest manpage in wrong package
649 - update to latest upstream release, from upstream Changelog:
650   Feature improvements
651     * Full support for CoA and Disconnect packets as per RFC 3576
652       and RFC 5176.  Both receiving and proxying CoA is supported.
653     * Added "src_ipaddr" configuration to "home_server".  See
654       proxy.conf for details.
655     * radsniff now accepts -I, to read from a filename instead of
656       a device.
657     * radsniff also prints matching requests and any responses to those
658       requests when '-r' is used.
659     * Added example of attr_filter for Access-Challenge packets
660     * Added support for udpfromto in DHCP code
661     * radmin can now selectively mark modules alive/dead.
662       See "set module state".
663     * Added customizable messages on login success/fail.
664       See msg_goodpass && msg_badpass in log{} section of radiusd.conf
665     * Document "chase_referrals" and "rebind" in raddb/modules/ldap
666     * Preliminary implementation of DHCP relay.
667     * Made thread pool section optional.  If it doesn't exist,
668       the server will run single-threaded.
669     * Added sample radrelay.conf for people upgrading from 1.x
670     * Made proxying more stable by failing over, rather than
671       rejecting the first request.  See "response_window" in proxy.conf
672     * Allow home_server_pools to exist without realms.
673     * Add dictionary.iea (closes bug #7)
674     * Added support for RFC 5580
675     * Added experimental sql_freetds module from Gabriel Blanchard.
676     * Updated dictionary.foundry
677     * Added sample configuration for MySQL cluster in raddb/sql/ndb
678       See the README file for explanations.
679   Bug fixes
680     * Fixed corner case where proxied packets could have extra
681       character in User-Password attribute.  Fix from Niko Tyni.
682     * Extended size of "attribute" field in SQL to 64.
683     * Fixes to ruby module to be more careful about when it builds.
684     * Updated Perl module "configure" script to check for broken
685       Perl installations.
686     * Fix "status_check = none".  It would still send packets
687       in some cases.
688     * Set recursive flag on the proxy mutex, which enables safer
689       cleanup on some platforms.
690     * Copy the EAP username verbatim, rather than escaping it.
691     * Update handling so that robust-proxy-accounting works when
692       all home servers are down for extended periods of time.
693     * Look for DHCP option 53 anywhere in the packet, not just
694       at the start.
695     * Fix processing of proxy fail handler with virtual servers.
696     * DHCP code now prints out correct src/dst IP addresses
697       when sending packets.
698     * Removed requirement for DHCP to have clients
699     * Fixed handling of DHCP packets with message-type buried in the packet
700     * Fixed corner case with negation in unlang.
701     * Minor fixes to default MySQL & PostgreSQL schemas
702     * Suppress MSCHAP complaints in debugging mode.
703     * Fix SQL module for multiple instance, and possible crash on HUP
704     * Fix permissions for radius.log for sites that change user/group,
705       but which don't create the file before starting radiusd.
706     * Fix double counting of packets when proxying
707     * Make %%l work
708     * Fix pthread keys in rlm_perl
709     * Log reasons for EAP failure (closes bug #8)
710     * Load home servers and pools that aren't referenced from a realm.
711     * Handle return codes from virtual attributes in "unlang"
712       (e.g. LDAP-Group).  This makes "!(expr)" work for them.
713     * Enable VMPS to see contents of virtual server again
714     * Fix WiMAX module to be consistent with examples.  (closes bug #10)
715     * Fixed crash with policies dependent on NAS-Port comparisons
716     * Allowed vendor IDs to be be higher than 32767.
717     * Fix crash on startup with certain regexes in "hints" file.
718     * Fix crash in attr_filter module when packets don't exist
719     * Allow detail file reader to be faster when "load_factor = 100"
720     * Add work-around for build failures with errors related to
721       lt__PROGRAM__LTX_preloaded_symbols.  libltdl / libtool are horrible.
722     * Made ldap module "rebind" option aware of older, incompatible
723       versions of OpenLDAP.
724     * Check value of Fall-Through in attr_filter module.
725
726 * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.6-6
727 - rebuilt with new openssl
728
729 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-5
730 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
731
732 * Fri Jul 10 2009 John Dennis <jdennis@redhat.com> - 2.1.6-4
733 - install COPYRIGHT CREDITS INSTALL LICENSE README into docdir
734
735 * Tue Jun 23 2009 John Dennis <jdennis@redhat.com> - 2.1.6-3
736 - resolves bug #507571 freeradius packages do not check for user/group existence
737
738 * Tue Jun  2 2009 John Dennis <jdennis@redhat.com> - 2.1.6-2
739 - make /etc/raddb/sites-available/* be config(noreplace)
740
741 * Mon May 18 2009 John Dennis <jdennis@redhat.com> - 2.1.6-1
742 - update to latest upstream release, from upstream Changelog:
743   Feature improvements
744     * radclient exits with 0 on successful (accept / ack), and 1
745       otherwise (no response / reject)
746     * Added support for %%{sql:UPDATE ..}, and insert/delete
747       Patch from Arran Cudbard-Bell
748     * Added sample "do not respond" policy.  See raddb/policy.conf
749       and raddb/sites-available/do_not_respond
750     * Cleanups to Suse spec file from Norbert Wegener
751     * New VSAs for Juniper from Bjorn Mork
752     * Include more RFC dictionaries in the default install
753     * More documentation for the WiMAX module
754     * Added "chase_referrals" and "rebind" configuration to rlm_ldap.
755       This helps with Active Directory.  See raddb/modules/ldap
756     * Don't load pre/post-proxy if proxying is disabled.
757     * Added %%{md5:...}, which returns MD5 hash in hex.
758     * Added configurable "retry_interval" and "poll_interval"
759       for "detail" listeners.
760     * Added "delete_mppe_keys" configuration option to rlm_wimax.
761       Apparently some WiMAX clients misbehave when they see those keys.
762     * Added experimental rlm_ruby from
763       http://github.com/Antti/freeradius-server/tree/master
764     * Add Tunnel attributes to ldap.attrmap
765     * Enable virtual servers to be reloaded on HUP.  For now, only
766       the "authorize", "authenticate", etc. processing sections are
767       reloaded.  Clients and "listen" sections are NOT reloaded.
768     * Updated "radwatch" script to be more robust.  See scripts/radwatch
769     * Added certificate compatibility notes in raddb/certs/README,
770       for compatibility with different operating systems. (i.e. Windows)
771     * Permit multiple "-e" in radmin.
772     * Add support for originating CoA-Request and Disconnect-Request.
773       See raddb/sites-available/originate-coa.
774     * Added "lifetime" and "max_queries" to raddb/sql.conf.
775       This helps address the problem of hung SQL sockets.
776     * Allow packets to be injected via radmin.  See "inject help"
777       in radmin.
778     * Answer VMPS reconfirmation request.  Patch from Hermann Lauer.
779     * Sample logrotate script in scripts/logrotate.freeradius
780     * Add configurable poll interval for "detail" listeners
781     * New "raddebug" command.  This prints debugging information from
782       a running server.  See "man raddebug.
783     * Add "require_message_authenticator" configuration to home_server
784       configuration.  This makes the server add Message-Authenticator
785       to all outgoing Access-Request packets.
786     * Added smsotp module, as contributed by Siemens.
787     * Enabled the administration socket in the default install.
788       See raddb/sites-available/control-socket, and "man radmin"
789     * Handle duplicate clients, such as with replicated or
790       load-balanced SQL servers and "readclients = yes"
791   Bug fixes
792     * Minor changes to allow building without VQP.
793     * Minor fixes from John Center
794     * Fixed raddebug example
795     * Don't crash when deleting attributes via unlang
796     * Be friendlier to very fast clients
797     * Updated the "detail" listener so that it only polls once,
798       and not many times in a row, leaking memory each time...
799     * Update comparison for Packet-Src-IP-Address (etc.) so that
800       the operators other than '==' work.
801     * Did autoconf magic to work around weird libtool bug
802     * Make rlm_perl keep tags for tagged attributes in more situations
803     * Update UID checking for radmin
804     * Added "include_length" field for TTLS.  It's needed for RFC
805       compliance, but not (apparently) for interoperability.
806     * Clean up control sockets when they are closed, so that we don't
807       leak memory.
808     * Define SUN_LEN for systems that don't have it.
809     * Correct some boundary conditions in the conditional checker ("if")
810       in "unlang".  Bug noted by Arran Cudbard-Bell.
811     * Work around minor building issues in gmake.  This should only
812       have affected developers.
813     * Change how we manage unprivileged user/group, so that we do not
814       create control sockets owned by root.
815     * Fixed more minor issues found by Coverity.
816     * Allow raddb/certs/bootstrap to run when there is no "make"
817       command installed.
818     * In radiusd.conf, run_dir depends on the name of the program,
819       and isn't hard-coded to "..../radiusd"
820     * Check for EOF in more places in the "detail" file reader.
821     * Added Freeswitch dictionary.
822     * Chop ethernet frames in VMPS, rather than droppping packets.
823     * Fix EAP-TLS bug.  Patch from Arnaud Ebalard
824     * Don't lose string for regex-compares in the "users" file.
825     * Expose more functions in rlm_sql to rlm_sqlippool, which
826       helps on systems where RTLD_GLOBAL is off.
827     * Fix typos in MySQL schemas for ippools.
828     * Remove macro that was causing build issues on some platforms.
829     * Fixed issues with dead home servers.  Bug noted by Chris Moules.
830     * Fixed "access after free" with some dynamic clients.
831
832 - fix packaging bug, some directories missing execute permission
833   /etc/raddb/dictionary now readable by all.
834
835 * Tue Feb 24 2009 John Dennis <jdennis@redhat.com> - 2.1.3-4
836 - fix type usage in unixodbc to match new type usage in unixodbc API
837
838 * Thu Feb 19 2009 John Dennis <jdennis@redhat.com> - 2.1.3-3
839 - add pointer to Red Hat documentation in docdir
840
841 * Sat Jan 24 2009 Caolán McNamara <caolanm@redhat.com> - 2.1.3-2
842 - rebuild for dependencies
843
844 * Thu Dec  4 2008 John Dennis <jdennis@redhat.com> - 2.1.3-1
845 - upgrade to latest upstream release, upstream summary follows:
846   The focus of this release is stability.
847   Feature Improvements:
848     * Allow running with "user=radiusd" and binding to secure sockets.
849     * Start sending Status-Server "are you alive" messages earlier, which
850       helps with proxying multiple realms to a home server.
851     * Removed thread pool code from rlm_perl.  It's not necessary.
852     * Added example Perl configuration to raddb/modules/perl
853     * Force OpenSSL to support certificates with SHA256. This seems to be
854       necessary for WiMAX certs.
855   Bug fixes:
856     * Fix Debian patch to allow it to build.
857     * Fix potential NULL dereference in debugging mode on certain
858       platforms for TTLS and PEAP inner tunnels.
859     * Fix uninitialized memory in handling of vendor definitions
860     * Fix parsing of quoted (but non-string) attributes in the "users" file.
861     * Initialize uknown NAS IP to 255.255.255.255, rather than 0.0.0.0
862     * use SUN_LEN in control socket, to avoid truncation on some platforms.
863     * Correct internal handling of "debug condition" to prevent it from
864       being over-written.
865     * Check return code of regcomp in "unlang", so that invalid regular
866       expressions are caught rather than mishandled.
867     * Make rlm_sql use <ltdl.h>.  Addresses bug #610.
868     * Document list "type = status" better.  Closes bug #580.
869     * Set "default days" for certificates, because OpenSSL won't do it.
870       This closes bug #615.
871     * Reference correct list in example raddb/modules/ldap. Closes #596.
872     * Increase default schema size for Acct-Session-Id to 64. Closes #540.
873     * Fix use of temporary files in dialup-admin.  Closes #605 and
874       addresses CVE-2008-4474.
875     * Addressed a number of minor issues found by Coverity.
876     * Added DHCP option 150 to the dictionary.  Closes #618.
877
878 * Wed Dec  3 2008 John Dennis <jdennis@redhat.com> - 2.1.1-8
879 - add --with-system-libtool to configure as a workaround for
880 undefined reference to lt__PROGRAM__LTX_preloaded_symbols
881
882 * Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
883 - add obsoletes tag for dialupadmin subpackages which were removed
884
885 * Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
886 - add readline-devel BuildRequires
887
888 * Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.1.1-4
889 - Rebuild for Python 2.6
890
891 * Fri Nov 21 2008 John Dennis <jdennis@redhat.com> - 2.1.1-3
892 - make spec file buildable on RHEL5.2 by making perl-devel a fedora only dependency.
893 - remove diaupadmin packages, it's not well supported and there are problems with it.
894
895 * Fri Sep 26 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
896 - Resolves: bug #464119 bootstrap code could not create initial certs in /etc/raddb/certs because
897   permissions were 750, radiusd running as euid radiusd could not write there, permissions now 770
898
899 * Thu Sep 25 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
900 - upgrade to new upstream 2.1.1 release
901
902 * Wed Jul 30 2008 John Dennis <jdennis@redhat.com> - 2.0.5-2
903 - Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
904   specify file attributes for /etc/raddb/ldap.attrmap
905   fix consistent use of tabs/spaces (rpmlint warning)
906
907 * Mon Jun  9 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
908 - upgrade to latest upstream, see Changelog for details,
909   upstream now has more complete fix for bug #447545, local patch removed
910
911 * Wed May 28 2008 John Dennis <jdennis@redhat.com> - 2.0.4-1
912 - upgrade to latest upstream, see Changelog for details
913 - resolves: bug #447545: freeradius missing /etc/raddb/sites-available/inner-tunnel
914
915 * Fri May 16 2008  <jdennis@redhat.com> - 2.0.3-3
916 - # Temporary fix for bug #446864, turn off optimization
917
918 * Fri Apr 18 2008 John Dennis <jdennis@redhat.com> - 2.0.3-2
919 - remove support for radrelay, it's different now
920 - turn off default inclusion of SQL config files in radiusd.conf since SQL
921   is an optional RPM install
922 - remove mssql config files
923
924 * Thu Apr 17 2008 John Dennis <jdennis@redhat.com> - 2.0.3-1
925 - Upgrade to current upstream 2.0.3 release
926 - Many thanks to Enrico Scholz for his spec file suggestions incorporated here
927 - Resolve: bug #438665: Contains files owned by buildsystem
928 - Add dialupadmin-mysql, dialupadmin-postgresql, dialupadmin-ldap subpackages
929   to further partition external dependencies.
930 - Clean up some unnecessary requires dependencies
931 - Add versioned requires between subpackages
932
933 * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.2-2
934 - add Requires for versioned perl (libperl.so)
935
936 * Thu Feb 28 2008  <jdennis@redhat.com> - 2.0.2-1
937 - upgrade to new 2.0 release
938 - split into subpackages for more fine grained installation
939
940 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.7-4.4.ipa
941 - Autorebuild for GCC 4.3
942
943 * Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.7-3.4.ipa
944 - Rebuild for deps
945
946 * Sat Nov 10 2007  <jdennis@redhat.com> - 1.1.7-3.3.ipa
947 - add support in rlm_ldap for reading clients from ldap
948 - fix TLS parameter controling if a cert which fails to validate
949   will be accepted (i.e. self-signed),
950   rlm_ldap config parameter=tls_require_cert
951   ldap LDAP_OPT_X_TLS_REQUIRE_CERT parameter was being passed to
952   ldap_set_option() when it should have been ldap_int_tls_config()
953
954 * Sat Nov 3 2007  <jdennis@redhat.com> - 1.1.7-3.2.ipa
955 - add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server
956
957 * Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3.1
958 - made init script fully lsb conform
959
960 * Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
961 - fixed initscript problem (rhbz#292521)
962
963 * Tue Aug 28 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-2
964 - fixed initscript for LSB (rhbz#243671, rhbz#243928)
965 - fixed license tag
966
967 * Tue Aug  7 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-1
968 - new versin 1.1.7
969 - install snmp MIB files
970 - dropped LDAP_DEPRECATED flag, it is upstream
971 - marked config files for sub packages as config (rhbz#240400)
972 - moved db files to /var/lib/raddb (rhbz#199082)
973
974 * Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-2
975 - radiusd expects /etc/raddb to not be world readable or writable
976   /etc/raddb now belongs to radiusd, post script sets permissions
977
978 * Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-1
979 - new version 1.1.6
980
981 * Fri Mar  9 2007 Thomas Woerner <twoerner@redhat.com> 1.1.5-1
982 - new version 1.1.5
983   - no /etc/raddb/otppasswd.sample anymore
984   - build is pie by default, dropped pie patch
985 - fixed build requirement for perl (perl-devel)
986
987 * Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.1.3-3
988 - remove trailing dot from summary
989 - fix buildroot
990 - fix post/postun/preun requirements
991 - use rpm macros
992
993 * Fri Dec  8 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2.1
994 - rebuild for new postgresql library version
995
996 * Thu Nov 30 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2
997 - fixed ldap code to not use internals, added LDAP_DEPRECATED compile time flag
998   (#210912)
999
1000 * Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-1
1001 - new version 1.1.3 with lots of upstream bug fixes, some security fixes
1002   (#205654)
1003
1004 * Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-2
1005 - commented out include for sql.conf in radiusd.conf (#202561)
1006
1007 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.2-1.1
1008 - rebuild
1009
1010 * Thu Jun  1 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-1
1011 - new version 1.1.2
1012
1013 * Wed May 31 2006 Thomas Woerner <twoerner@redhat.com> 1.1.1-1
1014 - new version 1.1.1
1015 - fixed incorrect rlm_sql globbing (#189095)
1016   Thanks to Yanko Kaneti for the fix.
1017 - fixed chown syntax in post script (#182777)
1018 - dropped gcc34, libdir and realloc-return patch
1019 - spec file cleanup with additional libtool build fixes
1020
1021 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2
1022 - bump again for double-long bug on ppc(64)
1023
1024 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.1
1025 - rebuilt for new gcc4.1 snapshot and glibc changes
1026
1027 * Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 1.0.5-1
1028 - new version 1.0.5
1029
1030 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1031 - rebuilt
1032
1033 * Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 1.0.4-5
1034 - Rebuild due to mysql update.
1035
1036 * Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-4
1037 - rebuilt with new openssl
1038 - fixed ignored return value of realloc
1039
1040 * Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-3
1041 - use include instead of pam_stack in pam config
1042
1043 * Wed Jul 20 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-2
1044 - added missing build requires for libtool-ltdl-devel (#160877)
1045 - modified file list to get a report for missing plugins
1046
1047 * Tue Jun 28 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-1
1048 - new version 1.0.4
1049 - droppend radrelay patch (fixed upstream)
1050
1051 * Thu Apr 14 2005 Warren Togami <wtogami@redhat.com> 1.0.2-2
1052 - rebuild against new postgresql-libs
1053
1054 * Mon Apr  4 2005 Thomas Woerner <twoerner@redhat.com> 1.0.2-1
1055 - new version 1.0.2
1056
1057 * Fri Nov 19 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-3
1058 - rebuild for MySQL 4
1059 - switched over to installed libtool
1060
1061 * Fri Nov  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2
1062 - Fixed install problem of radeapclient (#138069)
1063
1064 * Wed Oct  6 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-1
1065 - new version 1.0.1
1066 - applied radrelay CVS patch from Kevin Bonner
1067
1068 * Wed Aug 25 2004 Warren Togami <wtogami@redhat.com> 1.0.0-3
1069 - BuildRequires pam-devel and libtool
1070 - Fix errant text in description
1071 - Other minor cleanups
1072
1073 * Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2.1
1074 - renamed /etc/pam.d/radius to /etc/pam.d/radiusd to match default
1075   configuration (#130613)
1076
1077 * Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2
1078 - fixed BuildRequires for openssl-devel (#130606)
1079
1080 * Mon Aug 16 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-1
1081 - 1.0.0 final
1082
1083 * Mon Jul  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.2
1084 - added buildrequires for zlib-devel (#127162)
1085 - fixed libdir patch to prefer own libeap instead of installed one (#127168)
1086 - fixed samba account maps in LDAP for samba v3 (#127173)
1087
1088 * Thu Jul  1 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.1
1089 - third "pre" release of version 1.0.0
1090 - rlm_ldap is using SASLv2 (#126507)
1091
1092 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
1093 - rebuilt
1094
1095 * Thu Jun  3 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-4.1
1096 - fixed BuildRequires for gdbm-devel
1097
1098 * Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 0.9.3-4
1099 - gcc34 compilation fixes
1100
1101 * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
1102 - rebuilt
1103
1104 * Tue Feb 24 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-3.2
1105 - added sql scripts for rlm_sql to documentation (#116435)
1106
1107 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
1108 - rebuilt
1109
1110 * Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2.1
1111 - using -fPIC instead of -fpic for s390 ans s390x
1112
1113 * Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2
1114 - radiusd is pie, now
1115
1116 * Tue Nov 25 2003 Thomas Woerner <twoerner@redhat.com> 0.9.3-1
1117 - new version 0.9.3 (bugfix release)
1118
1119 * Fri Nov  7 2003 Thomas Woerner <twoerner@redhat.com> 0.9.2-1
1120 - new version 0.9.2
1121
1122 * Mon Sep 29 2003 Thomas Woerner <twoerner@redhat.com> 0.9.1-1
1123 - new version 0.9.1
1124
1125 * Mon Sep 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.0-2.2
1126 - modify default PAM configuration to remove the directory part of the module
1127   name, so that 32- and 64-bit libpam (called from 32- or 64-bit radiusd) on
1128   multilib systems will always load the right module for the architecture
1129 - modify default PAM configuration to use pam_stack
1130
1131 * Mon Sep  1 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-2.1
1132 - com_err.h moved to /usr/include/et
1133
1134 * Tue Jul 22 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-1
1135 - 0.9.0 final
1136
1137 * Wed Jul 16 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-0.9.0
1138 - new version 0.9.0 pre3
1139
1140 * Thu May 22 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-6
1141 - included directory /var/log/radius/radacct for logrotate
1142
1143 * Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-5
1144 - moved log and run dir to files section, cleaned up post
1145
1146 * Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-4
1147 - added missing run dir in post
1148
1149 * Tue May 20 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-3
1150 - fixed module load patch
1151
1152 * Fri May 16 2003 Thomas Woerner <twoerner@redhat.com>
1153 - removed la files, removed devel package
1154 - split into 4 packages: freeradius, freeradius-mysql, freeradius-postgresql,
1155     freeradius-unixODBC
1156 - fixed requires and buildrequires
1157 - create logging dir in post if it does not exist
1158 - fixed module load without la files
1159
1160 * Thu Apr 17 2003 Thomas Woerner <twoerner@redhat.com>
1161 - Initial build.