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