a4c69e
Summary: High-performance and highly configurable free RADIUS server
cvsdist e14143
Name: freeradius
650b46
Version: 2.1.1
235ae1
Release: 7%{?dist}
e492c8
License: GPLv2+ and LGPLv2+
cvsdist e14143
Group: System Environment/Daemons
cvsdist e14143
URL: http://www.freeradius.org/
ccd23a
ccd23a
Source0: ftp://ftp.freeradius.org/pub/radius/%{name}-server-%{version}.tar.bz2
32f3d4
Source100: freeradius-radiusd-init
eb87cf
Source102: freeradius-logrotate
eb87cf
Source103: freeradius-pam-conf
ccd23a
efcd18
Patch0: freeradius-radiusd-conf.patch
efcd18
235ae1
Obsoletes: freeradius-dialupadmin freeradius-dialupadmin-ldap freeradius-dialupadmin-mysql freeradius-dialupadmin-postgresql
235ae1
a4c69e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ccd23a
05ae0f
BuildRequires: autoconf
ccd23a
BuildRequires: gdbm-devel
ccd23a
BuildRequires: libtool
ccd23a
BuildRequires: libtool-ltdl-devel
ccd23a
BuildRequires: openssl-devel
ccd23a
BuildRequires: pam-devel
ccd23a
BuildRequires: zlib-devel
67d3d2
BuildRequires: net-snmp-devel
67d3d2
BuildRequires: net-snmp-utils
235ae1
BuildRequires: readline-devel
ccd23a
a4c69e
Requires(pre): shadow-utils
a4c69e
Requires(post): /sbin/ldconfig /sbin/chkconfig
a4c69e
Requires(postun): /sbin/ldconfig
a4c69e
Requires(preun): /sbin/chkconfig
cvsdist e14143
cvsdist e14143
%description
cvsdist e14143
The FreeRADIUS Server Project is a high performance and highly configurable 
cvsdist e14143
GPL'd free RADIUS server. The server is similar in some respects to 
cvsdist e14143
Livingston's 2.0 server.  While FreeRADIUS started as a variant of the 
cvsdist e14143
Cistron RADIUS server, they don't share a lot in common any more. It now has 
cvsdist e14143
many more features than Cistron or Livingston, and is much more configurable.
cvsdist e14143
cvsdist e14143
FreeRADIUS is an Internet authentication daemon, which implements the RADIUS 
cvsdist e14143
protocol, as defined in RFC 2865 (and others). It allows Network Access 
cvsdist e14143
Servers (NAS boxes) to perform authentication for dial-up users. There are 
cvsdist e14143
also RADIUS clients available for Web servers, firewalls, Unix logins, and 
cvsdist e14143
more.  Using RADIUS allows authentication and authorization for a network to 
cvsdist e14143
be centralized, and minimizes the amount of re-configuration which has to be 
cvsdist e14143
done when adding or deleting new users.
cvsdist e14143
b281c6
%package libs
41eda4
Group: System Environment/Daemons
41eda4
Summary: FreeRADIUS shared libraries
b281c6
b281c6
%description libs
b281c6
The FreeRADIUS shared library
b281c6
b281c6
%package utils
41eda4
Group: System Environment/Daemons
67d3d2
Summary: FreeRADIUS utilities
67d3d2
Requires: %{name}-libs = %{version}-%{release}
b281c6
b281c6
%description utils
b281c6
The FreeRADIUS server has a number of features found in other servers,
b281c6
and additional features not found in any other server. Rather than
b281c6
doing a feature by feature comparison, we will simply list the features
b281c6
of the server, and let you decide if they satisfy your needs.
b281c6
b281c6
Support for RFC and VSA Attributes Additional server configuration
b281c6
attributes Selecting a particular configuration Authentication methods
b281c6
b281c6
%package devel
67d3d2
Group: Development/Libraries
67d3d2
Summary: FreeRADIUS Development Files
67d3d2
Requires: %{name}-libs = %{version}-%{release}
b281c6
b281c6
%description devel
b281c6
These are the static libraries for the FreeRADIUS package.
b281c6
b281c6
b281c6
%package ldap
41eda4
Summary: LDAP support for freeradius
b281c6
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
b281c6
BuildRequires: openldap-devel
b281c6
b281c6
%description ldap
41eda4
This plugin provides the LDAP support for the FreeRADIUS server project.
b281c6
b281c6
%package krb5
41eda4
Summary: Kerberos 5 support for freeradius
b281c6
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
b281c6
BuildRequires: krb5-devel
b281c6
b281c6
%description krb5
41eda4
This plugin provides the Kerberos 5 support for the FreeRADIUS server project.
b281c6
b281c6
%package perl
41eda4
Summary: Perl support for freeradius
b281c6
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
c16ca1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
05871a
%if 0%{?fedora}
f49343
BuildRequires: perl-devel
05871a
%endif
67d3d2
BuildRequires: perl(ExtUtils::Embed)
b281c6
b281c6
%description perl
41eda4
This plugin provides the Perl support for the FreeRADIUS server project.
b281c6
b281c6
%package python
41eda4
Summary: Python support for freeradius
b281c6
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
b281c6
BuildRequires: python-devel
b281c6
b281c6
%description python
41eda4
This plugin provides the Python support for the FreeRADIUS server project.
b281c6
cvsdist e14143
%package mysql
41eda4
Summary: MySQL support for freeradius
cvsdist e14143
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
92218a
BuildRequires: mysql-devel
cvsdist e14143
cvsdist e14143
%description mysql
41eda4
This plugin provides the MySQL support for the FreeRADIUS server project.
cvsdist e14143
cvsdist e14143
%package postgresql
41eda4
Summary: postgresql support for freeradius
cvsdist e14143
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
92218a
BuildRequires: postgresql-devel
cvsdist e14143
cvsdist e14143
%description postgresql
41eda4
This plugin provides the postgresql support for the FreeRADIUS server project.
cvsdist e14143
cvsdist e14143
%package unixODBC
41eda4
Summary: unixODBC support for freeradius
cvsdist e14143
Group: System Environment/Daemons
67d3d2
Requires: %{name}-libs = %{version}-%{release}
92218a
BuildRequires: unixODBC-devel
cvsdist e14143
cvsdist e14143
%description unixODBC
41eda4
This plugin provides the unixODBC support for the FreeRADIUS server project.
cvsdist e14143
cvsdist e14143
cvsdist e14143
%prep
ccd23a
%setup -q -n %{name}-server-%{version}
efcd18
%patch0 -p1 -b .conf
c2530c
cvsdist e14143
%build
cvsdist 4eb753
%ifarch s390 s390x
1b64b7
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
cvsdist 4eb753
%else
1b64b7
export CFLAGS="$RPM_OPT_FLAGS -fpic"
cvsdist 4eb753
%endif
92218a
cvsdist e14143
%configure \
c71c5f
        --libdir=%{_libdir}/freeradius \
c71c5f
        --with-gnu-ld \
c71c5f
        --with-threads \
c71c5f
        --with-thread-pool \
c71c5f
        --disable-ltdl-install \
c71c5f
        --with-docdir=%{_docdir}/freeradius-%{version} \
c71c5f
        --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
c71c5f
        --with-rlm-sql-postgresql-lib-dir=%{_libdir} \
c71c5f
        --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
c71c5f
        --with-mysql-lib-dir=%{_libdir}/mysql \
c71c5f
        --with-unixodbc-lib-dir=%{_libdir} \
c71c5f
        --with-rlm-dbm-lib-dir=%{_libdir} \
c71c5f
        --with-rlm-krb5-include-dir=/usr/kerberos/include \
c71c5f
        --without-rlm_eap_ikev2 \
c71c5f
        --without-rlm_sql_iodbc \
c71c5f
        --without-rlm_sql_firebird \
c71c5f
        --without-rlm_sql_db2 \
c71c5f
        --without-rlm_sql_oracle
c2530c
fe460e
%if "%{_lib}" == "lib64"
fe460e
perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
fe460e
%endif
fe460e
ccd23a
make
cvsdist e14143
cvsdist e14143
%install
cvsdist e14143
rm -rf $RPM_BUILD_ROOT
b281c6
mkdir -p $RPM_BUILD_ROOT/var/run/radiusd
a4c69e
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{logrotate.d,pam.d,rc.d/init.d}
1b64b7
mkdir -p $RPM_BUILD_ROOT/var/lib/radiusd
92218a
# fix for bad libtool bug - can not rebuild dependent libs and bins
e6850e
#FIXME export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}
92218a
make install R=$RPM_BUILD_ROOT
e6850e
# modify default configuration
e6850e
RADDB=$RPM_BUILD_ROOT%{_sysconfdir}/raddb
e6850e
perl -i -pe 's/^#user =.*$/user = radiusd/'   $RADDB/radiusd.conf
cvsdist e14143
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
b281c6
#ldconfig -n $RPM_BUILD_ROOT/usr/lib/freeradius
b281c6
# logs
b281c6
mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
b281c6
touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}
cvsdist e14143
eb87cf
install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{_initrddir}/radiusd
eb87cf
install -m 644 %{SOURCE102} $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
eb87cf
install -m 644 %{SOURCE103} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
eb87cf
b281c6
# remove unneeded stuff
b281c6
rm -rf doc/00-OLD
b281c6
rm -f $RPM_BUILD_ROOT/usr/sbin/rc.radiusd
b281c6
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
b281c6
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
efcd18
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/mssql
b281c6
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/oracle
41eda4
rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/sql/oracle
67d3d2
rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/oracle
67d3d2
rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/lib/sql/drivers/oracle
41eda4
650b46
# create links in /etc/raddb/sites-enabled to /etc/raddb/sites-available
650b46
ln -s ../sites-available/control-socket $RADDB/sites-enabled/control-socket
cvsdist e14143
92218a
# remove unsupported config files
a4c69e
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
92218a
cvsdist e14143
cvsdist e14143
%clean
cvsdist e14143
rm -rf $RPM_BUILD_ROOT
cvsdist e14143
cvsdist e14143
cvsdist e14143
%pre
650b46
getent group  radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd
650b46
getent passwd radiusd >/dev/null || /usr/sbin/useradd  -r -g radiusd -u 95 -c "radiusd user" -s /sbin/nologin radiusd > /dev/null 2>&1
650b46
exit 0
cvsdist e14143
cvsdist e14143
%post
cvsdist e14143
/sbin/ldconfig
cvsdist e14143
if [ $1 = 1 ]; then
cvsdist e14143
  /sbin/chkconfig --add radiusd
cvsdist e14143
fi
cvsdist e14143
cvsdist e14143
%preun
cvsdist e14143
if [ $1 = 0 ]; then
cvsdist e14143
  /sbin/service radiusd stop > /dev/null 2>&1
cvsdist e14143
  /sbin/chkconfig --del radiusd
cvsdist e14143
fi
cvsdist e14143
24f5fe
cvsdist e14143
%postun
cvsdist e14143
if [ $1 -ge 1 ]; then
cvsdist e14143
  /sbin/service radiusd condrestart >/dev/null 2>&1 || :
cvsdist e14143
fi
cvsdist e14143
/sbin/ldconfig
cvsdist e14143
cvsdist e14143
cvsdist e14143
%files
67d3d2
%defattr(-,root,root)
2601d9
%doc %{_docdir}/freeradius-%{version}/
1b64b7
%config(noreplace) %{_sysconfdir}/pam.d/radiusd
1b64b7
%config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
1b64b7
%config(noreplace) %{_initrddir}/radiusd
ccd23a
%dir %attr(755,radiusd,radiusd) /var/lib/radiusd
ccd23a
# configs
67d3d2
%dir %attr(750,root,radiusd) /etc/raddb
ccd23a
%defattr(-,root,radiusd)
ccd23a
%config(noreplace) /etc/raddb/dictionary
ccd23a
%config(noreplace) /etc/raddb/acct_users
ccd23a
%config(noreplace) /etc/raddb/attrs
ccd23a
%config(noreplace) /etc/raddb/attrs.access_reject
ccd23a
%config(noreplace) /etc/raddb/attrs.accounting_response
ccd23a
%config(noreplace) /etc/raddb/attrs.pre-proxy
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/clients.conf
ccd23a
%config(noreplace) /etc/raddb/hints
ccd23a
%config(noreplace) /etc/raddb/huntgroups
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sqlippool.conf
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/preproxy_users
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/proxy.conf
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/radiusd.conf
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql.conf
67d3d2
%dir %attr(640,root,radiusd) /etc/raddb/sql
67d3d2
#%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/oracle/*
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/users
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/otp.conf
ee7e5d
%dir %attr(770,root,radiusd) /etc/raddb/certs
ccd23a
/etc/raddb/certs/Makefile
ccd23a
/etc/raddb/certs/README
ccd23a
/etc/raddb/certs/xpextensions
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
67d3d2
%attr(750,root,radiusd) /etc/raddb/certs/bootstrap
67d3d2
%attr(640,root,radiusd) /etc/raddb/sites-available/*
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/eap.conf
67d3d2
%attr(640,root,radiusd) /etc/raddb/example.pl
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/policy.conf
ccd23a
/etc/raddb/policy.txt
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/templates.conf
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/acct_unique
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/always
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_filter
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/attr_rewrite
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/chap
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/checkval
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/counter
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail
650b46
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.example.com
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.log
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/digest
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/echo
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/etc_group
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/exec
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expiration
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/expr
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/files
650b46
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/inner-eap
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ippool
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/logintime
650b46
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/linelog
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2ip
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2vlan
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mschap
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pam
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pap
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/passwd
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/policy
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/preprocess
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/radutmp
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/realm
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/smbpasswd
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sql_log
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/sradutmp
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/unix
650b46
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/wimax
ccd23a
%attr(700,radiusd,radiusd) %dir /var/run/radiusd/
ccd23a
# binaries
ccd23a
%defattr(-,root,root)
ccd23a
/usr/sbin/checkrad
ccd23a
/usr/sbin/radiusd
ccd23a
/usr/sbin/radwatch
650b46
/usr/sbin/radmin
ccd23a
# man-pages
ccd23a
%doc %{_mandir}/man1/*
ccd23a
%doc %{_mandir}/man5/*
ccd23a
%doc %{_mandir}/man8/*
ccd23a
# dictionaries
ccd23a
%attr(755,root,root) %dir /usr/share/freeradius
ccd23a
/usr/share/freeradius/*
ccd23a
# logs
ccd23a
%attr(700,radiusd,radiusd) %dir /var/log/radius/
ccd23a
%attr(700,radiusd,radiusd) %dir /var/log/radius/radacct/
ccd23a
%attr(644,radiusd,radiusd) /var/log/radius/radutmp
ccd23a
%config(noreplace) %attr(600,radiusd,radiusd) /var/log/radius/radius.log
ccd23a
# RADIUS Loadable Modules
ccd23a
%attr(755,root,root) %dir %{_libdir}/freeradius
ccd23a
#%attr(755,root,root) %{_libdir}/freeradius/rlm_*.so*
e6850e
#%{_libdir}/freeradius/rlm_acctlog*.so
e6850e
%{_libdir}/freeradius/rlm_acct_unique.so
e6850e
%{_libdir}/freeradius/rlm_acct_unique-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_acctlog.so
e6850e
%{_libdir}/freeradius/rlm_acctlog-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_always.so
e6850e
%{_libdir}/freeradius/rlm_always-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_attr_filter.so
e6850e
%{_libdir}/freeradius/rlm_attr_filter-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_attr_rewrite.so
e6850e
%{_libdir}/freeradius/rlm_attr_rewrite-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_chap.so
e6850e
%{_libdir}/freeradius/rlm_chap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_checkval.so
e6850e
%{_libdir}/freeradius/rlm_checkval-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_copy_packet.so
e6850e
%{_libdir}/freeradius/rlm_copy_packet-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_counter.so
e6850e
%{_libdir}/freeradius/rlm_counter-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_dbm.so
e6850e
%{_libdir}/freeradius/rlm_dbm-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_detail.so
e6850e
%{_libdir}/freeradius/rlm_detail-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_digest.so
e6850e
%{_libdir}/freeradius/rlm_digest-%{version}.so
650b46
%{_libdir}/freeradius/rlm_dynamic_clients.so
650b46
%{_libdir}/freeradius/rlm_dynamic_clients-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap.so
e6850e
%{_libdir}/freeradius/rlm_eap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_gtc.so
e6850e
%{_libdir}/freeradius/rlm_eap_gtc-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_leap.so
e6850e
%{_libdir}/freeradius/rlm_eap_leap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_md5.so
e6850e
%{_libdir}/freeradius/rlm_eap_md5-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_mschapv2.so
e6850e
%{_libdir}/freeradius/rlm_eap_mschapv2-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_peap.so
e6850e
%{_libdir}/freeradius/rlm_eap_peap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_sim.so
e6850e
%{_libdir}/freeradius/rlm_eap_sim-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_tls.so
e6850e
%{_libdir}/freeradius/rlm_eap_tls-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_eap_ttls.so
e6850e
%{_libdir}/freeradius/rlm_eap_ttls-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_exec.so
e6850e
%{_libdir}/freeradius/rlm_exec-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_expiration.so
e6850e
%{_libdir}/freeradius/rlm_expiration-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_expr.so
e6850e
%{_libdir}/freeradius/rlm_expr-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_fastusers.so
e6850e
%{_libdir}/freeradius/rlm_fastusers-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_files.so
e6850e
%{_libdir}/freeradius/rlm_files-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_ippool.so
e6850e
%{_libdir}/freeradius/rlm_ippool-%{version}.so
650b46
%{_libdir}/freeradius/rlm_linelog.so
650b46
%{_libdir}/freeradius/rlm_linelog-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_logintime.so
e6850e
%{_libdir}/freeradius/rlm_logintime-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_mschap.so
e6850e
%{_libdir}/freeradius/rlm_mschap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_otp.so
e6850e
%{_libdir}/freeradius/rlm_otp-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_pam.so
e6850e
%{_libdir}/freeradius/rlm_pam-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_pap.so
e6850e
%{_libdir}/freeradius/rlm_pap-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_passwd.so
e6850e
%{_libdir}/freeradius/rlm_passwd-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_policy.so
e6850e
%{_libdir}/freeradius/rlm_policy-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_preprocess.so
e6850e
%{_libdir}/freeradius/rlm_preprocess-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_radutmp.so
e6850e
%{_libdir}/freeradius/rlm_radutmp-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_realm.so
e6850e
%{_libdir}/freeradius/rlm_realm-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_sql.so
e6850e
%{_libdir}/freeradius/rlm_sql-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_sql_log.so
e6850e
%{_libdir}/freeradius/rlm_sql_log-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_sqlcounter.so
e6850e
%{_libdir}/freeradius/rlm_sqlcounter-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_sqlippool.so
e6850e
%{_libdir}/freeradius/rlm_sqlippool-%{version}.so
e6850e
%{_libdir}/freeradius/rlm_unix.so
e6850e
%{_libdir}/freeradius/rlm_unix-%{version}.so
cvsdist e14143
b281c6
%files utils
67d3d2
%defattr(-,root,root)
b281c6
/usr/bin/*
b281c6
b281c6
%files libs
b281c6
# RADIU shared libs
67d3d2
%defattr(-,root,root)
b281c6
%attr(755,root,root) %dir %{_libdir}/freeradius
b281c6
%attr(755,root,root) %{_libdir}/freeradius/lib*.so*
b281c6
b281c6
%files devel
b281c6
%defattr(-,root,root)
b281c6
#%attr(644,root,root) %{_libdir}/freeradius/*.a
b281c6
#%attr(644,root,root) %{_libdir}/freeradius/*.la
b281c6
%attr(644,root,root) /usr/include/freeradius/*.h
b281c6
b281c6
%files krb5
67d3d2
%defattr(-,root,root)
b281c6
%{_libdir}/freeradius/rlm_krb5.so
b281c6
%{_libdir}/freeradius/rlm_krb5-%{version}.so
8b5c4b
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/krb5
b281c6
b281c6
%files perl
67d3d2
%defattr(-,root,root)
b281c6
%{_libdir}/freeradius/rlm_perl.so
b281c6
%{_libdir}/freeradius/rlm_perl-%{version}.so
b281c6
b281c6
%files python
67d3d2
%defattr(-,root,root)
b281c6
%{_libdir}/freeradius/rlm_python.so
b281c6
%{_libdir}/freeradius/rlm_python-%{version}.so
b281c6
cvsdist e14143
%files mysql
67d3d2
%defattr(-,root,root)
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
b281c6
%{_libdir}/freeradius/rlm_sql_mysql.so
b281c6
%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
cvsdist e14143
cvsdist e14143
%files postgresql
67d3d2
%defattr(-,root,root)
67d3d2
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
b281c6
%{_libdir}/freeradius/rlm_sql_postgresql.so
b281c6
%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
67d3d2
67d3d2
%files ldap
67d3d2
%defattr(-,root,root)
c71c5f
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/ldap.attrmap
67d3d2
%{_libdir}/freeradius/rlm_ldap.so
67d3d2
%{_libdir}/freeradius/rlm_ldap-%{version}.so
05871a
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ldap
cvsdist e14143
cvsdist e14143
%files unixODBC
67d3d2
%defattr(-,root,root)
b281c6
%{_libdir}/freeradius/rlm_sql_unixodbc.so
b281c6
%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
cvsdist e14143
cvsdist e14143
%changelog
4e15cd
* Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
235ae1
- add obsoletes tag for dialupadmin subpackages which were removed
235ae1
4e15cd
* Mon Dec  1 2008 John Dennis <jdennis@redhat.com> - 2.1.1-7
235ae1
- add readline-devel BuildRequires
235ae1
3deead
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.1.1-4
3deead
- Rebuild for Python 2.6
3deead
05871a
* Fri Nov 21 2008 John Dennis <jdennis@redhat.com> - 2.1.1-3
05871a
- make spec file buildable on RHEL5.2 by making perl-devel a fedora only dependency.
05871a
- remove diaupadmin packages, it's not well supported and there are problems with it.
05871a
ee7e5d
* Fri Sep 26 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
ee7e5d
- Resolves: bug #464119 bootstrap code could not create initial certs in /etc/raddb/certs because
ee7e5d
  permissions were 750, radiusd running as euid radiusd could not write there, permissions now 770
ee7e5d
bf0615
* Thu Sep 25 2008 John Dennis <jdennis@redhat.com> - 2.1.1-1
bf0615
- upgrade to new upstream 2.1.1 release
bf0615
c71c5f
* Wed Jul 30 2008 John Dennis <jdennis@redhat.com> - 2.0.5-2
c71c5f
- Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
c71c5f
  specify file attributes for /etc/raddb/ldap.attrmap
c71c5f
  fix consistent use of tabs/spaces (rpmlint warning)
c71c5f
8b5c4b
* Mon Jun  9 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
8b5c4b
- upgrade to latest upstream, see Changelog for details,
8b5c4b
  upstream now has more complete fix for bug #447545, local patch removed
8b5c4b
8b5c4b
* Wed May 28 2008 John Dennis <jdennis@redhat.com> - 2.0.4-1
8b5c4b
- upgrade to latest upstream, see Changelog for details
8b5c4b
- resolves: bug #447545: freeradius missing /etc/raddb/sites-available/inner-tunnel
8b5c4b
8b5c4b
* Fri May 16 2008  <jdennis@redhat.com> - 2.0.3-3
8b5c4b
- # Temporary fix for bug #446864, turn off optimization
8b5c4b
efcd18
* Fri Apr 18 2008 John Dennis <jdennis@redhat.com> - 2.0.3-2
efcd18
- remove support for radrelay, it's different now
efcd18
- turn off default inclusion of SQL config files in radiusd.conf since SQL
efcd18
  is an optional RPM install
efcd18
- remove mssql config files
efcd18
67d3d2
* Thu Apr 17 2008 John Dennis <jdennis@redhat.com> - 2.0.3-1
67d3d2
- Upgrade to current upstream 2.0.3 release
67d3d2
- Many thanks to Enrico Scholz for his spec file suggestions incorporated here
67d3d2
- Resolve: bug #438665: Contains files owned by buildsystem
67d3d2
- Add dialupadmin-mysql, dialupadmin-postgresql, dialupadmin-ldap subpackages
67d3d2
  to further partition external dependencies.
67d3d2
- Clean up some unnecessary requires dependencies
67d3d2
- Add versioned requires between subpackages
67d3d2
c16ca1
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.2-2
c16ca1
- add Requires for versioned perl (libperl.so)
c16ca1
b281c6
* Thu Feb 28 2008  <jdennis@redhat.com> - 2.0.2-1
b281c6
- upgrade to new 2.0 release
b281c6
- split into subpackages for more fine grained installation
b281c6
e09e2f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.7-4.4.ipa
e09e2f
- Autorebuild for GCC 4.3
e09e2f
57a485
* Thu Dec 06 2007 Release Engineering <rel-eng at="" fedoraproject="" dot="" org=""> - 1.1.7-3.4.ipa
57a485
- Rebuild for deps
57a485
ca4745
* Sat Nov 10 2007  <jdennis@redhat.com> - 1.1.7-3.3.ipa
ca4745
- add support in rlm_ldap for reading clients from ldap
ca4745
- fix TLS parameter controling if a cert which fails to validate
ca4745
  will be accepted (i.e. self-signed),
ca4745
  rlm_ldap config parameter=tls_require_cert
ca4745
  ldap LDAP_OPT_X_TLS_REQUIRE_CERT parameter was being passed to
ca4745
  ldap_set_option() when it should have been ldap_int_tls_config()
ca4745
ca4745
* Sat Nov 3 2007  <jdennis@redhat.com> - 1.1.7-3.2.ipa
05ae0f
- add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server
05ae0f
ea5b30
* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3.1
ea5b30
- made init script fully lsb conform
ea5b30
632cef
* Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-3
632cef
- fixed initscript problem (rhbz#292521)
632cef
e492c8
* Tue Aug 28 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-2
e492c8
- fixed initscript for LSB (rhbz#243671, rhbz#243928)
e492c8
- fixed license tag
e492c8
1b64b7
* Tue Aug  7 2007 Thomas Woerner <twoerner@redhat.com> 1.1.7-1
1b64b7
- new versin 1.1.7
1b64b7
- install snmp MIB files
1b64b7
- dropped LDAP_DEPRECATED flag, it is upstream
1b64b7
- marked config files for sub packages as config (rhbz#240400)
1b64b7
- moved db files to /var/lib/raddb (rhbz#199082)
1b64b7
24f5fe
* Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-2
24f5fe
- radiusd expects /etc/raddb to not be world readable or writable
24f5fe
  /etc/raddb now belongs to radiusd, post script sets permissions
24f5fe
4fb033
* Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 1.1.6-1
4fb033
- new version 1.1.6
4fb033
c39b9d
* Fri Mar  9 2007 Thomas Woerner <twoerner@redhat.com> 1.1.5-1
c39b9d
- new version 1.1.5
c39b9d
  - no /etc/raddb/otppasswd.sample anymore
c39b9d
  - build is pie by default, dropped pie patch
c39b9d
- fixed build requirement for perl (perl-devel)
c39b9d
a4c69e
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.1.3-3
a4c69e
- remove trailing dot from summary
a4c69e
- fix buildroot
a4c69e
- fix post/postun/preun requirements
a4c69e
- use rpm macros
a4c69e
61d626
* Fri Dec  8 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2.1
61d626
- rebuild for new postgresql library version
61d626
c7ab4f
* Thu Nov 30 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-2
c7ab4f
- fixed ldap code to not use internals, added LDAP_DEPRECATED compile time flag
c7ab4f
  (#210912)
c7ab4f
2601d9
* Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.3-1
2601d9
- new version 1.1.3 with lots of upstream bug fixes, some security fixes
2601d9
  (#205654)
2601d9
60c0c7
* Tue Aug 15 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-2
60c0c7
- commented out include for sql.conf in radiusd.conf (#202561)
60c0c7
8921c8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.2-1.1
8921c8
- rebuild
8921c8
2713cf
* Thu Jun  1 2006 Thomas Woerner <twoerner@redhat.com> 1.1.2-1
2713cf
- new version 1.1.2
2713cf
92218a
* Wed May 31 2006 Thomas Woerner <twoerner@redhat.com> 1.1.1-1
92218a
- new version 1.1.1
92218a
- fixed incorrect rlm_sql globbing (#189095)
92218a
  Thanks to Yanko Kaneti for the fix.
92218a
- fixed chown syntax in post script (#182777)
92218a
- dropped gcc34, libdir and realloc-return patch
92218a
- spec file cleanup with additional libtool build fixes
92218a
d4b88d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2
d4b88d
- bump again for double-long bug on ppc(64)
d4b88d
33aefe
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.1
33aefe
- rebuilt for new gcc4.1 snapshot and glibc changes
33aefe
29f7c9
* Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 1.0.5-1
29f7c9
- new version 1.0.5
29f7c9
bb20b4
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
bb20b4
- rebuilt
bb20b4
cbd94a
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 1.0.4-5
cbd94a
- Rebuild due to mysql update.
cbd94a
4056de
* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-4
4056de
- rebuilt with new openssl
c493ff
- fixed ignored return value of realloc
4056de
1a1713
* Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 1.0.4-3
1a1713
- use include instead of pam_stack in pam config
1a1713
0facb4
* Wed Jul 20 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-2
0facb4
- added missing build requires for libtool-ltdl-devel (#160877)
0facb4
- modified file list to get a report for missing plugins
0facb4
c0d6ee
* Tue Jun 28 2005 Thomas Woerner <twoerner@redhat.com> 1.0.4-1
c0d6ee
- new version 1.0.4
c0d6ee
- droppend radrelay patch (fixed upstream)
c0d6ee
d72b92
* Thu Apr 14 2005 Warren Togami <wtogami@redhat.com> 1.0.2-2
d72b92
- rebuild against new postgresql-libs
d72b92
7f6b00
* Mon Apr  4 2005 Thomas Woerner <twoerner@redhat.com> 1.0.2-1
7f6b00
- new version 1.0.2
7f6b00
c2530c
* Fri Nov 19 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-3
c2530c
- rebuild for MySQL 4
c2530c
- switched over to installed libtool
c2530c
e6f237
* Fri Nov  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2
e6f237
- Fixed install problem of radeapclient (#138069)
e6f237
e9e726
* Wed Oct  6 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-1
e9e726
- new version 1.0.1
e9e726
- applied radrelay CVS patch from Kevin Bonner
e9e726
cvsdist 523521
* Wed Aug 25 2004 Warren Togami <wtogami@redhat.com> 1.0.0-3
cvsdist 523521
- BuildRequires pam-devel and libtool
cvsdist 523521
- Fix errant text in description
cvsdist 523521
- Other minor cleanups
cvsdist 523521
cvsdist 0d0f90
* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2.1
cvsdist 0d0f90
- renamed /etc/pam.d/radius to /etc/pam.d/radiusd to match default 
cvsdist 0d0f90
  configuration (#130613)
cvsdist 0d0f90
cvsdist 413172
* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-2
cvsdist 413172
- fixed BuildRequires for openssl-devel (#130606)
cvsdist 413172
cvsdist b1b094
* Mon Aug 16 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-1
cvsdist b1b094
- 1.0.0 final
cvsdist b1b094
cvsdist a71b24
* Mon Jul  5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.2
cvsdist a71b24
- added buildrequires for zlib-devel (#127162)
cvsdist a71b24
- fixed libdir patch to prefer own libeap instead of installed one (#127168)
cvsdist a71b24
- fixed samba account maps in LDAP for samba v3 (#127173)
cvsdist a71b24
cvsdist 484359
* Thu Jul  1 2004 Thomas Woerner <twoerner@redhat.com> 1.0.0-0.pre3.1
cvsdist 484359
- third "pre" release of version 1.0.0
cvsdist 484359
- rlm_ldap is using SASLv2 (#126507)
cvsdist 484359
cvsdist 333470
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 333470
- rebuilt
cvsdist 333470
cvsdist 72d32f
* Thu Jun  3 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-4.1
cvsdist 72d32f
- fixed BuildRequires for gdbm-devel
cvsdist 72d32f
cvsdist 62583f
* Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 0.9.3-4
cvsdist 62583f
- gcc34 compilation fixes
cvsdist 62583f
cvsdist 4eb753
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 4eb753
- rebuilt
cvsdist 4eb753
cvsdist 4eb753
* Tue Feb 24 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-3.2
cvsdist 4eb753
- added sql scripts for rlm_sql to documentation (#116435)
cvsdist 4eb753
cvsdist 4eb753
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 4eb753
- rebuilt
cvsdist 4eb753
cvsdist 4eb753
* Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2.1
cvsdist 4eb753
- using -fPIC instead of -fpic for s390 ans s390x
cvsdist 4eb753
cvsdist 4eb753
* Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 0.9.3-2
cvsdist 4eb753
- radiusd is pie, now
cvsdist 4eb753
cvsdist 4eb753
* Tue Nov 25 2003 Thomas Woerner <twoerner@redhat.com> 0.9.3-1
cvsdist 4eb753
- new version 0.9.3 (bugfix release)
cvsdist 4eb753
cvsdist 4eb753
* Fri Nov  7 2003 Thomas Woerner <twoerner@redhat.com> 0.9.2-1
cvsdist 4eb753
- new version 0.9.2
cvsdist 4eb753
cvsdist 95efc0
* Mon Sep 29 2003 Thomas Woerner <twoerner@redhat.com> 0.9.1-1
cvsdist 95efc0
- new version 0.9.1
cvsdist e14143
cvsdist 95efc0
* Mon Sep 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.0-2.2
cvsdist e14143
- modify default PAM configuration to remove the directory part of the module
cvsdist e14143
  name, so that 32- and 64-bit libpam (called from 32- or 64-bit radiusd) on
cvsdist e14143
  multilib systems will always load the right module for the architecture
cvsdist e14143
- modify default PAM configuration to use pam_stack
cvsdist e14143
cvsdist 95efc0
* Mon Sep  1 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-2.1
cvsdist 95efc0
- com_err.h moved to /usr/include/et
cvsdist 95efc0
cvsdist e14143
* Tue Jul 22 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-1
cvsdist e14143
- 0.9.0 final
cvsdist e14143
cvsdist e14143
* Wed Jul 16 2003 Thomas Woerner <twoerner@redhat.com> 0.9.0-0.9.0
cvsdist e14143
- new version 0.9.0 pre3
cvsdist e14143
cvsdist e14143
* Thu May 22 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-6
cvsdist e14143
- included directory /var/log/radius/radacct for logrotate
cvsdist e14143
cvsdist e14143
* Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-5
cvsdist e14143
- moved log and run dir to files section, cleaned up post
cvsdist e14143
cvsdist e14143
* Wed May 21 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-4
cvsdist e14143
- added missing run dir in post
cvsdist e14143
cvsdist e14143
* Tue May 20 2003 Thomas Woerner <twoerner@redhat.com> 0.8.1-3
cvsdist e14143
- fixed module load patch
cvsdist e14143
cvsdist e14143
* Fri May 16 2003 Thomas Woerner <twoerner@redhat.com>
cvsdist e14143
- removed la files, removed devel package
cvsdist e14143
- split into 4 packages: freeradius, freeradius-mysql, freeradius-postgresql,
cvsdist e14143
    freeradius-unixODBC
cvsdist e14143
- fixed requires and buildrequires
cvsdist e14143
- create logging dir in post if it does not exist
cvsdist e14143
- fixed module load without la files
cvsdist e14143
cvsdist e14143
* Thu Apr 17 2003 Thomas Woerner <twoerner@redhat.com> 
cvsdist e14143
- Initial build.