Accepting request 122585 from home:vitezslav_cizek:branches:network

- Use the new 'su' logrotate option (bnc#677335)

OBS-URL: https://build.opensuse.org/request/show/122585
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=40
This commit is contained in:
Marcus Meissner 2012-06-03 10:41:40 +00:00 committed by Git OBS Bridge
parent 69864838c9
commit 3a12a0265d
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Index: freeradius-server-2.1.1/suse/radiusd-logrotate
===================================================================
--- freeradius-server-2.1.1.orig/suse/radiusd-logrotate 2008-09-25 10:41:26.000000000 +0200
+++ freeradius-server-2.1.1/suse/radiusd-logrotate 2012-05-28 14:04:33.755496027 +0200
@@ -5,6 +5,9 @@
# (or similar) in radiusd.conf, without rotation. If you go with the
# second technique, you will need another cron job that removes old
# detail files. You do not need to comment out the below for method #2.
+
+su radiusd radiusd
+
/var/log/radius/radacct/*/detail {
compress
dateext

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 28 11:47:32 UTC 2012 - vcizek@suse.com
- Use the new 'su' logrotate option (bnc#677335)
-------------------------------------------------------------------
Mon May 14 21:47:20 UTC 2012 - joop.boonen@opensuse.org

View File

@ -34,6 +34,8 @@ Patch8: freeradius-server-initscript-pidfile.patch
Patch9: freeradius-server-radius-reload-logrotate.patch
# PATCH-FIX-UPSTREAM edirectory ldap extensions (bnc#720620)
Patch11: freeradius-server-2.1.1-edirectory.patch
# PATCH-FIX-SUSE use 'su' logrotate option (bnc#677335)
Patch12: freeradius-server-2.1.1-logrotate_su.patch
BuildRequires: apache2-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel
@ -183,6 +185,7 @@ This package contains FreeRADIUS Documentation
%patch8 -p1
%patch9 -p1
%patch11 -p0
%patch12 -p1
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"