[RPM (6.0)] [DIST generic] tomcat7-7.0.34-3.jpp6
Ralph Apel <[email protected]> Mon, 11 Feb 2013 13:16:44 +0100
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : tomcat7 Relocations: (not relocatable) Version : 7.0.34 Vendor: JPackage Project Release : 3.jpp6 Build Date: Mon 11 Feb 2013 01:06:09 PM CET Install Date: (not installed) Build Host: linux.fritz.box Group : Networking/Daemons Source RPM: (none) Size : 6243740 License: ASL 2.0 Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://tomcat.apache.org/ Summary : Apache Servlet/JSP Engine, RI for Servlet 3.0/JSP 2.2 API Description : Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Tomcat is developed in an open and participatory environment and released under the Apache Software License version 2.0. Tomcat is intended to be a collaboration of the best-of-breed developers from around the world. --------------- Ralph Apel <[email protected]> 0:7.0.34-3 - Fix directory permissions where group is tomcat --------------- tomcat7.src:191: W: unversioned-explicit-provides jsp22 tomcat7.src:219: W: unversioned-explicit-provides servlet7 tomcat7.src:220: W: unversioned-explicit-provides servlet30 tomcat7.src: W: strange-permission tomcat7-7.0.starter 0775 tomcat7.src: W: strange-permission commons-dbcp-1.4-src.tar.gz 0675 tomcat7.src: W: strange-permission commons-logging-1.1.1-src.tar.gz 0675 tomcat7.src: W: source-or-patch-not-bzipped tomcat7-build.patch tomcat7.src: W: source-or-patch-not-bzipped tomcat7-JDTCompiler.patch tomcat7.src: W: non-standard-group Networking/Daemons tomcat7.src: W: no-signature tomcat7.src: W: mixed-use-of-spaces-and-tabs (spaces: line 140, tab: line 283) tomcat7.src: W: lib-package-without-%mklibname tomcat7.src: W: invalid-license ASL 2.0 tomcat7.src:138: W: hardcoded-library-path in /lib/lsb/init-functions tomcat7.src:139: W: hardcoded-library-path in /lib/lsb/init-functions 1 packages and 0 specfiles checked; 0 errors, 15 warnings. --------------- Index: tomcat7.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/tomcat7/tomcat7.spec,v retrieving revision 1.3 diff -u -r1.3 tomcat7.spec --- tomcat7.spec 6 Feb 2013 08:49:56 -0000 1.3 +++ tomcat7.spec 11 Feb 2013 12:16:42 -0000 @@ -59,7 +59,7 @@ Name: tomcat7 Epoch: 0 Version: %{major_version}.%{minor_version}.%{micro_version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API Group: Networking/Daemons @@ -339,15 +339,16 @@ %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_initrddir} %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig -%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{appdir} +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{appdir} %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{bindir} +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{cachedir} %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{confdir} -%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{confdir}/Catalina/localhost +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{confdir}/Catalina/localhost %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{libdir} -%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{logdir} +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{logdir} %{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{homedir} -%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{tempdir} -%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{workdir} +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{tempdir} +%{__install} -d -m 0775 ${RPM_BUILD_ROOT}%{workdir} # move things into place pushd %{packdname}/output/build %{__mv} bin/tomcat-juli.jar ${RPM_BUILD_ROOT}%{libdir}/tomcat-juli.jar @@ -533,6 +534,13 @@ %update_maven_depmap # install but don't activate /sbin/chkconfig --add %{name} +# simple workaround for rpm bug +chmod 0775 %{appdir} +chmod 0775 %{cachedir} +chmod 0775 %{confdir}/Catalina/localhost +chmod 0775 %{logdir} +chmod 0775 %{tempdir} +chmod 0775 %{workdir} %postun %update_maven_depmap @@ -623,15 +631,15 @@ %attr(0755,root,root) %{_bindir}/%{name}-tool-wrapper %attr(0755,root,root) %{_sbindir}/d%{name} %attr(0755,root,root) %{_sbindir}/%{name} -%attr(0775,root,tomcat) %dir %{logdir} +%dir %attr(0775,root,tomcat) %{logdir} %attr(0755,root,root) %{_initrddir}/%{name} %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %dir %{basedir} -%attr(0775,root,tomcat) %dir %{appdir} +%dir %attr(0775,root,tomcat) %{appdir} %dir %{confdir} %dir %{confdir}/Catalina -%attr(0775,root,tomcat) %dir %{confdir}/Catalina/localhost +%dir %attr(0775,root,tomcat) %{confdir}/Catalina/localhost %config(noreplace) %{confdir}/%{name}.conf %config(noreplace) %{confdir}/*.policy %config(noreplace) %{confdir}/*.properties @@ -639,9 +647,9 @@ %config(noreplace) %{confdir}/server.xml %attr(0660,root,tomcat) %config(noreplace) %{confdir}/tomcat-users.xml %config(noreplace) %{confdir}/web.xml -%attr(0775,root,tomcat) %dir %{cachedir} -%attr(0775,root,tomcat) %dir %{tempdir} -%attr(0775,root,tomcat) %dir %{workdir} +%dir %attr(0775,root,tomcat) %{cachedir} +%dir %attr(0775,root,tomcat) %{tempdir} +%dir %attr(0775,root,tomcat) %{workdir} %{homedir} %{_datadir}/maven2/poms/* %{_mavendepmapfragdir}/* @@ -694,6 +702,9 @@ %{appdir}/sample %changelog +* Mon Feb 11 2013 Ralph Apel <[email protected]> 0:7.0.34-3 +- Fix directory permissions where group is tomcat + * Wed Feb 06 2013 Ralph Apel <[email protected]> 0:7.0.34-2 - Prevent xzpayload problem