From 7aaa3c438a0ba4f245b38b3f2107088d874feaa0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 11 Feb 2014 21:38:57 +0100 Subject: [PATCH] - up to 7.0.50 --- tomcat-build.xml.patch | 48 ++++++++++++++++++++++++++++++++---------- tomcat.spec | 13 +++++++----- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/tomcat-build.xml.patch b/tomcat-build.xml.patch index 68fade3..3f58369 100644 --- a/tomcat-build.xml.patch +++ b/tomcat-build.xml.patch @@ -61,12 +61,12 @@ -@@ -552,7 +498,7 @@ - - +@@ -531,7 +531,7 @@ + -- -+ + ++ depends="build-prepare"> + + +- + +@@ -1339,52 +1339,10 @@ @@ -136,7 +145,7 @@ - - - - -@@ -2297,290 +2183,6 @@ +@@ -2458,307 +2458,6 @@ Apache Tomcat ${version} native binaries @@ -264,10 +273,27 @@ - - -- +- - - -- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- - - - diff --git a/tomcat.spec b/tomcat.spec index bfca9bf..60995ba 100644 --- a/tomcat.spec +++ b/tomcat.spec @@ -8,18 +8,18 @@ %define tomcatnatver 1.1.27 # Java Commons Logging version. Must be >= 1.1. -%define jclver 1.1.1 +%define jclver 1.1.3 %include /usr/lib/rpm/macros.java Summary: Web server and Servlet/JSP Engine, RI for Servlet %{servletapiver}/JSP %{jspapiver} API 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: 10 +Version: 7.0.50 +Release: 1 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 -# Source0-md5: 8f1312436629c914564f3e8d88237be3 +# Source0-md5: fd439af0886873717e9b93206461e643 Source1: apache-%{name}.init Source2: apache-%{name}.sysconfig Source3: %{name}-build.properties @@ -30,7 +30,7 @@ Source13: %{name}-context-host-manager.xml Source14: %{name}-context-examples.xml Source15: %{name}.logrotate Source100: http://www.apache.org/dist/commons/logging/source/commons-logging-%{jclver}-src.tar.gz -# Source100-md5: e5cfa8cca13152d7545fde6b1783c60a +# Source100-md5: e8e197d628436490886d17cffa108fe3 Patch0: %{name}-build.xml.patch Patch1: server.xml-URIEncoding-utf8.patch Patch2: %{name}-LDAPUserDatabase.patch @@ -288,6 +288,7 @@ if test ! -e build.properties.local; then avalon-framework-api.jar=$(find-jar avalon-framework-api.jar) servletapi.jar=$(pwd)/output/build/lib/servlet-api.jar commons-logging.version=%{jclver} + java.7.home=%{java_home} EOF cat build.properties.local >> build.properties fi @@ -498,6 +499,8 @@ fi %{_tomcatdir}/lib/tomcat-i18n-es.jar %{_tomcatdir}/lib/tomcat-i18n-fr.jar %{_tomcatdir}/lib/tomcat-i18n-ja.jar +%{_tomcatdir}/lib/tomcat7-websocket.jar +%{_tomcatdir}/lib/websocket-api.jar %{_tomcatdir}/lib/util.jar %dir %{_tomcatdir}/webapps -- 2.44.0