Pull change from RedHat devel
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 May 2010 13:16:53 +0000 (15:16 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 May 2010 14:31:44 +0000 (16:31 +0200)
redhat/freeradius.spec

index fbc6b8c..fa98acb 100644 (file)
-Summary: High-performance and highly configurable RADIUS server
+Summary: High-performance and highly configurable free RADIUS server
+Name: freeradius
+Version: 2.1.8
+Release: 2%{?dist}
+License: GPLv2+ and LGPLv2+
+Group: System Environment/Daemons
 URL: http://www.freeradius.org/
-Name: freeradius-server
-Version: 2.2.0
-Release: 0
-License: GPL
-Group: Networking/Daemons
-Packager: FreeRADIUS.org
-Source0: %{name}-%{version}.tar.gz
-Prereq: /sbin/chkconfig
-BuildPreReq: libtool libtool-ltdl-devel
-# FIXME: snmpwalk, snmpget and rusers POSSIBLY needed by checkrad
-Provides: radiusd
-Conflicts: cistron-radius
-BuildRoot: %{_tmppath}/%{name}-root
+
+Source0: ftp://ftp.freeradius.org/pub/radius/freeradius-server-%{version}.tar.bz2
+Source100: freeradius-radiusd-init
+Source102: freeradius-logrotate
+Source103: freeradius-pam-conf
+
+Patch1: freeradius-cert-config.patch
+
+Obsoletes: freeradius-devel
+Obsoletes: freeradius-libs
+
+%define docdir %{_docdir}/freeradius-%{version}
+%define initddir %{?_initddir:%{_initddir}}%{!?_initddir:%{_initrddir}}
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf
+BuildRequires: gdbm-devel
+BuildRequires: libtool
+BuildRequires: libtool-ltdl-devel
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+BuildRequires: zlib-devel
+BuildRequires: net-snmp-devel
+BuildRequires: net-snmp-utils
+BuildRequires: readline-devel
+BuildRequires: libpcap-devel
+
+Requires(pre): shadow-utils glibc-common
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig
 
 %description
-The FreeRADIUS Server Project is a high-performance and highly
-configurable GPL'd RADIUS server. It is somewhat similar to the
-Livingston 2.0 RADIUS server, but has many more features, and is much
-more configurable.
+The FreeRADIUS Server Project is a high performance and highly configurable
+GPL'd free RADIUS server. The server is similar in some respects to
+Livingston's 2.0 server.  While FreeRADIUS started as a variant of the
+Cistron RADIUS server, they don't share a lot in common any more. It now has
+many more features than Cistron or Livingston, and is much more configurable.
+
+FreeRADIUS is an Internet authentication daemon, which implements the RADIUS
+protocol, as defined in RFC 2865 (and others). It allows Network Access
+Servers (NAS boxes) to perform authentication for dial-up users. There are
+also RADIUS clients available for Web servers, firewalls, Unix logins, and
+more.  Using RADIUS allows authentication and authorization for a network to
+be centralized, and minimizes the amount of re-configuration which has to be
+done when adding or deleting new users.
+
+%package utils
+Group: System Environment/Daemons
+Summary: FreeRADIUS utilities
+Requires: %{name} = %{version}-%{release}
+Requires: libpcap >= 0.9.4
+
+%description utils
+The FreeRADIUS server has a number of features found in other servers,
+and additional features not found in any other server. Rather than
+doing a feature by feature comparison, we will simply list the features
+of the server, and let you decide if they satisfy your needs.
+
+Support for RFC and VSA Attributes Additional server configuration
+attributes Selecting a particular configuration Authentication methods
+
+%package ldap
+Summary: LDAP support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: openldap-devel
+
+%description ldap
+This plugin provides the LDAP support for the FreeRADIUS server project.
+
+%package krb5
+Summary: Kerberos 5 support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: krb5-devel
+
+%description krb5
+This plugin provides the Kerberos 5 support for the FreeRADIUS server project.
+
+%package perl
+Summary: Perl support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?fedora:BuildRequires: perl-devel}
+%if 0%{?rhel} <= 5
+BuildRequires: perl
+%endif
+%if 0%{?rhel} >= 6
+BuildRequires: perl-devel
+%endif
+BuildRequires: perl(ExtUtils::Embed)
+
+%description perl
+This plugin provides the Perl support for the FreeRADIUS server project.
+
+%package python
+Summary: Python support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: python-devel
+
+%description python
+This plugin provides the Python support for the FreeRADIUS server project.
+
+%package mysql
+Summary: MySQL support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: mysql-devel
+
+%description mysql
+This plugin provides the MySQL support for the FreeRADIUS server project.
+
+%package postgresql
+Summary: Postgresql support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: postgresql-devel
+
+%description postgresql
+This plugin provides the postgresql support for the FreeRADIUS server project.
+
+%package unixODBC
+Summary: Unix ODBC support for freeradius
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+BuildRequires: unixODBC-devel
+
+%description unixODBC
+This plugin provides the unixODBC support for the FreeRADIUS server project.
+
 
 %prep
-%setup
+%setup -q -n freeradius-server-%{version}
+%patch1 -p1 -b .cert-config
+# Some source files mistakenly have execute permissions set
+find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \) -a -perm /0111 -exec chmod a-x {} +
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" \
-%configure --prefix=%{_prefix} \
-       --localstatedir=%{_localstatedir} \
-       --sysconfdir=%{_sysconfdir} \
-       --mandir=%{_mandir} \
-       --with-docdir=%{_datadir}/doc/%{name}-%{version} \
-       --with-system-libtool \
-       --disable-ltdl-install \
-       --with-ltdl-lib=/usr/lib \
-       --with-ltdl-include=/usr/include \
-       --with-large-files --with-udpfromto --with-edir \
-       --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
-       --with-rlm-krb5-include-dir=/usr/kerberos/include \
-       --with-rlm-krb5-lib-dir=/usr/kerberos/lib
-make
+%ifarch s390 s390x
+export CFLAGS="$RPM_OPT_FLAGS -fPIC"
+%else
+export CFLAGS="$RPM_OPT_FLAGS -fpic"
+%endif
 
-%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+%configure \
+        --libdir=%{_libdir}/freeradius \
+        --with-system-libtool \
+        --disable-ltdl-install \
+        --with-gnu-ld \
+        --with-threads \
+        --with-thread-pool \
+        --with-docdir=%{docdir} \
+        --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
+        --with-rlm-sql-postgresql-lib-dir=%{_libdir} \
+        --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
+        --with-mysql-lib-dir=%{_libdir}/mysql \
+        --with-unixodbc-lib-dir=%{_libdir} \
+        --with-rlm-dbm-lib-dir=%{_libdir} \
+        --with-rlm-krb5-include-dir=/usr/kerberos/include \
+        --with-modules="rlm_wimax" \
+        --without-rlm_eap_ikev2 \
+        --without-rlm_sql_iodbc \
+        --without-rlm_sql_firebird \
+        --without-rlm_sql_db2 \
+        --without-rlm_sql_oracle
 
-mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,rc.d/init.d}
+%if "%{_lib}" == "lib64"
+perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
+%endif
 
-make install R=$RPM_BUILD_ROOT
+make
 
-RADDB=$RPM_BUILD_ROOT/etc/raddb
-# set radiusd as default user/group
-perl -i -pe 's/^#user =.*$/user = radiusd/' $RADDB/radiusd.conf
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/var/run/radiusd
+mkdir -p $RPM_BUILD_ROOT/var/lib/radiusd
+# fix for bad libtool bug - can not rebuild dependent libs and bins
+#FIXME export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}
+make install R=$RPM_BUILD_ROOT
+# modify default configuration
+RADDB=$RPM_BUILD_ROOT%{_sysconfdir}/raddb
+perl -i -pe 's/^#user =.*$/user = radiusd/'   $RADDB/radiusd.conf
 perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
-# shadow password file MUST be defined on Linux
-perl -i -pe 's/#       shadow =/shadow =/' $RADDB/radiusd.conf
+# logs
+mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
+touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}
+
+install -D -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{initddir}/radiusd
+install -D -m 644 %{SOURCE102} $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
+install -D -m 644 %{SOURCE103} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
 
 # remove unneeded stuff
-rm -f $RPM_BUILD_ROOT%{_prefix}/sbin/rc.radiusd
+rm -rf doc/00-OLD
+rm -f $RPM_BUILD_ROOT/usr/sbin/rc.radiusd
+rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
+rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
+rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/mssql
+rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/oracle
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/sql/oracle
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/oracle
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/drivers/oracle
+
+# remove header files, we don't ship a devel package and the 
+# headers have multilib conflicts
+rm -rf $RPM_BUILD_ROOT/%{_includedir}
+
+# remove unsupported config files
+rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
+
+# install doc files omitted by standard install
+for f in COPYRIGHT CREDITS INSTALL README; do
+    cp $f $RPM_BUILD_ROOT/%{docdir}
+done
+cp LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.gpl
+cp src/lib/LICENSE $RPM_BUILD_ROOT/%{docdir}/LICENSE.lgpl
+cp src/LICENSE.openssl $RPM_BUILD_ROOT/%{docdir}/LICENSE.openssl
+
+# add Red Hat specific documentation
+cat >> $RPM_BUILD_ROOT/%{docdir}/REDHAT << EOF
 
-# more files go to /usr/share/doc/freeradius-%{version}
-install -m 0644 CREDITS $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
-install -m 0644 COPYRIGHT $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
-install -m 0644 LICENSE $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
+Red Hat, RHEL, Fedora, and CentOS specific information can be found on the
+FreeRADIUS Wiki in the Red Hat FAQ.
 
-cd redhat
-install -m 755 rc.radiusd-redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/radiusd
-install -m 644 radiusd-logrotate $RPM_BUILD_ROOT/etc/logrotate.d/radiusd
-install -m 644 radiusd-pam       $RPM_BUILD_ROOT/etc/pam.d/radius
-cd ..
+http://wiki.freeradius.org/Red_Hat_FAQ
 
+Please reference that document.
+
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+
+# Make sure our user/group is present prior to any package or subpackage installation
 %pre
-/usr/sbin/useradd -c "radiusd user" -r -s /bin/false -u 95 -d / radiusd 2>/dev/null || :
+getent group  radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd
+getent passwd radiusd >/dev/null || /usr/sbin/useradd  -r -g radiusd -u 95 -c "radiusd user" -s /sbin/nologin radiusd > /dev/null 2>&1
+exit 0
+
+%post
+if [ $1 = 1 ]; then
+  /sbin/chkconfig --add radiusd
+  if [ ! -e /etc/raddb/certs/server.pem ]; then
+    /sbin/runuser -g radiusd -c 'umask 007; /etc/raddb/certs/bootstrap' > /dev/null 2>&1 || :
+  fi
+fi
 
 %preun
-if [ "$1" = "0" ]; then
-       /sbin/service radiusd stop > /dev/null 2>&1
-       /sbin/chkconfig --del radiusd
+if [ $1 = 0 ]; then
+  /sbin/service radiusd stop > /dev/null 2>&1
+  /sbin/chkconfig --del radiusd
 fi
 
-%post
-/sbin/ldconfig
-/sbin/chkconfig --add radiusd
-
-# Done here to avoid messing up existing installations
-for i in radius/radutmp radius/radwtmp radius/radius.log # radius/radwatch.log radius/checkrad.log
-do
-       touch /var/log/$i
-       chown radiusd:radiusd /var/log/$i
-       chmod 600 /var/log/$i
-done
 
 %postun
-if [ "$1" -ge "1" ]; then
-       /sbin/service radiusd condrestart >/dev/null 2>&1
+if [ $1 -ge 1 ]; then
+  /sbin/service radiusd condrestart >/dev/null 2>&1 || :
 fi
-if [ $1 = 0 ]; then
-       /usr/sbin/userdel radiusd > /dev/null 2>&1 || :
-fi
-/sbin/ldconfig
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%config /etc/pam.d/radius
-%config /etc/logrotate.d/radiusd
-%config /etc/rc.d/init.d/radiusd
-%config (noreplace) /etc/raddb/*
-%doc %{_datadir}/doc/%{name}-%{version}
-%{_bindir}/*
-%{_datadir}/freeradius
-%{_libdir}/*
-%{_mandir}/*/*
-%{_sbindir}/*
-%{_includedir}/freeradius/*
-%attr(0700,radiusd,radiusd) %dir /var/log/radius
-%attr(0700,radiusd,radiusd) %dir /var/log/radius/radacct
-%attr(0700,radiusd,radiusd) %dir /var/run/radiusd
+%doc %{docdir}/
+%config(noreplace) %{_sysconfdir}/pam.d/radiusd
+%config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
+%{initddir}/radiusd
+%dir %attr(755,radiusd,radiusd) /var/lib/radiusd
+# configs
+%dir %attr(755,root,radiusd) /etc/raddb
+%defattr(-,root,radiusd)
+%attr(644,root,radiusd) %config(noreplace) /etc/raddb/dictionary
+%config(noreplace) /etc/raddb/acct_users
+%config(noreplace) /etc/raddb/attrs
+%config(noreplace) /etc/raddb/attrs.access_challenge
+%config(noreplace) /etc/raddb/attrs.access_reject
+%config(noreplace) /etc/raddb/attrs.accounting_response
+%config(noreplace) /etc/raddb/attrs.pre-proxy
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/clients.conf
+%config(noreplace) /etc/raddb/hints
+%config(noreplace) /etc/raddb/huntgroups
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sqlippool.conf
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/preproxy_users
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/proxy.conf
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/radiusd.conf
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql.conf
+%dir %attr(750,root,radiusd) /etc/raddb/sql
+#%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/oracle/*
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/users
+%dir %attr(770,root,radiusd) /etc/raddb/certs
+%config(noreplace) /etc/raddb/certs/Makefile
+%config(noreplace) /etc/raddb/certs/README
+%config(noreplace) /etc/raddb/certs/xpextensions
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
+%attr(750,root,radiusd) /etc/raddb/certs/bootstrap
+%dir %attr(750,root,radiusd) /etc/raddb/sites-available
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/*
+%dir %attr(750,root,radiusd) /etc/raddb/sites-enabled
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/eap.conf
+%config(noreplace) %attr(640,root,radiusd) /etc/raddb/example.pl
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.conf
+%config(noreplace) /etc/raddb/policy.txt
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/templates.conf
+%dir %attr(750,root,radiusd) /etc/raddb/modules
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/acct_unique
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/always
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_filter
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_rewrite
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/chap
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/checkval
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/counter
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/cui
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.example.com
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.log
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/digest
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/echo
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/etc_group
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/exec
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expiration
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expr
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/files
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/inner-eap
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ippool
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/logintime
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/linelog
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2ip
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2vlan
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mschap
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ntlm_auth
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/otp
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pam
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pap
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/perl
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/passwd
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/policy
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/preprocess
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/radutmp
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/realm
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/smbpasswd
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/smsotp
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sql_log
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sqlcounter_expire_on_login
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sradutmp
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/unix
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/wimax
+%dir %attr(755,radiusd,radiusd) /var/run/radiusd/
+# binaries
+%defattr(-,root,root)
+/usr/sbin/checkrad
+/usr/sbin/raddebug
+/usr/sbin/radiusd
+/usr/sbin/radwatch
+/usr/sbin/radmin
+# man-pages
+%doc %{_mandir}/man5/acct_users.5.gz
+%doc %{_mandir}/man5/clients.conf.5.gz
+%doc %{_mandir}/man5/dictionary.5.gz
+%doc %{_mandir}/man5/radiusd.conf.5.gz
+%doc %{_mandir}/man5/radrelay.conf.5.gz
+%doc %{_mandir}/man5/rlm_acct_unique.5.gz
+%doc %{_mandir}/man5/rlm_always.5.gz
+%doc %{_mandir}/man5/rlm_attr_filter.5.gz
+%doc %{_mandir}/man5/rlm_attr_rewrite.5.gz
+%doc %{_mandir}/man5/rlm_chap.5.gz
+%doc %{_mandir}/man5/rlm_counter.5.gz
+%doc %{_mandir}/man5/rlm_detail.5.gz
+%doc %{_mandir}/man5/rlm_digest.5.gz
+%doc %{_mandir}/man5/rlm_expr.5.gz
+%doc %{_mandir}/man5/rlm_files.5.gz
+%doc %{_mandir}/man5/rlm_mschap.5.gz
+%doc %{_mandir}/man5/rlm_pap.5.gz
+%doc %{_mandir}/man5/rlm_passwd.5.gz
+%doc %{_mandir}/man5/rlm_policy.5.gz
+%doc %{_mandir}/man5/rlm_realm.5.gz
+%doc %{_mandir}/man5/rlm_sql.5.gz
+%doc %{_mandir}/man5/rlm_sql_log.5.gz
+%doc %{_mandir}/man5/rlm_unix.5.gz
+%doc %{_mandir}/man5/unlang.5.gz
+%doc %{_mandir}/man5/users.5.gz
+%doc %{_mandir}/man8/raddebug.8.gz
+%doc %{_mandir}/man8/radiusd.8.gz
+%doc %{_mandir}/man8/radmin.8.gz
+%doc %{_mandir}/man8/radrelay.8.gz
+%doc %{_mandir}/man8/radwatch.8.gz
+# dictionaries
+%dir %attr(755,root,root) /usr/share/freeradius
+/usr/share/freeradius/*
+# logs
+%dir %attr(700,radiusd,radiusd) /var/log/radius/
+%dir %attr(700,radiusd,radiusd) /var/log/radius/radacct/
+%ghost %attr(644,radiusd,radiusd) /var/log/radius/radutmp
+%ghost %attr(600,radiusd,radiusd) /var/log/radius/radius.log
+# RADIUS shared libs
+%attr(755,root,root) %{_libdir}/freeradius/lib*.so*
+# RADIUS Loadable Modules
+%dir %attr(755,root,root) %{_libdir}/freeradius
+#%attr(755,root,root) %{_libdir}/freeradius/rlm_*.so*
+#%{_libdir}/freeradius/rlm_acctlog*.so
+%{_libdir}/freeradius/rlm_acct_unique.so
+%{_libdir}/freeradius/rlm_acct_unique-%{version}.so
+%{_libdir}/freeradius/rlm_acctlog.so
+%{_libdir}/freeradius/rlm_acctlog-%{version}.so
+%{_libdir}/freeradius/rlm_always.so
+%{_libdir}/freeradius/rlm_always-%{version}.so
+%{_libdir}/freeradius/rlm_attr_filter.so
+%{_libdir}/freeradius/rlm_attr_filter-%{version}.so
+%{_libdir}/freeradius/rlm_attr_rewrite.so
+%{_libdir}/freeradius/rlm_attr_rewrite-%{version}.so
+%{_libdir}/freeradius/rlm_chap.so
+%{_libdir}/freeradius/rlm_chap-%{version}.so
+%{_libdir}/freeradius/rlm_checkval.so
+%{_libdir}/freeradius/rlm_checkval-%{version}.so
+%{_libdir}/freeradius/rlm_copy_packet.so
+%{_libdir}/freeradius/rlm_copy_packet-%{version}.so
+%{_libdir}/freeradius/rlm_counter.so
+%{_libdir}/freeradius/rlm_counter-%{version}.so
+%{_libdir}/freeradius/rlm_dbm.so
+%{_libdir}/freeradius/rlm_dbm-%{version}.so
+%{_libdir}/freeradius/rlm_detail.so
+%{_libdir}/freeradius/rlm_detail-%{version}.so
+%{_libdir}/freeradius/rlm_digest.so
+%{_libdir}/freeradius/rlm_digest-%{version}.so
+%{_libdir}/freeradius/rlm_dynamic_clients.so
+%{_libdir}/freeradius/rlm_dynamic_clients-%{version}.so
+%{_libdir}/freeradius/rlm_eap.so
+%{_libdir}/freeradius/rlm_eap-%{version}.so
+%{_libdir}/freeradius/rlm_eap_gtc.so
+%{_libdir}/freeradius/rlm_eap_gtc-%{version}.so
+%{_libdir}/freeradius/rlm_eap_leap.so
+%{_libdir}/freeradius/rlm_eap_leap-%{version}.so
+%{_libdir}/freeradius/rlm_eap_md5.so
+%{_libdir}/freeradius/rlm_eap_md5-%{version}.so
+%{_libdir}/freeradius/rlm_eap_mschapv2.so
+%{_libdir}/freeradius/rlm_eap_mschapv2-%{version}.so
+%{_libdir}/freeradius/rlm_eap_peap.so
+%{_libdir}/freeradius/rlm_eap_peap-%{version}.so
+%{_libdir}/freeradius/rlm_eap_sim.so
+%{_libdir}/freeradius/rlm_eap_sim-%{version}.so
+%{_libdir}/freeradius/rlm_eap_tls.so
+%{_libdir}/freeradius/rlm_eap_tls-%{version}.so
+%{_libdir}/freeradius/rlm_eap_ttls.so
+%{_libdir}/freeradius/rlm_eap_ttls-%{version}.so
+%{_libdir}/freeradius/rlm_exec.so
+%{_libdir}/freeradius/rlm_exec-%{version}.so
+%{_libdir}/freeradius/rlm_expiration.so
+%{_libdir}/freeradius/rlm_expiration-%{version}.so
+%{_libdir}/freeradius/rlm_expr.so
+%{_libdir}/freeradius/rlm_expr-%{version}.so
+%{_libdir}/freeradius/rlm_fastusers.so
+%{_libdir}/freeradius/rlm_fastusers-%{version}.so
+%{_libdir}/freeradius/rlm_files.so
+%{_libdir}/freeradius/rlm_files-%{version}.so
+%{_libdir}/freeradius/rlm_ippool.so
+%{_libdir}/freeradius/rlm_ippool-%{version}.so
+%{_libdir}/freeradius/rlm_linelog.so
+%{_libdir}/freeradius/rlm_linelog-%{version}.so
+%{_libdir}/freeradius/rlm_logintime.so
+%{_libdir}/freeradius/rlm_logintime-%{version}.so
+%{_libdir}/freeradius/rlm_mschap.so
+%{_libdir}/freeradius/rlm_mschap-%{version}.so
+%{_libdir}/freeradius/rlm_otp.so
+%{_libdir}/freeradius/rlm_otp-%{version}.so
+%{_libdir}/freeradius/rlm_pam.so
+%{_libdir}/freeradius/rlm_pam-%{version}.so
+%{_libdir}/freeradius/rlm_pap.so
+%{_libdir}/freeradius/rlm_pap-%{version}.so
+%{_libdir}/freeradius/rlm_passwd.so
+%{_libdir}/freeradius/rlm_passwd-%{version}.so
+%{_libdir}/freeradius/rlm_policy.so
+%{_libdir}/freeradius/rlm_policy-%{version}.so
+%{_libdir}/freeradius/rlm_preprocess.so
+%{_libdir}/freeradius/rlm_preprocess-%{version}.so
+%{_libdir}/freeradius/rlm_radutmp.so
+%{_libdir}/freeradius/rlm_radutmp-%{version}.so
+%{_libdir}/freeradius/rlm_realm.so
+%{_libdir}/freeradius/rlm_realm-%{version}.so
+%{_libdir}/freeradius/rlm_sql.so
+%{_libdir}/freeradius/rlm_sql-%{version}.so
+%{_libdir}/freeradius/rlm_sql_log.so
+%{_libdir}/freeradius/rlm_sql_log-%{version}.so
+%{_libdir}/freeradius/rlm_sqlcounter.so
+%{_libdir}/freeradius/rlm_sqlcounter-%{version}.so
+%{_libdir}/freeradius/rlm_sqlippool.so
+%{_libdir}/freeradius/rlm_sqlippool-%{version}.so
+%{_libdir}/freeradius/rlm_unix.so
+%{_libdir}/freeradius/rlm_unix-%{version}.so
+%{_libdir}/freeradius/rlm_wimax.so
+%{_libdir}/freeradius/rlm_wimax-%{version}.so
+
+%files utils
+%defattr(-,root,root)
+/usr/bin/*
+# man-pages
+%doc %{_mandir}/man1/radclient.1.gz
+%doc %{_mandir}/man1/radeapclient.1.gz
+%doc %{_mandir}/man1/radlast.1.gz
+%doc %{_mandir}/man1/radtest.1.gz
+%doc %{_mandir}/man1/radwho.1.gz
+%doc %{_mandir}/man1/radzap.1.gz
+%doc %{_mandir}/man8/radsqlrelay.8.gz
+%doc %{_mandir}/man8/rlm_ippool_tool.8.gz
+
+%files krb5
+%defattr(-,root,root)
+%{_libdir}/freeradius/rlm_krb5.so
+%{_libdir}/freeradius/rlm_krb5-%{version}.so
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/krb5
+
+%files perl
+%defattr(-,root,root)
+%{_libdir}/freeradius/rlm_perl.so
+%{_libdir}/freeradius/rlm_perl-%{version}.so
+
+%files python
+%defattr(-,root,root)
+%{_libdir}/freeradius/rlm_python.so
+%{_libdir}/freeradius/rlm_python-%{version}.so
+
+%files mysql
+%defattr(-,root,root)
+%dir %attr(750,root,radiusd) /etc/raddb/sql/mysql
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
+%dir %attr(750,root,radiusd) /etc/raddb/sql/ndb
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/ndb/*
+%{_libdir}/freeradius/rlm_sql_mysql.so
+%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
+
+%files postgresql
+%defattr(-,root,root)
+%dir %attr(750,root,radiusd) /etc/raddb/sql/postgresql
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
+%{_libdir}/freeradius/rlm_sql_postgresql.so
+%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
+
+%files ldap
+%defattr(-,root,root)
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/ldap.attrmap
+%{_libdir}/freeradius/rlm_ldap.so
+%{_libdir}/freeradius/rlm_ldap-%{version}.so
+%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ldap
+
+%files unixODBC
+%defattr(-,root,root)
+%{_libdir}/freeradius/rlm_sql_unixodbc.so
+%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
 
 %changelog
-* Thu Dec 15 2004 Alan DeKok
-- update for 1.1.0
+* Thu Jan  7 2010 John Dennis <jdennis@redhat.com> - 2.1.8-2
+- resolves: bug #526559 initial install should run bootstrap to create certificates
+  running radiusd in debug mode to generate inital temporary certificates
+  is no longer necessary, the /etc/raddb/certs/bootstrap is invoked on initial
+  rpm install (not upgrade) if there is no existing /etc/raddb/certs/server.pem file
+- resolves: bug #528493 use sha1 algorithm instead of md5 during cert generation
+  the certificate configuration (/etc/raddb/certs/{ca,server,client}.cnf) files
+  were modifed to use sha1 instead of md5 and the validity reduced from 1 year to 2 months
+
+* Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.8-1
+- update to latest upstream
+  Feature improvements
+  * Print more descriptive error message for too many EAP sessions.
+    This gives hints on what to do when "failed to store handler"
+  * Commands received from radmin are now printed on stdout when
+    in debugging mode.
+  * Allow accounting packets to be written to a detail file, even
+    if they were read from a different detail file.
+  * Added OpenSSL license exception (src/LICENSE.openssl)
+
+  Bug fixes
+  * DHCP sockets can now set the broadcast flag before binding to a
+    socket.  You need to set "broadcast = yes" in the DHCP listener.
+  * Be more restrictive on string parsing in the config files
+  * Fix password length in scripts/create-users.pl
+  * Be more flexible about parsing the detail file.  This allows
+    it to read files where the attributes have been edited.
+  * Ensure that requests read from the detail file are cleaned up
+    (i.e. don't leak) if they are proxied without a response.
+  * Write the PID file after opening sockets, not before
+    (closes bug #29)
+  * Proxying large numbers of packets no longer gives error
+    "unable to open proxy socket".
+  * Avoid mutex locks in libc after fork
+  * Retry packet from detail file if there was no response.
+  * Allow old-style dictionary formats, where the vendor name is the
+    last field in an ATTRIBUTE definition.
+  * Removed all recursive use of mutexes.  Some systems just don't
+    support this.
+  * Allow !* to work as documented.
+  * make templates work (see templates.conf)
+  * Enabled "allow_core_dumps" to work again
+  * Print better errors when reading invalid dictionaries
+  * Sign client certificates with CA, rather than server certs.
+  * Fix potential crash in rlm_passwd when file was closed
+  * Fixed corner cases in conditional dynamic expansion.
+  * Use InnoDB for MySQL IP Pools, to gain transactional support
+  * Apply patch to libltdl for CVE-2009-3736.
+  * Fixed a few issues found by LLVM's static checker
+  * Keep track of "bad authenticators" for accounting packets
+  * Keep track of "dropped packets" for auth/acct packets
+  * Synced the "debian" directory with upstream
+  * Made "unlang" use unsigned 32-bit integers, to match the
+    dictionaries.
+
+* Wed Dec 30 2009 John Dennis <jdennis@redhat.com> - 2.1.7-7
+- Remove devel subpackage. It doesn't make much sense to have a devel package since
+  we don't ship libraries and it produces multilib conflicts.
+
+* Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-6
+- more spec file clean up from review comments
+- remove freeradius-libs subpackage, move libfreeradius-eap and
+  libfreeradius-radius into the main package
+- fix subpackage requires, change from freeradius-libs to main package
+- fix description of the devel subpackage, remove referene to non-shipped libs
+- remove execute permissions on src files included in debuginfo
+- remove unnecessary use of ldconfig
+- since all sub-packages now require main package remove user creation for sub-packages
+- also include the LGPL library license file in addition to the GPL license file
+- fix BuildRequires for perl so it's compatible with both Fedora, RHEL5 and RHEL6
+
+* Mon Dec 21 2009 John Dennis <jdennis@redhat.com> - 2.1.7-5
+- fix various rpmlint issues.
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.1.7-4
+- rebuild against perl 5.10.1
+
+* Thu Dec  3 2009 John Dennis <jdennis@redhat.com> - 2.1.7-3
+- resolves: bug #522111 non-conformant initscript
+  also change permission of /var/run/radiusd from 0700 to 0755
+  so that "service radiusd status" can be run as non-root
+
+* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.7-2
+- use password-auth common PAM configuration instead of system-auth
+
+* Tue Sep 15 2009 John Dennis <jdennis@redhat.com> - 2.1.7-1
+- enable building of the rlm_wimax module
+- pcap wire analysis support is enabled and available in utils subpackage
+- Resolves bug #523053 radtest manpage in wrong package
+- update to latest upstream release, from upstream Changelog:
+  Feature improvements
+    * Full support for CoA and Disconnect packets as per RFC 3576
+      and RFC 5176.  Both receiving and proxying CoA is supported.
+    * Added "src_ipaddr" configuration to "home_server".  See
+      proxy.conf for details.
+    * radsniff now accepts -I, to read from a filename instead of
+      a device.
+    * radsniff also prints matching requests and any responses to those
+      requests when '-r' is used.
+    * Added example of attr_filter for Access-Challenge packets
+    * Added support for udpfromto in DHCP code
+    * radmin can now selectively mark modules alive/dead.
+      See "set module state".
+    * Added customizable messages on login success/fail.
+      See msg_goodpass && msg_badpass in log{} section of radiusd.conf
+    * Document "chase_referrals" and "rebind" in raddb/modules/ldap
+    * Preliminary implementation of DHCP relay.
+    * Made thread pool section optional.  If it doesn't exist,
+      the server will run single-threaded.
+    * Added sample radrelay.conf for people upgrading from 1.x
+    * Made proxying more stable by failing over, rather than
+      rejecting the first request.  See "response_window" in proxy.conf
+    * Allow home_server_pools to exist without realms.
+    * Add dictionary.iea (closes bug #7)
+    * Added support for RFC 5580
+    * Added experimental sql_freetds module from Gabriel Blanchard.
+    * Updated dictionary.foundry
+    * Added sample configuration for MySQL cluster in raddb/sql/ndb
+      See the README file for explanations.
+  Bug fixes
+    * Fixed corner case where proxied packets could have extra
+      character in User-Password attribute.  Fix from Niko Tyni.
+    * Extended size of "attribute" field in SQL to 64.
+    * Fixes to ruby module to be more careful about when it builds.
+    * Updated Perl module "configure" script to check for broken
+      Perl installations.
+    * Fix "status_check = none".  It would still send packets
+      in some cases.
+    * Set recursive flag on the proxy mutex, which enables safer
+      cleanup on some platforms.
+    * Copy the EAP username verbatim, rather than escaping it.
+    * Update handling so that robust-proxy-accounting works when
+      all home servers are down for extended periods of time.
+    * Look for DHCP option 53 anywhere in the packet, not just
+      at the start.
+    * Fix processing of proxy fail handler with virtual servers.
+    * DHCP code now prints out correct src/dst IP addresses
+      when sending packets.
+    * Removed requirement for DHCP to have clients
+    * Fixed handling of DHCP packets with message-type buried in the packet
+    * Fixed corner case with negation in unlang.
+    * Minor fixes to default MySQL & PostgreSQL schemas
+    * Suppress MSCHAP complaints in debugging mode.
+    * Fix SQL module for multiple instance, and possible crash on HUP
+    * Fix permissions for radius.log for sites that change user/group,
+      but which don't create the file before starting radiusd.
+    * Fix double counting of packets when proxying
+    * Make %%l work
+    * Fix pthread keys in rlm_perl
+    * Log reasons for EAP failure (closes bug #8)
+    * Load home servers and pools that aren't referenced from a realm.
+    * Handle return codes from virtual attributes in "unlang"
+      (e.g. LDAP-Group).  This makes "!(expr)" work for them.
+    * Enable VMPS to see contents of virtual server again
+    * Fix WiMAX module to be consistent with examples.  (closes bug #10)
+    * Fixed crash with policies dependent on NAS-Port comparisons
+    * Allowed vendor IDs to be be higher than 32767.
+    * Fix crash on startup with certain regexes in "hints" file.
+    * Fix crash in attr_filter module when packets don't exist
+    * Allow detail file reader to be faster when "load_factor = 100"
+    * Add work-around for build failures with errors related to
+      lt__PROGRAM__LTX_preloaded_symbols.  libltdl / libtool are horrible.
+    * Made ldap module "rebind" option aware of older, incompatible
+      versions of OpenLDAP.
+    * Check value of Fall-Through in attr_filter module.
+
+* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.6-6
+- rebuilt with new openssl
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Jul 10 2009 John Dennis <jdennis@redhat.com> - 2.1.6-4
+- install COPYRIGHT CREDITS INSTALL LICENSE README into docdir
+
+* Tue Jun 23 2009 John Dennis <jdennis@redhat.com> - 2.1.6-3
+- resolves bug #507571 freeradius packages do not check for user/group existence
+
+* Tue Jun  2 2009 John Dennis <jdennis@redhat.com> - 2.1.6-2
+- make /etc/raddb/sites-available/* be config(noreplace)
+
+* Mon May 18 2009 John Dennis <jdennis@redhat.com> - 2.1.6-1
+- update to latest upstream release, from upstream Changelog:
+  Feature improvements
+    * radclient exits with 0 on successful (accept / ack), and 1
+      otherwise (no response / reject)
+    * Added support for %%{sql:UPDATE ..}, and insert/delete
+      Patch from Arran Cudbard-Bell
+    * Added sample "do not respond" policy.  See raddb/policy.conf
+      and raddb/sites-available/do_not_respond
+    * Cleanups to Suse spec file from Norbert Wegener
+    * New VSAs for Juniper from Bjorn Mork
+    * Include more RFC dictionaries in the default install
+    * More documentation for the WiMAX module
+    * Added "chase_referrals" and "rebind" configuration to rlm_ldap.
+      This helps with Active Directory.  See raddb/modules/ldap
+    * Don't load pre/post-proxy if proxying is disabled.
+    * Added %%{md5:...}, which returns MD5 hash in hex.
+    * Added configurable "retry_interval" and "poll_interval"
+      for "detail" listeners.
+    * Added "delete_mppe_keys" configuration option to rlm_wimax.
+      Apparently some WiMAX clients misbehave when they see those keys.
+    * Added experimental rlm_ruby from
+      http://github.com/Antti/freeradius-server/tree/master
+    * Add Tunnel attributes to ldap.attrmap
+    * Enable virtual servers to be reloaded on HUP.  For now, only
+      the "authorize", "authenticate", etc. processing sections are
+      reloaded.  Clients and "listen" sections are NOT reloaded.
+    * Updated "radwatch" script to be more robust.  See scripts/radwatch
+    * Added certificate compatibility notes in raddb/certs/README,
+      for compatibility with different operating systems. (i.e. Windows)
+    * Permit multiple "-e" in radmin.
+    * Add support for originating CoA-Request and Disconnect-Request.
+      See raddb/sites-available/originate-coa.
+    * Added "lifetime" and "max_queries" to raddb/sql.conf.
+      This helps address the problem of hung SQL sockets.
+    * Allow packets to be injected via radmin.  See "inject help"
+      in radmin.
+    * Answer VMPS reconfirmation request.  Patch from Hermann Lauer.
+    * Sample logrotate script in scripts/logrotate.freeradius
+    * Add configurable poll interval for "detail" listeners
+    * New "raddebug" command.  This prints debugging information from
+      a running server.  See "man raddebug.
+    * Add "require_message_authenticator" configuration to home_server
+      configuration.  This makes the server add Message-Authenticator
+      to all outgoing Access-Request packets.
+    * Added smsotp module, as contributed by Siemens.
+    * Enabled the administration socket in the default install.
+      See raddb/sites-available/control-socket, and "man radmin"
+    * Handle duplicate clients, such as with replicated or
+      load-balanced SQL servers and "readclients = yes"
+  Bug fixes
+    * Minor changes to allow building without VQP.
+    * Minor fixes from John Center
+    * Fixed raddebug example
+    * Don't crash when deleting attributes via unlang
+    * Be friendlier to very fast clients
+    * Updated the "detail" listener so that it only polls once,
+      and not many times in a row, leaking memory each time...
+    * Update comparison for Packet-Src-IP-Address (etc.) so that
+      the operators other than '==' work.
+    * Did autoconf magic to work around weird libtool bug
+    * Make rlm_perl keep tags for tagged attributes in more situations
+    * Update UID checking for radmin
+    * Added "include_length" field for TTLS.  It's needed for RFC
+      compliance, but not (apparently) for interoperability.
+    * Clean up control sockets when they are closed, so that we don't
+      leak memory.
+    * Define SUN_LEN for systems that don't have it.
+    * Correct some boundary conditions in the conditional checker ("if")
+      in "unlang".  Bug noted by Arran Cudbard-Bell.
+    * Work around minor building issues in gmake.  This should only
+      have affected developers.
+    * Change how we manage unprivileged user/group, so that we do not
+      create control sockets owned by root.
+    * Fixed more minor issues found by Coverity.
+    * Allow raddb/certs/bootstrap to run when there is no "make"
+      command installed.
+    * In radiusd.conf, run_dir depends on the name of the program,
+      and isn't hard-coded to "..../radiusd"
+    * Check for EOF in more places in the "detail" file reader.
+    * Added Freeswitch dictionary.
+    * Chop ethernet frames in VMPS, rather than droppping packets.
+    * Fix EAP-TLS bug.  Patch from Arnaud Ebalard
+    * Don't lose string for regex-compares in the "users" file.
+    * Expose more functions in rlm_sql to rlm_sqlippool, which
+      helps on systems where RTLD_GLOBAL is off.
+    * Fix typos in MySQL schemas for ippools.
+    * Remove macro that was causing build issues on some platforms.
+    * Fixed issues with dead home servers.  Bug noted by Chris Moules.
+    * Fixed "access after free" with some dynamic clients.
+
+- fix packaging bug, some directories missing execute permission
+  /etc/raddb/dictionary now readable by all.
+
+* Tue Feb 24 2009 John Dennis <jdennis@redhat.com> - 2.1.3-4
+- fix type usage in unixodbc to match new type usage in unixodbc API
+
+* Thu Feb 19 2009 John Dennis <jdennis@redhat.com> - 2.1.3-3
+- add pointer to Red Hat documentation in docdir
+
+* Sat Jan 24 2009 Caolán McNamara <caolanm@redhat.com> - 2.1.3-2
+- rebuild for dependencies
+
+* Thu Dec  4 2008 John Dennis <jdennis@redhat.com> - 2.1.3-1
+- upgrade to latest upstream release, upstream summary follows:
+  The focus of this release is stability.
+  Feature Improvements:
+    * Allow running with "user=radiusd" and binding to secure sockets.
+    * Start sending Status-Server "are you alive" messages earlier, which
+      helps with proxying multiple realms to a home server.
+    * Removed thread pool code from rlm_perl.  It's not necessary.
+    * Added example Perl configuration to raddb/modules/perl
+    * Force OpenSSL to support certificates with SHA256. This seems to be
+      necessary for WiMAX certs.
+  Bug fixes:
+    * Fix Debian patch to allow it to build.
+    * Fix potential NULL dereference in debugging mode on certain
+      platforms for TTLS and PEAP inner tunnels.
+    * Fix uninitialized memory in handling of vendor definitions
+    * Fix parsing of quoted (but non-string) attributes in the "users" file.
+    * Initialize uknown NAS IP to 255.255.255.255, rather than 0.0.0.0
+    * use SUN_LEN in control socket, to avoid truncation on some platforms.
+    * Correct internal handling of "debug condition" to prevent it from
+      being over-written.
+    * Check return code of regcomp in "unlang", so that invalid regular
+      expressions are caught rather than mishandled.
+    * Make rlm_sql use <ltdl.h>.  Addresses bug #610.
+    * Document list "type = status" better.  Closes bug #580.
+    * Set "default days" for certificates, because OpenSSL won't do it.
+      This closes bug #615.
+    * Reference correct list in example raddb/modules/ldap. Closes #596.
+    * Increase default schema size for Acct-Session-Id to 64. Closes #540.
+    * Fix use of temporary files in dialup-admin.  Closes #605 and
+      addresses CVE-2008-4474.
+    * Addressed a number of minor issues found by Coverity.
+    * Added DHCP option 150 to the dictionary.  Closes #618.
+
+* Wed Dec  3 2008 John Dennis <jdennis@redhat.com> - 2.1.1-8
+- add --with-system-libtool to configure as a workaround for
+undefined reference to lt__PROGRAM__LTX_preloaded_symbols
+
+* Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
+- add obsoletes tag for dialupadmin subpackages which were removed
+
+* Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
+- add readline-devel BuildRequires
+
+* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.1.1-4
+- Rebuild for Python 2.6
+
+* Fri Nov 21 2008 John Dennis <jdennis@redhat.com> - 2.1.1-3
+- make spec file buildable on RHEL5.2 by making perl-devel a fedora only dependency.
+- remove diaupadmin packages, it's not well supported and there are problems with it.
+
+* Fri Sep 26 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
+- Resolves: bug #464119 bootstrap code could not create initial certs in /etc/raddb/certs because
+  permissions were 750, radiusd running as euid radiusd could not write there, permissions now 770
+
+* Thu Sep 25 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
+- upgrade to new upstream 2.1.1 release
+
+* Wed Jul 30 2008 John Dennis <jdennis@redhat.com> - 2.0.5-2
+- Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
+  specify file attributes for /etc/raddb/ldap.attrmap
+  fix consistent use of tabs/spaces (rpmlint warning)
+
+* Mon Jun  9 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
+- upgrade to latest upstream, see Changelog for details,
+  upstream now has more complete fix for bug #447545, local patch removed
+
+* Wed May 28 2008 John Dennis <jdennis@redhat.com> - 2.0.4-1
+- upgrade to latest upstream, see Changelog for details
+- resolves: bug #447545: freeradius missing /etc/raddb/sites-available/inner-tunnel
+
+* Fri May 16 2008  <jdennis@redhat.com> - 2.0.3-3
+- # Temporary fix for bug #446864, turn off optimization
+
+* Fri Apr 18 2008 John Dennis <jdennis@redhat.com> - 2.0.3-2
+- remove support for radrelay, it's different now
+- turn off default inclusion of SQL config files in radiusd.conf since SQL
+  is an optional RPM install
+- remove mssql config files
+
+* Thu Apr 17 2008 John Dennis <jdennis@redhat.com> - 2.0.3-1
+- Upgrade to current upstream 2.0.3 release
+- Many thanks to Enrico Scholz for his spec file suggestions incorporated here
+- Resolve: bug #438665: Contains files owned by buildsystem
+- Add dialupadmin-mysql, dialupadmin-postgresql, dialupadmin-ldap subpackages
+  to further partition external dependencies.
+- Clean up some unnecessary requires dependencies
+- Add versioned requires between subpackages
+
+* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.2-2
+- add Requires for versioned perl (libperl.so)
+
+* Thu Feb 28 2008  <jdennis@redhat.com> - 2.0.2-1
+- upgrade to new 2.0 release
+- split into subpackages for more fine grained installation
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.7-4.4.ipa
+- Autorebuild for GCC 4.3
+
+* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.7-3.4.ipa
+- Rebuild for deps
+
+* Sat Nov 10 2007  <jdennis@redhat.com> - 1.1.7-3.3.ipa
+- add support in rlm_ldap for reading clients from ldap
+- fix TLS parameter controling if a cert which fails to validate
+  will be accepted (i.e. self-signed),
+  rlm_ldap config parameter=tls_require_cert
+  ldap LDAP_OPT_X_TLS_REQUIRE_CERT parameter was being passed to
+  ldap_set_option() when it should have been ldap_int_tls_config()
+
+* Sat Nov 3 2007  <jdennis@redhat.com> - 1.1.7-3.2.ipa
+- add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server
+
+* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3.1
+- made init script fully lsb conform
+
+* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
+- fixed initscript problem (rhbz#292521)
+
+* Tue Aug 28 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-2
+- fixed initscript for LSB (rhbz#243671, rhbz#243928)
+- fixed license tag
+
+* Tue Aug  7 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-1
+- new versin 1.1.7
+- install snmp MIB files
+- dropped LDAP_DEPRECATED flag, it is upstream
+- marked config files for sub packages as config (rhbz#240400)
+- moved db files to /var/lib/raddb (rhbz#199082)
+
+* Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-2
+- radiusd expects /etc/raddb to not be world readable or writable
+  /etc/raddb now belongs to radiusd, post script sets permissions
+
+* Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-1
+- new version 1.1.6
+
+* Fri Mar  9 2007 Thomas Woerner <twoerner@redhat.com> 1.1.5-1
+- new version 1.1.5
+  - no /etc/raddb/otppasswd.sample anymore
+  - build is pie by default, dropped pie patch
+- fixed build requirement for perl (perl-devel)
+
+* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.1.3-3
+- remove trailing dot from summary
+- fix buildroot
+- fix post/postun/preun requirements
+- use rpm macros
+
+* Fri Dec  8 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2.1
+- rebuild for new postgresql library version
+
+* Thu Nov 30 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2
+- fixed ldap code to not use internals, added LDAP_DEPRECATED compile time flag
+  (#210912)
+
+* Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-1
+- new version 1.1.3 with lots of upstream bug fixes, some security fixes
+  (#205654)
+
+* Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-2
+- commented out include for sql.conf in radiusd.conf (#202561)
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.2-1.1
+- rebuild
+
+* Thu Jun  1 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-1
+- new version 1.1.2
+
+* Wed May 31 2006 Thomas Woerner <twoerner@redhat.com> 1.1.1-1
+- new version 1.1.1
+- fixed incorrect rlm_sql globbing (#189095)
+  Thanks to Yanko Kaneti for the fix.
+- fixed chown syntax in post script (#182777)
+- dropped gcc34, libdir and realloc-return patch
+- spec file cleanup with additional libtool build fixes
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 1.0.5-1
+- new version 1.0.5
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 1.0.4-5
+- Rebuild due to mysql update.
+
+* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-4
+- rebuilt with new openssl
+- fixed ignored return value of realloc
+
+* Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-3
+- use include instead of pam_stack in pam config
+
+* Wed Jul 20 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-2
+- added missing build requires for libtool-ltdl-devel (#160877)
+- modified file list to get a report for missing plugins
+
+* Tue Jun 28 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-1
+- new version 1.0.4
+- droppend radrelay patch (fixed upstream)
+
+* Thu Apr 14 2005 Warren Togami <wtogami@redhat.com> 1.0.2-2
+- rebuild against new postgresql-libs
+
+* Mon Apr  4 2005 Thomas Woerner <twoerner@redhat.com> 1.0.2-1
+- new version 1.0.2
+
+* Fri Nov 19 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-3
+- rebuild for MySQL 4
+- switched over to installed libtool
+
+* Fri Nov  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2
+- Fixed install problem of radeapclient (#138069)
+
+* Wed Oct  6 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-1
+- new version 1.0.1
+- applied radrelay CVS patch from Kevin Bonner
+
+* Wed Aug 25 2004 Warren Togami <wtogami@redhat.com> 1.0.0-3
+- BuildRequires pam-devel and libtool
+- Fix errant text in description
+- Other minor cleanups
+
+* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2.1
+- renamed /etc/pam.d/radius to /etc/pam.d/radiusd to match default
+  configuration (#130613)
+
+* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2
+- fixed BuildRequires for openssl-devel (#130606)
+
+* Mon Aug 16 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-1
+- 1.0.0 final
+
+* Mon Jul  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.2
+- added buildrequires for zlib-devel (#127162)
+- fixed libdir patch to prefer own libeap instead of installed one (#127168)
+- fixed samba account maps in LDAP for samba v3 (#127173)
+
+* Thu Jul  1 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.1
+- third "pre" release of version 1.0.0
+- rlm_ldap is using SASLv2 (#126507)
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Thu Jun  3 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-4.1
+- fixed BuildRequires for gdbm-devel
+
+* Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 0.9.3-4
+- gcc34 compilation fixes
+
+* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Feb 24 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-3.2
+- added sql scripts for rlm_sql to documentation (#116435)
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2.1
+- using -fPIC instead of -fpic for s390 ans s390x
 
-* Mon May 31 2004 Paul Hampson
-- update for 1.0.0 release
+* Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2
+- radiusd is pie, now
 
-* Fri May 23 2003 Marko Myllynen
-- update for 0.9
+* Tue Nov 25 2003 Thomas Woerner <twoerner@redhat.com> 0.9.3-1
+- new version 0.9.3 (bugfix release)
 
-* Wed Sep  4 2002 Marko Myllynen
-- fix libtool issues for good
+* Fri Nov  7 2003 Thomas Woerner <twoerner@redhat.com> 0.9.2-1
+- new version 0.9.2
 
-* Thu Aug 22 2002 Marko Myllynen
-- update for 0.7/0.8
+* Mon Sep 29 2003 Thomas Woerner <twoerner@redhat.com> 0.9.1-1
+- new version 0.9.1
 
-* Tue Jun 18 2002 Marko Myllynen
-- run as radiusd user instead of root
-- added some options for configure
+* Mon Sep 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.0-2.2
+- modify default PAM configuration to remove the directory part of the module
+  name, so that 32- and 64-bit libpam (called from 32- or 64-bit radiusd) on
+  multilib systems will always load the right module for the architecture
+- modify default PAM configuration to use pam_stack
 
-* Thu Jun  6 2002 Marko Myllynen
-- set noreplace for non-dictionary files in /etc/raddb
+* Mon Sep  1 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-2.1
+- com_err.h moved to /usr/include/et
 
-* Sun May 26 2002 Frank Cusack <frank@google.com>
-- move /var dirs from %%post to %%files
+* Tue Jul 22 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-1
+- 0.9.0 final
 
-* Thu Feb 14 2002 Marko Myllynen
-- use dir name macros in all configure options
-- libtool is required only when building the package
-- misc clean ups
+* Wed Jul 16 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-0.9.0
+- new version 0.9.0 pre3
 
-* Wed Feb 13 2002 Marko Myllynen
-- use %%{_mandir} instead of /usr/man
-- rename %%postin as %%post
-- clean up name/version
+* Thu May 22 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-6
+- included directory /var/log/radius/radacct for logrotate
 
-* Fri Jan 18 2002 Frank Cusack <frank@google.com>
-- remove (noreplace) for /etc/raddb/* (due to rpm bugs)
+* Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-5
+- moved log and run dir to files section, cleaned up post
 
-* Fri Sep 07 2001 Ivan F. Martinez <ivanfm@ecodigit.com.br>
-- changes to make compatible with default config file shipped
-- adjusts log files are on /var/log/radius instead of /var/log
-- /etc/raddb changed to config(noreplace) to don't override
--   user configs
+* Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-4
+- added missing run dir in post
 
-* Fri Sep 22 2000 Bruno Lopes F. Cabral <bruno@openline.com.br>
-- spec file clear accordling to the libltdl fix and minor updates
+* Tue May 20 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-3
+- fixed module load patch
 
-* Wed Sep 12 2000 Bruno Lopes F. Cabral <bruno@openline.com.br>
-- Updated to snapshot-12-Sep-00
+* Fri May 16 2003 Thomas Woerner <twoerner@redhat.com>
+- removed la files, removed devel package
+- split into 4 packages: freeradius, freeradius-mysql, freeradius-postgresql,
+    freeradius-unixODBC
+- fixed requires and buildrequires
+- create logging dir in post if it does not exist
+- fixed module load without la files
 
-* Fri Jun 16 2000 Bruno Lopes F. Cabral <bruno@openline.com.br>
-- Initial release
+* Thu Apr 17 2003 Thomas Woerner <twoerner@redhat.com>
+- Initial build.