packages: rt/rt.spec, rt/rt.logrotate (NEW)=?UTF-8?Q?=20?=- add logrotate config
arekm
arekm at pld-linux.org
Mon Jul 2 09:18:12 CEST 2012
Author: arekm Date: Mon Jul 2 07:18:12 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- add logrotate config
---- Files affected:
packages/rt:
rt.spec (1.98 -> 1.99) , rt.logrotate (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/rt/rt.spec
diff -u packages/rt/rt.spec:1.98 packages/rt/rt.spec:1.99
--- packages/rt/rt.spec:1.98 Tue May 22 17:16:26 2012
+++ packages/rt/rt.spec Mon Jul 2 09:18:07 2012
@@ -51,6 +51,7 @@
Source1: %{name}-apache_dir.conf
Source2: %{name}-apache_vhost.conf
Source3: %{name}-apache.conf
+Source4: %{name}.logrotate
Patch0: %{name}-layout.patch
Patch1: %{name}-config.patch
URL: http://www.bestpractical.com/rt/
@@ -275,7 +276,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_libdir}} \
+install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,cron.daily},%{_libdir}} \
$RPM_BUILD_ROOT%{masonstatedir} \
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
$RPM_BUILD_ROOT%{_webappsdir}
@@ -286,6 +287,7 @@
install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install %{SOURCE3} $RPM_BUILD_ROOT%{_webappsdir}/httpd.conf
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
ln -s %{_sbindir}/rt-clean-sessions $RPM_BUILD_ROOT/etc/cron.daily/rt-clean-sessions
@@ -320,6 +322,7 @@
%dir %attr(750,root,http) %{_webappsdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappsdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
%attr(755,root,root) /etc/cron.daily/rt-clean-sessions
%attr(755,root,root) %{_bindir}/rt-*
%attr(755,root,root) %{_sbindir}/standalone_httpd
@@ -341,6 +344,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.99 2012/07/02 07:18:07 arekm
+- add logrotate config
+
Revision 1.98 2012/05/22 15:16:26 arekm
- up to 4.0.6 (fixes CVE-2011-2082,
CVE-2011-2083, CVE-2011-2084, CVE-2011-2085, CVE-2011-4458,
================================================================
Index: packages/rt/rt.logrotate
diff -u /dev/null packages/rt/rt.logrotate:1.1
--- /dev/null Mon Jul 2 09:18:12 2012
+++ packages/rt/rt.logrotate Mon Jul 2 09:18:07 2012
@@ -0,0 +1,5 @@
+/var/log/rt.log
+{
+ notifempty
+ missingok
+}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/rt/rt.spec?r1=1.98&r2=1.99
More information about the pld-cvs-commit
mailing list