rpms/logrotate/devel logrotate-3.7.8-perm.patch, NONE, 1.1 logrotate.spec, 1.83, 1.84
Daniel Novotny
dnovotny at fedoraproject.org
Mon Jan 11 12:54:32 UTC 2010
Author: dnovotny
Update of /cvs/extras/rpms/logrotate/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23885
Modified Files:
logrotate.spec
Added Files:
logrotate-3.7.8-perm.patch
Log Message:
- fix #489038 - RFE: useful permissions on log files
logrotate-3.7.8-perm.patch:
logrotate-default | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE logrotate-3.7.8-perm.patch ---
diff -up logrotate-3.7.8/examples/logrotate-default.perm logrotate-3.7.8/examples/logrotate-default
--- logrotate-3.7.8/examples/logrotate-default.perm 2010-01-11 13:48:15.000000000 +0100
+++ logrotate-3.7.8/examples/logrotate-default 2010-01-11 13:48:46.000000000 +0100
@@ -6,7 +6,7 @@ weekly
rotate 4
# create new (empty) log files after rotating old ones
-create
+create 0640 root adm
# use date as a suffix of the rotated file
dateext
Index: logrotate.spec
===================================================================
RCS file: /cvs/extras/rpms/logrotate/devel/logrotate.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -p -r1.83 -r1.84
--- logrotate.spec 17 Dec 2009 14:26:55 -0000 1.83
+++ logrotate.spec 11 Jan 2010 12:54:32 -0000 1.84
@@ -1,7 +1,7 @@
Summary: Rotates, compresses, removes and mails system log files
Name: logrotate
Version: 3.7.8
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPL+
Group: System Environment/Base
Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
@@ -10,6 +10,7 @@ Patch2: logrotate-3.7.7-toolarge.patch
Patch3: logrotate-3.7.8-devnull.patch
Patch4: logrotate-3.7.8-man5.patch
Patch5: logrotate-3.7.8-readonly.patch
+Patch6: logrotate-3.7.8-perm.patch
Requires: coreutils >= 5.92 libsepol libselinux popt
BuildRequires: libselinux-devel popt-devel
@@ -33,6 +34,7 @@ log files on your system.
%patch3 -p1 -b .devnull
%patch4 -p1 -b .man5
%patch5 -p1 -b .readonly
+%patch6 -p1 -b .perm
%build
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=yes
@@ -63,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate.status
%changelog
+* Mon Jan 11 2010 Daniel Novotny <dnovotny at redhat.com> 3.7.8-7
+- fix #489038 - RFE: useful permissions on log files
+
* Wed Dec 09 2009 Henrique Martins <bugzilla-redhat-2009 at martins.cc> 3.7.8-6
- fix #545919 (rotate non-writable files when copy is set)
More information about the scm-commits
mailing list