[packages/tomcat] logrotate 3.8 su lines
glen
glen at pld-linux.org
Tue Jan 14 15:56:50 CET 2014
commit 461683765e3456fed30bc42e84a0477bbb7067b9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 14 16:56:39 2014 +0200
logrotate 3.8 su lines
tomcat.logrotate | 1 +
tomcat.spec | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index bc3b5ce..a06b5d0 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -13,7 +13,7 @@ Summary: Web server and Servlet/JSP Engine, RI for Servlet %{servletapiver}/JSP
Summary(pl.UTF-8): Serwer www i silnik Servlet/JSP będący wzorcową implementacją API Servlet %{servletapiver}/JSP %{jspapiver}
Name: tomcat
Version: 7.0.41
-Release: 8
+Release: 9
License: Apache v2.0
Group: Networking/Daemons/Java
Source0: http://www.apache.org/dist/tomcat/tomcat-7/v%{version}/src/apache-%{name}-%{version}-src.tar.gz
@@ -83,6 +83,7 @@ Provides: group(tomcat)
Provides: user(tomcat)
Obsoletes: apache-tomcat
Obsoletes: jakarta-tomcat
+Conflicts: logrotate < 3.8.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/tomcat.logrotate b/tomcat.logrotate
index 80297d8..b052d83 100644
--- a/tomcat.logrotate
+++ b/tomcat.logrotate
@@ -1,6 +1,7 @@
/var/log/tomcat/*.log
{
create 0644 tomcat tomcat
+ su root http
olddir /var/log/archive/tomcat
copytruncate
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/461683765e3456fed30bc42e84a0477bbb7067b9
More information about the pld-cvs-commit
mailing list