1
0

- freeradius-server-radiusd-logrotate.patch: fix permissions in

lograte global section (bsc#1170505, bsc#1174905)

OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=139
This commit is contained in:
Adam Majer 2020-08-26 11:35:27 +00:00 committed by Git OBS Bridge
parent 5008745954
commit 3bd17f8ba3
3 changed files with 19 additions and 7 deletions

View File

@ -1,8 +1,14 @@
Index: freeradius-server-3.0.14/suse/radiusd-logrotate
Index: freeradius-server-3.0.21/suse/radiusd-logrotate
===================================================================
--- freeradius-server-3.0.14.orig/suse/radiusd-logrotate
+++ freeradius-server-3.0.14/suse/radiusd-logrotate
@@ -16,13 +16,18 @@ notifempty
--- freeradius-server-3.0.21.orig/suse/radiusd-logrotate
+++ freeradius-server-3.0.21/suse/radiusd-logrotate
@@ -11,19 +11,23 @@ missingok
compress
delaycompress
notifempty
-su radiusd radiusd
#
# The main server log
#
/var/log/radius/radius.log {
@ -21,7 +27,7 @@ Index: freeradius-server-3.0.14/suse/radiusd-logrotate
nocreate
size=+1024k
}
@@ -31,6 +36,7 @@ notifempty
@@ -32,6 +36,7 @@ su radiusd radiusd
# SQL log files
#
/var/log/radius/sqllog.sql {
@ -29,7 +35,7 @@ Index: freeradius-server-3.0.14/suse/radiusd-logrotate
nocreate
size=+2048k
}
@@ -43,6 +49,7 @@ notifempty
@@ -44,6 +49,7 @@ su radiusd radiusd
# 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.
/var/log/radius/radacct/*/detail {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 26 11:32:15 UTC 2020 - Adam Majer <adam.majer@suse.de>
- freeradius-server-radiusd-logrotate.patch: fix permissions in
lograte global section (bsc#1170505, bsc#1174905)
-------------------------------------------------------------------
Tue Mar 24 15:31:22 UTC 2020 - Adam Majer <adam.majer@suse.de>

View File

@ -55,7 +55,7 @@ Release: 0
Summary: RADIUS Server
License: GPL-2.0-only AND LGPL-2.1-only
Group: Productivity/Networking/Radius/Servers
Url: http://www.freeradius.org/
URL: http://www.freeradius.org/
Source: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2
Source99: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2.sig
# keyring downloaded via link @ ftp://ftp.freeradius.org/pub/freeradius/README