Compare commits

...

No commits in common. "c8-beta" and "a8" have entirely different histories.
c8-beta ... a8

6 changed files with 32 additions and 37 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/tomcat-9.0.62.redhat-00018-src.zip SOURCES/tomcat-9.0.87.redhat-00003-src.zip

View File

@ -1 +1 @@
5becf21ed1eb5c031c31d5f295ce499234e98f82 SOURCES/tomcat-9.0.62.redhat-00018-src.zip 4e1552026d103c3310c1bd678ac8fe7bab597e4b SOURCES/tomcat-9.0.87.redhat-00003-src.zip

View File

@ -1,8 +0,0 @@
diff -up ./java/org/apache/tomcat/util/modeler/mbeans-descriptors.dtd.orig ./java/org/apache/tomcat/util/modeler/mbeans-descriptors.dtd
--- ./java/org/apache/tomcat/util/modeler/mbeans-descriptors.dtd.orig 2023-02-07 14:11:25.294179017 -0500
+++ ./java/org/apache/tomcat/util/modeler/mbeans-descriptors.dtd 2023-02-07 14:11:28.629196705 -0500
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with

View File

@ -2,7 +2,7 @@ diff --git a/build.xml b/build.xml
index 5a0be1b..2131211 100644 index 5a0be1b..2131211 100644
--- a/build.xml --- a/build.xml
+++ b/build.xml +++ b/build.xml
@@ -3062,7 +3062,7 @@ skip.installer property in build.properties" /> @@ -3296,7 +3296,7 @@ asf.ldap.username=${release.asfusername}
<target name="download-compile" <target name="download-compile"
description="Download components necessary to compile" description="Download components necessary to compile"
@ -15,7 +15,7 @@ diff --git a/java/org/apache/el/ExpressionFactoryImpl.java b/java/org/apache/el/
index a6faeb6..5afbda7 100644 index a6faeb6..5afbda7 100644
--- a/java/org/apache/el/ExpressionFactoryImpl.java --- a/java/org/apache/el/ExpressionFactoryImpl.java
+++ b/java/org/apache/el/ExpressionFactoryImpl.java +++ b/java/org/apache/el/ExpressionFactoryImpl.java
@@ -33,7 +33,7 @@ import org.apache.el.util.MessageFactory; @@ -34,7 +34,7 @@ import org.apache.el.util.MessageFactory;
* *
* @author Jacob Hookom [jacob@hookom.net] * @author Jacob Hookom [jacob@hookom.net]
*/ */
@ -23,7 +23,7 @@ index a6faeb6..5afbda7 100644
+//@aQute.bnd.annotation.spi.ServiceProvider(value=ExpressionFactory.class) +//@aQute.bnd.annotation.spi.ServiceProvider(value=ExpressionFactory.class)
public class ExpressionFactoryImpl extends ExpressionFactory { public class ExpressionFactoryImpl extends ExpressionFactory {
@Override static {
diff --git a/java/org/apache/juli/logging/LogFactory.java b/java/org/apache/juli/logging/LogFactory.java diff --git a/java/org/apache/juli/logging/LogFactory.java b/java/org/apache/juli/logging/LogFactory.java
index 56c805a..bd6eb0d 100644 index 56c805a..bd6eb0d 100644
--- a/java/org/apache/juli/logging/LogFactory.java --- a/java/org/apache/juli/logging/LogFactory.java
@ -41,8 +41,8 @@ index 56c805a..bd6eb0d 100644
* @author Costin Manolache * @author Costin Manolache
* @author Richard A. Sitze * @author Richard A. Sitze
*/ */
-@ServiceConsumer(value=org.apache.juli.logging.Log.class) -@ServiceConsumer(value=Log.class)
+//@ServiceConsumer(value=org.apache.juli.logging.Log.class) +//@ServiceConsumer(value=Log.class)
public class LogFactory { public class LogFactory {
private static final LogFactory singleton = new LogFactory(); private static final LogFactory singleton = new LogFactory();
@ -54,8 +54,8 @@ index 3cb8873..7bc50f6 100644
import javax.websocket.ContainerProvider; import javax.websocket.ContainerProvider;
import javax.websocket.WebSocketContainer; import javax.websocket.WebSocketContainer;
-@aQute.bnd.annotation.spi.ServiceProvider(value=ContainerProvider.class) -@aQute.bnd.annotation.spi.ServiceProvider(value = ContainerProvider.class)
+//@aQute.bnd.annotation.spi.ServiceProvider(value=ContainerProvider.class) +//@aQute.bnd.annotation.spi.ServiceProvider(value = ContainerProvider.class)
public class WsContainerProvider extends ContainerProvider { public class WsContainerProvider extends ContainerProvider {
@Override @Override
@ -67,8 +67,8 @@ index 5c385ed..2e4e82e 100644
import javax.websocket.server.HandshakeRequest; import javax.websocket.server.HandshakeRequest;
import javax.websocket.server.ServerEndpointConfig; import javax.websocket.server.ServerEndpointConfig;
-@aQute.bnd.annotation.spi.ServiceProvider(value=ServerEndpointConfig.Configurator.class) -@aQute.bnd.annotation.spi.ServiceProvider(value = ServerEndpointConfig.Configurator.class)
+//@aQute.bnd.annotation.spi.ServiceProvider(value=ServerEndpointConfig.Configurator.class) +//@aQute.bnd.annotation.spi.ServiceProvider(value = ServerEndpointConfig.Configurator.class)
public class DefaultServerEndpointConfigurator public class DefaultServerEndpointConfigurator extends ServerEndpointConfig.Configurator {
extends ServerEndpointConfig.Configurator {
@Override

View File

@ -1,12 +1,11 @@
diff -up ./res/bnd/build-defaults.bnd.orig ./res/bnd/build-defaults.bnd --- ./res/bnd/build-defaults.bnd.orig 2024-05-01 11:07:38.804582327 +0300
--- ./res/bnd/build-defaults.bnd.orig 2020-07-13 13:47:01.229077747 -0400 +++ ./res/bnd/build-defaults.bnd 2024-05-01 11:17:08.857295279 +0300
+++ ./res/bnd/build-defaults.bnd 2020-07-13 13:47:12.923095618 -0400
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
-Bundle-Version: ${version_cleanup;${version}} -Bundle-Version: ${version_cleanup;${version}}
+Bundle-Version: ${version} +Bundle-Version: ${version}
Bundle-License: https://www.apache.org/licenses/LICENSE-2.0.txt
Specification-Title: Apache Tomcat Specification-Title: Apache Tomcat
Specification-Version: ${version.major.minor}

View File

@ -31,8 +31,8 @@
%global jspspec 2.3 %global jspspec 2.3
%global major_version 9 %global major_version 9
%global minor_version 0 %global minor_version 0
%global micro_version 62 %global micro_version 87
%global packdname %{name}-%{major_version}.%{minor_version}.%{micro_version}.redhat-00018-src %global packdname %{name}-%{major_version}.%{minor_version}.%{micro_version}.redhat-00003-src
%global servletspec 4.0 %global servletspec 4.0
%global elspec 3.0 %global elspec 3.0
%global tcuid 53 %global tcuid 53
@ -56,7 +56,7 @@
Name: tomcat Name: tomcat
Epoch: 1 Epoch: 1
Version: %{major_version}.%{minor_version}.%{micro_version} Version: %{major_version}.%{minor_version}.%{micro_version}
Release: 29%{?dist} Release: 1%{?dist}.1.alma.1
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
License: ASL 2.0 License: ASL 2.0
@ -83,7 +83,6 @@ Patch4: rhbz-1857043.patch
# remove bnd dependency which version is too low on rhel8 # remove bnd dependency which version is too low on rhel8
Patch6: remove-bnd-annotation.patch Patch6: remove-bnd-annotation.patch
Patch7: JmxRemoteLifecycleListener.patch Patch7: JmxRemoteLifecycleListener.patch
Patch8: fix-malformed-dtd.patch
BuildArch: noarch BuildArch: noarch
@ -106,7 +105,7 @@ Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Conflicts: pki-servlet-engine <= 1:9.0.50 Obsoletes: pki-servlet-engine <= 1:9.0.50
# added after log4j sub-package was removed # added after log4j sub-package was removed
Provides: %{name}-log4j = %{epoch}:%{version}-%{release} Provides: %{name}-log4j = %{epoch}:%{version}-%{release}
@ -141,7 +140,7 @@ Provides: jsp = %{jspspec}
Obsoletes: %{name}-jsp-2.2-api Obsoletes: %{name}-jsp-2.2-api
Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release} Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release} Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release}
Conflicts: pki-servlet-engine <= 1:9.0.50 Obsoletes: pki-servlet-engine <= 1:9.0.50
%description jsp-%{jspspec}-api %description jsp-%{jspspec}-api
Apache Tomcat JSP API Implementation Classes. Apache Tomcat JSP API Implementation Classes.
@ -153,7 +152,7 @@ Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release} Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release}
Requires: ecj >= 1:4.10 Requires: ecj >= 1:4.10
Requires(preun): coreutils Requires(preun): coreutils
Conflicts: pki-servlet-engine <= 1:9.0.50 Obsoletes: pki-servlet-engine <= 1:9.0.50
%description lib %description lib
Libraries needed to run the Tomcat Web container. Libraries needed to run the Tomcat Web container.
@ -164,7 +163,7 @@ Provides: servlet = %{servletspec}
Provides: servlet6 Provides: servlet6
Provides: servlet3 Provides: servlet3
Obsoletes: %{name}-servlet-3.1-api Obsoletes: %{name}-servlet-3.1-api
Conflicts: pki-servlet-4.0-api <= 1:9.0.50 Obsoletes: pki-servlet-4.0-api <= 1:9.0.50
%description servlet-%{servletspec}-api %description servlet-%{servletspec}-api
Apache Tomcat Servlet API Implementation Classes. Apache Tomcat Servlet API Implementation Classes.
@ -173,7 +172,7 @@ Apache Tomcat Servlet API Implementation Classes.
Summary: Apache Tomcat Expression Language v%{elspec} API Implementation Classes Summary: Apache Tomcat Expression Language v%{elspec} API Implementation Classes
Provides: el_api = %{elspec} Provides: el_api = %{elspec}
Obsoletes: %{name}-el-2.2-api Obsoletes: %{name}-el-2.2-api
Conflicts: pki-servlet-engine <= 1:9.0.50 and pki-servlet-container <= 1:9.0.7 Obsoletes: pki-servlet-engine <= 1:9.0.50
%description el-%{elspec}-api %description el-%{elspec}-api
Apache Tomcat EL API Implementation Classes. Apache Tomcat EL API Implementation Classes.
@ -198,7 +197,6 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "
%patch -P4 -p0 %patch -P4 -p0
%patch -P6 -p1 %patch -P6 -p1
%patch -P7 -p1 %patch -P7 -p1
%patch -P8 -p1
# Remove webservices naming resources as it's generally unused # Remove webservices naming resources as it's generally unused
%{__rm} -rf java/org/apache/naming/factory/webservices %{__rm} -rf java/org/apache/naming/factory/webservices
@ -558,6 +556,12 @@ fi
%changelog %changelog
* Thu Jun 06 2024 Eduard Abdullin <eabdullin@redhat.com> - 1:9.0.87-1.el8_10.1.alma.1
- Update to 9.0.87
* Fri Jan 19 2024 Hui Wang <huwang@redhat.com> - 1:9.0.62-30
- Resolves: RHEL-6971
* Thu Jan 18 2024 Hui Wang <huwang@redhat.com> - 1:9.0.62-29 * Thu Jan 18 2024 Hui Wang <huwang@redhat.com> - 1:9.0.62-29
- Resolves: RHEL-17602 - Resolves: RHEL-17602