2008-02-01 04:33:23 +01:00
|
|
|
#
|
2011-05-27 11:35:47 +02:00
|
|
|
# spec file for package freeradius-server
|
2008-02-01 04:33:23 +01:00
|
|
|
#
|
2017-01-01 16:34:14 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-02-01 04:33:23 +01:00
|
|
|
#
|
2008-08-27 02:43:30 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-02-01 04:33:23 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-07-29 11:39:25 +02:00
|
|
|
%define unitname radiusd
|
|
|
|
%define apxs2 apxs2-prefork
|
|
|
|
%define apache2_sysconfdir %(%{_sbindir}/%{apxs2} -q SYSCONFDIR)
|
2008-02-01 04:33:23 +01:00
|
|
|
Name: freeradius-server
|
2016-10-01 18:12:11 +02:00
|
|
|
Version: 3.0.12
|
2012-05-17 00:31:35 +02:00
|
|
|
Release: 0
|
2016-09-06 13:59:19 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1140
|
|
|
|
%bcond_without systemd
|
|
|
|
%bcond_without libjson
|
|
|
|
%define runpath /run
|
|
|
|
%else
|
|
|
|
%bcond_with systemd
|
|
|
|
%bcond_with libjson
|
|
|
|
%define runpath /var/run
|
|
|
|
%endif
|
|
|
|
|
2017-02-06 11:58:11 +01:00
|
|
|
# Disable FreeTDS on SLE12. We never shipped it enabled with FreeTDS.
|
|
|
|
%if 0%{?suse_version} > 1330 || ( 0%{?suse_version} > 1140 && 0%{?is_opensuse} )
|
|
|
|
%bcond_without freetds
|
|
|
|
%else
|
|
|
|
%bcond_with freetds
|
|
|
|
%endif
|
|
|
|
|
2016-09-06 13:59:19 +02:00
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
%bcond_without memcached
|
|
|
|
%else
|
|
|
|
%bcond_with memcached
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Summary: RADIUS Server
|
2012-10-01 16:32:33 +02:00
|
|
|
License: GPL-2.0 and LGPL-2.1
|
2011-06-24 13:29:48 +02:00
|
|
|
Group: Productivity/Networking/Radius/Servers
|
2012-05-17 00:31:35 +02:00
|
|
|
Url: http://www.freeradius.org/
|
2013-10-16 20:25:42 +02:00
|
|
|
Source: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2
|
2015-01-14 14:10:55 +01:00
|
|
|
Source99: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2.sig
|
2017-02-06 11:58:11 +01:00
|
|
|
# keyring downloaded via link @ ftp://ftp.freeradius.org/pub/freeradius/README
|
|
|
|
Source100: freeradius.keyring
|
2013-10-16 20:25:42 +02:00
|
|
|
Source1: radiusd.service
|
|
|
|
Source2: freeradius-tmpfiles.conf
|
2015-04-23 14:34:02 +02:00
|
|
|
Patch1: freeradius-server-tmpfiles.patch
|
|
|
|
Patch2: freeradius-server-radiusd-logrotate.patch
|
|
|
|
Patch3: freeradius-server-rcradiusd.patch
|
2015-04-23 16:30:13 +02:00
|
|
|
Patch4: freeradius-server-fix-cert-bootstrap.patch
|
2015-07-09 09:48:02 +02:00
|
|
|
Patch5: freeradius-server-rlm_sql_unixodbc-configure.patch
|
2017-02-06 11:58:11 +01:00
|
|
|
Patch6: freeradius-server-radclient-init-error-buffer.patch
|
|
|
|
Patch7: freeradius-server-opensslversion.patch
|
2010-03-11 15:03:14 +01:00
|
|
|
BuildRequires: apache2-devel
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: db-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} <= 1110
|
|
|
|
BuildRequires: libdb-5_1-devel
|
|
|
|
%endif
|
|
|
|
%if %{with freetds}
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: freetds-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2010-03-11 15:03:14 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: krb5-devel
|
2011-05-26 17:24:56 +02:00
|
|
|
BuildRequires: libcom_err-devel
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libidn-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with json}
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: libjson-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
|
|
|
%if %{with memcached}
|
2015-01-13 17:56:52 +01:00
|
|
|
BuildRequires: libmemcached-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2010-03-11 15:03:14 +01:00
|
|
|
BuildRequires: libmysqlclient-devel
|
|
|
|
BuildRequires: libpcap-devel
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: libtalloc-devel
|
2010-03-11 15:03:14 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: net-snmp-devel
|
|
|
|
BuildRequires: openldap2-devel
|
2017-02-06 11:58:11 +01:00
|
|
|
BuildRequires: openssl-devel > 1.0
|
2010-03-11 15:03:14 +01:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: postgresql-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: sqlite3-devel
|
|
|
|
BuildRequires: unixODBC-devel
|
2016-09-06 13:59:19 +02:00
|
|
|
%if 0%{?suse_version} > 1110
|
2011-06-24 13:29:48 +02:00
|
|
|
BuildRequires: pkgconfig(apr-1)
|
2016-09-06 13:59:19 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: libapr1-devel
|
|
|
|
%endif
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %fillup_prereq
|
|
|
|
Requires: %insserv_prereq
|
2011-06-24 13:29:48 +02:00
|
|
|
Requires: %{name}-libs = %{version}
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: pwdutils
|
2011-06-24 13:29:48 +02:00
|
|
|
Requires: python
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires(pre): openssl
|
|
|
|
Requires(pre): perl
|
2011-06-24 13:29:48 +02:00
|
|
|
Recommends: logrotate
|
|
|
|
Provides: freeradius = %{version}
|
2012-05-17 00:31:35 +02:00
|
|
|
Provides: radiusd
|
2011-06-24 13:29:48 +02:00
|
|
|
Obsoletes: freeradius < %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-07-29 11:39:25 +02:00
|
|
|
%{?libperl_requires}
|
2011-06-24 13:29:48 +02:00
|
|
|
Conflicts: radiusd-livingston radiusd-cistron icradius
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
2017-02-06 11:58:11 +01:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2014-07-29 11:39:25 +02:00
|
|
|
%{?systemd_requires}
|
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%description
|
2016-09-06 13:59:19 +02:00
|
|
|
Remote Authentication Dial-In User Service (RADIUS) is a networking
|
|
|
|
protocol that provides centralized Authentication, Authorization, and
|
|
|
|
Accounting (AAA or Triple A) management for users who connect and
|
|
|
|
use a network service.
|
|
|
|
|
2017-01-01 16:34:14 +01:00
|
|
|
FreeRADIUS is a modular RADIUS implementation.
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: FreeRADIUS shared library
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Libraries
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%description libs
|
2017-01-01 16:34:14 +01:00
|
|
|
The FreeRADIUS shared libraries.
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: FreeRADIUS Clients
|
2011-06-24 13:29:48 +02:00
|
|
|
Group: Productivity/Networking/Radius/Clients
|
2008-02-01 04:33:23 +01:00
|
|
|
Requires: %{name}-libs = %{version}
|
|
|
|
|
|
|
|
%description utils
|
2017-01-01 16:34:14 +01:00
|
|
|
Collection of FreeRADIUS utilities.
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%package devel
|
2016-09-06 13:59:19 +02:00
|
|
|
Summary: FreeRADIUS Development Files
|
2011-06-24 13:29:48 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-02-01 04:33:23 +01:00
|
|
|
Requires: %{name}-libs = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2017-01-01 16:34:14 +01:00
|
|
|
FreeRADIUS header files for development.
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: FreeRADIUS Documentation
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: Documentation/HTML
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%description doc
|
2017-01-01 16:34:14 +01:00
|
|
|
FreeRADIUS documentation.
|
2008-02-01 04:33:23 +01:00
|
|
|
|
2013-10-16 20:25:42 +02:00
|
|
|
%package ldap
|
|
|
|
Summary: LDAP support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: openldap2-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description ldap
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing LDAP support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package krb5
|
|
|
|
Summary: Kerberos 5 support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: krb5-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description krb5
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing Kerberos 5 authentication support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package perl
|
|
|
|
Summary: Perl support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::Embed)
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: perl
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description perl
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing Perl support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: python-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description python
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing Python support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package mysql
|
|
|
|
Summary: MySQL support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: mysql-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description mysql
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing MySQL support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package postgresql
|
|
|
|
Summary: Postgresql support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2013-10-16 20:25:42 +02:00
|
|
|
BuildRequires: postgresql-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description postgresql
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing PostgreSQL support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%package sqlite
|
|
|
|
Summary: SQLite support for freeradius
|
2017-01-01 16:34:14 +01:00
|
|
|
Group: System/Daemons
|
2015-01-14 14:10:55 +01:00
|
|
|
BuildRequires: sqlite3-devel
|
2014-07-29 11:39:25 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%description sqlite
|
2016-09-06 13:59:19 +02:00
|
|
|
FreeRADIUS plugin providing SQLite support.
|
2013-10-16 20:25:42 +02:00
|
|
|
|
2008-02-01 04:33:23 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-04-23 14:34:02 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2015-04-23 16:30:13 +02:00
|
|
|
%patch4 -p1
|
2015-07-09 09:48:02 +02:00
|
|
|
%patch5 -p1
|
2017-02-06 11:58:11 +01:00
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%build
|
2011-05-26 17:24:56 +02:00
|
|
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
|
|
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
|
|
|
TIME="\"$(date -d "${modified}" "+%%R")\""
|
|
|
|
find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
2015-01-14 14:10:55 +01:00
|
|
|
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector -fPIC -DPIC"
|
2008-02-01 04:33:23 +01:00
|
|
|
export LDFLAGS="-pie"
|
2010-03-11 15:03:14 +01:00
|
|
|
%configure \
|
2010-05-03 23:30:26 +02:00
|
|
|
--disable-static \
|
2008-02-01 04:33:23 +01:00
|
|
|
--libdir=%{_libdir}/freeradius \
|
|
|
|
--disable-ltdl-install \
|
|
|
|
--enable-strict-dependencies \
|
|
|
|
--with-edir \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--with-system-libtool \
|
2012-09-11 11:31:52 +02:00
|
|
|
--with-system-libltdl \
|
2008-02-01 04:33:23 +01:00
|
|
|
--with-udpfromto \
|
|
|
|
--without-rlm_eap_ikev2 \
|
2008-07-24 22:17:53 +02:00
|
|
|
--without-rlm_eap_tnc \
|
2008-02-01 04:33:23 +01:00
|
|
|
--with-rlm-krb5-lib-dir=%{_libdir} \
|
|
|
|
--without-rlm_opendirectory \
|
|
|
|
--without-rlm_sql_db2 \
|
|
|
|
--without-rlm_sql_firebird \
|
|
|
|
--without-rlm_sql_iodbc \
|
2011-06-24 13:29:48 +02:00
|
|
|
--without-rlm_redis \
|
|
|
|
--without-rlm_rediswho \
|
2013-10-16 20:25:42 +02:00
|
|
|
--without-rlm_sql_oracle \
|
2014-05-19 16:03:12 +02:00
|
|
|
--without-rlm_securid \
|
2016-09-06 13:59:19 +02:00
|
|
|
%if ! %{with memcached}
|
|
|
|
--without-rlm_cache_memcached \
|
|
|
|
%endif
|
|
|
|
%if ! %{with freetds}
|
2017-02-06 11:58:11 +01:00
|
|
|
--without-rlm_sql_freetds \
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with json}
|
|
|
|
--without-rlm_rest \
|
|
|
|
%endif
|
2017-02-06 11:58:11 +01:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-openssl-version-check
|
2014-05-19 16:03:12 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%install
|
2011-06-24 13:29:48 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/radiusd
|
|
|
|
make install R=%{buildroot} INSTALLSTRIP=
|
2008-02-01 04:33:23 +01:00
|
|
|
# modify default configuration
|
2011-06-24 13:29:48 +02:00
|
|
|
RADDB=%{buildroot}%{_sysconfdir}/raddb
|
2008-02-01 04:33:23 +01:00
|
|
|
perl -i -pe 's/^#user =.*$/user = radiusd/' $RADDB/radiusd.conf
|
|
|
|
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
|
2011-06-24 13:29:48 +02:00
|
|
|
/sbin/ldconfig -n %{buildroot}%{_libdir}/freeradius
|
2008-02-01 04:33:23 +01:00
|
|
|
# logs
|
2011-06-24 13:29:48 +02:00
|
|
|
touch %{buildroot}%{_localstatedir}/log/radius/radutmp
|
|
|
|
touch %{buildroot}%{_localstatedir}/log/radius/radius.log
|
2014-07-29 11:39:25 +02:00
|
|
|
# SUSE
|
2011-06-24 13:29:48 +02:00
|
|
|
install -d %{buildroot}%{_sysconfdir}/pam.d
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/logrotate.d
|
|
|
|
install -m 644 suse/radiusd-pam %{buildroot}%{_sysconfdir}/pam.d/radiusd
|
|
|
|
install -m 644 suse/radiusd-logrotate %{buildroot}%{_sysconfdir}/logrotate.d/radiusd
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
|
install -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{unitname}.conf
|
|
|
|
install -D -m 755 %{SOURCE1} %{buildroot}%{_unitdir}/%{unitname}.service
|
2013-10-22 06:03:11 +02:00
|
|
|
# name the rc script according to the systemd unit
|
|
|
|
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcradiusd
|
2016-09-06 13:59:19 +02:00
|
|
|
%else
|
|
|
|
install -d -m 755 %{buildroot}%{_sysconfdir}/init.d
|
|
|
|
install -m 744 suse/rcradiusd %{buildroot}%{_sysconfdir}/init.d/freeradius
|
|
|
|
ln -sf %{_sysconfdir}/init.d/freeradius %{buildroot}%{_sbindir}/rcfreeradius
|
2013-10-22 06:03:11 +02:00
|
|
|
%endif
|
2011-06-24 13:29:48 +02:00
|
|
|
cp -al %{buildroot}%{_sbindir}/radiusd %{buildroot}%{_sbindir}/radrelay
|
2016-09-06 13:59:19 +02:00
|
|
|
install -D -d -m 0710 %{buildroot}%{runpath}/radiusd
|
2008-02-01 04:33:23 +01:00
|
|
|
mv -v doc/README doc/README.doc
|
|
|
|
# remove unneeded stuff
|
2013-10-22 06:03:11 +02:00
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.crt
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.csr
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.der
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.key
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.pem
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*.p12
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/index.*
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/serial*
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/dh
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/raddb/certs/random
|
2008-02-01 04:33:23 +01:00
|
|
|
rm -rf doc/00-OLD
|
2013-10-16 20:25:42 +02:00
|
|
|
rm -rf doc/.gitignore
|
|
|
|
rm -rf doc/source/.gitignore
|
2011-06-24 13:29:48 +02:00
|
|
|
rm -f %{buildroot}%{_sbindir}/rc.radiusd
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/freeradius*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/freeradius/*.*a
|
|
|
|
rm -f %{buildroot}%{_defaultdocdir}/%{name}/Makefile
|
|
|
|
rm -f %{buildroot}%{_defaultdocdir}/%{name}/examples/Makefile
|
2013-10-22 06:03:11 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/main/mssql
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/ippool/oracle
|
2014-05-19 16:03:12 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/oracle
|
2013-10-22 06:03:11 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/main/oracle
|
2016-09-06 13:59:19 +02:00
|
|
|
%if ! %{with json}
|
|
|
|
rm %{buildroot}%{_sysconfdir}/raddb/mods-available/rest
|
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%pre
|
2017-01-01 16:34:14 +01:00
|
|
|
getent group radiusd >/dev/null || %{_sbindir}/groupadd -r radiusd
|
|
|
|
getent passwd radiusd >/dev/null || %{_sbindir}/useradd -r -g radiusd \
|
|
|
|
-s /bin/false -c "Radius daemon" -d %{_localstatedir}/lib/radiusd \
|
|
|
|
radiusd
|
2015-08-07 12:57:54 +02:00
|
|
|
|
|
|
|
# boo#912714: add radiusd to winbind group for ntlm_auth
|
|
|
|
# add winbind group and fail silently if it already exists
|
2017-01-01 16:34:14 +01:00
|
|
|
%{_bindir}/getent group winbind >/dev/null \
|
2015-08-07 13:49:17 +02:00
|
|
|
|| %{_sbindir}/groupadd -r winbind
|
2015-08-07 12:57:54 +02:00
|
|
|
# add radiusd to winbind group
|
2016-09-06 13:59:19 +02:00
|
|
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1140
|
|
|
|
%{_sbindir}/groupmod -A radiusd winbind
|
|
|
|
%else
|
2015-08-07 13:49:17 +02:00
|
|
|
%{_bindir}/gpasswd -a radiusd winbind
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2015-08-07 12:57:54 +02:00
|
|
|
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
2013-10-16 20:25:42 +02:00
|
|
|
%service_add_pre %{unitname}.service
|
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%post
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
2013-10-16 20:25:42 +02:00
|
|
|
%service_add_post %{unitname}.service
|
2014-12-10 15:10:07 +01:00
|
|
|
systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf
|
2016-09-06 13:59:19 +02:00
|
|
|
%else
|
|
|
|
%fillup_and_insserv freeradius
|
2013-10-16 20:25:42 +02:00
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%preun
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
2013-10-16 20:25:42 +02:00
|
|
|
%service_del_preun %{unitname}.service
|
2016-09-06 13:59:19 +02:00
|
|
|
%else
|
|
|
|
%insserv_cleanup
|
|
|
|
%restart_on_update freeradius
|
2013-10-16 20:25:42 +02:00
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%postun
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%service_del_postun %{unitname}.service
|
|
|
|
%else
|
2013-10-16 20:25:42 +02:00
|
|
|
%insserv_cleanup
|
2008-02-01 04:33:23 +01:00
|
|
|
%restart_on_update freeradius
|
2013-10-16 20:25:42 +02:00
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
# doc
|
2013-10-16 20:25:42 +02:00
|
|
|
%doc COPYRIGHT CREDITS LICENSE doc/ChangeLog
|
2014-05-19 16:03:12 +02:00
|
|
|
# SUSE
|
2008-02-01 04:33:23 +01:00
|
|
|
%config %{_sysconfdir}/pam.d/radiusd
|
|
|
|
%config %{_sysconfdir}/logrotate.d/radiusd
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%{_sbindir}/rcradiusd
|
|
|
|
%else
|
2013-10-22 06:03:11 +02:00
|
|
|
%config %{_sysconfdir}/init.d/freeradius
|
2008-02-01 04:33:23 +01:00
|
|
|
%{_sbindir}/rcfreeradius
|
2013-10-22 06:03:11 +02:00
|
|
|
%endif
|
2008-02-01 04:33:23 +01:00
|
|
|
%dir %attr(755,radiusd,radiusd) %{_localstatedir}/lib/radiusd
|
|
|
|
# configs
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/trigger.conf
|
2008-02-01 04:33:23 +01:00
|
|
|
%defattr(-,root,radiusd)
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_sysconfdir}/raddb/README.rst
|
2008-02-01 04:33:23 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/raddb/dictionary
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/clients.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/raddb/hints
|
|
|
|
%config(noreplace) %{_sysconfdir}/raddb/huntgroups
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/proxy.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/radiusd.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/experimental.conf
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/certs
|
|
|
|
%{_sysconfdir}/raddb/certs/Makefile
|
2015-01-13 17:56:52 +01:00
|
|
|
%{_sysconfdir}/raddb/certs/passwords.mk
|
2008-02-01 04:33:23 +01:00
|
|
|
%{_sysconfdir}/raddb/certs/README
|
|
|
|
%{_sysconfdir}/raddb/certs/xpextensions
|
2014-05-19 16:03:12 +02:00
|
|
|
%{_sysconfdir}/raddb/panic.gdb
|
2008-02-01 04:33:23 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/certs/*.cnf
|
|
|
|
%attr(750,root,radiusd) %{_sysconfdir}/raddb/certs/bootstrap
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with systemd}
|
2013-10-22 06:03:11 +02:00
|
|
|
%{_tmpfilesdir}/%{unitname}.conf
|
|
|
|
%{_unitdir}/%{unitname}.service
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# mods-config
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config
|
|
|
|
%{_sysconfdir}/raddb/mods-config/README.rst
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/attr_filter
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/attr_filter/*
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/files
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/files/*
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/preprocess
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/preprocess/*
|
2014-12-10 15:10:07 +01:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/python
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/python/radiusd.py
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/mysql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/mysql/schema.sql
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/counter
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/cui
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main
|
2014-05-19 16:03:12 +02:00
|
|
|
#%attr(640,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/oracle/queries.conf
|
|
|
|
#%attr(640,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/oracle/schema.sql
|
|
|
|
%attr(640,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/sqlite/schema.sql
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/unbound
|
|
|
|
%attr(640,root,radiusd) %{_sysconfdir}/raddb/mods-config/unbound/default.conf
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# sites-available
|
2008-02-01 04:33:23 +01:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/sites-available
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_sysconfdir}/raddb/sites-available/README
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/control-socket
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/decoupled-accounting
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/robust-proxy-accounting
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/soh
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/coa
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/example
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/inner-tunnel
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/dhcp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/check-eap-tls
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/status
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/dhcp.relay
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/virtual.example.com
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/originate-coa
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/vmps
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/default
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/proxy-inner-tunnel
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/dynamic-clients
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/copy-acct-to-home-server
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/buffered-sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/tls
|
2014-12-10 15:10:07 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/abfab-tls
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/abfab-tr-idp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/channel_bindings
|
2015-04-23 14:34:02 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sites-available/challenge
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# sites-enabled
|
|
|
|
# symlink: %{_sysconfdir}/raddb/sites-enabled/xxx -> ../sites-available/xxx
|
2008-02-01 04:33:23 +01:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/sites-enabled
|
2013-10-16 20:25:42 +02:00
|
|
|
%config(missingok) %{_sysconfdir}/raddb/sites-enabled/inner-tunnel
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/sites-enabled/default
|
|
|
|
|
|
|
|
# mods-available
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-available
|
|
|
|
%{_sysconfdir}/raddb/mods-available/README.rst
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/always
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/attr_filter
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/cache
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/cache_eap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/chap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/counter
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/cui
|
2014-01-28 09:16:51 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/date
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/detail
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/detail.example.com
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/detail.log
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/dhcp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/dhcp_sqlippool
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/digest
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/dynamic_clients
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/eap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/echo
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available%{_sysconfdir}_group
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/exec
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/expiration
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/expr
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/files
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/idn
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/inner-eap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/ippool
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/linelog
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/logintime
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/mac2ip
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/mac2vlan
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/mschap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/ntlm_auth
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/opendirectory
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/otp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/pam
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/pap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/passwd
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/preprocess
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/python
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/radutmp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/realm
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/redis
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/rediswho
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/replicate
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with json}
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/rest
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/smbpasswd
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/smsotp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/soh
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/sometimes
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/sql
|
2014-01-28 09:16:51 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/sqlcounter
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/sqlippool
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/sradutmp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/unix
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/utf8
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/wimax
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/yubikey
|
2014-05-19 16:03:12 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/unbound
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/unpack
|
2014-12-10 15:10:07 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/abfab_psk_sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/couchbase
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# mods-enabled
|
|
|
|
# symlink: %{_sysconfdir}/raddb/mods-enabled/xxx -> ../mods-available/xxx
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-enabled
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/always
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/attr_filter
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/cache_eap
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/chap
|
2016-10-01 18:12:11 +02:00
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/date
|
2013-10-16 20:25:42 +02:00
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/detail
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/detail.log
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/dhcp
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/digest
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/dynamic_clients
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/eap
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/echo
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/exec
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/expiration
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/expr
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/files
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/linelog
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/logintime
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/mschap
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/ntlm_auth
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/pap
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/passwd
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/preprocess
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/radutmp
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/realm
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/replicate
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/soh
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/sradutmp
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/unix
|
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/utf8
|
2014-05-19 16:03:12 +02:00
|
|
|
%config(missingok) %{_sysconfdir}/raddb/mods-enabled/unpack
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# policy
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/policy.d
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/accounting
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/canonicalization
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/control
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/cui
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/dhcp
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/eap
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/filter
|
2016-10-01 18:12:11 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/moonshot-targeted-ids
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/operator-name
|
2014-12-10 15:10:07 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/abfab-tr
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.d/debug
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/raddb/users
|
2008-02-01 04:33:23 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/templates.conf
|
2016-09-06 13:59:19 +02:00
|
|
|
%attr(710,radiusd,radiusd) %dir %ghost %{runpath}/radiusd
|
2008-02-01 04:33:23 +01:00
|
|
|
# binaries
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/checkrad
|
|
|
|
%{_sbindir}/radiusd
|
2008-09-09 22:09:38 +02:00
|
|
|
%{_sbindir}/radmin
|
2008-02-01 04:33:23 +01:00
|
|
|
%{_sbindir}/radrelay
|
2009-06-02 17:00:18 +02:00
|
|
|
%{_sbindir}/raddebug
|
2008-02-01 04:33:23 +01:00
|
|
|
# man-pages
|
2017-02-06 11:58:11 +01:00
|
|
|
%{_mandir}/man5/*
|
|
|
|
%{_mandir}/man8/*
|
2008-02-01 04:33:23 +01:00
|
|
|
# dictionaries
|
|
|
|
%attr(755,root,root) %dir %{_datadir}/freeradius
|
|
|
|
%{_datadir}/freeradius/*
|
|
|
|
# logs
|
|
|
|
%attr(700,radiusd,radiusd) %dir %{_localstatedir}/log/radius/
|
|
|
|
%attr(700,radiusd,radiusd) %dir %{_localstatedir}/log/radius/radacct/
|
|
|
|
%attr(644,radiusd,radiusd) %{_localstatedir}/log/radius/radutmp
|
2011-06-24 13:29:48 +02:00
|
|
|
%config(noreplace) %attr(600,radiusd,radiusd) %{_localstatedir}/log/radius/radius.log
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
# loadable modules
|
|
|
|
%dir %attr(755,root,root) %{_libdir}/freeradius
|
|
|
|
%{_libdir}/freeradius/proto_dhcp.so
|
|
|
|
%{_libdir}/freeradius/proto_vmps.so
|
|
|
|
%{_libdir}/freeradius/rlm_always.so
|
|
|
|
%{_libdir}/freeradius/rlm_attr_filter.so
|
|
|
|
%{_libdir}/freeradius/rlm_cache.so
|
|
|
|
%{_libdir}/freeradius/rlm_chap.so
|
|
|
|
%{_libdir}/freeradius/rlm_counter.so
|
|
|
|
%{_libdir}/freeradius/rlm_cram.so
|
2014-01-28 09:16:51 +01:00
|
|
|
%{_libdir}/freeradius/rlm_date.so
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_detail.so
|
|
|
|
%{_libdir}/freeradius/rlm_dhcp.so
|
|
|
|
%{_libdir}/freeradius/rlm_digest.so
|
|
|
|
%{_libdir}/freeradius/rlm_dynamic_clients.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap.so
|
2016-10-01 18:12:11 +02:00
|
|
|
%{_libdir}/freeradius/rlm_eap_fast.so
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_eap_gtc.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_leap.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_md5.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_mschapv2.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_peap.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_pwd.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_sim.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_tls.so
|
|
|
|
%{_libdir}/freeradius/rlm_eap_ttls.so
|
|
|
|
%{_libdir}/freeradius/rlm_exec.so
|
|
|
|
%{_libdir}/freeradius/rlm_expiration.so
|
|
|
|
%{_libdir}/freeradius/rlm_expr.so
|
|
|
|
%{_libdir}/freeradius/rlm_files.so
|
|
|
|
%{_libdir}/freeradius/rlm_ippool.so
|
|
|
|
%{_libdir}/freeradius/rlm_linelog.so
|
|
|
|
%{_libdir}/freeradius/rlm_logintime.so
|
|
|
|
%{_libdir}/freeradius/rlm_mschap.so
|
|
|
|
%{_libdir}/freeradius/rlm_otp.so
|
|
|
|
%{_libdir}/freeradius/rlm_pam.so
|
|
|
|
%{_libdir}/freeradius/rlm_pap.so
|
|
|
|
%{_libdir}/freeradius/rlm_passwd.so
|
|
|
|
%{_libdir}/freeradius/rlm_preprocess.so
|
|
|
|
%{_libdir}/freeradius/rlm_radutmp.so
|
|
|
|
%{_libdir}/freeradius/rlm_realm.so
|
|
|
|
%{_libdir}/freeradius/rlm_replicate.so
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with json}
|
2014-05-19 16:03:12 +02:00
|
|
|
%{_libdir}/freeradius/rlm_rest.so
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_soh.so
|
|
|
|
%{_libdir}/freeradius/rlm_sometimes.so
|
|
|
|
%{_libdir}/freeradius/rlm_sql.so
|
|
|
|
%{_libdir}/freeradius/rlm_sqlcounter.so
|
|
|
|
%{_libdir}/freeradius/rlm_sqlippool.so
|
2017-02-06 11:58:11 +01:00
|
|
|
%if %{with freetds}
|
2016-10-01 18:12:11 +02:00
|
|
|
%{_libdir}/freeradius/rlm_sql_freetds.so
|
2017-02-06 11:58:11 +01:00
|
|
|
%endif
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_sql_null.so
|
2015-04-23 14:34:02 +02:00
|
|
|
%{_libdir}/freeradius/rlm_test.so
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_unix.so
|
|
|
|
%{_libdir}/freeradius/rlm_utf8.so
|
|
|
|
%{_libdir}/freeradius/rlm_wimax.so
|
|
|
|
%{_libdir}/freeradius/rlm_yubikey.so
|
|
|
|
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
2014-05-19 16:03:12 +02:00
|
|
|
%{_libdir}/freeradius/rlm_unpack.so
|
2016-09-06 13:59:19 +02:00
|
|
|
%if %{with memcached}
|
2015-01-13 17:56:52 +01:00
|
|
|
%{_libdir}/freeradius/rlm_cache_memcached.so
|
2016-09-06 13:59:19 +02:00
|
|
|
%endif
|
2015-01-13 17:56:52 +01:00
|
|
|
%{_libdir}/freeradius/rlm_cache_rbtree.so
|
2008-02-01 04:33:23 +01:00
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
2017-02-06 11:58:11 +01:00
|
|
|
%{_mandir}/man1/*
|
2008-02-01 04:33:23 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%files libs
|
2010-05-03 23:30:26 +02:00
|
|
|
%defattr(-,root,root)
|
2008-02-01 04:33:23 +01:00
|
|
|
# RADIUS shared libs
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/freeradius
|
|
|
|
%attr(755,root,root) %{_libdir}/freeradius/lib*.so*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %attr(755,root,root) %{_includedir}/freeradius
|
|
|
|
%attr(644,root,root) %{_includedir}/freeradius/*.h
|
|
|
|
|
2013-10-16 20:25:42 +02:00
|
|
|
%files krb5
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_krb5.so
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/krb5
|
|
|
|
|
|
|
|
%files perl
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/perl
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/perl
|
|
|
|
%{_sysconfdir}/raddb/mods-config/perl/example.pl
|
|
|
|
|
|
|
|
%{_libdir}/freeradius/rlm_perl.so
|
|
|
|
|
|
|
|
%files python
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/python
|
|
|
|
%{_sysconfdir}/raddb/mods-config/python/example.py*
|
|
|
|
%{_libdir}/freeradius/rlm_python.so
|
|
|
|
|
|
|
|
%files mysql
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/counter/mysql
|
2014-01-28 09:16:51 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace)%{_sysconfdir}/raddb/mods-config/sql/counter/mysql/dailycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace)%{_sysconfdir}/raddb/mods-config/sql/counter/mysql/expire_on_login.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace)%{_sysconfdir}/raddb/mods-config/sql/counter/mysql/monthlycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace)%{_sysconfdir}/raddb/mods-config/sql/counter/mysql/noresetcounter.conf
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/cui/mysql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/mysql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/mysql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool/mysql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/mysql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/mysql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/mysql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/mysql/queries.conf
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/mysql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/setup.sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/extras
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/extras/wimax
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/extras/wimax/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/mysql/extras/wimax/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/ndb
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/ndb/setup.sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/ndb/schema.sql
|
|
|
|
%{_sysconfdir}/raddb/mods-config/sql/main/ndb/README
|
|
|
|
|
|
|
|
%{_libdir}/freeradius/rlm_sql_mysql.so
|
|
|
|
|
|
|
|
%files postgresql
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/counter/postgresql
|
2014-01-28 09:16:51 +01:00
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/postgresql/dailycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/postgresql/expire_on_login.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/postgresql/monthlycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/postgresql/noresetcounter.conf
|
2013-10-16 20:25:42 +02:00
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/cui/postgresql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/postgresql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/postgresql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool/postgresql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/postgresql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/postgresql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/setup.sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/extras
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/extras/update_radacct_group.sql
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/extras/voip-postpaid.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql
|
|
|
|
|
|
|
|
%{_libdir}/freeradius/rlm_sql_postgresql.so
|
|
|
|
|
|
|
|
%files sqlite
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/cui/sqlite
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/sqlite/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/cui/sqlite/schema.sql
|
|
|
|
|
2014-01-28 09:16:51 +01:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/counter/sqlite
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/sqlite/dailycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/sqlite/expire_on_login.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/sqlite/monthlycounter.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/counter/sqlite/noresetcounter.conf
|
|
|
|
|
2013-10-16 20:25:42 +02:00
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool/sqlite
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/sqlite/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool/sqlite/schema.sql
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/sqlite
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/ippool-dhcp/sqlite/queries.conf
|
|
|
|
|
|
|
|
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/mods-config/sql/main/sqlite
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/sqlite/queries.conf
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-config/sql/main/sqlite/schema.sql
|
|
|
|
|
|
|
|
%{_libdir}/freeradius/rlm_sql_sqlite.so
|
|
|
|
|
|
|
|
%files ldap
|
2013-10-22 06:03:11 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-16 20:25:42 +02:00
|
|
|
%{_libdir}/freeradius/rlm_ldap.so
|
|
|
|
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/mods-available/ldap
|
|
|
|
|
2008-02-01 04:33:23 +01:00
|
|
|
%changelog
|