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