Update spec file
[freeradius.git] / freeradius-server.spec
1 Summary: High-performance and highly configurable free RADIUS server
2 Name: freeradius
3 Version: 3.0.4
4 Release: 2%{?dist}
5 License: GPLv2+ and LGPLv2+
6 Group: System Environment/Daemons
7 URL: http://www.freeradius.org/
8
9 # Is elliptic curve cryptography supported?
10 %if 0%{?rhel} >= 7 || 0%{?fedora} >= 20
11 %global HAVE_EC_CRYPTO 1
12 %else
13 %global HAVE_EC_CRYPTO 0
14 %endif
15
16 %global dist_base freeradius-server
17
18 #Source0: ftp://ftp.freeradius.org/pub/radius/%{dist_base}.tar.bz2
19 Source0: %{dist_base}.tar.gz
20 Source100: freeradius-radiusd-init
21 Source102: freeradius-logrotate
22 Source103: freeradius-pam-conf
23 Source104: freeradius-tmpfiles.conf
24
25 Patch1: freeradius-redhat-config.patch
26
27 %global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
28 %define initddir %{?_initddir:%{_initddir}}%{!?_initddir:%{_initrddir}}
29
30 BuildRequires: autoconf
31 BuildRequires: gdbm-devel
32 BuildRequires: chrpath
33 BuildRequires: openssl
34 BuildRequires: openssl-devel
35 BuildRequires: pam-devel
36 BuildRequires: zlib-devel
37 BuildRequires: net-snmp-devel
38 BuildRequires: net-snmp-utils
39 BuildRequires: readline-devel
40 BuildRequires: libpcap-devel
41 BuildRequires: libtalloc-devel
42 BuildRequires: pcre-devel
43
44 %if ! 0%{?rhel}
45 BuildRequires: libyubikey-devel
46 BuildRequires: tncfhh-devel
47 BuildRequires: ykclient-devel
48 %endif
49
50 Requires: openssl >= 1.0.1e-16.el6_5.7
51 Requires(pre): shadow-utils glibc-common
52 Requires(post): /sbin/chkconfig
53 Requires(preun): /sbin/chkconfig
54
55 %description
56 The FreeRADIUS Server Project is a high performance and highly configurable
57 GPL'd free RADIUS server. The server is similar in some respects to
58 Livingston's 2.0 server.  While FreeRADIUS started as a variant of the
59 Cistron RADIUS server, they don't share a lot in common any more. It now has
60 many more features than Cistron or Livingston, and is much more configurable.
61
62 FreeRADIUS is an Internet authentication daemon, which implements the RADIUS
63 protocol, as defined in RFC 2865 (and others). It allows Network Access
64 Servers (NAS boxes) to perform authentication for dial-up users. There are
65 also RADIUS clients available for Web servers, firewalls, Unix logins, and
66 more.  Using RADIUS allows authentication and authorization for a network to
67 be centralized, and minimizes the amount of re-configuration which has to be
68 done when adding or deleting new users.
69
70 %package abfab
71 Group: System Environment/Daemons
72 Summary: FreeRADIUS ABFAb Configuration
73 Requires: %{name} = %{version}-%{release}
74
75 %description abfab
76 This package provides configuration required by an ABFAB (RFC 7055)
77 identity provider or RP proxy.
78
79 %package doc
80 Group: Documentation
81 Summary: FreeRADIUS documentation
82
83 %description doc
84 All documentation supplied by the FreeRADIUS project is included
85 in this package.
86
87 %package utils
88 Group: System Environment/Daemons
89 Summary: FreeRADIUS utilities
90 Requires: %{name} = %{version}-%{release}
91 Requires: libpcap >= 0.9.4
92
93 %description utils
94 The FreeRADIUS server has a number of features found in other servers,
95 and additional features not found in any other server. Rather than
96 doing a feature by feature comparison, we will simply list the features
97 of the server, and let you decide if they satisfy your needs.
98
99 Support for RFC and VSA Attributes Additional server configuration
100 attributes Selecting a particular configuration Authentication methods
101
102 %package devel
103 Group: System Environment/Daemons
104 Summary: FreeRADIUS development files
105 Requires: %{name} = %{version}-%{release}
106
107 %description devel
108 Development headers and libraries for FreeRADIUS.
109
110 %package ldap
111 Summary: LDAP support for freeradius
112 Group: System Environment/Daemons
113 Requires: %{name} = %{version}-%{release}
114 BuildRequires: openldap-devel
115
116 %description ldap
117 This plugin provides the LDAP support for the FreeRADIUS server project.
118
119 %package krb5
120 Summary: Kerberos 5 support for freeradius
121 Group: System Environment/Daemons
122 Requires: %{name} = %{version}-%{release}
123 BuildRequires: krb5-devel
124
125 %description krb5
126 This plugin provides the Kerberos 5 support for the FreeRADIUS server project.
127
128 %package perl
129 Summary: Perl support for freeradius
130 Group: System Environment/Daemons
131 Requires: %{name} = %{version}-%{release}
132 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
133 %{?fedora:BuildRequires: perl-devel}
134 BuildRequires: perl-devel
135 BuildRequires: perl(ExtUtils::Embed)
136
137 %description perl
138 This plugin provides the Perl support for the FreeRADIUS server project.
139
140 %package python
141 Summary: Python support for freeradius
142 Group: System Environment/Daemons
143 Requires: %{name} = %{version}-%{release}
144 BuildRequires: python-devel
145
146 %description python
147 This plugin provides the Python support for the FreeRADIUS server project.
148
149 %package mysql
150 Summary: MySQL support for freeradius
151 Group: System Environment/Daemons
152 Requires: %{name} = %{version}-%{release}
153 BuildRequires: mysql-devel
154
155 %description mysql
156 This plugin provides the MySQL support for the FreeRADIUS server project.
157
158 %package postgresql
159 Summary: Postgresql support for freeradius
160 Group: System Environment/Daemons
161 Requires: %{name} = %{version}-%{release}
162 BuildRequires: postgresql-devel
163
164 %description postgresql
165 This plugin provides the postgresql support for the FreeRADIUS server project.
166
167 %package sqlite
168 Summary: SQLite support for freeradius
169 Group: System Environment/Daemons
170 Requires: %{name} = %{version}-%{release}
171 BuildRequires: sqlite-devel
172
173 %description sqlite
174 This plugin provides the SQLite support for the FreeRADIUS server project.
175
176 %package unixODBC
177 Summary: Unix ODBC support for freeradius
178 Group: System Environment/Daemons
179 Requires: %{name} = %{version}-%{release}
180 BuildRequires: unixODBC-devel
181
182 %description unixODBC
183 This plugin provides the unixODBC support for the FreeRADIUS server project.
184
185
186 %prep
187 %setup -q -n %{dist_base}
188 # Note: We explicitly do not make patch backup files because 'make install'
189 # mistakenly includes the backup files, especially problematic for raddb config files.
190 %patch1 -p1
191
192 %build
193 # Force compile/link options, extra security for network facing daemon
194 %global _hardened_build 1
195
196 %configure \
197         --libdir=%{_libdir}/freeradius \
198         --with-udpfromto \
199         --with-threads \
200         --with-docdir=%{docdir} \
201         --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
202         --with-rlm-sql-postgresql-lib-dir=%{_libdir} \
203         --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
204         --with-mysql-lib-dir=%{_libdir}/mysql \
205         --with-unixodbc-lib-dir=%{_libdir} \
206         --with-rlm-dbm-lib-dir=%{_libdir} \
207         --with-rlm-krb5-include-dir=/usr/kerberos/include \
208         --without-rlm_couchbase \
209         --without-rlm_eap_ikev2 \
210         --without-rlm_example \
211         --without-rlm_idn \
212         --without-rlm_smsotp \
213         --without-rlm_sqlhpwippool \
214         --without-rlm_sql_iodbc \
215         --without-rlm_sql_firebird \
216         --without-rlm_sql_db2 \
217         --without-rlm_sql_oracle
218
219 make
220
221 %install
222 mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/radiusd
223 make install R=$RPM_BUILD_ROOT
224 for foo in abfab-tr-idp abfab-tls channel_bindings ; do
225     test -e $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sites-enabled/$foo || ln -s ../sites-available/$foo $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sites-enabled
226     done
227 for foo in abfab_psk_sql ; do
228     test -e $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/mods-enabled/$foo || ln -s ../mods-available/$foo $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/mods-enabled
229     done
230
231 # logs
232 mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
233 touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}
234
235 install -D -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{initddir}/radiusd
236 install -D -m 644 %{SOURCE102} $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
237 install -D -m 644 %{SOURCE103} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
238
239 mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
240 mkdir -p %{buildroot}%{_localstatedir}/run/
241 install -d -m 0710 %{buildroot}%{_localstatedir}/run/radiusd/
242 install -d -m 0700 %{buildroot}%{_localstatedir}/run/radiusd/tmp
243 install -m 0644 %{SOURCE104} %{buildroot}%{_sysconfdir}/tmpfiles.d/radiusd.conf
244
245 # remove unneeded stuff
246 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.crt
247 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.csr
248 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.der
249 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.key
250 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.pem
251 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.p12
252 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/index.*
253 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/serial*
254 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/dh
255 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/random
256
257
258 rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/radeapclient.1
259
260 rm -f $RPM_BUILD_ROOT/usr/sbin/rc.radiusd
261 rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
262 rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
263
264 chrpath --delete $RPM_BUILD_ROOT/%{_libdir}/freeradius/rlm_sql_unixodbc.so
265 chrpath --delete $RPM_BUILD_ROOT/%{_libdir}/freeradius/rlm_sql_postgresql.so
266
267 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-available/couchbase
268
269 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-config/sql/main/mssql
270 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-available/eap.orig
271
272 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-config/sql/ippool/oracle
273 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-config/sql/ippool-dhcp/oracle
274 rm -rf $RPM_BUILD_ROOT/etc/raddb/mods-config/sql/main/oracle
275
276
277 # remove unsupported config files
278 rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
279 # install doc files omitted by standard install
280 for f in COPYRIGHT CREDITS INSTALL.rst README.rst VERSION; do
281     cp $f $RPM_BUILD_ROOT/%{docdir}
282 done
283 cp LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.gpl
284 cp src/lib/LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.lgpl
285 cp src/LICENSE.openssl $RPM_BUILD_ROOT/%{docdir}/LICENSE.openssl
286
287 # add Red Hat specific documentation
288 cat >> $RPM_BUILD_ROOT/%{docdir}/REDHAT << EOF
289
290 Red Hat, RHEL, Fedora, and CentOS specific information can be found on the
291 FreeRADIUS Wiki in the Red Hat FAQ.
292
293 http://wiki.freeradius.org/guide/Red-Hat-FAQ
294
295 Please reference that document.
296
297 All documentation is in the freeradius-doc sub-package.
298
299 EOF
300
301
302 # Make sure our user/group is present prior to any package or subpackage installation
303 %pre
304 getent group  radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd > /dev/null 2>&1
305 getent passwd radiusd >/dev/null || /usr/sbin/useradd  -r -g radiusd -u 95 -c "radiusd user" -d %{_localstatedir}/lib/radiusd -s /sbin/nologin radiusd > /dev/null 2>&1
306 exit 0
307
308 %post
309 if [ $1 -eq 1 ]; then           # install
310   /sbin/chkconfig --add radiusd
311   if [ ! -e /etc/raddb/certs/server.pem ]; then
312     /sbin/runuser -g radiusd -c 'umask 007; /etc/raddb/certs/bootstrap' > /dev/null 2>&1
313   fi
314 fi
315 exit 0
316
317 %preun
318 if [ $1 -eq 0 ]; then           # uninstall
319   /sbin/service radiusd stop > /dev/null 2>&1
320   /sbin/chkconfig --del radiusd
321 fi
322 exit 0
323
324
325 %postun
326 if [ $1 -ge 1 ]; then           # upgrade
327   /sbin/service radiusd condrestart >/dev/null 2>&1
328 fi
329 if [ $1 -eq 0 ]; then           # uninstall
330   getent passwd radiusd >/dev/null && /usr/sbin/userdel  radiusd > /dev/null 2>&1
331   getent group  radiusd >/dev/null && /usr/sbin/groupdel radiusd > /dev/null 2>&1
332 fi
333 exit 0
334
335 %files
336 %defattr(-,root,root)
337
338 # doc
339 %doc %{docdir}/LICENSE.gpl
340 %doc %{docdir}/LICENSE.lgpl
341 %doc %{docdir}/LICENSE.openssl
342 %doc %{docdir}/REDHAT
343
344 # system
345 %config(noreplace) %{_sysconfdir}/pam.d/radiusd
346 %config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
347 %{initddir}/radiusd
348 %config %{_sysconfdir}/tmpfiles.d/radiusd.conf
349 %dir %attr(710,radiusd,radiusd) %{_localstatedir}/run/radiusd
350 %dir %attr(700,radiusd,radiusd) %{_localstatedir}/run/radiusd/tmp
351 %dir %attr(755,radiusd,radiusd) %{_localstatedir}/lib/radiusd
352
353 # configs (raddb)
354 %dir %attr(755,root,radiusd) /etc/raddb
355 %defattr(-,root,radiusd)
356 /etc/raddb/README.rst
357 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/panic.gdb
358
359 %attr(644,root,radiusd) %config(noreplace) /etc/raddb/dictionary
360 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/clients.conf
361
362 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/templates.conf
363 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/trigger.conf
364
365 # symlink: /etc/raddb/hints -> ./mods-config/preprocess/hints
366 %config /etc/raddb/hints
367
368 # symlink: /etc/raddb/huntgroups -> ./mods-config/preprocess/huntgroups
369 %config /etc/raddb/huntgroups
370
371 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/proxy.conf
372 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/radiusd.conf
373
374 # symlink: /etc/raddb/users -> ./mods-config/files/authorize
375 %config(noreplace) /etc/raddb/users
376
377 # certs
378 %dir %attr(770,root,radiusd) /etc/raddb/certs
379 %config(noreplace) /etc/raddb/certs/Makefile
380 /etc/raddb/certs/README
381 %config(noreplace) /etc/raddb/certs/xpextensions
382 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
383 %attr(750,root,radiusd) /etc/raddb/certs/bootstrap
384
385 # mods-config
386 %dir %attr(750,root,radiusd) /etc/raddb/mods-config
387 /etc/raddb/mods-config/README.rst
388 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/attr_filter
389 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/attr_filter/*
390 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/files
391 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/files/*
392 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/preprocess
393 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/preprocess/*
394
395 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql
396 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/counter
397 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/cui
398 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool
399 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool-dhcp
400 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main
401
402 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/unbound
403 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/unbound/default.conf
404
405 # sites-available
406 %dir %attr(750,root,radiusd) /etc/raddb/sites-available
407 /etc/raddb/sites-available/README
408 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/abfab-tr-idp
409 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/abfab-tls
410 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/control-socket
411 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/channel_bindings
412 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/decoupled-accounting
413 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/robust-proxy-accounting
414 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/soh
415 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/coa
416 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/example
417 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/inner-tunnel
418 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/dhcp
419 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/check-eap-tls
420 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/status
421 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/dhcp.relay
422 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/virtual.example.com
423 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/originate-coa
424 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/vmps
425 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/default
426 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/proxy-inner-tunnel
427 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/dynamic-clients
428 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/copy-acct-to-home-server
429 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/buffered-sql
430 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/tls
431
432 # sites-enabled
433 # symlink: /etc/raddb/sites-enabled/xxx -> ../sites-available/xxx
434 %dir %attr(750,root,radiusd) /etc/raddb/sites-enabled
435 %config(missingok) /etc/raddb/sites-enabled/channel_bindings
436 %config(missingok) /etc/raddb/sites-enabled/inner-tunnel
437 %config(missingok) /etc/raddb/sites-enabled/default
438
439 # mods-available
440 %dir %attr(750,root,radiusd) /etc/raddb/mods-available
441 /etc/raddb/mods-available/README.rst
442 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/abfab_psk_sql
443 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/always
444 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/attr_filter
445 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/cache
446 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/cache_eap
447 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/chap
448 #%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/couchbase
449 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/counter
450 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/cui
451 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/date
452 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/detail
453 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/detail.example.com
454 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/detail.log
455 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/dhcp
456 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/dhcp_sqlippool
457 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/digest
458 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/dynamic_clients
459 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/eap
460 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/echo
461 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/etc_group
462 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/exec
463 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/expiration
464 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/expr
465 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/files
466 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/idn
467 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/inner-eap
468 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ippool
469 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/linelog
470 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/logintime
471 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/mac2ip
472 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/mac2vlan
473 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/mschap
474 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ntlm_auth
475 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/opendirectory
476 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/otp
477 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/pam
478 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/pap
479 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/passwd
480 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/preprocess
481 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/python
482 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/radutmp
483 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/realm
484 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/redis
485 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rediswho
486 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/replicate
487 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
488 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/smbpasswd
489 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/smsotp
490 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/soh
491 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/sometimes
492 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/sql
493 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/sqlcounter
494 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/sqlippool
495 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/sradutmp
496 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/unix
497 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/unpack
498 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/unbound
499 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/utf8
500 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/wimax
501 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/yubikey
502
503 # mods-enabled
504 # symlink: /etc/raddb/mods-enabled/xxx -> ../mods-available/xxx
505 %dir %attr(750,root,radiusd) /etc/raddb/mods-enabled
506 %config(missingok) /etc/raddb/mods-enabled/always
507 %config(missingok) /etc/raddb/mods-enabled/attr_filter
508 %config(missingok) /etc/raddb/mods-enabled/cache_eap
509 %config(missingok) /etc/raddb/mods-enabled/chap
510 %config(missingok) /etc/raddb/mods-enabled/detail
511 %config(missingok) /etc/raddb/mods-enabled/detail.log
512 %config(missingok) /etc/raddb/mods-enabled/dhcp
513 %config(missingok) /etc/raddb/mods-enabled/digest
514 %config(missingok) /etc/raddb/mods-enabled/dynamic_clients
515 %config(missingok) /etc/raddb/mods-enabled/eap
516 %config(missingok) /etc/raddb/mods-enabled/echo
517 %config(missingok) /etc/raddb/mods-enabled/exec
518 %config(missingok) /etc/raddb/mods-enabled/expiration
519 %config(missingok) /etc/raddb/mods-enabled/expr
520 %config(missingok) /etc/raddb/mods-enabled/files
521 %config(missingok) /etc/raddb/mods-enabled/linelog
522 %config(missingok) /etc/raddb/mods-enabled/logintime
523 %config(missingok) /etc/raddb/mods-enabled/mschap
524 %config(missingok) /etc/raddb/mods-enabled/ntlm_auth
525 %config(missingok) /etc/raddb/mods-enabled/pap
526 %config(missingok) /etc/raddb/mods-enabled/passwd
527 %config(missingok) /etc/raddb/mods-enabled/preprocess
528 %config(missingok) /etc/raddb/mods-enabled/radutmp
529 %config(missingok) /etc/raddb/mods-enabled/realm
530 %config(missingok) /etc/raddb/mods-enabled/replicate
531 %config(missingok) /etc/raddb/mods-enabled/soh
532 %config(missingok) /etc/raddb/mods-enabled/sradutmp
533 %config(missingok) /etc/raddb/mods-enabled/unix
534 %config(missingok) /etc/raddb/mods-enabled/unpack
535 %config(missingok) /etc/raddb/mods-enabled/utf8
536
537 # policy
538 %dir %attr(750,root,radiusd) /etc/raddb/policy.d
539 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/abfab-tr
540 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/accounting
541 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/canonicalization
542 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/control
543 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/cui
544 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/debug
545 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/dhcp
546 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/eap
547 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/filter
548 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.d/operator-name
549
550
551 # binaries
552 %defattr(-,root,root)
553 /usr/sbin/checkrad
554 /usr/sbin/raddebug
555 /usr/sbin/radiusd
556 /usr/sbin/radmin
557
558 # dictionaries
559 %dir %attr(755,root,root) /usr/share/freeradius
560 /usr/share/freeradius/*
561
562 # logs
563 %dir %attr(700,radiusd,radiusd) /var/log/radius/
564 %dir %attr(700,radiusd,radiusd) /var/log/radius/radacct/
565 %ghost %attr(644,radiusd,radiusd) /var/log/radius/radutmp
566 %ghost %attr(600,radiusd,radiusd) /var/log/radius/radius.log
567
568 # libs
569 %attr(755,root,root) %{_libdir}/freeradius/lib*.so*
570
571 # loadable modules
572 %dir %attr(755,root,root) %{_libdir}/freeradius
573 %{_libdir}/freeradius/proto_dhcp.so
574 %{_libdir}/freeradius/proto_vmps.so
575 %{_libdir}/freeradius/rlm_always.so
576 %{_libdir}/freeradius/rlm_attr_filter.so
577 %{_libdir}/freeradius/rlm_cache.so
578 %{_libdir}/freeradius/rlm_chap.so
579 %{_libdir}/freeradius/rlm_counter.so
580 %{_libdir}/freeradius/rlm_cram.so
581 %{_libdir}/freeradius/rlm_date.so
582 %{_libdir}/freeradius/rlm_detail.so
583 %{_libdir}/freeradius/rlm_dhcp.so
584 %{_libdir}/freeradius/rlm_digest.so
585 %{_libdir}/freeradius/rlm_dynamic_clients.so
586 %{_libdir}/freeradius/rlm_eap.so
587 %{_libdir}/freeradius/rlm_eap_gtc.so
588 %{_libdir}/freeradius/rlm_eap_leap.so
589 %{_libdir}/freeradius/rlm_eap_md5.so
590 %{_libdir}/freeradius/rlm_eap_mschapv2.so
591 %{_libdir}/freeradius/rlm_eap_peap.so
592 %{_libdir}/freeradius/rlm_eap_pwd.so
593 %{_libdir}/freeradius/rlm_eap_sim.so
594 %{_libdir}/freeradius/rlm_eap_tls.so
595 %if ! 0%{?rhel}
596 %{_libdir}/freeradius/rlm_eap_tnc.so
597 %endif
598 %{_libdir}/freeradius/rlm_eap_ttls.so
599 %{_libdir}/freeradius/rlm_exec.so
600 %{_libdir}/freeradius/rlm_expiration.so
601 %{_libdir}/freeradius/rlm_expr.so
602 %{_libdir}/freeradius/rlm_files.so
603 %{_libdir}/freeradius/rlm_ippool.so
604 %{_libdir}/freeradius/rlm_linelog.so
605 %{_libdir}/freeradius/rlm_logintime.so
606 %{_libdir}/freeradius/rlm_mschap.so
607 %{_libdir}/freeradius/rlm_otp.so
608 %{_libdir}/freeradius/rlm_pam.so
609 %{_libdir}/freeradius/rlm_pap.so
610 %{_libdir}/freeradius/rlm_passwd.so
611 %{_libdir}/freeradius/rlm_preprocess.so
612 %{_libdir}/freeradius/rlm_radutmp.so
613 %{_libdir}/freeradius/rlm_realm.so
614 %{_libdir}/freeradius/rlm_replicate.so
615 %{_libdir}/freeradius/rlm_rest.so
616 %{_libdir}/freeradius/rlm_soh.so
617 %{_libdir}/freeradius/rlm_sometimes.so
618 %{_libdir}/freeradius/rlm_sql.so
619 %{_libdir}/freeradius/rlm_sqlcounter.so
620 %{_libdir}/freeradius/rlm_sqlippool.so
621 %{_libdir}/freeradius/rlm_sql_null.so
622 %{_libdir}/freeradius/rlm_unix.so
623 %{_libdir}/freeradius/rlm_unpack.so
624 %{_libdir}/freeradius/rlm_utf8.so
625 %{_libdir}/freeradius/rlm_wimax.so
626 %{_libdir}/freeradius/rlm_yubikey.so
627
628 # main man pages
629 %doc %{_mandir}/man5/clients.conf.5.gz
630 %doc %{_mandir}/man5/dictionary.5.gz
631 %doc %{_mandir}/man5/radiusd.conf.5.gz
632 %doc %{_mandir}/man5/radrelay.conf.5.gz
633 %doc %{_mandir}/man5/rlm_always.5.gz
634 %doc %{_mandir}/man5/rlm_attr_filter.5.gz
635 %doc %{_mandir}/man5/rlm_chap.5.gz
636 %doc %{_mandir}/man5/rlm_counter.5.gz
637 %doc %{_mandir}/man5/rlm_detail.5.gz
638 %doc %{_mandir}/man5/rlm_digest.5.gz
639 %doc %{_mandir}/man5/rlm_expr.5.gz
640 %doc %{_mandir}/man5/rlm_files.5.gz
641 %doc %{_mandir}/man5/rlm_idn.5.gz
642 %doc %{_mandir}/man5/rlm_mschap.5.gz
643 %doc %{_mandir}/man5/rlm_pap.5.gz
644 %doc %{_mandir}/man5/rlm_passwd.5.gz
645 %doc %{_mandir}/man5/rlm_realm.5.gz
646 %doc %{_mandir}/man5/rlm_sql.5.gz
647 %doc %{_mandir}/man5/rlm_unix.5.gz
648 %doc %{_mandir}/man5/unlang.5.gz
649 %doc %{_mandir}/man5/users.5.gz
650 %doc %{_mandir}/man8/raddebug.8.gz
651 %doc %{_mandir}/man8/radiusd.8.gz
652 %doc %{_mandir}/man8/radmin.8.gz
653 %doc %{_mandir}/man8/radrelay.8.gz
654
655 %files abfab
656 %dir %attr(750,root,radiusd) /etc/raddb/sites-enabled
657 %config(missingok) /etc/raddb/sites-enabled/abfab-tr-idp
658 %config(missingok) /etc/raddb/sites-enabled/abfab-tls
659 %config(missingok) /etc/raddb/sites-enabled/channel_bindings
660 %dir %attr(750,root,radiusd) /etc/raddb/mods-enabled
661 %config(missingok) /etc/raddb/mods-enabled/abfab_psk_sql
662
663
664 %files doc
665
666 %doc %{docdir}/
667
668
669 %files utils
670 /usr/bin/*
671
672 # utils man pages
673 %doc %{_mandir}/man1/radclient.1.gz
674 %doc %{_mandir}/man1/radlast.1.gz
675 %doc %{_mandir}/man1/radtest.1.gz
676 %doc %{_mandir}/man1/radwho.1.gz
677 %doc %{_mandir}/man1/radzap.1.gz
678 %doc %{_mandir}/man1/smbencrypt.1.gz
679 %doc %{_mandir}/man5/checkrad.5.gz
680 %doc %{_mandir}/man8/radcrypt.8.gz
681 %doc %{_mandir}/man8/radsniff.8.gz
682 %doc %{_mandir}/man8/radsqlrelay.8.gz
683 %doc %{_mandir}/man8/rlm_ippool_tool.8.gz
684
685 %files devel
686 /usr/include/freeradius
687
688 %files krb5
689 %{_libdir}/freeradius/rlm_krb5.so
690 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/krb5
691
692 %files perl
693 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/perl
694
695 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/perl
696 /etc/raddb/mods-config/perl/example.pl
697
698 %{_libdir}/freeradius/rlm_perl.so
699
700 %files python
701 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/python
702 /etc/raddb/mods-config/python/example.py*
703 /etc/raddb/mods-config/python/radiusd.py*
704 %{_libdir}/freeradius/rlm_python.so
705
706 %files mysql
707 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/counter/mysql
708 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/mysql/dailycounter.conf
709 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/mysql/expire_on_login.conf
710 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/mysql/monthlycounter.conf
711 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/mysql/noresetcounter.conf
712
713 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/cui/mysql
714 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/mysql/queries.conf
715 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/mysql/schema.sql
716
717 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool/mysql
718 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/mysql/queries.conf
719 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/mysql/schema.sql
720
721 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool-dhcp/mysql
722 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool-dhcp/mysql/queries.conf
723 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool-dhcp/mysql/schema.sql
724 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/mysql
725 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/mysql/setup.sql
726 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/mysql/queries.conf
727 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/mysql/schema.sql
728
729 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/mysql/extras
730 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/mysql/extras/wimax
731 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/mysql/extras/wimax/queries.conf
732 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/mysql/extras/wimax/schema.sql
733
734 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/ndb
735 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/ndb/setup.sql
736 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/ndb/schema.sql
737 /etc/raddb/mods-config/sql/main/ndb/README
738
739 %{_libdir}/freeradius/rlm_sql_mysql.so
740
741 %files postgresql
742 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/counter/postgresql
743 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/postgresql/dailycounter.conf
744 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/postgresql/expire_on_login.conf
745 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/postgresql/monthlycounter.conf
746 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/postgresql/noresetcounter.conf
747
748 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/cui/postgresql
749 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/postgresql/queries.conf
750 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/postgresql/schema.sql
751
752 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool/postgresql
753 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/postgresql/queries.conf
754 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/postgresql/schema.sql
755
756 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/postgresql
757 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/setup.sql
758 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/queries.conf
759 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/schema.sql
760
761 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/postgresql/extras
762 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/extras/update_radacct_group.sql
763 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/extras/voip-postpaid.conf
764 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql
765
766 %{_libdir}/freeradius/rlm_sql_postgresql.so
767
768 %files sqlite
769 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/counter/sqlite
770 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/sqlite/dailycounter.conf
771 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/sqlite/expire_on_login.conf
772 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/sqlite/monthlycounter.conf
773 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/counter/sqlite/noresetcounter.conf
774
775 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/cui/sqlite
776 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/sqlite/queries.conf
777 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/cui/sqlite/schema.sql
778
779 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool/sqlite
780 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/sqlite/queries.conf
781 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool/sqlite/schema.sql
782
783 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/ippool-dhcp/sqlite
784 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool-dhcp/sqlite/queries.conf
785 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/ippool-dhcp/sqlite/schema.sql
786
787 %dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/sqlite
788 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/queries.conf
789 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/schema.sql
790
791 %{_libdir}/freeradius/rlm_sql_sqlite.so
792
793 %files ldap
794 %{_libdir}/freeradius/rlm_ldap.so
795 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap
796
797 %files unixODBC
798 %{_libdir}/freeradius/rlm_sql_unixodbc.so
799
800 %changelog
801 * Thu Jul 10 2014 Stefan Paetow <stefan.paetow@ja.net> - 3.0.4-1
802 - Upgrade to upstream 3.0.4 release, configuration compatible with 3.0.1.
803 - Backported to CentOS 6.5
804
805 * Wed May 14 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.3-1
806 - Upgrade to upstream 3.0.3 release.
807   See upstream ChangeLog for details (in freeradius-doc subpackage).
808 - Minor configuration parsing change: "Double-escaping of characters in Perl,
809   and octal characters has been fixed. If your configuration has text like
810   "\\000", you will need to remove one backslash."
811 - Additionally includes post-release fixes for:
812   * case-insensitive matching in compiled regular expressions not working,
813   * upstream issue #634 "3.0.3 SIGSEGV on config parse",
814   * upstream issue #635 "3.0.x - rlm_perl - strings are still
815     escaped when passed to perl from FreeRADIUS",
816   * upstream issue #639 "foreach may cause ABORT".
817 - Fixes bugs 1097266 1070447
818
819 * Wed May  7 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.2-1
820 - Upgrade to upstream 3.0.2 release, configuration compatible with 3.0.1.
821   See upstream ChangeLog for details (in freeradius-doc subpackage)
822 - Fixes bugs 1058884 1061408 1070447 1079500
823
824 * Mon Feb 24 2014 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.1-4
825 - Fix CVE-2014-2015 "freeradius: stack-based buffer overflow flaw in rlm_pap
826   module"
827 - resolves: bug#1066984 (fedora 1066763)
828
829 * Fri Feb 21 2014 John Dennis <jdennis@redhat.com> - 3.0.1-3
830 - resolves: bug#1068798 (fedora 1068795)
831   rlm_perl attribute values truncated
832
833 * Sun Jan 19 2014 John Dennis <jdennis@redhat.com> - 3.0.1-2
834 - resolves: bug#1055073 (fedora 1055072)
835   rlm_ippool; bad config file attribute and fails to send reply attributes
836 - resolves: bug#1055567 (fedora 1056227)
837   bad mysql sql syntax
838 - change CFLAGS -imacros to -include to address gcc/gdb bug 1004526
839   where gdb will not display source information, only <command-line>
840
841 * Tue Jan 14 2014 John Dennis <jdennis@redhat.com> - 3.0.1-1
842 - Upgrade to upstream 3.0.1 release, full config compatible with 3.0.0.
843   This is a roll-up of all upstream bugs fixes found in 3.0.0
844   See upstream ChangeLog for details (in freeradius-doc subpackage)
845 - fixes bugs 1053020 1044747 1048474 1043036
846
847 * Tue Nov 26 2013 John Dennis <jdennis@redhat.com> - 3.0.0-4
848 - resolves: bug#1031035
849   remove radeapclient man page,
850   upstream no longer supports radeapclient, use eapol_test instead
851 - resolves: bug#1031061
852   rlm_eap_leap memory corruption, see freeradius-rlm_leap.patch
853 - move man pages for utils into utils subpackage from doc subpackage
854 - fix HAVE_EC_CRYPTO test to include f20
855 - add new directory /var/run/radiusd/tmp
856   update mods-available/eap so tls-common.verify.tmpdir to point to it
857
858 * Wed Nov 13 2013 John Dennis <jdennis@redhat.com> - 3.0.0-3
859 - resolves: bug#1029941
860   PW_TYPE_BOOLEAN config item should be declared int, not bool
861
862 * Mon Oct 28 2013 John Dennis <jdennis@redhat.com> - 3.0.0-2
863 - resolves: bug#1024119
864   tncfhh-devel is now available in RHEL-7, remove conditional BuildRequires
865
866 * Sun Oct 13 2013 John Dennis <jdennis@redhat.com> - 3.0.0-1
867 - Offical 3.0 gold release from upstream
868 - resolves: bug#1016873
869 - resolves: bug#891297
870
871 * Sun Sep  8 2013 John Dennis <jdennis@redhat.com> - 3.0.0-0.4.rc1
872 - upgrade to second 3.0 release candidate rc1
873
874 * Mon Aug 26 2013 John Dennis <jdennis@redhat.com> - 3.0.0-0.3.rc0
875 - add missingok config attribute to /etc/raddb/sites-enabled/* symlinks
876
877 * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.0.0-0.2.rc0
878 - Perl 5.18 rebuild
879
880 * Fri Jul 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 3.0.0-0.1.rc0
881 - Install docs to %%{_pkgdocdir} where available.
882
883 * Mon Jul 22 2013 John Dennis <jdennis@redhat.com> - 3.0.0-0.rc0
884 - Upgrade to new upstream major version release
885
886 * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.2.0-7
887 - Perl 5.18 rebuild
888
889 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-6
890 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
891
892 * Fri Dec 14 2012 John Dennis <jdennis@redhat.com> - 2.2.0-5
893 - resolves: bug#850119 - Introduce new systemd-rpm macros (>= F18)
894
895 * Thu Dec 13 2012 John Dennis <jdennis@redhat.com> - 2.2.0-4
896 - add compile option -fno-strict-aliasing
897
898 * Thu Dec 13 2012 John Dennis <jdennis@redhat.com> - 2.2.0-3
899 - specify homedir (/var/lib/radiusd) for radiusd user in useradd,
900   do not permit useradd to default the homedir.
901
902 * Wed Dec 12 2012 John Dennis <jdennis@redhat.com> - 2.2.0-2
903 - add security options to compiler/linker
904
905 * Mon Dec 10 2012 John Dennis <jdennis@redhat.com> - 2.2.0-1
906 - resolves: bug#876564 - fails to start without freeradius-mysql
907 - use upstream version of freeradius-exclude-config-file.patch
908
909 * Wed Oct  3 2012 John Dennis <jdennis@redhat.com> - 2.2.0-0
910 - Add new patch to avoid reading .rpmnew, .rpmsave and other invalid
911   files when loading config files
912 - Upgrade to new 2.2.0 upstream release
913 - Upstream changelog for 2.1.12:
914   Feature improvements
915   * 100% configuration file compatible with 2.1.x.
916     The only fix needed is to disallow "hashsize=0" for rlm_passwd
917   * Update Aruba, Alcatel Lucent, APC, BT, PaloAlto, Pureware,
918     Redback, and Mikrotik dictionaries
919   * Switch to using SHA1 for certificate digests instead of MD5.
920     See raddb/certs/*.cnf
921   * Added copyright statements to the dictionaries, so that we know
922     when people are using them.
923   * Better documentation for radrelay and detail file writer.
924     See raddb/modules/radrelay and raddb/radrelay.conf
925   * Added TLS-Cert-Subject-Alt-Name-Email from patch by Luke Howard
926   * Added -F <file> to radwho
927   * Added query timeouts to MySQL driver.  Patch from Brian De Wolf.
928   * Add /etc/default/freeradius to debian package.
929     Patch from Matthew Newton
930   * Finalize DHCP and DHCP relay code.  It should now work everywhere.
931     See raddb/sites-available/dhcp, src_ipaddr and src_interface.
932   * DHCP capabilitiies are now compiled in by default.
933     It runs as a DHCP server ONLY when manually enabled.
934   * Added one letter expansions: %G - request minute and %I request
935     ID.
936   * Added script to convert ISC DHCP lease files to SQL pools.
937     See scripts/isc2ippool.pl
938   * Added rlm_cache to cache arbitrary attributes.
939   * Added max_use to rlm_ldap to force connection to be re-established
940     after a given number of queries.
941   * Added configtest option to Debian init scripts, and automatic
942     config test on restart.
943   * Added cache config item to rlm_krb5. When set to "no" ticket
944     caching is disabled which may increase performance.
945
946   Bug fixes
947   * Fix CVE-2012-3547.  All users of 2.1.10, 2.1.11, 2.1.12,
948     and 802.1X should upgrade immediately.
949   * Fix typo in detail file writer, to skip writing if the packet
950     was read from this detail file.
951   * Free cached replies when closing resumed SSL sessions.
952   * Fix a number of issues found by Coverity.
953   * Fix memory leak and race condition in the EAP-TLS session cache.
954     Thanks to Phil Mayers for tracking down OpenSSL APIs.
955   * Restrict ATTRIBUTE names to character sets that make sense.
956   * Fix EAP-TLS session Id length so that OpenSSL doesn't get
957     excited.
958   * Fix SQL IPPool logic for non-timer attributes.  Closes bug #181
959   * Change some informational messages to DEBUG rather than error.
960   * Portability fixes for FreeBSD.  Closes bug #177
961   * A much better fix for the _lt__PROGRAM__LTX_preloaded_symbols
962     nonsense.
963   * Safely handle extremely long lines in conf file variable expansion
964   * Fix for Debian bug #606450
965   * Mutex lock around rlm_perl Clone routines. Patch from Eike Dehling
966   * The passwd module no longer permits "hashsize = 0".  Setting that
967     is pointless for a host of reasons.  It will also break the server.
968   * Fix proxied inner-tunnel packets sometimes having zero authentication
969     vector.  Found by Brian Julin.
970   * Added $(EXEEXT) to Makefiles for portability.  Closes bug #188.
971   * Fix minor build issue which would cause rlm_eap to be built twice.
972   * When using "status_check=request" for a home server, the username
973     and password must be specified, or the server will not start.
974   * EAP-SIM now calculates keys from the SIM identity, not from the
975     EAP-Identity.  Changing the EAP type via NAK may result in
976     identities changing.  Bug reported by Microsoft EAP team.
977   * Use home server src_ipaddr when sending Status-Server packets
978   * Decrypt encrypted ERX attributes in CoA packets.
979   * Fix registration of internal xlat's so %{mschap:...} doesn't
980     disappear after a HUP.
981   * Can now reference tagged attributes in expansions.
982     e.g. %{Tunnel-Type:1} and %{Tunnel-Type:1[0]} now work.
983   * Correct calculation of Message-Authenticator for CoA and Disconnect
984     replies.  Patch from Jouni Malinen
985   * Install rad_counter, for managing rlm_counter files.
986   * Add unique index constraint to all SQL flavours so that alternate
987     queries work correctly.
988   * The TTLS diameter decoder is now more lenient.  It ignores
989     unknown attributes, instead of rejecting the TTLS session.
990   * Use "globfree" in detail file reader.  Prevents very slow leak.
991     Closes bug #207.
992   * Operator =~ shouldn't copy the attribute, like :=.  It should
993     instead behave more like ==.
994   * Build main Debian package without SQL dependencies
995   * Use max_queue_size in threading code
996   * Update permissions in raddb/sql/postgresql/admin.sql
997   * Added OpenSSL_add_all_algorithms() to fix issues where OpenSSL
998     wouldn't use methods it knew about.
999   * Add more sanity checks in dynamic_clients code so the server won't
1000     crash if it attempts to load a badly formated client definition.
1001
1002 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.12-10
1003 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1004
1005 * Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 2.1.12-9
1006 - Perl 5.16 rebuild
1007
1008 * Tue May 15 2012 John Dennis <jdennis@redhat.com> - 2.1.12-8
1009 - resolves: bug#821407 - openssl dependency
1010
1011 * Sat Apr 14 2012 John Dennis <jdennis@redhat.com> - 2.1.12-7
1012 - resolves: bug#810605 Segfault with freeradius-perl threading
1013
1014 * Tue Feb 28 2012 John Dennis <jdennis@redhat.com> - 2.1.12-6
1015   Fixing bugs in RHEL6 rebase, applying fixes here as well
1016   resolves: bug#700870 freeradius not compiled with --with-udpfromto
1017   resolves: bug#753764 shadow password expiration does not work
1018   resolves: bug#712803 radtest script is not working with eap-md5 option
1019   resolves: bug#690756 errors in raddb/sql/postgresql/admin.sql template
1020
1021 * Tue Feb  7 2012 John Dennis <jdennis@redhat.com> - 2.1.12-5
1022 - resolves: bug#781877 (from RHEL5) rlm_dbm_parse man page misspelled
1023 - resolves: bug#760193 (from RHEL5) radtest PPPhint option is not parsed properly
1024
1025 * Sun Jan 15 2012 John Dennis <jdennis@redhat.com> - 2.1.12-4
1026 - resolves: bug#781744
1027   systemd service file incorrectly listed pid file as
1028   /var/run/radiusd/radiusd which it should have been
1029   /var/run/radiusd/radiusd.pid
1030
1031 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.12-3
1032 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1033
1034 * Mon Oct 31 2011 John Dennis <jdennis@redhat.com> - 2.1.12-2
1035 - rename /etc/tmpfiles.d/freeradius.conf to /etc/tmpfiles.d/radiusd.conf
1036   remove config(noreplace) because it must match files section and
1037   permissions differ between versions.
1038 - fixup macro usage for /var/run & /var/lib
1039
1040 * Mon Oct  3 2011 John Dennis <jdennis@redhat.com> - 2.1.12-1
1041 - Upgrade to latest upstream release: 2.1.12
1042 - Upstream changelog for 2.1.12:
1043   Feature improvements
1044   * Updates to dictionary.erx, dictionary.siemens, dictionary.starent,
1045     dictionary.starent.vsa1, dictionary.zyxel, added dictionary.symbol
1046   * Added support for PCRE from Phil Mayers
1047   * Configurable file permission in rlm_linelog
1048   * Added "relaxed" option to rlm_attr_filter.  This copies attributes
1049     if at least one match occurred.
1050   * Added documentation on dynamic clients.
1051     See raddb/modules/dynamic_clients.
1052   * Added support for elliptical curve cryptography.
1053     See ecdh_curve in raddb/eap.conf.
1054   * Added support for 802.1X MIBs in checkrad
1055   * Added support for %{rand:...}, which generates a uniformly
1056     distributed number between 0 and the number you specify.
1057   * Created "man" pages for all installed commands, and documented
1058     options for all commands.  Patch from John Dennis.
1059   * Allow radsniff to decode encrypted VSAs and CoA packets.
1060     Patch from Bjorn Mork.
1061   * Always send Message-Authenticator in radtest. Patch from John Dennis.
1062     radclient continues to be more flexible.
1063   * Updated Oracle schema and queries
1064   * Added SecurID module.  See src/modules/rlm_securid/README
1065
1066   Bug fixes
1067   * Fix memory leak in rlm_detail
1068   * Fix "failed to insert event"
1069   * Allow virtual servers to be reloaded on HUP.
1070     It no longer complains about duplicate virtual servers.
1071   * Fix %{string:...} expansion
1072   * Fix "server closed socket" loop in radmin
1073   * Set ownership of control socket when starting up
1074   * Always allow root to connect to control socket, even if
1075     "uid" is set.  They're root.  They can already do anything.
1076   * Save all attributes in Access-Accept when proxying inner-tunnel
1077     EAP-MSCHAPv2
1078   * Fixes for DHCP relaying.
1079   * Check certificate validity when using OCSP.
1080   * Updated Oracle "configure" script
1081   * Fixed typos in dictionary.alvarion
1082   * WARNING on potential proxy loop.
1083   * Be more aggressive about clearing old requests from the
1084     internal queue
1085   * Don't open network sockets when using -C
1086
1087 * Wed Sep 21 2011 Tom Callaway <spot@fedoraproject.org> - 2.1.11-7
1088 - restore defattr customization in the main package
1089
1090 * Fri Sep  9 2011 Tom Callaway <spot@fedoraproject.org> - 2.1.11-6
1091 - add missing systemd scriptlets
1092
1093 * Thu Sep  8 2011 Tom Callaway <spot@fedoraproject.org> - 2.1.11-5
1094 - convert to systemd
1095
1096 * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 2.1.11-4
1097 - Perl mass rebuild
1098
1099 * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.1.11-3
1100 - Perl mass rebuild
1101
1102 * Thu Jun 23 2011 John Dennis <jdennis@redhat.com> - 2.1.11-2
1103 - reload the server (i.e. HUP) after logrotate
1104
1105 * Wed Jun 22 2011 John Dennis <jdennis@redhat.com> - 2.1.11-1
1106 - Upgrade to latest upstream release: 2.1.11
1107 - Remove the following two patches as upstream has incorporated them:
1108     freeradius-radtest-ipv6.patch
1109     freeradius-lt-dladvise.patch
1110 - Upstream changelog for 2.1.11:
1111   Feature improvements
1112   * Added doc/rfc/rfc6158.txt: RADIUS Design Guidelines.
1113     All vendors need to read it and follow its directions.
1114   * Microsoft SoH support for PEAP from Phil Mayers.
1115     See doc/SoH.txt
1116   * Certificate "bootstrap" script now checks for certificate expiry.
1117     See comments in raddb/eap.conf, and then "make_cert_command".
1118   * Support for dynamic expansion of EAP-GTC challenges.
1119     Patch from Alexander Clouter.
1120   * OCSP support from Alex Bergmann.  See raddb/eap.conf, "ocsp"
1121     section.
1122   * Updated dictionary.huawei, dictionary.3gpp, dictionary.3gpp3.
1123   * Added dictionary.eltex, dictionary.motorola, and dictionary.ukerna.
1124   * Experimental redis support from Gabriel Blanchard.
1125     See raddb/modules/redis and raddb/modules/rediswho
1126   * Add "key" to rlm_fastusers.  Closes bug #126.
1127   * Added scripts/radtee from original software at
1128     http://horde.net/~jwm/software/misc/comparison-tee
1129   * Updated radmin "man" page for new commands.
1130   * radsniff now prints the hex decoding of the packet (-x -x -x)
1131   * mschap module now reloads its configuration on HUP
1132   * Added experimental "replicate" module.  See raddb/modules/replicate
1133   * Policy "foo" can now refer to module "foo".  This lets you
1134     over-ride the behavior of a module.
1135   * Policy "foo.authorize" can now over-ride the behavior of module
1136     "foo", "authorize" method.
1137   * Produce errors in more situations when the configuration files
1138     have invalid syntax.
1139
1140   Bug fixes
1141   * Ignore pre/post-proxy sections if proxying is disabled
1142   * Add configure checks for pcap_fopen*.
1143   * Fix call to otp_write in rlm_otp
1144   * Fix issue with Access-Challenge checking from 2.1.10, when the
1145     debug flag was set after server startup.  Closes #116 and #117.
1146   * Fix typo in zombie period start time.
1147   * Fix leak in src/main/valuepair.c.  Patch from James Ballantine.
1148   * Allow radtest to use spaces in shared secret.
1149     Patch from Cedric Carree.
1150   * Remove extra calls to HMAC_CTX_init() in rlm_wimax, fixing leak.
1151     Patch from James Ballantine.
1152   * Remove MN-FA key generation.  The NAS does this, not AAA.
1153     Patch from Ben Weichman.
1154   * Include dictionary.mikrotik by default.  Closes bug #121.
1155   * Add group membership query to MS-SQL examples.  Closes bug #120.
1156   * Don't cast NAS-Port to integer in Postgresql queries.
1157     Closes bug #112.
1158   * Fixes for libtool and autoconf from Sam Hartman.
1159   * radsniff should read the dictionaries in more situations.
1160   * Use fnmatch to check for detail file reader==writer.
1161     Closes bug #128.
1162   * Check for short writes (i.e. disk full) in rlm_detail.
1163     Closes bug #130.  Patches and testing from John Morrissey.
1164   * Fix typo in src/lib/token.c.  Closes bug #124
1165   * Allow workstation trust accounts to use MS-CHAP.
1166     Closes bug #123.
1167   * Assigning foo=`/bin/echo hello` now produces a syntax error
1168     if it is done outside of an "update" section.
1169   * Fix "too many open file descriptors" problem when using
1170     "verify client" in eap.conf.
1171   * Many fixes to dialup_admin for PHP5, by Stefan Winter.
1172   * Allow preprocess module to have "hints = " and "huntgroups =",
1173     which allows them to be empty or non-existent.
1174   * Renamed "php3" files to "php" in dialup_admin/
1175   * Produce error when sub-TLVs are used in a dictionary.  They are
1176     supported only in the "master" branch, and not in 2.1.x.
1177   * Minor fix in dictionary.redback.  Closes bug #138.
1178   * Fixed MySQL "NULL" issues in ippool.conf.  Closes bug #129.
1179   * Fix to Access-Challenge warning from Ken-ichirou Matsuzawa.
1180     Closes bug #118.
1181   * DHCP fixes to send unicast packets in more situations.
1182   * Fix to udpfromto, to enable it to work on IPv6 networks.
1183   * Fixes to the Oracle accounting_onoff_query.
1184   * When using both IPv4 and IPv6 home servers, ensure that we use the
1185     correct local socket for proxying.  Closes bug #143.
1186   * Suppress messages when thread pool is nearly full, all threads
1187     are busy, and we can't create new threads.
1188   * IPv6 is now enabled for udpfromto.  Closes bug #141
1189   * Make sqlippool query buffer the same size as sql module.
1190     Closes bug #139.
1191   * Make Coa / Disconnect proxying work again.
1192   * Configure scripts for rlm_caching from Nathaniel McCallum
1193   * src/lib/dhcp.c and src/include/libradius.h are LGPL, not GPL.
1194   * Updated password routines to use time-insensitive comparisons.
1195     This prevents timing attacks (though none are known).
1196   * Allow sqlite module to do normal SELECT queries.
1197   * rlm_wimax now has a configure script
1198   * Moved Ascend, USR, and Motorola "illegal" dictionaries to separate
1199     files.  See share/dictionary for explanations.
1200   * Check for duplicate module definitions in the modules{} section,
1201     and refuse to start if duplicates are found.
1202   * Check for duplicate virtual servers, and refuse to start if
1203     duplicates are found.
1204   * Don't use udpfromto if source is INADDR_ANY.  Closes bug #148.
1205   * Check pre-conditions before running radmin "inject file".
1206   * Don't over-ride "no match" with "match" for regexes.
1207     Closes bug #152.
1208   * Make retry and error message configurable in mschap.
1209     See raddb/modules/mschap
1210   * Allow EAP-MSCHAPv2 to send error message to client.  This change
1211     allows some clients to prompt the user for a new password.
1212     See raddb/eap.conf, mschapv2 section, "send_error".
1213   * Load the default virtual server before any others.
1214     This matches what users expect, and reduces confusion.
1215   * Fix configure checks for udpfromto.  Fixes Debian bug #606866
1216   * Definitive fix for bug #35, where the server could crash under
1217     certain loads.  Changes src/lib/packet.c to use RB trees.
1218   * Updated "configure" checks to allow IPv6 udpfromto on Linux.
1219   * SQL module now returns NOOP if the accounting start/interim/stop
1220     queries don't do anything.
1221   * Allow %%{outer.control: ... } in string expansions
1222   * home_server coa config now matches raddb/proxy.conf
1223   * Never send a reply to a DHCP Release.
1224
1225 * Thu Jun 16 2011 Marcela MaÅ¡láňová <mmaslano@redhat.com> - 2.1.10-8
1226 - Perl mass rebuild
1227
1228 * Wed Mar 23 2011 John Dennis <jdennis@redhat.com> - 2.1.10-7
1229 - Resolves: #689045 Using rlm_perl cause radiusd failed to start
1230   Fix configure typo which caused lt_dladvise_* functions to be skipped.
1231   run autogen.sh because HAVE_LT_DLADVISE_INIT isn't in src/main/autogen.h
1232   Implemented by: freeradius-lt-dladvise.patch
1233
1234 * Wed Mar 23 2011 John Dennis <jdennis@redhat.com> - 2.1.10-6
1235 - Resolves: #599528 - make radtest IPv6 compatible
1236
1237 * Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 2.1.10-5
1238 - rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
1239
1240 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-4
1241 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1242
1243 * Sat Jan  1 2011 John Dennis <jdennis@redhat.com> - 2.1.10-3
1244 - bug 666589 - removing freeradius from system does not delete the user "radiusd"
1245   fix scriptlet argument testing, simplify always exiting with zero
1246
1247 * Thu Dec 30 2010 John Dennis <jdennis@redhat.com> - 2.1.10-2
1248 - rebuild for new MySQL libs
1249
1250 * Tue Oct 19 2010 John Dennis <jdennis@redhat.com> - 2.1.10-1
1251   Feature improvements
1252   * Install the "radcrypt" program.
1253   * Enable radclient to send requests containing MS-CHAPv1
1254     Send packets with: MS-CHAP-Password = "password".  It will
1255     be automatically converted to the correct MS-CHAP attributes.
1256   * Added "-t" command-line option to radtest.  You can use "-t pap",
1257    "-t chap", "-t mschap", or "-t eap-md5".  The default is "-t pap"
1258   * Make the "inner-tunnel" virtual server listen on 127.0.0.1:18120
1259     This change and the previous one makes PEAP testing much easier.
1260   * Added more documentation and examples for the "passwd" module.
1261   * Added dictionaries for RFC 5607 and RFC 5904.
1262   * Added note in proxy.conf that we recommend setting
1263     "require_message_authenticator = yes" for all home servers.
1264   * Added example of second "files" configuration, with documentation.
1265     This shows how and where to use two instances of a module.
1266   * Updated radsniff to have it write pcap files, too.  See '-w'.
1267   * Print out large WARNING message if we send an Access-Challenge
1268     for EAP, and receive no follow-up messages from the client.
1269   * Added Cached-Session-Policy for EAP session resumption.  See
1270     raddb/eap.conf.
1271   * Added support for TLS-Cert-* attributes. For details, see
1272     raddb/sites-available/default, "post-auth" section.
1273   * Added sample raddb/modules/{opendirectory,dynamic_clients}
1274   * Updated Cisco and Huawei, HP, Redback, and ERX dictionaries.
1275   * Added RFCs 5607, 5904, and 5997.
1276   * For EAP-TLS, client certificates can now be validated using an
1277     external command.  See eap.conf, "validate" subsection of "tls".
1278   * Made rlm_pap aware of {nthash} prefix, for compatibility with
1279     legacy RADIUS systems.
1280   * Add Module-Failure-Message for mschap module (ntlm_auth)
1281   * made rlm_sql_sqlite database configurable.  Use "filename"
1282     in sql{} section.
1283   * Added %%{tolower: ...string ... }, which returns the lowercase
1284     version of the string.  Also added %%{toupper: ... } for uppercase.
1285
1286   Bug fixes
1287   * Fix endless loop when there are multiple sub-options for
1288     DHCP option 82.
1289   * More debug output when sending / receiving DHCP packets.
1290   * EAP-MSCHAPv2 should return the MPPE keys when used outside
1291     of a TLS tunnel.  This is needed for IKE.
1292   * Added SSL "no ticket" option to prevent SSL from creating sessions
1293     without IDs.  We need the IDs, so this option should be set.
1294   * Fix proxying of packets from inside a TTLS/PEAP tunnel.
1295     Closes bug #25.
1296   * Allow IPv6 address attributes to be created from domain names
1297     Closes bug #82.
1298   * Set the string length to the correct value when parsing double
1299     quotes.  Closes bug #88.
1300   * No longer look users up in /etc/passwd in the default configuration.
1301     This can be reverted by enabling "unix" in the "authorize" section.
1302   * More #ifdef's to enable building on systems without certain
1303     features.
1304   * Fixed SQL-Group comparison to register only if the group
1305     query is defined.
1306   * Fixed SQL-Group comparison to register <instance>-SQL-Group,
1307     just like rlm_ldap.  This lets you have multiple SQL group checks.
1308   * Fix scanning of octal numbers in "unlang".  Closes bug #89.
1309   * Be less aggressive about freeing "stuck" requests.  Closes bug #35.
1310   * Fix example in "originate-coa" to refer to the correct packet.
1311   * Change default timeout for dynamic clients to 1 hour, not 1 day.
1312   * Allow passwd module to map IP addresses, too.
1313   * Allow passwd module to be used for CoA packets
1314   * Put boot filename into DHCP header when DHCP-Boot-Filename
1315     is specified.
1316   * raddb/certs/Makefile no longer has certs depend on index.txt and
1317      serial.  Closes bug #64.
1318   * Ignore NULL errorcode in PostgreSQL client.  Closes bug #39
1319   * Made Exec-Program and Exec-Program-Wait work in accounting
1320     section again.  See sites-available/default.
1321   * Fix long-standing memory leak in esoteric conditions.  Found
1322     by Jerry Nichols.
1323   * Added "Password-With-Header == userPassword" to raddb/ldap.attrmap
1324     This will automatically convert more passwords.
1325   * Updated rlm_pap to decode Password-With-Header, if it was base64
1326     encoded, and to treat the contents as potentially binary data.
1327   * Fix Novell eDir code to use the right function parameters.
1328     Closes bug #86.
1329   * Allow spaces to be escaped when executing external programs.
1330     Closes bug #93.
1331   * Be less restrictive about checking permissions on control socket.
1332     If we're root, allow connecting to a non-root socket.
1333   * Remove control socket on normal server exit.  If the server isn't
1334     running, the control socket should not exist.
1335   * Use MS-CHAP-User-Name as Name field from EAP-MSCHAPv2 for MS-CHAP
1336     calculations.  It *MAY* be different (upper / lower case) from
1337     the User-Name attribute.  Closes bug #17.
1338   * If the EAP-TLS methods have problems, more SSL errors are now
1339     available in the Module-Failure-Message attribute.
1340   * Update Oracle configure scripts.  Closes bug #57.
1341   * Added text to DESC fields of doc/examples/openldap.schema
1342   * Updated more documentation to use "Restructured Text" format.
1343     Thanks to James Lockie.
1344   * Fixed typos in raddb/sql/mssql/dialup.conf.  Closes bug #11.
1345   * Return error for potential proxy loops when using "-XC"
1346   * Produce better error messages when slow databases block
1347     the server.
1348   * Added notes on DHCP broadcast packets for FreeBSD.
1349   * Fixed crash when parsing some date strings.  Closes bug #98
1350   * Improperly formatted Attributes are now printed as "Attr-##".
1351     If they are not correct, they should not use the dictionary name.
1352   * Fix rlm_digest to be check the format of the Digest attributes,
1353     and return "noop" rather than "fail" if they're not right.
1354   * Enable "digest" in raddb/sites-available/default.  This change
1355     enables digest authentication to work "out of the box".
1356   * Be less aggressive about marking home servers as zombie.
1357     If they are responding to some packets, they are still alive.
1358   * Added Packet-Transmit-Counter, to track detail file retransmits.
1359     Closes bug #13.
1360   * Added configure check for lt_dladvise_init().  If it exists, then
1361     using it solves some issues related to libraries loading libraries.
1362   * Added indexes to the MySQL IP Pool schema.
1363   * Print WARNING message if too many attributes are put into a packet.
1364   * Include dhcp test client (not built by default)
1365   * Added checks for LDAP constraint violation.  Closes bug #18.
1366   * Change default raddebug timeout to 60 seconds.
1367   * Made error / warning messages more consistent.
1368   * Correct back-slash handling in variable expansion.  Closes bug #46.
1369     You SHOULD check your configuration for backslash expansion!
1370   * Fix typo in "configure" script (--enable-libltdl-install)
1371   * Use local libltdl in more situations.  This helps to avoid
1372     compile issues complaining about lt__PROGRAM__LTX_preloaded_symbols.
1373   * Fix hang on startup when multiple home servers were defined
1374     with "src_ipaddr" field.
1375   * Fix 32/64 bit issue in rlm_ldap.  Closes bug #105.
1376   * If the first "listen" section defines 127.0.0.1, don't use that
1377     as a source IP for proxying.  It won't work.
1378   * When Proxy-To-Realm is set to a non-existent realm, the EAP module
1379     should handle the request, rather than expecting it to be proxied.
1380   * Fix IPv4 issues with udpfromto.  Closes bug #110.
1381   * Clean up child processes of raddebug.  Closes bugs #108 and #109
1382   * retry OTP if the OTP daemon fails.  Closes bug #58.
1383   * Multiple calls to ber_printf seem to work better.  Closes #106.
1384   * Fix "unlang" so that "attribute not found" is treated as a "false"
1385     comparison, rather than a syntax error in the configuration.
1386   * Fix issue with "Group" attribute.
1387
1388 * Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.9-3
1389 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
1390
1391 * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.1.9-2
1392 - Mass rebuild with perl-5.12.0
1393
1394 * Mon May 24 2010 John Dennis <jdennis@redhat.com> - 2.1.9-1
1395 - update to latest upstream, mainly bug fix release
1396   Feature improvements
1397   * Add radmin command "stats detail <file>" to see what
1398     is going on inside of a detail file reader.
1399   * Added documentation for CoA.  See raddb/sites-available/coa
1400   * Add sub-option support for Option 82.  See dictionary.dhcp
1401   * Add "server" field to default SQL NAS table, and documented it.
1402
1403   Bug fixes
1404   * Reset "received ping" counter for Status-Server checks.  In some
1405     corner cases it was not getting reset.
1406   * Handle large VMPS attributes.
1407   * Count accounting responses from a home server in SNMP / statistics
1408     code.
1409   * Set EAP-Session-Resumed = Yes, not "No" when session is resumed.
1410   * radmin packet counter statistics are now unsigned, for numbers
1411     2^31..2^32.  After that they roll over to zero.
1412   * Be more careful about expanding data in PAP and MS-CHAP modules.
1413     This prevents login failures when passwords contain '{'.
1414   * Clean up zombie children if there were many "exec" modules being
1415     run for one packet, all with "wait = no".
1416   * re-open log file after HUP.  Closes bug #63.
1417   * Fix "no response to proxied packet" complaint for Coa / Disconnect
1418     packets.  It shouldn't ignore replies to packets it sent.
1419   * Calculate IPv6 netmasks correctly.  Closes bug #69.
1420   * Fix SQL module to re-open sockets if they unexpectedly close.
1421   * Track scope for IPv6 addresses.  This lets us use link-local
1422     addresses properly.  Closes bug #70.
1423   * Updated Makefiles to no longer use the shell for recursing into
1424     subdirs.  "make -j 2" should now work.
1425   * Updated raddb/sql/mysql/ippool.conf to use "= NULL".  Closes
1426     bug #75.
1427   * Updated Makefiles so that "make reconfig" no longer uses the shell
1428     for recursing into subdirs, and re-builds all "configure" files.
1429   * Used above method to regenerate all configure scripts.
1430     Closes bug #34.
1431   * Updated SQL module to allow "server" field of "nas" table
1432     to be blank: "".  This means the same as it being NULL.
1433   * Fixed regex realm example.  Create Realm attribute with value
1434     of realm from User-Name, not from regex.  Closes bug #40.
1435   * If processing a DHCP Discover returns "fail / reject", ignore
1436     the packet rather than sending a NAK.
1437   * Allow '%%' to be escaped in sqlcounter module.
1438   * Fix typo internal hash table.
1439   * For PEAP and TTLS, the tunneled reply is added to the reply,
1440     rather than integrated via the operators.  This allows multiple
1441     VSAs to be added, where they would previously be discarded.
1442   * Make request number unsigned.  This changes nothing other than
1443     the debug output when the server receives more than 2^31 packets.
1444   * Don't block when reading child output in 'exec wait'.  This means
1445     that blocked children get killed, instead of blocking the server.
1446   * Enabled building without any proxy functionality
1447   * radclient now prefers IPv4, to match the default server config.
1448   * Print useful error when a realm regex is invalid
1449   * relaxed rules for preprocess module "with_cisco_vsa_hack".  The
1450     attributes can now be integer, ipaddr, etc.  (i.e. non-string)
1451   * Allow rlm_ldap to build if ldap_set_rebind_proc() has only
1452     2 arguments.
1453   * Update configure script for rlm_python to avoid dynamic linking
1454     problems on some platforms.
1455   * Work-around for bug #35
1456   * Do suid to "user" when running in debug mode as root
1457   * Make "allow_core_dumps" work in more situations.
1458   * In detail file reader, treat bad records as EOF.
1459     This allows it to continue working when the disk is full.
1460   * Fix Oracle default accounting queries to work when there are no
1461     gigawords attributes.  Other databases already had the fix.
1462   * Fix rlm_sql to show when it opens and closes sockets.  It already
1463     says when it cannot connect, so it should say when it can connect.
1464   * "chmod -x" for a few C source files.
1465   * Pull update spec files, etc. from RedHat into the redhat/ directory.
1466   * Allow spaces when parsing integer values.  This helps people who
1467     put "too much" into an SQL value field.
1468
1469 * Thu Jan  7 2010 John Dennis <jdennis@redhat.com> - 2.1.8-2
1470 - resolves: bug #526559 initial install should run bootstrap to create certificates
1471   running radiusd in debug mode to generate inital temporary certificates
1472   is no longer necessary, the /etc/raddb/certs/bootstrap is invoked on initial
1473   rpm install (not upgrade) if there is no existing /etc/raddb/certs/server.pem file
1474 - resolves: bug #528493 use sha1 algorithm instead of md5 during cert generation
1475   the certificate configuration (/etc/raddb/certs/{ca,server,client}.cnf) files
1476   were modifed to use sha1 instead of md5 and the validity reduced from 1 year to 2 months
1477
1478 * Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.8-1
1479 - update to latest upstream
1480   Feature improvements
1481   * Print more descriptive error message for too many EAP sessions.
1482     This gives hints on what to do when "failed to store handler"
1483   * Commands received from radmin are now printed on stdout when
1484     in debugging mode.
1485   * Allow accounting packets to be written to a detail file, even
1486     if they were read from a different detail file.
1487   * Added OpenSSL license exception (src/LICENSE.openssl)
1488
1489   Bug fixes
1490   * DHCP sockets can now set the broadcast flag before binding to a
1491     socket.  You need to set "broadcast = yes" in the DHCP listener.
1492   * Be more restrictive on string parsing in the config files
1493   * Fix password length in scripts/create-users.pl
1494   * Be more flexible about parsing the detail file.  This allows
1495     it to read files where the attributes have been edited.
1496   * Ensure that requests read from the detail file are cleaned up
1497     (i.e. don't leak) if they are proxied without a response.
1498   * Write the PID file after opening sockets, not before
1499     (closes bug #29)
1500   * Proxying large numbers of packets no longer gives error
1501     "unable to open proxy socket".
1502   * Avoid mutex locks in libc after fork
1503   * Retry packet from detail file if there was no response.
1504   * Allow old-style dictionary formats, where the vendor name is the
1505     last field in an ATTRIBUTE definition.
1506   * Removed all recursive use of mutexes.  Some systems just don't
1507     support this.
1508   * Allow !* to work as documented.
1509   * make templates work (see templates.conf)
1510   * Enabled "allow_core_dumps" to work again
1511   * Print better errors when reading invalid dictionaries
1512   * Sign client certificates with CA, rather than server certs.
1513   * Fix potential crash in rlm_passwd when file was closed
1514   * Fixed corner cases in conditional dynamic expansion.
1515   * Use InnoDB for MySQL IP Pools, to gain transactional support
1516   * Apply patch to libltdl for CVE-2009-3736.
1517   * Fixed a few issues found by LLVM's static checker
1518   * Keep track of "bad authenticators" for accounting packets
1519   * Keep track of "dropped packets" for auth/acct packets
1520   * Synced the "debian" directory with upstream
1521   * Made "unlang" use unsigned 32-bit integers, to match the
1522     dictionaries.
1523
1524 * Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.7-7
1525 - Remove devel subpackage. It doesn't make much sense to have a devel package since
1526   we don't ship libraries and it produces multilib conflicts.
1527
1528 * Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-6
1529 - more spec file clean up from review comments
1530 - remove freeradius-libs subpackage, move libfreeradius-eap and
1531   libfreeradius-radius into the main package
1532 - fix subpackage requires, change from freeradius-libs to main package
1533 - fix description of the devel subpackage, remove referene to non-shipped libs
1534 - remove execute permissions on src files included in debuginfo
1535 - remove unnecessary use of ldconfig
1536 - since all sub-packages now require main package remove user creation for sub-packages
1537 - also include the LGPL library license file in addition to the GPL license file
1538 - fix BuildRequires for perl so it's compatible with both Fedora, RHEL5 and RHEL6
1539
1540 * Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-5
1541 - fix various rpmlint issues.
1542
1543 * Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.1.7-4
1544 - rebuild against perl 5.10.1
1545
1546 * Thu Dec  3 2009 John Dennis <jdennis@redhat.com> - 2.1.7-3
1547 - resolves: bug #522111 non-conformant initscript
1548   also change permission of /var/run/radiusd from 0700 to 0755
1549   so that "service radiusd status" can be run as non-root
1550
1551 * Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.7-2
1552 - use password-auth common PAM configuration instead of system-auth
1553
1554 * Tue Sep 15 2009 John Dennis <jdennis@redhat.com> - 2.1.7-1
1555 - enable building of the rlm_wimax module
1556 - pcap wire analysis support is enabled and available in utils subpackage
1557 - Resolves bug #523053 radtest manpage in wrong package
1558 - update to latest upstream release, from upstream Changelog:
1559   Feature improvements
1560     * Full support for CoA and Disconnect packets as per RFC 3576
1561       and RFC 5176.  Both receiving and proxying CoA is supported.
1562     * Added "src_ipaddr" configuration to "home_server".  See
1563       proxy.conf for details.
1564     * radsniff now accepts -I, to read from a filename instead of
1565       a device.
1566     * radsniff also prints matching requests and any responses to those
1567       requests when '-r' is used.
1568     * Added example of attr_filter for Access-Challenge packets
1569     * Added support for udpfromto in DHCP code
1570     * radmin can now selectively mark modules alive/dead.
1571       See "set module state".
1572     * Added customizable messages on login success/fail.
1573       See msg_goodpass && msg_badpass in log{} section of radiusd.conf
1574     * Document "chase_referrals" and "rebind" in raddb/modules/ldap
1575     * Preliminary implementation of DHCP relay.
1576     * Made thread pool section optional.  If it doesn't exist,
1577       the server will run single-threaded.
1578     * Added sample radrelay.conf for people upgrading from 1.x
1579     * Made proxying more stable by failing over, rather than
1580       rejecting the first request.  See "response_window" in proxy.conf
1581     * Allow home_server_pools to exist without realms.
1582     * Add dictionary.iea (closes bug #7)
1583     * Added support for RFC 5580
1584     * Added experimental sql_freetds module from Gabriel Blanchard.
1585     * Updated dictionary.foundry
1586     * Added sample configuration for MySQL cluster in raddb/sql/ndb
1587       See the README file for explanations.
1588   Bug fixes
1589     * Fixed corner case where proxied packets could have extra
1590       character in User-Password attribute.  Fix from Niko Tyni.
1591     * Extended size of "attribute" field in SQL to 64.
1592     * Fixes to ruby module to be more careful about when it builds.
1593     * Updated Perl module "configure" script to check for broken
1594       Perl installations.
1595     * Fix "status_check = none".  It would still send packets
1596       in some cases.
1597     * Set recursive flag on the proxy mutex, which enables safer
1598       cleanup on some platforms.
1599     * Copy the EAP username verbatim, rather than escaping it.
1600     * Update handling so that robust-proxy-accounting works when
1601       all home servers are down for extended periods of time.
1602     * Look for DHCP option 53 anywhere in the packet, not just
1603       at the start.
1604     * Fix processing of proxy fail handler with virtual servers.
1605     * DHCP code now prints out correct src/dst IP addresses
1606       when sending packets.
1607     * Removed requirement for DHCP to have clients
1608     * Fixed handling of DHCP packets with message-type buried in the packet
1609     * Fixed corner case with negation in unlang.
1610     * Minor fixes to default MySQL & PostgreSQL schemas
1611     * Suppress MSCHAP complaints in debugging mode.
1612     * Fix SQL module for multiple instance, and possible crash on HUP
1613     * Fix permissions for radius.log for sites that change user/group,
1614       but which don't create the file before starting radiusd.
1615     * Fix double counting of packets when proxying
1616     * Make %%l work
1617     * Fix pthread keys in rlm_perl
1618     * Log reasons for EAP failure (closes bug #8)
1619     * Load home servers and pools that aren't referenced from a realm.
1620     * Handle return codes from virtual attributes in "unlang"
1621       (e.g. LDAP-Group).  This makes "!(expr)" work for them.
1622     * Enable VMPS to see contents of virtual server again
1623     * Fix WiMAX module to be consistent with examples.  (closes bug #10)
1624     * Fixed crash with policies dependent on NAS-Port comparisons
1625     * Allowed vendor IDs to be be higher than 32767.
1626     * Fix crash on startup with certain regexes in "hints" file.
1627     * Fix crash in attr_filter module when packets don't exist
1628     * Allow detail file reader to be faster when "load_factor = 100"
1629     * Add work-around for build failures with errors related to
1630       lt__PROGRAM__LTX_preloaded_symbols.  libltdl / libtool are horrible.
1631     * Made ldap module "rebind" option aware of older, incompatible
1632       versions of OpenLDAP.
1633     * Check value of Fall-Through in attr_filter module.
1634
1635 * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.6-6
1636 - rebuilt with new openssl
1637
1638 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-5
1639 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1640
1641 * Fri Jul 10 2009 John Dennis <jdennis@redhat.com> - 2.1.6-4
1642 - install COPYRIGHT CREDITS INSTALL LICENSE README into docdir
1643
1644 * Tue Jun 23 2009 John Dennis <jdennis@redhat.com> - 2.1.6-3
1645 - resolves bug #507571 freeradius packages do not check for user/group existence
1646
1647 * Tue Jun  2 2009 John Dennis <jdennis@redhat.com> - 2.1.6-2
1648 - make /etc/raddb/sites-available/* be config(noreplace)
1649
1650 * Mon May 18 2009 John Dennis <jdennis@redhat.com> - 2.1.6-1
1651 - update to latest upstream release, from upstream Changelog:
1652   Feature improvements
1653     * radclient exits with 0 on successful (accept / ack), and 1
1654       otherwise (no response / reject)
1655     * Added support for %%{sql:UPDATE ..}, and insert/delete
1656       Patch from Arran Cudbard-Bell
1657     * Added sample "do not respond" policy.  See raddb/policy.conf
1658       and raddb/sites-available/do_not_respond
1659     * Cleanups to Suse spec file from Norbert Wegener
1660     * New VSAs for Juniper from Bjorn Mork
1661     * Include more RFC dictionaries in the default install
1662     * More documentation for the WiMAX module
1663     * Added "chase_referrals" and "rebind" configuration to rlm_ldap.
1664       This helps with Active Directory.  See raddb/modules/ldap
1665     * Don't load pre/post-proxy if proxying is disabled.
1666     * Added %%{md5:...}, which returns MD5 hash in hex.
1667     * Added configurable "retry_interval" and "poll_interval"
1668       for "detail" listeners.
1669     * Added "delete_mppe_keys" configuration option to rlm_wimax.
1670       Apparently some WiMAX clients misbehave when they see those keys.
1671     * Added experimental rlm_ruby from
1672       http://github.com/Antti/freeradius-server/tree/master
1673     * Add Tunnel attributes to ldap.attrmap
1674     * Enable virtual servers to be reloaded on HUP.  For now, only
1675       the "authorize", "authenticate", etc. processing sections are
1676       reloaded.  Clients and "listen" sections are NOT reloaded.
1677     * Updated "radwatch" script to be more robust.  See scripts/radwatch
1678     * Added certificate compatibility notes in raddb/certs/README,
1679       for compatibility with different operating systems. (i.e. Windows)
1680     * Permit multiple "-e" in radmin.
1681     * Add support for originating CoA-Request and Disconnect-Request.
1682       See raddb/sites-available/originate-coa.
1683     * Added "lifetime" and "max_queries" to raddb/sql.conf.
1684       This helps address the problem of hung SQL sockets.
1685     * Allow packets to be injected via radmin.  See "inject help"
1686       in radmin.
1687     * Answer VMPS reconfirmation request.  Patch from Hermann Lauer.
1688     * Sample logrotate script in scripts/logrotate.freeradius
1689     * Add configurable poll interval for "detail" listeners
1690     * New "raddebug" command.  This prints debugging information from
1691       a running server.  See "man raddebug.
1692     * Add "require_message_authenticator" configuration to home_server
1693       configuration.  This makes the server add Message-Authenticator
1694       to all outgoing Access-Request packets.
1695     * Added smsotp module, as contributed by Siemens.
1696     * Enabled the administration socket in the default install.
1697       See raddb/sites-available/control-socket, and "man radmin"
1698     * Handle duplicate clients, such as with replicated or
1699       load-balanced SQL servers and "readclients = yes"
1700   Bug fixes
1701     * Minor changes to allow building without VQP.
1702     * Minor fixes from John Center
1703     * Fixed raddebug example
1704     * Don't crash when deleting attributes via unlang
1705     * Be friendlier to very fast clients
1706     * Updated the "detail" listener so that it only polls once,
1707       and not many times in a row, leaking memory each time...
1708     * Update comparison for Packet-Src-IP-Address (etc.) so that
1709       the operators other than '==' work.
1710     * Did autoconf magic to work around weird libtool bug
1711     * Make rlm_perl keep tags for tagged attributes in more situations
1712     * Update UID checking for radmin
1713     * Added "include_length" field for TTLS.  It's needed for RFC
1714       compliance, but not (apparently) for interoperability.
1715     * Clean up control sockets when they are closed, so that we don't
1716       leak memory.
1717     * Define SUN_LEN for systems that don't have it.
1718     * Correct some boundary conditions in the conditional checker ("if")
1719       in "unlang".  Bug noted by Arran Cudbard-Bell.
1720     * Work around minor building issues in gmake.  This should only
1721       have affected developers.
1722     * Change how we manage unprivileged user/group, so that we do not
1723       create control sockets owned by root.
1724     * Fixed more minor issues found by Coverity.
1725     * Allow raddb/certs/bootstrap to run when there is no "make"
1726       command installed.
1727     * In radiusd.conf, run_dir depends on the name of the program,
1728       and isn't hard-coded to "..../radiusd"
1729     * Check for EOF in more places in the "detail" file reader.
1730     * Added Freeswitch dictionary.
1731     * Chop ethernet frames in VMPS, rather than droppping packets.
1732     * Fix EAP-TLS bug.  Patch from Arnaud Ebalard
1733     * Don't lose string for regex-compares in the "users" file.
1734     * Expose more functions in rlm_sql to rlm_sqlippool, which
1735       helps on systems where RTLD_GLOBAL is off.
1736     * Fix typos in MySQL schemas for ippools.
1737     * Remove macro that was causing build issues on some platforms.
1738     * Fixed issues with dead home servers.  Bug noted by Chris Moules.
1739     * Fixed "access after free" with some dynamic clients.
1740
1741 - fix packaging bug, some directories missing execute permission
1742   /etc/raddb/dictionary now readable by all.
1743
1744 * Tue Feb 24 2009 John Dennis <jdennis@redhat.com> - 2.1.3-4
1745 - fix type usage in unixodbc to match new type usage in unixodbc API
1746
1747 * Thu Feb 19 2009 John Dennis <jdennis@redhat.com> - 2.1.3-3
1748 - add pointer to Red Hat documentation in docdir
1749
1750 * Sat Jan 24 2009 Caolán McNamara <caolanm@redhat.com> - 2.1.3-2
1751 - rebuild for dependencies
1752
1753 * Thu Dec  4 2008 John Dennis <jdennis@redhat.com> - 2.1.3-1
1754 - upgrade to latest upstream release, upstream summary follows:
1755   The focus of this release is stability.
1756   Feature Improvements:
1757     * Allow running with "user=radiusd" and binding to secure sockets.
1758     * Start sending Status-Server "are you alive" messages earlier, which
1759       helps with proxying multiple realms to a home server.
1760     * Removed thread pool code from rlm_perl.  It's not necessary.
1761     * Added example Perl configuration to raddb/modules/perl
1762     * Force OpenSSL to support certificates with SHA256. This seems to be
1763       necessary for WiMAX certs.
1764   Bug fixes:
1765     * Fix Debian patch to allow it to build.
1766     * Fix potential NULL dereference in debugging mode on certain
1767       platforms for TTLS and PEAP inner tunnels.
1768     * Fix uninitialized memory in handling of vendor definitions
1769     * Fix parsing of quoted (but non-string) attributes in the "users" file.
1770     * Initialize uknown NAS IP to 255.255.255.255, rather than 0.0.0.0
1771     * use SUN_LEN in control socket, to avoid truncation on some platforms.
1772     * Correct internal handling of "debug condition" to prevent it from
1773       being over-written.
1774     * Check return code of regcomp in "unlang", so that invalid regular
1775       expressions are caught rather than mishandled.
1776     * Make rlm_sql use <ltdl.h>.  Addresses bug #610.
1777     * Document list "type = status" better.  Closes bug #580.
1778     * Set "default days" for certificates, because OpenSSL won't do it.
1779       This closes bug #615.
1780     * Reference correct list in example raddb/modules/ldap. Closes #596.
1781     * Increase default schema size for Acct-Session-Id to 64. Closes #540.
1782     * Fix use of temporary files in dialup-admin.  Closes #605 and
1783       addresses CVE-2008-4474.
1784     * Addressed a number of minor issues found by Coverity.
1785     * Added DHCP option 150 to the dictionary.  Closes #618.
1786
1787 * Wed Dec  3 2008 John Dennis <jdennis@redhat.com> - 2.1.1-8
1788 - add --with-system-libtool to configure as a workaround for
1789 undefined reference to lt__PROGRAM__LTX_preloaded_symbols
1790
1791 * Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
1792 - add obsoletes tag for dialupadmin subpackages which were removed
1793
1794 * Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
1795 - add readline-devel BuildRequires
1796
1797 * Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.1.1-4
1798 - Rebuild for Python 2.6
1799
1800 * Fri Nov 21 2008 John Dennis <jdennis@redhat.com> - 2.1.1-3
1801 - make spec file buildable on RHEL5.2 by making perl-devel a fedora only dependency.
1802 - remove diaupadmin packages, it's not well supported and there are problems with it.
1803
1804 * Fri Sep 26 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
1805 - Resolves: bug #464119 bootstrap code could not create initial certs in /etc/raddb/certs because
1806   permissions were 750, radiusd running as euid radiusd could not write there, permissions now 770
1807
1808 * Thu Sep 25 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
1809 - upgrade to new upstream 2.1.1 release
1810
1811 * Wed Jul 30 2008 John Dennis <jdennis@redhat.com> - 2.0.5-2
1812 - Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
1813   specify file attributes for /etc/raddb/ldap.attrmap
1814   fix consistent use of tabs/spaces (rpmlint warning)
1815
1816 * Mon Jun  9 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
1817 - upgrade to latest upstream, see Changelog for details,
1818   upstream now has more complete fix for bug #447545, local patch removed
1819
1820 * Wed May 28 2008 John Dennis <jdennis@redhat.com> - 2.0.4-1
1821 - upgrade to latest upstream, see Changelog for details
1822 - resolves: bug #447545: freeradius missing /etc/raddb/sites-available/inner-tunnel
1823
1824 * Fri May 16 2008  <jdennis@redhat.com> - 2.0.3-3
1825 - # Temporary fix for bug #446864, turn off optimization
1826
1827 * Fri Apr 18 2008 John Dennis <jdennis@redhat.com> - 2.0.3-2
1828 - remove support for radrelay, it's different now
1829 - turn off default inclusion of SQL config files in radiusd.conf since SQL
1830   is an optional RPM install
1831 - remove mssql config files
1832
1833 * Thu Apr 17 2008 John Dennis <jdennis@redhat.com> - 2.0.3-1
1834 - Upgrade to current upstream 2.0.3 release
1835 - Many thanks to Enrico Scholz for his spec file suggestions incorporated here
1836 - Resolve: bug #438665: Contains files owned by buildsystem
1837 - Add dialupadmin-mysql, dialupadmin-postgresql, dialupadmin-ldap subpackages
1838   to further partition external dependencies.
1839 - Clean up some unnecessary requires dependencies
1840 - Add versioned requires between subpackages
1841
1842 * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.2-2
1843 - add Requires for versioned perl (libperl.so)
1844
1845 * Thu Feb 28 2008  <jdennis@redhat.com> - 2.0.2-1
1846 - upgrade to new 2.0 release
1847 - split into subpackages for more fine grained installation
1848
1849 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.7-4.4.ipa
1850 - Autorebuild for GCC 4.3
1851
1852 * Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.7-3.4.ipa
1853 - Rebuild for deps
1854
1855 * Sat Nov 10 2007  <jdennis@redhat.com> - 1.1.7-3.3.ipa
1856 - add support in rlm_ldap for reading clients from ldap
1857 - fix TLS parameter controling if a cert which fails to validate
1858   will be accepted (i.e. self-signed),
1859   rlm_ldap config parameter=tls_require_cert
1860   ldap LDAP_OPT_X_TLS_REQUIRE_CERT parameter was being passed to
1861   ldap_set_option() when it should have been ldap_int_tls_config()
1862
1863 * Sat Nov 3 2007  <jdennis@redhat.com> - 1.1.7-3.2.ipa
1864 - add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server
1865
1866 * Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3.1
1867 - made init script fully lsb conform
1868
1869 * Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
1870 - fixed initscript problem (rhbz#292521)
1871
1872 * Tue Aug 28 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-2
1873 - fixed initscript for LSB (rhbz#243671, rhbz#243928)
1874 - fixed license tag
1875
1876 * Tue Aug  7 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-1
1877 - new versin 1.1.7
1878 - install snmp MIB files
1879 - dropped LDAP_DEPRECATED flag, it is upstream
1880 - marked config files for sub packages as config (rhbz#240400)
1881 - moved db files to /var/lib/raddb (rhbz#199082)
1882
1883 * Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-2
1884 - radiusd expects /etc/raddb to not be world readable or writable
1885   /etc/raddb now belongs to radiusd, post script sets permissions
1886
1887 * Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-1
1888 - new version 1.1.6
1889
1890 * Fri Mar  9 2007 Thomas Woerner <twoerner@redhat.com> 1.1.5-1
1891 - new version 1.1.5
1892   - no /etc/raddb/otppasswd.sample anymore
1893   - build is pie by default, dropped pie patch
1894 - fixed build requirement for perl (perl-devel)
1895
1896 * Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.1.3-3
1897 - remove trailing dot from summary
1898 - fix buildroot
1899 - fix post/postun/preun requirements
1900 - use rpm macros
1901
1902 * Fri Dec  8 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2.1
1903 - rebuild for new postgresql library version
1904
1905 * Thu Nov 30 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2
1906 - fixed ldap code to not use internals, added LDAP_DEPRECATED compile time flag
1907   (#210912)
1908
1909 * Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-1
1910 - new version 1.1.3 with lots of upstream bug fixes, some security fixes
1911   (#205654)
1912
1913 * Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-2
1914 - commented out include for sql.conf in radiusd.conf (#202561)
1915
1916 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.2-1.1
1917 - rebuild
1918
1919 * Thu Jun  1 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-1
1920 - new version 1.1.2
1921
1922 * Wed May 31 2006 Thomas Woerner <twoerner@redhat.com> 1.1.1-1
1923 - new version 1.1.1
1924 - fixed incorrect rlm_sql globbing (#189095)
1925   Thanks to Yanko Kaneti for the fix.
1926 - fixed chown syntax in post script (#182777)
1927 - dropped gcc34, libdir and realloc-return patch
1928 - spec file cleanup with additional libtool build fixes
1929
1930 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2
1931 - bump again for double-long bug on ppc(64)
1932
1933 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.1
1934 - rebuilt for new gcc4.1 snapshot and glibc changes
1935
1936 * Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 1.0.5-1
1937 - new version 1.0.5
1938
1939 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1940 - rebuilt
1941
1942 * Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 1.0.4-5
1943 - Rebuild due to mysql update.
1944
1945 * Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-4
1946 - rebuilt with new openssl
1947 - fixed ignored return value of realloc
1948
1949 * Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-3
1950 - use include instead of pam_stack in pam config
1951
1952 * Wed Jul 20 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-2
1953 - added missing build requires for libtool-ltdl-devel (#160877)
1954 - modified file list to get a report for missing plugins
1955
1956 * Tue Jun 28 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-1
1957 - new version 1.0.4
1958 - droppend radrelay patch (fixed upstream)
1959
1960 * Thu Apr 14 2005 Warren Togami <wtogami@redhat.com> 1.0.2-2
1961 - rebuild against new postgresql-libs
1962
1963 * Mon Apr  4 2005 Thomas Woerner <twoerner@redhat.com> 1.0.2-1
1964 - new version 1.0.2
1965
1966 * Fri Nov 19 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-3
1967 - rebuild for MySQL 4
1968 - switched over to installed libtool
1969
1970 * Fri Nov  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2
1971 - Fixed install problem of radeapclient (#138069)
1972
1973 * Wed Oct  6 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-1
1974 - new version 1.0.1
1975 - applied radrelay CVS patch from Kevin Bonner
1976
1977 * Wed Aug 25 2004 Warren Togami <wtogami@redhat.com> 1.0.0-3
1978 - BuildRequires pam-devel and libtool
1979 - Fix errant text in description
1980 - Other minor cleanups
1981
1982 * Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2.1
1983 - renamed /etc/pam.d/radius to /etc/pam.d/radiusd to match default
1984   configuration (#130613)
1985
1986 * Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2
1987 - fixed BuildRequires for openssl-devel (#130606)
1988
1989 * Mon Aug 16 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-1
1990 - 1.0.0 final
1991
1992 * Mon Jul  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.2
1993 - added buildrequires for zlib-devel (#127162)
1994 - fixed libdir patch to prefer own libeap instead of installed one (#127168)
1995 - fixed samba account maps in LDAP for samba v3 (#127173)
1996
1997 * Thu Jul  1 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.1
1998 - third "pre" release of version 1.0.0
1999 - rlm_ldap is using SASLv2 (#126507)
2000
2001 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
2002 - rebuilt
2003
2004 * Thu Jun  3 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-4.1
2005 - fixed BuildRequires for gdbm-devel
2006
2007 * Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 0.9.3-4
2008 - gcc34 compilation fixes
2009
2010 * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
2011 - rebuilt
2012
2013 * Tue Feb 24 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-3.2
2014 - added sql scripts for rlm_sql to documentation (#116435)
2015
2016 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
2017 - rebuilt
2018
2019 * Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2.1
2020 - using -fPIC instead of -fpic for s390 ans s390x
2021
2022 * Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2
2023 - radiusd is pie, now
2024
2025 * Tue Nov 25 2003 Thomas Woerner <twoerner@redhat.com> 0.9.3-1
2026 - new version 0.9.3 (bugfix release)
2027
2028 * Fri Nov  7 2003 Thomas Woerner <twoerner@redhat.com> 0.9.2-1
2029 - new version 0.9.2
2030
2031 * Mon Sep 29 2003 Thomas Woerner <twoerner@redhat.com> 0.9.1-1
2032 - new version 0.9.1
2033
2034 * Mon Sep 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.0-2.2
2035 - modify default PAM configuration to remove the directory part of the module
2036   name, so that 32- and 64-bit libpam (called from 32- or 64-bit radiusd) on
2037   multilib systems will always load the right module for the architecture
2038 - modify default PAM configuration to use pam_stack
2039
2040 * Mon Sep  1 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-2.1
2041 - com_err.h moved to /usr/include/et
2042
2043 * Tue Jul 22 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-1
2044 - 0.9.0 final
2045
2046 * Wed Jul 16 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-0.9.0
2047 - new version 0.9.0 pre3
2048
2049 * Thu May 22 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-6
2050 - included directory /var/log/radius/radacct for logrotate
2051
2052 * Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-5
2053 - moved log and run dir to files section, cleaned up post
2054
2055 * Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-4
2056 - added missing run dir in post
2057
2058 * Tue May 20 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-3
2059 - fixed module load patch
2060
2061 * Fri May 16 2003 Thomas Woerner <twoerner@redhat.com>
2062 - removed la files, removed devel package
2063 - split into 4 packages: freeradius, freeradius-mysql, freeradius-postgresql,
2064     freeradius-unixODBC
2065 - fixed requires and buildrequires
2066 - create logging dir in post if it does not exist
2067 - fixed module load without la files
2068
2069 * Thu Apr 17 2003 Thomas Woerner <twoerner@redhat.com>
2070 - Initial build.
2071