OBS User unknown 2009-01-09 15:39:51 +00:00 committed by Git OBS Bridge
parent 679d1a9c1f
commit c5bdd62ba8
2 changed files with 21 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 9 16:04:22 CET 2009 - prusnak@suse.cz
- fixed bootstraping of certificates in %post
-------------------------------------------------------------------
Thu Oct 9 11:41:06 CEST 2008 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package freeradius-server (Version 2.1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
Name: freeradius-server
Version: 2.1.1
Release: 1
Release: 2
License: GPL v2 only; LGPL v2.1 only
Group: Productivity/Networking/Radius/Servers
Provides: radiusd
@ -34,8 +34,7 @@ Patch1: %{name}-%{version}-dialup_admin.patch
Patch2: %{name}-%{version}-rcradiusd.patch
Patch3: %{name}-%{version}-codecleanup.patch
Patch4: %{name}-%{version}-CVE-2008-4474.patch
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd
PreReq: perl
PreReq: perl openssl pwdutils coreutils
PreReq: %insserv_prereq %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _oracle_support 0
@ -213,7 +212,7 @@ Authors:
%patch4
%build
#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fstack-protector"
#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC -DPIC"
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fstack-protector"
%ifarch x86_64 ppc ppc64 s390 s390x
export CFLAGS="$CFLAGS -fPIC -DPIC"
@ -291,6 +290,9 @@ rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples/Makefile
%{_localstatedir}/lib/radiusd radiusd 2> /dev/null || :
%post
# Generate default certificates
/etc/raddb/certs/bootstrap
chgrp radiusd /etc/raddb/certs/*
%{fillup_and_insserv freeradius}
%preun
@ -340,7 +342,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/preproxy_users
%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/snmp.conf
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql.conf
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/modules
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/modules/*
@ -361,7 +362,6 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/raddb/certs/xpextensions
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/certs/*.cnf
%attr(750,root,radiusd) %{_sysconfdir}/raddb/certs/bootstrap
%attr(750,root,radiusd) %config %{_sysconfdir}/raddb/sites-available/example
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/sites-available
%attr(640,root,radiusd) %{_sysconfdir}/raddb/sites-available/*
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/sites-enabled
@ -435,6 +435,8 @@ rm -rf $RPM_BUILD_ROOT
%attr(644,root,root) %{_includedir}/freeradius/*.h
%changelog
* Fri Jan 09 2009 prusnak@suse.cz
- fixed bootstraping of certificates in %%post
* Thu Oct 09 2008 prusnak@suse.cz
- fixed CVE-2008-4474 [bnc#433762]
* Thu Oct 09 2008 prusnak@suse.cz
@ -793,7 +795,7 @@ rm -rf $RPM_BUILD_ROOT
* More dictionary updates
* Security and portability fixes to rlm_otp
* Miscellaneous bug fixes
* Tue Jun 06 2006 stark@suse.de
* Mon Jun 05 2006 stark@suse.de
- update to version 1.1.2
* Allow tagged VSA's for Juniper.
* Allow Ascend "abinary" format to be specified as octets,
@ -825,7 +827,7 @@ rm -rf $RPM_BUILD_ROOT
- changed php requires to generic ones (for php5)
* Sat Jan 14 2006 stark@suse.de
- use --with-udpfromto useful for systems with multiple addresses
* Fri Jan 13 2006 stark@suse.de
* Thu Jan 12 2006 stark@suse.de
- update to version 1.1.0
* Wed Jan 11 2006 stark@suse.de
- adding stack-protector to CFLAGS
@ -849,7 +851,7 @@ rm -rf $RPM_BUILD_ROOT
- fix mysql creation script (#104752)
* Sat Jun 18 2005 stark@suse.de
- update to version 1.0.4
* Sun Jun 05 2005 stark@suse.de
* Sat Jun 04 2005 stark@suse.de
- update to version 1.0.3
- link radiusd with -pie
* Mon Apr 11 2005 stark@suse.de
@ -873,13 +875,13 @@ rm -rf $RPM_BUILD_ROOT
- moved *.la files to devel package
* Sat Aug 28 2004 stark@suse.de
- modify logrotate config (#44436)
* Wed Aug 18 2004 sndirsch@suse.de
* Tue Aug 17 2004 sndirsch@suse.de
- fixed syntax error (Typo?) in init script
* Fri Aug 13 2004 stark@suse.de
- added some sample scripts to documentation
* Tue Aug 10 2004 stark@suse.de
- update to 1.0.0
* Thu Jun 24 2004 ro@suse.de
* Wed Jun 23 2004 ro@suse.de
- update to 1.0.0pre3 (version set as 0.9.9)
* Thu Feb 05 2004 stark@suse.de
- disabled rlm_sql_iodbc and enabled rlm_sql_unixodb
@ -911,7 +913,7 @@ rm -rf $RPM_BUILD_ROOT
- Don't use system libtool.
- Fix use of sort.
- Avoid running autoconf.
* Wed Apr 16 2003 ro@suse.de
* Tue Apr 15 2003 ro@suse.de
- fixed neededforbuild
* Mon Mar 03 2003 kukuk@suse.de
- removed %%ghost stuff from filelist
@ -934,7 +936,7 @@ rm -rf $RPM_BUILD_ROOT
* Many bug fixes
* (/usr/share/doc/packages/ChangeLog)
- moved modules to /usr/lib/freeradius
* Mon Aug 19 2002 ro@suse.de
* Sun Aug 18 2002 ro@suse.de
- don't overwrite README's with each other
* Fri Aug 16 2002 stark@suse.de
- added PreReq (Bug #17838)