Hello community, here is the log from the commit of package freeradius-server for openSUSE:Factory checked in at Mon May 3 23:30:24 CEST 2010. -------- --- freeradius-server/freeradius-server.changes 2010-03-11 15:03:13.000000000 +0100 +++ freeradius-server/freeradius-server.changes 2010-05-03 15:51:07.000000000 +0200 @@ -1,0 +2,11 @@ +Mon May 3 13:50:08 UTC 2010 - puzel@novell.com + +- add freeradius-server-initscript-pidfile.patch + - handle /var/run on tmpfs + +------------------------------------------------------------------- +Sun Mar 21 08:43:58 UTC 2010 - puzel@novell.com + +- specfile cleanup + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- freeradius-server-initscript-pidfile.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeradius-server.spec ++++++ --- /var/tmp/diff_new_pack.1VIfxt/_old 2010-05-03 23:29:26.000000000 +0200 +++ /var/tmp/diff_new_pack.1VIfxt/_new 2010-05-03 23:29:26.000000000 +0200 @@ -19,7 +19,7 @@ Name: freeradius-server Version: 2.1.8 -Release: 2 +Release: 3 License: GPLv2 ; LGPLv2.1 Group: Productivity/Networking/Radius/Servers Provides: radiusd @@ -36,6 +36,7 @@ Patch5: %{name}-2.1.6-overflow.patch Patch6: freeradius-server-sha1-default.patch Patch7: freeradius-server-fix-cert-bootstrap.patch +Patch8: freeradius-server-initscript-pidfile.patch PreReq: perl openssl pwdutils coreutils PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,7 +47,6 @@ Requires: python Recommends: logrotate BuildRequires: apache2-devel -#BuildRequires: bind-libs BuildRequires: cyrus-sasl-devel BuildRequires: db-devel BuildRequires: gcc-c++ @@ -70,7 +70,6 @@ BuildRequires: sed BuildRequires: sqlite3-devel BuildRequires: unixODBC-devel -#BuildRequires: zlib-devel %description The FreeRADIUS server has a number of features found in other servers @@ -139,7 +138,7 @@ %package utils License: GPLv2 ; LGPLv2.1 -Group: Productivity/Networking/Radius/Servers +Group: Productivity/Networking/Radius/Clients Summary: FreeRADIUS Clients Requires: %{name}-libs = %{version} @@ -237,6 +236,7 @@ %patch5 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # This package failed when testing with -Wl,-as-needed being default. @@ -248,7 +248,8 @@ %endif export LDFLAGS="-pie" %configure \ - --disable-static --with-pic\ + --disable-static \ + --with-pic \ --libdir=%{_libdir}/freeradius \ --disable-ltdl-install \ --enable-strict-dependencies \ @@ -333,7 +334,7 @@ %postun %restart_on_update freeradius -%insserv_cleanup +%{insserv_cleanup} %clean rm -rf $RPM_BUILD_ROOT @@ -385,7 +386,7 @@ %{_sysconfdir}/raddb/sql/ndb/README %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.conf %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.sql -%{_sysconfdir}/raddb/sql/*/*.txt +%{_sysconfdir}/raddb/sql/oracle/msqlippool.txt %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/users %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/experimental.conf %dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/certs @@ -403,10 +404,9 @@ %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/policy.conf %{_sysconfdir}/raddb/policy.txt %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/templates.conf -%attr(700,radiusd,radiusd) %dir %{_localstatedir}/run/radiusd/ +%attr(700,radiusd,radiusd) %dir %ghost %{_localstatedir}/run/radiusd/ # binaries %defattr(-,root,root) -# %{_sbindir}/check-radiusd-config %{_sbindir}/checkrad %{_sbindir}/radiusd %{_sbindir}/radmin @@ -434,13 +434,14 @@ %{_bindir}/* %files libs +%defattr(-,root,root) # RADIUS shared libs %attr(755,root,root) %dir %{_libdir}/freeradius %attr(755,root,root) %{_libdir}/freeradius/lib*.so* %if %{_oracle_support} == 1 %files oracle -%defattr(-,root,root) +%defattr(-,radiusd,radiusd) %attr(755,root,root) %dir %{_libdir}/freeradius %attr(755,root,root) %{_libdir}/freeradius/rlm_sql_oracle*.so* %endif ++++++ freeradius-server-initscript-pidfile.patch ++++++ Index: freeradius-server-2.1.8/suse/rcradiusd =================================================================== --- freeradius-server-2.1.8.orig/suse/rcradiusd 2010-05-03 15:37:35.000000000 +0200 +++ freeradius-server-2.1.8/suse/rcradiusd 2010-05-03 15:38:08.000000000 +0200 @@ -31,6 +31,10 @@ rc_reset case "$1" in start) echo -n "Starting RADIUS daemon " + # /var/run might be on tmpfs, create runtime directory if needed + if [ ! -d /var/run/radiusd ]; then + install -d -m 0700 -g radiusd -o radiusd /var/run/radiusd + fi startproc $RADIUSD_BIN >/dev/null rc_status -v ;; Index: freeradius-server-2.1.8/suse/rcradius-relayd =================================================================== --- freeradius-server-2.1.8.orig/suse/rcradius-relayd 2010-05-03 15:37:35.000000000 +0200 +++ freeradius-server-2.1.8/suse/rcradius-relayd 2010-05-03 15:38:58.000000000 +0200 @@ -31,6 +31,10 @@ rc_reset case "$1" in start) echo -n "Starting RADIUS Relay daemon " + # /var/run might be on tmpfs, create runtime directory if needed + if [ ! -d /var/run/radiusd ]; then + install -d -m 0700 -g radiusd -o radiusd /var/run/radiusd + fi startproc $RADIUSD_BIN -s -n radrelay >/dev/null rc_status -v ;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org