initial port of new 2.0 version, rpm builds but resulting binary not tested
yet.
This commit is contained in:
parent
e6850ee14d
commit
b281c60ec8
@ -1,4 +1 @@
|
|||||||
freeradius-1.1.3.tar.bz2
|
freeradius-server-2.0.2.tar.bz2
|
||||||
freeradius-1.1.5.tar.bz2
|
|
||||||
freeradius-1.1.6.tar.bz2
|
|
||||||
freeradius-1.1.7.tar.bz2
|
|
||||||
|
102
find_module_deps
102
find_module_deps
@ -29,6 +29,7 @@ exclude_rpms = ['glibc']
|
|||||||
|
|
||||||
build = '2.0.2-1.fc8'
|
build = '2.0.2-1.fc8'
|
||||||
root_template = '/var/tmp/freeradius-%s-root-jdennis/usr/lib/freeradius'
|
root_template = '/var/tmp/freeradius-%s-root-jdennis/usr/lib/freeradius'
|
||||||
|
libdirs = ['/lib','/usr/lib']
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -141,16 +142,70 @@ class Command:
|
|||||||
buf = buf[start:]
|
buf = buf[start:]
|
||||||
setattr(self, what, buf)
|
setattr(self, what, buf)
|
||||||
|
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
def get_so_requires(path):
|
||||||
|
requires = {}
|
||||||
|
cmd = 'ldd %s' % (path)
|
||||||
|
so_re = re.compile(r'^\s*(\S+)\s+=>\s+(\S+)')
|
||||||
|
|
||||||
|
c = Command(cmd)
|
||||||
|
status = c.run()
|
||||||
|
|
||||||
|
for line in c.stdout_lines:
|
||||||
|
line = line.strip()
|
||||||
|
match = so_re.search(line)
|
||||||
|
if match:
|
||||||
|
so_name = match.group(1)
|
||||||
|
if match.group(2).startswith('/'):
|
||||||
|
so_path = match.group(2)
|
||||||
|
else:
|
||||||
|
so_path = None
|
||||||
|
|
||||||
|
requires[so_name] = so_path
|
||||||
|
return requires
|
||||||
|
|
||||||
|
def get_so_needed(path):
|
||||||
|
needed = []
|
||||||
|
cmd = 'readelf -d %s' % (path)
|
||||||
|
so_re = re.compile(r'\(NEEDED\)\s+Shared library:\s+\[([^\]]+)\]')
|
||||||
|
|
||||||
|
c = Command(cmd)
|
||||||
|
status = c.run()
|
||||||
|
|
||||||
|
for line in c.stdout_lines:
|
||||||
|
line = line.strip()
|
||||||
|
match = so_re.search(line)
|
||||||
|
if match:
|
||||||
|
so_name = match.group(1)
|
||||||
|
needed.append(so_name)
|
||||||
|
return needed
|
||||||
|
|
||||||
|
def format_size(size):
|
||||||
|
if size > 1000000000:
|
||||||
|
return '%.1f GB' % (size/1000000000.0)
|
||||||
|
if size > 1000000:
|
||||||
|
return '%.1f MB' % (size/1000000.0)
|
||||||
|
if size > 1000:
|
||||||
|
return '%.1f KB' % (size/1000.0)
|
||||||
|
return '%d' % (size)
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
class RPM_Prop:
|
class RPM_Prop:
|
||||||
def __init__(self, path=None, name=None):
|
def __init__(self, path=None, name=None):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.paths = {}
|
self.paths = {}
|
||||||
|
self.rpm_hdr = None
|
||||||
|
self.used_by = {}
|
||||||
if path:
|
if path:
|
||||||
self.register_path(path)
|
self.register_path(path)
|
||||||
|
if not self.rpm_hdr:
|
||||||
|
self.rpm_hdr = get_rpm_hdr_by_file_path(path)
|
||||||
|
if self.rpm_hdr:
|
||||||
if not self.name:
|
if not self.name:
|
||||||
self.name = get_rpm_name_by_file_path(path)
|
self.name = self.rpm_hdr[rpm.RPMTAG_NAME]
|
||||||
|
self.size = self.rpm_hdr[rpm.RPMTAG_SIZE]
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "name=%s paths=%s" % (self.name, ','.join(self.paths.keys()))
|
return "name=%s paths=%s" % (self.name, ','.join(self.paths.keys()))
|
||||||
@ -184,6 +239,9 @@ class RPM_Collection:
|
|||||||
names.sort()
|
names.sort()
|
||||||
return names
|
return names
|
||||||
|
|
||||||
|
def get_name(self, name):
|
||||||
|
return self.names.get(name)
|
||||||
|
|
||||||
class SO_File:
|
class SO_File:
|
||||||
def __init__(self, name=None, path=None):
|
def __init__(self, name=None, path=None):
|
||||||
self.name = name
|
self.name = name
|
||||||
@ -230,7 +288,7 @@ class LoadableModule:
|
|||||||
self.path = path
|
self.path = path
|
||||||
self.rpm_names = {}
|
self.rpm_names = {}
|
||||||
self.sos = SO_Collection()
|
self.sos = SO_Collection()
|
||||||
self.get_so_libs()
|
self.get_so_requires()
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
text = '%s\n' % (self.name)
|
text = '%s\n' % (self.name)
|
||||||
@ -238,26 +296,18 @@ class LoadableModule:
|
|||||||
text += " SO's: %s\n" % (','.join(self.sos.get_names()))
|
text += " SO's: %s\n" % (','.join(self.sos.get_names()))
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def get_so_libs(self):
|
def get_so_requires(self):
|
||||||
cmd = 'ldd %s' % (self.path)
|
requires = get_so_requires(self.path)
|
||||||
so_re = re.compile(r'^\s*(\S+)\s+=>\s+(\S+)')
|
needed = get_so_needed(self.path)
|
||||||
|
#print "%s requires=%s" % (self.name, requires)
|
||||||
|
#print "%s needed=%s" % (self.name, needed)
|
||||||
|
|
||||||
c = Command(cmd)
|
for so_name, so_path in requires.items():
|
||||||
status = c.run()
|
if so_name not in needed: continue
|
||||||
|
|
||||||
for line in c.stdout_lines:
|
|
||||||
line = line.strip()
|
|
||||||
#print line
|
|
||||||
match = so_re.search(line)
|
|
||||||
if match:
|
|
||||||
so_name = match.group(1)
|
|
||||||
if match.group(2).startswith('/'):
|
|
||||||
so_path = match.group(2)
|
|
||||||
else:
|
|
||||||
so_path = None
|
|
||||||
if so_path:
|
if so_path:
|
||||||
so_prop = self.sos.register_path(so_path, so_name)
|
so_prop = self.sos.register_path(so_path, so_name)
|
||||||
rpm_prop = rpms.register_path(so_prop.path)
|
rpm_prop = rpms.register_path(so_prop.path)
|
||||||
|
rpm_prop.used_by[self.name] = 1
|
||||||
self.rpm_names.setdefault(rpm_prop.name, rpm_prop.name)
|
self.rpm_names.setdefault(rpm_prop.name, rpm_prop.name)
|
||||||
so_prop.rpm = rpm_prop
|
so_prop.rpm = rpm_prop
|
||||||
else:
|
else:
|
||||||
@ -315,5 +365,21 @@ for lm in lms:
|
|||||||
|
|
||||||
print "--------------"
|
print "--------------"
|
||||||
|
|
||||||
|
rpm_props = [x for x in rpms.names.values() if len(x.used_by) and x.name not in exclude_rpms]
|
||||||
|
rpm_props.sort(lambda a,b: cmp(a.name, b.name))
|
||||||
|
for rpm_prop in rpm_props:
|
||||||
|
used_by = rpm_prop.used_by.keys()
|
||||||
|
used_by.sort()
|
||||||
|
print "%s: %s" % (rpm_prop.name, ','.join(used_by))
|
||||||
|
|
||||||
|
print "--------------"
|
||||||
|
|
||||||
|
rpm_props.sort(lambda a,b: cmp(a.size, b.size))
|
||||||
|
for rpm_prop in rpm_props:
|
||||||
|
print '%10s %s' % (format_size(rpm_prop.size), rpm_prop.name)
|
||||||
|
|
||||||
|
|
||||||
|
print "--------------"
|
||||||
|
|
||||||
for lm in lms:
|
for lm in lms:
|
||||||
print lm
|
print lm
|
||||||
|
245
freeradius.spec
245
freeradius.spec
@ -1,3 +1,6 @@
|
|||||||
|
# FIXME: should pki certs be moved to /etc/pki?
|
||||||
|
# FIXME: are the group names right?
|
||||||
|
# FIXME: need to run rpmlint
|
||||||
Summary: High-performance and highly configurable free RADIUS server
|
Summary: High-performance and highly configurable free RADIUS server
|
||||||
Name: freeradius
|
Name: freeradius
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
@ -12,18 +15,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: krb5-devel
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libtool-ltdl-devel
|
BuildRequires: libtool-ltdl-devel
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
BuildRequires: net-snmp-utils
|
BuildRequires: net-snmp-utils
|
||||||
BuildRequires: openldap-devel
|
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: perl-devel
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
Requires: net-snmp krb5-libs
|
Requires: net-snmp
|
||||||
Requires: net-snmp-utils
|
Requires: net-snmp-utils
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): /sbin/ldconfig /sbin/chkconfig
|
Requires(post): /sbin/ldconfig /sbin/chkconfig
|
||||||
@ -45,6 +45,104 @@ more. Using RADIUS allows authentication and authorization for a network to
|
|||||||
be centralized, and minimizes the amount of re-configuration which has to be
|
be centralized, and minimizes the amount of re-configuration which has to be
|
||||||
done when adding or deleting new users.
|
done when adding or deleting new users.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Group: Productivity/Networking/Radius/Servers
|
||||||
|
Summary: FreeRADIUS share library
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
The FreeRADIUS shared library
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
Group: Productivity/Networking/Radius/Clients
|
||||||
|
Summary: FreeRADIUS Clients
|
||||||
|
Requires: %{name}-libs = %{version}
|
||||||
|
|
||||||
|
%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 dialupadmin
|
||||||
|
Group: Productivity/Networking/Radius/Servers
|
||||||
|
Summary: Web management for FreeRADIUS
|
||||||
|
Requires: http_daemon
|
||||||
|
Requires: perl-DateManip
|
||||||
|
%if 0%{?suse_version} > 1000
|
||||||
|
Requires: apache2-mod_php5
|
||||||
|
Requires: php5
|
||||||
|
Requires: php5-ldap
|
||||||
|
Requires: php5-mysql
|
||||||
|
Requires: php5-pgsql
|
||||||
|
%else
|
||||||
|
Requires: apache2-mod_php4
|
||||||
|
Requires: php4
|
||||||
|
Requires: php4-ldap
|
||||||
|
Requires: php4-mysql
|
||||||
|
Requires: php4-pgsql
|
||||||
|
Requires: php4-session
|
||||||
|
%endif
|
||||||
|
Autoreqprov: off
|
||||||
|
|
||||||
|
%description dialupadmin
|
||||||
|
Dialup Admin supports users either in SQL (MySQL or PostgreSQL are
|
||||||
|
supported) or in LDAP. Apart from the web pages, it also includes a
|
||||||
|
number of scripts to make the administrator's life a lot easier.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: FreeRADIUS Development Files (static libs)
|
||||||
|
Autoreqprov: off
|
||||||
|
Requires: %{name}-libs = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
These are the static libraries for the FreeRADIUS package.
|
||||||
|
|
||||||
|
|
||||||
|
%package ldap
|
||||||
|
Summary: LDAP bindings for freeradius
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: openldap
|
||||||
|
BuildRequires: openldap-devel
|
||||||
|
|
||||||
|
%description ldap
|
||||||
|
This plugin provides the LDAP bindings for the FreeRADIUS server project.
|
||||||
|
|
||||||
|
%package krb5
|
||||||
|
Summary: Kerberos 5 bindings for freeradius
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: krb5-libs
|
||||||
|
BuildRequires: krb5-devel
|
||||||
|
|
||||||
|
%description krb5
|
||||||
|
This plugin provides the Kerberos 5 bindings for the FreeRADIUS server project.
|
||||||
|
|
||||||
|
%package perl
|
||||||
|
Summary: Perl bindings for freeradius
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: perl-libs
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
|
||||||
|
%description perl
|
||||||
|
This plugin provides the Perl bindings for the FreeRADIUS server project.
|
||||||
|
|
||||||
|
%package python
|
||||||
|
Summary: Python bindings for freeradius
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: python-libs
|
||||||
|
BuildRequires: python-devel
|
||||||
|
|
||||||
|
%description python
|
||||||
|
This plugin provides the Python bindings for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package mysql
|
%package mysql
|
||||||
Summary: MySQL bindings for freeradius
|
Summary: MySQL bindings for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -118,6 +216,7 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/run/radiusd
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{logrotate.d,pam.d,rc.d/init.d}
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{logrotate.d,pam.d,rc.d/init.d}
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/radiusd
|
mkdir -p $RPM_BUILD_ROOT/var/lib/radiusd
|
||||||
# fix for bad libtool bug - can not rebuild dependent libs and bins
|
# fix for bad libtool bug - can not rebuild dependent libs and bins
|
||||||
@ -129,25 +228,32 @@ perl -i -pe 's/^#user =.*$/user = radiusd/' $RADDB/radiusd.conf
|
|||||||
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
|
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radiusd.conf
|
||||||
perl -i -pe 's/^#user =.*$/user = radiusd/' $RADDB/radrelay.conf
|
perl -i -pe 's/^#user =.*$/user = radiusd/' $RADDB/radrelay.conf
|
||||||
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radrelay.conf
|
perl -i -pe 's/^#group =.*$/group = radiusd/' $RADDB/radrelay.conf
|
||||||
|
#ldconfig -n $RPM_BUILD_ROOT/usr/lib/freeradius
|
||||||
install -m 755 redhat/rc.radiusd-redhat $RPM_BUILD_ROOT/%{_initrddir}/radiusd
|
# logs
|
||||||
install -m 644 redhat/radiusd-logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
|
|
||||||
install -m 644 redhat/radiusd-pam $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
|
|
||||||
|
|
||||||
# install SNMP MIB files
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/
|
|
||||||
install -m 644 mibs/RADIUS*.txt $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/
|
|
||||||
|
|
||||||
# remove unwanted rc.radiusd
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/sbin/rc.radiusd
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -print | xargs rm -f
|
|
||||||
find $RPM_BUILD_ROOT%{_libdir} -name "*.a" -print | xargs rm -f
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/log/radius
|
|
||||||
touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radwtmp,radius.log}
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
|
mkdir -p $RPM_BUILD_ROOT/var/log/radius/radacct
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/run/radiusd
|
touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}
|
||||||
|
|
||||||
|
install -m 644 redhat/radiusd-pam $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/radiusd
|
||||||
|
install -m 644 redhat/radiusd-logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/radiusd
|
||||||
|
install -m 755 redhat/rc.radiusd-redhat $RPM_BUILD_ROOT/%{_initrddir}/radiusd
|
||||||
|
(cd $RPM_BUILD_ROOT/usr/sbin && ln -sf ./radiusd radrelay)
|
||||||
|
# install dialup_admin
|
||||||
|
DIALUPADMIN=$RPM_BUILD_ROOT%{_datadir}/dialup_admin
|
||||||
|
mkdir -p $DIALUPADMIN
|
||||||
|
cp -r dialup_admin/* $RPM_BUILD_ROOT%{_datadir}/dialup_admin
|
||||||
|
perl -i -pe 's/^#general_base_dir\:.*$/general_base_dir\: \/usr\/share\/freeradius-dialupadmin/' $DIALUPADMIN/conf/admin.conf
|
||||||
|
perl -i -pe 's/^#general_radiusd_base_dir\:.*$/general_radiusd_base_dir\: \//' $DIALUPADMIN/conf/admin.conf
|
||||||
|
perl -i -pe 's/^#general_snmpwalk_command\:.*$/general_snmpwalk_command\: \/usr\/bin\/snmpwalk/' $DIALUPADMIN/conf/admin.conf
|
||||||
|
perl -i -pe 's/^#general_snmpget_command\:.*$/general_snmpget_command\: \/usr\/bin\/snmpget/' $DIALUPADMIN/conf/admin.conf
|
||||||
|
# httpd config
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
|
||||||
|
install -m 644 suse/admin-httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/radius.conf
|
||||||
|
# remove unneeded stuff
|
||||||
|
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/oracle
|
||||||
|
|
||||||
# remove unsupported config files
|
# remove unsupported config files
|
||||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
|
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/experimental.conf
|
||||||
@ -167,10 +273,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
/sbin/chkconfig --add radiusd
|
/sbin/chkconfig --add radiusd
|
||||||
fi
|
fi
|
||||||
for i in /var/log/radius/{radutmp,radwtmp,radius.log}; do
|
|
||||||
/bin/touch $i && /bin/chown radiusd $i && /bin/chmod 600 $i
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
@ -192,7 +294,6 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/pam.d/radiusd
|
%config(noreplace) %{_sysconfdir}/pam.d/radiusd
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
|
%config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
|
||||||
%config(noreplace) %{_initrddir}/radiusd
|
%config(noreplace) %{_initrddir}/radiusd
|
||||||
#--------------------
|
|
||||||
%dir %attr(755,radiusd,radiusd) /var/lib/radiusd
|
%dir %attr(755,radiusd,radiusd) /var/lib/radiusd
|
||||||
# configs
|
# configs
|
||||||
%dir %attr(750,-,radiusd) /etc/raddb
|
%dir %attr(750,-,radiusd) /etc/raddb
|
||||||
@ -206,7 +307,6 @@ fi
|
|||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/clients.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/clients.conf
|
||||||
%config(noreplace) /etc/raddb/hints
|
%config(noreplace) /etc/raddb/hints
|
||||||
%config(noreplace) /etc/raddb/huntgroups
|
%config(noreplace) /etc/raddb/huntgroups
|
||||||
%config(noreplace) /etc/raddb/ldap.attrmap
|
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sqlippool.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sqlippool.conf
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/preproxy_users
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/preproxy_users
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/proxy.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/proxy.conf
|
||||||
@ -216,8 +316,8 @@ fi
|
|||||||
#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/radrelay.conf
|
#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/radrelay.conf
|
||||||
#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/vmpsd.conf
|
#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/vmpsd.conf
|
||||||
%dir %attr(640,-,radiusd) /etc/raddb/sql
|
%dir %attr(640,-,radiusd) /etc/raddb/sql
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/*/*.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/mssql/*
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/*/*.sql
|
#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/oracle/*
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/users
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/users
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
|
||||||
%dir %attr(750,-,radiusd) /etc/raddb/certs
|
%dir %attr(750,-,radiusd) /etc/raddb/certs
|
||||||
@ -226,7 +326,6 @@ fi
|
|||||||
/etc/raddb/certs/xpextensions
|
/etc/raddb/certs/xpextensions
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
|
||||||
%attr(750,-,radiusd) /etc/raddb/certs/bootstrap
|
%attr(750,-,radiusd) /etc/raddb/certs/bootstrap
|
||||||
%attr(750,-,radiusd) %config /etc/raddb/sites-available/example
|
|
||||||
%attr(640,-,radiusd) /etc/raddb/sites-available/*
|
%attr(640,-,radiusd) /etc/raddb/sites-available/*
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/eap.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/eap.conf
|
||||||
@ -314,10 +413,6 @@ fi
|
|||||||
%{_libdir}/freeradius/rlm_files-%{version}.so
|
%{_libdir}/freeradius/rlm_files-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_ippool.so
|
%{_libdir}/freeradius/rlm_ippool.so
|
||||||
%{_libdir}/freeradius/rlm_ippool-%{version}.so
|
%{_libdir}/freeradius/rlm_ippool-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_krb5.so
|
|
||||||
%{_libdir}/freeradius/rlm_krb5-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_ldap.so
|
|
||||||
%{_libdir}/freeradius/rlm_ldap-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_logintime.so
|
%{_libdir}/freeradius/rlm_logintime.so
|
||||||
%{_libdir}/freeradius/rlm_logintime-%{version}.so
|
%{_libdir}/freeradius/rlm_logintime-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_mschap.so
|
%{_libdir}/freeradius/rlm_mschap.so
|
||||||
@ -330,14 +425,10 @@ fi
|
|||||||
%{_libdir}/freeradius/rlm_pap-%{version}.so
|
%{_libdir}/freeradius/rlm_pap-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_passwd.so
|
%{_libdir}/freeradius/rlm_passwd.so
|
||||||
%{_libdir}/freeradius/rlm_passwd-%{version}.so
|
%{_libdir}/freeradius/rlm_passwd-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_perl.so
|
|
||||||
%{_libdir}/freeradius/rlm_perl-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_policy.so
|
%{_libdir}/freeradius/rlm_policy.so
|
||||||
%{_libdir}/freeradius/rlm_policy-%{version}.so
|
%{_libdir}/freeradius/rlm_policy-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_preprocess.so
|
%{_libdir}/freeradius/rlm_preprocess.so
|
||||||
%{_libdir}/freeradius/rlm_preprocess-%{version}.so
|
%{_libdir}/freeradius/rlm_preprocess-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_python.so
|
|
||||||
%{_libdir}/freeradius/rlm_python-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_radutmp.so
|
%{_libdir}/freeradius/rlm_radutmp.so
|
||||||
%{_libdir}/freeradius/rlm_radutmp-%{version}.so
|
%{_libdir}/freeradius/rlm_radutmp-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_realm.so
|
%{_libdir}/freeradius/rlm_realm.so
|
||||||
@ -346,12 +437,6 @@ fi
|
|||||||
%{_libdir}/freeradius/rlm_sql-%{version}.so
|
%{_libdir}/freeradius/rlm_sql-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_sql_log.so
|
%{_libdir}/freeradius/rlm_sql_log.so
|
||||||
%{_libdir}/freeradius/rlm_sql_log-%{version}.so
|
%{_libdir}/freeradius/rlm_sql_log-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_sql_mysql.so
|
|
||||||
%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_sql_postgresql.so
|
|
||||||
%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
|
||||||
%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
|
|
||||||
%{_libdir}/freeradius/rlm_sqlcounter.so
|
%{_libdir}/freeradius/rlm_sqlcounter.so
|
||||||
%{_libdir}/freeradius/rlm_sqlcounter-%{version}.so
|
%{_libdir}/freeradius/rlm_sqlcounter-%{version}.so
|
||||||
%{_libdir}/freeradius/rlm_sqlippool.so
|
%{_libdir}/freeradius/rlm_sqlippool.so
|
||||||
@ -359,23 +444,79 @@ fi
|
|||||||
%{_libdir}/freeradius/rlm_unix.so
|
%{_libdir}/freeradius/rlm_unix.so
|
||||||
%{_libdir}/freeradius/rlm_unix-%{version}.so
|
%{_libdir}/freeradius/rlm_unix-%{version}.so
|
||||||
|
|
||||||
|
%files utils
|
||||||
|
/usr/bin/*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
# RADIU shared libs
|
||||||
|
%attr(755,root,root) %dir %{_libdir}/freeradius
|
||||||
|
%attr(755,root,root) %{_libdir}/freeradius/lib*.so*
|
||||||
|
|
||||||
|
%files dialupadmin
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/dialup_admin/
|
||||||
|
%{_datadir}/dialup_admin/Makefile
|
||||||
|
%{_datadir}/dialup_admin/bin/
|
||||||
|
%{_datadir}/dialup_admin/doc/
|
||||||
|
%{_datadir}/dialup_admin/htdocs/
|
||||||
|
%{_datadir}/dialup_admin/html/
|
||||||
|
%{_datadir}/dialup_admin/lib/
|
||||||
|
%{_datadir}/dialup_admin/sql/
|
||||||
|
%dir %{_datadir}/dialup_admin/conf/
|
||||||
|
%config(noreplace) %{_datadir}/dialup_admin/conf/*
|
||||||
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/radius.conf
|
||||||
|
%{_datadir}/dialup_admin/Changelog
|
||||||
|
%{_datadir}/dialup_admin/README
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
#%attr(644,root,root) %{_libdir}/freeradius/*.a
|
||||||
|
#%attr(644,root,root) %{_libdir}/freeradius/*.la
|
||||||
|
%attr(644,root,root) /usr/include/freeradius/*.h
|
||||||
|
|
||||||
|
%files ldap
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) /etc/raddb/ldap.attrmap
|
||||||
|
%{_libdir}/freeradius/rlm_ldap.so
|
||||||
|
%{_libdir}/freeradius/rlm_ldap-%{version}.so
|
||||||
|
|
||||||
|
%files krb5
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/freeradius/rlm_krb5.so
|
||||||
|
%{_libdir}/freeradius/rlm_krb5-%{version}.so
|
||||||
|
|
||||||
|
%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
|
%files mysql
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %attr(0600,radiusd,radiusd) %{_sysconfdir}/raddb/sql.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
|
||||||
%{_libdir}/*_mysql*.so
|
%{_libdir}/freeradius/rlm_sql_mysql.so
|
||||||
|
%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
|
||||||
|
|
||||||
%files postgresql
|
%files postgresql
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %attr(0600,radiusd,radiusd) %{_sysconfdir}/raddb/postgresql.conf
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
|
||||||
%{_libdir}/*_postgresql*.so
|
%{_libdir}/freeradius/rlm_sql_postgresql.so
|
||||||
|
%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
|
||||||
|
|
||||||
%files unixODBC
|
%files unixODBC
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %attr(0600,radiusd,radiusd) %{_sysconfdir}/raddb/mssql.conf
|
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
||||||
%{_libdir}/*_unixodbc*.so
|
%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.7-4.4.ipa
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user