From: Marty E. Plummer Date: Sun, 8 Apr 2018 19:12:30 +0000 (-0500) Subject: www-servers/tomcat: clean duplicate patches X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=89207d1358e4fd2c23c25adbe4dc1d16d2bcffaf;p=gentoo.git www-servers/tomcat: clean duplicate patches Also cleaned up the patches to be -p1 applicable where doable for the eventual epatch->eapply change. Package-Manager: Portage-2.3.28, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/7888 --- diff --git a/www-servers/tomcat/files/tomcat-7.0.82-build.xml.patch b/www-servers/tomcat/files/tomcat-7.0.82-build.xml.patch index 481591fb6ff5..fa05cb73305b 100644 --- a/www-servers/tomcat/files/tomcat-7.0.82-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-7.0.82-build.xml.patch @@ -1,6 +1,5 @@ -diff -Naur apache-tomcat-7.0.63-src.orig/build.xml apache-tomcat-7.0.63-src/build.xml ---- apache-tomcat-7.0.63-src.orig/build.xml 2015-06-30 09:15:44.000000000 +0100 -+++ apache-tomcat-7.0.63-src/build.xml 2015-08-22 21:13:12.453038827 +0100 +--- a/build.xml ++++ b/build.xml @@ -660,12 +660,14 @@ diff --git a/www-servers/tomcat/files/tomcat-7.0.84-build.xml.patch b/www-servers/tomcat/files/tomcat-7.0.84-build.xml.patch index aa40bd1564a4..743320010c96 100644 --- a/www-servers/tomcat/files/tomcat-7.0.84-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-7.0.84-build.xml.patch @@ -1,5 +1,3 @@ -diff --git a/build.xml b/build.xml -index 3f1229c..13894ed 100644 --- a/build.xml +++ b/build.xml @@ -671,12 +671,14 @@ diff --git a/www-servers/tomcat/files/tomcat-7.0.85-build.xml.patch b/www-servers/tomcat/files/tomcat-7.0.85-build.xml.patch deleted file mode 100644 index aa40bd1564a4..000000000000 --- a/www-servers/tomcat/files/tomcat-7.0.85-build.xml.patch +++ /dev/null @@ -1,161 +0,0 @@ -diff --git a/build.xml b/build.xml -index 3f1229c..13894ed 100644 ---- a/build.xml -+++ b/build.xml -@@ -671,12 +671,14 @@ - - - -+ - - - -@@ -733,26 +735,32 @@ - manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> - - -+ - - -+ - - -+ - - - -- -+ - - - -@@ -1060,14 +1068,15 @@ - - - -+ - - -- -+ - - - -+ description="Prepare to build web services extras package" unless="noget"> - - - -@@ -1886,11 +1895,12 @@ - - - -+ - - - Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. -@@ -1902,6 +1912,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - description="Create the Tomcat javadoc" > - -+ - - - -+ - - - -@@ -2632,7 +2646,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - - -+ description="Download (and build) components necessary to compile" unless="noget"> - - - -@@ -2675,7 +2689,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - - -+ description="Download additional components for the tests" unless="noget"> - - - -@@ -2721,7 +2735,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - - -+ description="Download additional components for a distribution" unless="noget"> - - - diff --git a/www-servers/tomcat/files/tomcat-8.0.48-build.xml.patch b/www-servers/tomcat/files/tomcat-8.0.48-build.xml.patch index b0862aef305e..7cb4e1ed5278 100644 --- a/www-servers/tomcat/files/tomcat-8.0.48-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-8.0.48-build.xml.patch @@ -1,7 +1,5 @@ -diff --git a/apache-tomcat-8.0.47-src/build.xml b/apache-tomcat-8.0.47-src/build.xml -index 6b4465a..ab4008d 100644 ---- a/apache-tomcat-8.0.47-src/build.xml -+++ b/apache-tomcat-8.0.47-src/build.xml +--- a/build.xml ++++ b/build.xml @@ -715,24 +715,29 @@ manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> diff --git a/www-servers/tomcat/files/tomcat-8.0.49-build.xml.patch b/www-servers/tomcat/files/tomcat-8.0.49-build.xml.patch index b7e0a283fe26..ab6590d5c12c 100644 --- a/www-servers/tomcat/files/tomcat-8.0.49-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-8.0.49-build.xml.patch @@ -1,5 +1,3 @@ -diff --git a/build.xml b/build.xml -index 3152712..9e09384 100644 --- a/build.xml +++ b/build.xml @@ -718,24 +718,29 @@ diff --git a/www-servers/tomcat/files/tomcat-8.0.50-build.xml.patch b/www-servers/tomcat/files/tomcat-8.0.50-build.xml.patch deleted file mode 100644 index b7e0a283fe26..000000000000 --- a/www-servers/tomcat/files/tomcat-8.0.50-build.xml.patch +++ /dev/null @@ -1,267 +0,0 @@ -diff --git a/build.xml b/build.xml -index 3152712..9e09384 100644 ---- a/build.xml -+++ b/build.xml -@@ -718,24 +718,29 @@ - manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> - - -+ - -+ - - -+ - - - -- -+ - - - -@@ -1067,7 +1072,7 @@ - - - -- -+ - - - -@@ -1101,7 +1106,7 @@ - - - -- -+ - - - - - -- -+ - - - - -+ - - - -+ - - - Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. -@@ -1955,6 +1963,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - -+ - - - -+ - - - -@@ -2791,7 +2803,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download (and build) components necessary to compile" unless="noget"> - - - -@@ -2811,7 +2823,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for the tests" unless="noget"> - - - -@@ -2868,7 +2880,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for a distribution" unless="noget"> - - - -@@ -2908,18 +2920,18 @@ skip.installer property in build.properties" /> - - - -- -+ - - - - -- -+ - - - - -- -+ - - - -@@ -2931,7 +2943,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2950,7 +2962,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2961,7 +2973,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2979,7 +2991,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2989,7 +3001,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -3012,7 +3024,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -3023,7 +3035,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -3034,7 +3046,7 @@ skip.installer property in build.properties" /> - - -+ description="Prepares the source tree to be built in Eclipse" unless="noget"> - - - diff --git a/www-servers/tomcat/files/tomcat-8.5.24-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.24-build.xml.patch index d83440c0c4d6..9db6d4046744 100644 --- a/www-servers/tomcat/files/tomcat-8.5.24-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-8.5.24-build.xml.patch @@ -1,7 +1,5 @@ -diff --git a/apache-tomcat-8.5.23-src/build.xml b/apache-tomcat-8.5.23-src/build.xml -index b1b2666..263800c 100644 ---- a/apache-tomcat-8.5.23-src/build.xml -+++ b/apache-tomcat-8.5.23-src/build.xml +--- a/build.xml ++++ b/build.xml @@ -714,24 +714,29 @@ manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> diff --git a/www-servers/tomcat/files/tomcat-8.5.27-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.27-build.xml.patch index e08dd17c6cc3..c8022bcd5e4b 100644 --- a/www-servers/tomcat/files/tomcat-8.5.27-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-8.5.27-build.xml.patch @@ -1,5 +1,3 @@ -diff --git a/build.xml b/build.xml -index 2b3c7cf..b8e57e0 100644 --- a/build.xml +++ b/build.xml @@ -717,24 +717,29 @@ diff --git a/www-servers/tomcat/files/tomcat-8.5.28-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.28-build.xml.patch deleted file mode 100644 index e08dd17c6cc3..000000000000 --- a/www-servers/tomcat/files/tomcat-8.5.28-build.xml.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff --git a/build.xml b/build.xml -index 2b3c7cf..b8e57e0 100644 ---- a/build.xml -+++ b/build.xml -@@ -717,24 +717,29 @@ - manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> - - -+ - -+ - - -+ - - - -- -+ - - - -@@ -1072,7 +1077,7 @@ - - - -- -+ - - - -@@ -1106,7 +1111,7 @@ - - - -- -+ - - - - - -- -+ - - - - -+ - - - -+ - - - Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. -@@ -1764,6 +1772,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - -+ - - - -+ - - - -@@ -2617,7 +2629,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download (and build) components necessary to compile" unless="noget"> - - - -@@ -2637,7 +2649,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for the tests" unless="noget"> - - - -@@ -2694,7 +2706,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for a distribution" unless="noget"> - - - -@@ -2734,18 +2746,18 @@ skip.installer property in build.properties" /> - - - -- -+ - - - - -- -+ - - - - -- -+ - - - -@@ -2757,7 +2769,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2776,7 +2788,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2787,7 +2799,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2805,7 +2817,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2815,7 +2827,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2838,7 +2850,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2849,7 +2861,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2860,7 +2872,7 @@ skip.installer property in build.properties" /> - - -+ description="Prepares the source tree to be built in Eclipse" unless="noget"> - - - diff --git a/www-servers/tomcat/files/tomcat-9.0.4-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.4-build.xml.patch index 87f869dd4c0c..feb5f126a37e 100644 --- a/www-servers/tomcat/files/tomcat-9.0.4-build.xml.patch +++ b/www-servers/tomcat/files/tomcat-9.0.4-build.xml.patch @@ -1,5 +1,3 @@ -diff --git a/build.xml b/build.xml -index c1331c9..b664cc3 100644 --- a/build.xml +++ b/build.xml @@ -719,24 +719,30 @@ diff --git a/www-servers/tomcat/files/tomcat-9.0.5-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.5-build.xml.patch deleted file mode 100644 index 87f869dd4c0c..000000000000 --- a/www-servers/tomcat/files/tomcat-9.0.5-build.xml.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff --git a/build.xml b/build.xml -index c1331c9..b664cc3 100644 ---- a/build.xml -+++ b/build.xml -@@ -719,24 +719,30 @@ - manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> - - -+ - - -+ - - -+ - - - -- -+ - - - -@@ -1074,7 +1080,7 @@ - - - -- -+ - - - -@@ -1108,7 +1114,7 @@ - - - -- -+ - - - - - -- -+ - - - - -+ - - - -+ - - - Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. -@@ -1766,6 +1775,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. - - -+ - - - -+ - - - -@@ -2617,7 +2630,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download (and build) components necessary to compile" unless="noget"> - - - -@@ -2637,7 +2650,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for the tests" unless="noget"> - - - -@@ -2694,7 +2707,7 @@ skip.installer property in build.properties" /> - - - -+ description="Download additional components for a distribution" unless="noget"> - - - -@@ -2734,18 +2747,18 @@ skip.installer property in build.properties" /> - - - -- -+ - - - - -- -+ - - - - -- -+ - - - -@@ -2757,7 +2770,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2776,7 +2789,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2787,7 +2800,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2805,7 +2818,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2815,7 +2828,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2838,7 +2851,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2849,7 +2862,7 @@ skip.installer property in build.properties" /> - - - -- -+ - - - -@@ -2860,7 +2873,7 @@ skip.installer property in build.properties" /> - - -+ description="Prepares the source tree to be built in Eclipse" unless="noget"> - - - diff --git a/www-servers/tomcat/tomcat-7.0.84.ebuild b/www-servers/tomcat/tomcat-7.0.84.ebuild index bebf2f0f8144..7917995deab0 100644 --- a/www-servers/tomcat/tomcat-7.0.84.ebuild +++ b/www-servers/tomcat/tomcat-7.0.84.ebuild @@ -48,7 +48,7 @@ src_prepare() { java-pkg_clean - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-7.0.84-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-7.0.85.ebuild b/www-servers/tomcat/tomcat-7.0.85.ebuild index bebf2f0f8144..7917995deab0 100644 --- a/www-servers/tomcat/tomcat-7.0.85.ebuild +++ b/www-servers/tomcat/tomcat-7.0.85.ebuild @@ -48,7 +48,7 @@ src_prepare() { java-pkg_clean - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-7.0.84-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-8.0.49.ebuild b/www-servers/tomcat/tomcat-8.0.49.ebuild index 5f9b5faf7803..d75c0ef779c8 100644 --- a/www-servers/tomcat/tomcat-8.0.49.ebuild +++ b/www-servers/tomcat/tomcat-8.0.49.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-8.0.49-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-8.0.50.ebuild b/www-servers/tomcat/tomcat-8.0.50.ebuild index 5f9b5faf7803..d75c0ef779c8 100644 --- a/www-servers/tomcat/tomcat-8.0.50.ebuild +++ b/www-servers/tomcat/tomcat-8.0.50.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-8.0.49-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-8.5.27.ebuild b/www-servers/tomcat/tomcat-8.5.27.ebuild index 889da8d4f238..0fb74bf75f01 100644 --- a/www-servers/tomcat/tomcat-8.5.27.ebuild +++ b/www-servers/tomcat/tomcat-8.5.27.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-8.5.27-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-8.5.28.ebuild b/www-servers/tomcat/tomcat-8.5.28.ebuild index 889da8d4f238..0fb74bf75f01 100644 --- a/www-servers/tomcat/tomcat-8.5.28.ebuild +++ b/www-servers/tomcat/tomcat-8.5.28.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-8.5.27-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-9.0.4.ebuild b/www-servers/tomcat/tomcat-9.0.4.ebuild index 9b79ebaf9473..36b0d0916999 100644 --- a/www-servers/tomcat/tomcat-9.0.4.ebuild +++ b/www-servers/tomcat/tomcat-9.0.4.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-9.0.4-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\ diff --git a/www-servers/tomcat/tomcat-9.0.5.ebuild b/www-servers/tomcat/tomcat-9.0.5.ebuild index 9b79ebaf9473..36b0d0916999 100644 --- a/www-servers/tomcat/tomcat-9.0.5.ebuild +++ b/www-servers/tomcat/tomcat-9.0.5.ebuild @@ -52,7 +52,7 @@ src_prepare() { # Remove bundled servlet-api rm -rv java/javax/{el,servlet} || die - epatch "${FILESDIR}/${P}-build.xml.patch" + epatch "${FILESDIR}/${PN}-9.0.4-build.xml.patch" # For use of catalina.sh in netbeans sed -i -e "/^# ----- Execute The Requested Command/ a\