checkpoint dialupadmin subpackage work
This commit is contained in:
parent
32f3d4021d
commit
41eda4e9f6
@ -1,8 +1,8 @@
|
|||||||
# FIXME: should pki certs be moved to /etc/pki?
|
# FIXME: should pki certs be moved to /etc/pki?
|
||||||
# FIXME: are the group names right?
|
|
||||||
# FIXME: need to run rpmlint
|
# FIXME: need to run rpmlint
|
||||||
# FIXME: edit radrelay init.d script, was copied from radiusd init
|
# FIXME: edit radrelay init.d script, was copied from radiusd init
|
||||||
# FIXME: check each former patch, do we still need any?
|
# FIXME: check each former patch, do we still need any?
|
||||||
|
# FIXME: mysql, pgsql, etc. should be factored out from dialupadmin and put in subpackage, subpackage should diaable auto fied requires
|
||||||
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
|
||||||
@ -53,15 +53,15 @@ 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
|
%package libs
|
||||||
Group: Productivity/Networking/Radius/Servers
|
Group: System Environment/Daemons
|
||||||
Summary: FreeRADIUS share library
|
Summary: FreeRADIUS shared libraries
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
The FreeRADIUS shared library
|
The FreeRADIUS shared library
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Group: Productivity/Networking/Radius/Clients
|
Group: System Environment/Daemons
|
||||||
Summary: FreeRADIUS Clients
|
Summary: FreeRADIUS utilities
|
||||||
Requires: %{name}-libs = %{version}
|
Requires: %{name}-libs = %{version}
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
@ -74,7 +74,7 @@ Support for RFC and VSA Attributes Additional server configuration
|
|||||||
attributes Selecting a particular configuration Authentication methods
|
attributes Selecting a particular configuration Authentication methods
|
||||||
|
|
||||||
%package dialupadmin
|
%package dialupadmin
|
||||||
Group: Productivity/Networking/Radius/Servers
|
Group: System Environment/Daemons
|
||||||
Summary: Web management for FreeRADIUS
|
Summary: Web management for FreeRADIUS
|
||||||
Requires: httpd
|
Requires: httpd
|
||||||
Requires: php
|
Requires: php
|
||||||
@ -89,8 +89,8 @@ number of scripts to make the administrator's life a lot easier.
|
|||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries
|
||||||
Summary: FreeRADIUS Development Files (static libs)
|
Summary: FreeRADIUS Development Files
|
||||||
Requires: %{name}-libs = %{version}
|
Requires: %{name}-libs = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -98,74 +98,74 @@ These are the static libraries for the FreeRADIUS package.
|
|||||||
|
|
||||||
|
|
||||||
%package ldap
|
%package ldap
|
||||||
Summary: LDAP bindings for freeradius
|
Summary: LDAP support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: openldap
|
Requires: openldap
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
|
|
||||||
%description ldap
|
%description ldap
|
||||||
This plugin provides the LDAP bindings for the FreeRADIUS server project.
|
This plugin provides the LDAP support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package krb5
|
%package krb5
|
||||||
Summary: Kerberos 5 bindings for freeradius
|
Summary: Kerberos 5 support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: krb5-libs
|
Requires: krb5-libs
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
|
|
||||||
%description krb5
|
%description krb5
|
||||||
This plugin provides the Kerberos 5 bindings for the FreeRADIUS server project.
|
This plugin provides the Kerberos 5 support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package perl
|
%package perl
|
||||||
Summary: Perl bindings for freeradius
|
Summary: Perl support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: perl-libs
|
Requires: perl-libs
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
|
|
||||||
%description perl
|
%description perl
|
||||||
This plugin provides the Perl bindings for the FreeRADIUS server project.
|
This plugin provides the Perl support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package python
|
%package python
|
||||||
Summary: Python bindings for freeradius
|
Summary: Python support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: python-libs
|
Requires: python-libs
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
|
||||||
%description python
|
%description python
|
||||||
This plugin provides the Python bindings for the FreeRADIUS server project.
|
This plugin provides the Python support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package mysql
|
%package mysql
|
||||||
Summary: MySQL bindings for freeradius
|
Summary: MySQL support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: mysql
|
Requires: mysql
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
|
|
||||||
%description mysql
|
%description mysql
|
||||||
This plugin provides the MySQL bindings for the FreeRADIUS server project.
|
This plugin provides the MySQL support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package postgresql
|
%package postgresql
|
||||||
Summary: postgresql bindings for freeradius
|
Summary: postgresql support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: postgresql
|
Requires: postgresql
|
||||||
BuildRequires: postgresql-devel
|
BuildRequires: postgresql-devel
|
||||||
|
|
||||||
%description postgresql
|
%description postgresql
|
||||||
This plugin provides the postgresql bindings for the FreeRADIUS server project.
|
This plugin provides the postgresql support for the FreeRADIUS server project.
|
||||||
|
|
||||||
%package unixODBC
|
%package unixODBC
|
||||||
Summary: unixODBC bindings for freeradius
|
Summary: unixODBC support for freeradius
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: unixODBC
|
Requires: unixODBC
|
||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
|
|
||||||
%description unixODBC
|
%description unixODBC
|
||||||
This plugin provides the unixODBC bindings for the FreeRADIUS server project.
|
This plugin provides the unixODBC support for the FreeRADIUS server project.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -250,6 +250,8 @@ rm -f $RPM_BUILD_ROOT/usr/sbin/rc.radiusd
|
|||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.a
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/freeradius/*.la
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/oracle
|
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/sql/oracle
|
||||||
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/dialup_admin/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
|
||||||
@ -458,7 +460,7 @@ fi
|
|||||||
%{_datadir}/dialup_admin/htdocs/
|
%{_datadir}/dialup_admin/htdocs/
|
||||||
%{_datadir}/dialup_admin/html/
|
%{_datadir}/dialup_admin/html/
|
||||||
%{_datadir}/dialup_admin/lib/
|
%{_datadir}/dialup_admin/lib/
|
||||||
%{_datadir}/dialup_admin/sql/
|
%dir %{_datadir}/dialup_admin/sql/
|
||||||
%dir %{_datadir}/dialup_admin/conf/
|
%dir %{_datadir}/dialup_admin/conf/
|
||||||
%config(noreplace) %{_datadir}/dialup_admin/conf/*
|
%config(noreplace) %{_datadir}/dialup_admin/conf/*
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/radius.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/radius.conf
|
||||||
@ -497,12 +499,14 @@ fi
|
|||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/mysql/*
|
||||||
%{_libdir}/freeradius/rlm_sql_mysql.so
|
%{_libdir}/freeradius/rlm_sql_mysql.so
|
||||||
%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
|
%{_libdir}/freeradius/rlm_sql_mysql-%{version}.so
|
||||||
|
%{_datadir}/dialup_admin/sql/mysql
|
||||||
|
|
||||||
%files postgresql
|
%files postgresql
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
|
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/postgresql/*
|
||||||
%{_libdir}/freeradius/rlm_sql_postgresql.so
|
%{_libdir}/freeradius/rlm_sql_postgresql.so
|
||||||
%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
|
%{_libdir}/freeradius/rlm_sql_postgresql-%{version}.so
|
||||||
|
%{_datadir}/dialup_admin/sql/postgresql
|
||||||
|
|
||||||
%files unixODBC
|
%files unixODBC
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user