|
|
@ -32,7 +32,7 @@
|
|
|
|
%global major_version 9
|
|
|
|
%global major_version 9
|
|
|
|
%global minor_version 0
|
|
|
|
%global minor_version 0
|
|
|
|
%global micro_version 62
|
|
|
|
%global micro_version 62
|
|
|
|
%global packdname apache-tomcat-%{version}-src
|
|
|
|
%global packdname %{name}-%{major_version}.%{minor_version}.%{micro_version}.redhat-00013
|
|
|
|
%global servletspec 4.0
|
|
|
|
%global servletspec 4.0
|
|
|
|
%global elspec 3.0
|
|
|
|
%global elspec 3.0
|
|
|
|
%global tcuid 53
|
|
|
|
%global tcuid 53
|
|
|
@ -56,12 +56,12 @@
|
|
|
|
Name: tomcat
|
|
|
|
Name: tomcat
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: %{major_version}.%{minor_version}.%{micro_version}
|
|
|
|
Version: %{major_version}.%{minor_version}.%{micro_version}
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 16%{?dist}
|
|
|
|
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
|
|
|
|
URL: http://tomcat.apache.org/
|
|
|
|
URL: http://tomcat.apache.org/
|
|
|
|
Source0: http://www.apache.org/dist/tomcat/tomcat-%{major_version}/v%{version}/src/%{packdname}.tar.gz
|
|
|
|
Source0: %{packdname}.tar.gz
|
|
|
|
Source1: %{name}-%{major_version}.%{minor_version}.conf
|
|
|
|
Source1: %{name}-%{major_version}.%{minor_version}.conf
|
|
|
|
Source3: %{name}-%{major_version}.%{minor_version}.sysconfig
|
|
|
|
Source3: %{name}-%{major_version}.%{minor_version}.sysconfig
|
|
|
|
Source4: %{name}-%{major_version}.%{minor_version}.wrapper
|
|
|
|
Source4: %{name}-%{major_version}.%{minor_version}.wrapper
|
|
|
@ -80,10 +80,8 @@ Patch1: %{name}-%{major_version}.%{minor_version}-tomcat-users-webapp.pat
|
|
|
|
Patch2: %{name}-build.patch
|
|
|
|
Patch2: %{name}-build.patch
|
|
|
|
Patch3: %{name}-%{major_version}.%{minor_version}-catalina-policy.patch
|
|
|
|
Patch3: %{name}-%{major_version}.%{minor_version}-catalina-policy.patch
|
|
|
|
Patch4: rhbz-1857043.patch
|
|
|
|
Patch4: rhbz-1857043.patch
|
|
|
|
Patch5: %{name}-%{major_version}.%{minor_version}-JDTCompiler.patch
|
|
|
|
|
|
|
|
Patch6: %{name}-%{major_version}.%{minor_version}-bnd-annotation.patch
|
|
|
|
Patch6: %{name}-%{major_version}.%{minor_version}-bnd-annotation.patch
|
|
|
|
# The fixes for memory leak which have been fixed in 9.0.64, remove this patch in the next tomcat update
|
|
|
|
Patch7: JmxRemoteLifecycleListener.patch
|
|
|
|
Patch7: %{name}-%{major_version}.%{minor_version}-memory-leak.patch
|
|
|
|
|
|
|
|
Patch8: fix-malformed-dtd.patch
|
|
|
|
Patch8: fix-malformed-dtd.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -91,13 +89,12 @@ BuildArch: noarch
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: ecj >= 1:4.10
|
|
|
|
BuildRequires: ecj >= 1:4.10
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: java-devel >= 1:1.8.0
|
|
|
|
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: aqute-bnd
|
|
|
|
BuildRequires: aqute-bnd
|
|
|
|
BuildRequires: aqute-bndlib
|
|
|
|
BuildRequires: aqute-bndlib
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
|
|
|
|
|
|
|
Requires: java-headless >= 1:1.8.0
|
|
|
|
Requires: (java-headless >= 1:1.8 or java-1.8.0-headless or java-11-headless or java-17-headless or java >= 1:1.8)
|
|
|
|
Requires: javapackages-tools
|
|
|
|
Requires: javapackages-tools
|
|
|
|
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
@ -108,8 +105,8 @@ Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
|
|
|
|
|
|
|
|
# We will change it to an obsoletes whenever the pki team is able to make the switch
|
|
|
|
Provides: pki-servlet-engine
|
|
|
|
Conflicts: pki-servlet-engine <= 1:9.0.50
|
|
|
|
Obsoletes: pki-servlet-engine
|
|
|
|
|
|
|
|
|
|
|
|
# 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}
|
|
|
@ -124,6 +121,33 @@ Tomcat is developed in an open and participatory environment and
|
|
|
|
released under the Apache Software License version 2.0. Tomcat is intended
|
|
|
|
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.
|
|
|
|
to be a collaboration of the best-of-breed developers from around the world.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package java-jdk8
|
|
|
|
|
|
|
|
Group: Development/Java
|
|
|
|
|
|
|
|
Summary: Tomcat on JDK 8
|
|
|
|
|
|
|
|
Requires: java-1.8.0 >= 1:1.8
|
|
|
|
|
|
|
|
Provides: tomcat-java = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description java-jdk8
|
|
|
|
|
|
|
|
Tomcat on JDK 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package java-jdk11
|
|
|
|
|
|
|
|
Group: Development/Java
|
|
|
|
|
|
|
|
Summary: Tomcat on JDK 11
|
|
|
|
|
|
|
|
Requires: (java-11 or java-11-headless)
|
|
|
|
|
|
|
|
Provides: tomcat-java = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description java-jdk11
|
|
|
|
|
|
|
|
Tomcat on JDK 11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package java-jdk17
|
|
|
|
|
|
|
|
Group: Development/Java
|
|
|
|
|
|
|
|
Summary: Tomcat on JDK 17
|
|
|
|
|
|
|
|
Requires: (java-17 or java-17-headless)
|
|
|
|
|
|
|
|
Provides: tomcat-java = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description java-jdk17
|
|
|
|
|
|
|
|
Tomcat on JDK 17
|
|
|
|
|
|
|
|
|
|
|
|
%package admin-webapps
|
|
|
|
%package admin-webapps
|
|
|
|
Summary: The host-manager and manager web applications for Apache Tomcat
|
|
|
|
Summary: The host-manager and manager web applications for Apache Tomcat
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
@ -144,7 +168,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
|
|
|
|
|
|
|
|
|
|
|
|
%description jsp-%{jspspec}-api
|
|
|
|
%description jsp-%{jspspec}-api
|
|
|
|
Apache Tomcat JSP API Implementation Classes.
|
|
|
|
Apache Tomcat JSP API Implementation Classes.
|
|
|
@ -156,7 +180,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
|
|
|
|
|
|
|
|
|
|
|
|
%description lib
|
|
|
|
%description lib
|
|
|
|
Libraries needed to run the Tomcat Web container.
|
|
|
|
Libraries needed to run the Tomcat Web container.
|
|
|
@ -167,7 +191,8 @@ 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
|
|
|
|
Provides: pki-servlet-4.0-api
|
|
|
|
|
|
|
|
Obsoletes: pki-servlet-4.0-api
|
|
|
|
|
|
|
|
|
|
|
|
%description servlet-%{servletspec}-api
|
|
|
|
%description servlet-%{servletspec}-api
|
|
|
|
Apache Tomcat Servlet API Implementation Classes.
|
|
|
|
Apache Tomcat Servlet API Implementation Classes.
|
|
|
@ -176,7 +201,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
|
|
|
|
Obsoletes: pki-servlet-engine
|
|
|
|
|
|
|
|
|
|
|
|
%description el-%{elspec}-api
|
|
|
|
%description el-%{elspec}-api
|
|
|
|
Apache Tomcat EL API Implementation Classes.
|
|
|
|
Apache Tomcat EL API Implementation Classes.
|
|
|
@ -194,15 +219,14 @@ The ROOT web application for Apache Tomcat.
|
|
|
|
find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "*.gz" -o \
|
|
|
|
find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "*.gz" -o \
|
|
|
|
-name "*.jar" -o -name "*.war" -o -name "*.zip" \) -delete
|
|
|
|
-name "*.jar" -o -name "*.war" -o -name "*.zip" \) -delete
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p0
|
|
|
|
%patch -P0 -p0
|
|
|
|
%patch1 -p0
|
|
|
|
%patch -P1 -p0
|
|
|
|
%patch2 -p0
|
|
|
|
%patch -P2 -p0
|
|
|
|
%patch3 -p0
|
|
|
|
%patch -P3 -p0
|
|
|
|
%patch4 -p0
|
|
|
|
%patch -P4 -p0
|
|
|
|
%patch5 -p0
|
|
|
|
%patch -P6 -p0
|
|
|
|
%patch6 -p0
|
|
|
|
%patch -P7 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch -P8 -p1
|
|
|
|
%patch8 -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
|
|
|
@ -241,7 +265,7 @@ touch HACK
|
|
|
|
deploy
|
|
|
|
deploy
|
|
|
|
|
|
|
|
|
|
|
|
# remove some jars that we'll replace with symlinks later
|
|
|
|
# remove some jars that we'll replace with symlinks later
|
|
|
|
%{__rm} output/build/bin/commons-daemon.jar output/build/lib/ecj.jar
|
|
|
|
%{__rm} output/build/lib/ecj.jar
|
|
|
|
# Remove the example webapps per Apache Tomcat Security Considerations
|
|
|
|
# Remove the example webapps per Apache Tomcat Security Considerations
|
|
|
|
# see https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html
|
|
|
|
# see https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html
|
|
|
|
%{__rm} -rf output/build/webapps/examples
|
|
|
|
%{__rm} -rf output/build/webapps/examples
|
|
|
@ -339,6 +363,7 @@ pushd ${RPM_BUILD_ROOT}%{libdir}
|
|
|
|
%{__ln_s} ../../java/%{name}-servlet-%{servletspec}-api.jar .
|
|
|
|
%{__ln_s} ../../java/%{name}-servlet-%{servletspec}-api.jar .
|
|
|
|
%{__ln_s} ../../java/%{name}-el-%{elspec}-api.jar .
|
|
|
|
%{__ln_s} ../../java/%{name}-el-%{elspec}-api.jar .
|
|
|
|
%{__ln_s} $(build-classpath ecj/ecj) jasper-jdt.jar
|
|
|
|
%{__ln_s} $(build-classpath ecj/ecj) jasper-jdt.jar
|
|
|
|
|
|
|
|
%{__cp} -a ../../%{name}/bin/tomcat-juli.jar .
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# symlink to the FHS locations where we've installed things
|
|
|
|
# symlink to the FHS locations where we've installed things
|
|
|
@ -354,7 +379,7 @@ popd
|
|
|
|
# Install the maven metadata for the spec impl artifacts as other projects use them
|
|
|
|
# Install the maven metadata for the spec impl artifacts as other projects use them
|
|
|
|
#%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_mavenpomdir}
|
|
|
|
#%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_mavenpomdir}
|
|
|
|
pushd res/maven
|
|
|
|
pushd res/maven
|
|
|
|
for pom in tomcat-el-api.pom tomcat-jsp-api.pom tomcat-servlet-api.pom; do
|
|
|
|
for pom in *.pom; do
|
|
|
|
# fix-up version in all pom files
|
|
|
|
# fix-up version in all pom files
|
|
|
|
sed -i 's/@MAVEN.DEPLOY.VERSION@/%{version}/g' $pom
|
|
|
|
sed -i 's/@MAVEN.DEPLOY.VERSION@/%{version}/g' $pom
|
|
|
|
done
|
|
|
|
done
|
|
|
@ -364,6 +389,48 @@ popd
|
|
|
|
%mvn_artifact res/maven/tomcat-el-api.pom output/build/lib/el-api.jar
|
|
|
|
%mvn_artifact res/maven/tomcat-el-api.pom output/build/lib/el-api.jar
|
|
|
|
%mvn_artifact res/maven/tomcat-jsp-api.pom output/build/lib/jsp-api.jar
|
|
|
|
%mvn_artifact res/maven/tomcat-jsp-api.pom output/build/lib/jsp-api.jar
|
|
|
|
%mvn_artifact res/maven/tomcat-servlet-api.pom output/build/lib/servlet-api.jar
|
|
|
|
%mvn_artifact res/maven/tomcat-servlet-api.pom output/build/lib/servlet-api.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-annotations-api tomcat/annotations-api
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-annotations-api.pom ${RPM_BUILD_ROOT}%{libdir}/annotations-api.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-api.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-api.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-catalina-ant tomcat/catalina-ant
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-catalina-ant.pom ${RPM_BUILD_ROOT}%{libdir}/catalina-ant.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-catalina-ha tomcat/catalina-ha
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-catalina-ha.pom ${RPM_BUILD_ROOT}%{libdir}/catalina-ha.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-catalina tomcat/catalina
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-catalina.pom ${RPM_BUILD_ROOT}%{libdir}/catalina.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-coyote.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-coyote.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-dbcp.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-dbcp.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-cs.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-cs.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-de.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-de.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-es.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-es.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-fr.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-fr.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-ja.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-ja.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-ko.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-ko.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-pt-BR.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-pt-BR.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-ru.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-ru.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-i18n-zh-CN.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-i18n-zh-CN.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-jasper-el tomcat/jasper-el
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-jasper-el.pom ${RPM_BUILD_ROOT}%{libdir}/jasper-el.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-jasper tomcat/jasper
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-jasper.pom ${RPM_BUILD_ROOT}%{libdir}/jasper.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-jaspic-api tomcat/jaspic-api
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-jaspic-api.pom ${RPM_BUILD_ROOT}%{libdir}/jaspic-api.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-jdbc.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-jdbc.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-jni.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-jni.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-juli.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-juli.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-ssi tomcat/catalina-ssi
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-ssi.pom ${RPM_BUILD_ROOT}%{libdir}/catalina-ssi.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-storeconfig tomcat/catalina-storeconfig
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-storeconfig.pom ${RPM_BUILD_ROOT}%{libdir}/catalina-storeconfig.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-tribes tomcat/catalina-tribes
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-tribes.pom ${RPM_BUILD_ROOT}%{libdir}/catalina-tribes.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-util-scan.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-util-scan.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-util.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-util.jar
|
|
|
|
|
|
|
|
%mvn_file org.apache.tomcat:tomcat-websocket-api tomcat/websocket-api
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-websocket-api.pom ${RPM_BUILD_ROOT}%{libdir}/websocket-api.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat-websocket.pom ${RPM_BUILD_ROOT}%{libdir}/tomcat-websocket.jar
|
|
|
|
|
|
|
|
%mvn_artifact res/maven/tomcat.pom
|
|
|
|
%mvn_install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
%pre
|
|
|
@ -480,34 +547,72 @@ fi
|
|
|
|
%files docs-webapp
|
|
|
|
%files docs-webapp
|
|
|
|
%{appdir}/docs
|
|
|
|
%{appdir}/docs
|
|
|
|
|
|
|
|
|
|
|
|
%files lib
|
|
|
|
%files lib -f .mfiles
|
|
|
|
%dir %{libdir}
|
|
|
|
%dir %{libdir}
|
|
|
|
%{libdir}/*.jar
|
|
|
|
%{libdir}/*.jar
|
|
|
|
%{_javadir}/*.jar
|
|
|
|
%{_javadir}/*.jar
|
|
|
|
%{bindir}/tomcat-juli.jar
|
|
|
|
%{bindir}/tomcat-juli.jar
|
|
|
|
%exclude %{libdir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%exclude %{libdir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
|
|
|
|
%exclude %{libdir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
|
|
|
|
%exclude %{libdir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
%exclude %{_javadir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
%exclude %{_javadir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
%exclude %{_javadir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%exclude %{_javadir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%exclude %{_javadir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
%exclude %{_javadir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
|
|
|
|
%exclude %{_javadir}/%{name}-servlet-api.jar
|
|
|
|
|
|
|
|
%exclude %{_javadir}/%{name}-el-api.jar
|
|
|
|
|
|
|
|
%exclude %{_javadir}/%{name}-jsp-api.jar
|
|
|
|
|
|
|
|
%exclude %{_jnidir}/*
|
|
|
|
|
|
|
|
|
|
|
|
%files jsp-%{jspspec}-api -f .mfiles-tomcat-jsp-api
|
|
|
|
%files jsp-%{jspspec}-api -f .mfiles-tomcat-jsp-api
|
|
|
|
%{_javadir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
%{_javadir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
|
|
|
|
%{libdir}/%{name}-jsp-%{jspspec}*.jar
|
|
|
|
|
|
|
|
%{_javadir}/%{name}-jsp-api.jar
|
|
|
|
|
|
|
|
|
|
|
|
%files servlet-%{servletspec}-api -f .mfiles-tomcat-servlet-api
|
|
|
|
%files servlet-%{servletspec}-api -f .mfiles-tomcat-servlet-api
|
|
|
|
%doc LICENSE
|
|
|
|
%doc LICENSE
|
|
|
|
%{_javadir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
%{_javadir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
|
|
|
|
%{libdir}/%{name}-servlet-%{servletspec}*.jar
|
|
|
|
|
|
|
|
%{_javadir}/%{name}-servlet-api.jar
|
|
|
|
|
|
|
|
|
|
|
|
%files el-%{elspec}-api -f .mfiles-tomcat-el-api
|
|
|
|
%files el-%{elspec}-api -f .mfiles-tomcat-el-api
|
|
|
|
%doc LICENSE
|
|
|
|
%doc LICENSE
|
|
|
|
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%{libdir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
%{libdir}/%{name}-el-%{elspec}-api.jar
|
|
|
|
|
|
|
|
%{_javadir}/%{name}-el-api.jar
|
|
|
|
|
|
|
|
|
|
|
|
%files webapps
|
|
|
|
%files webapps
|
|
|
|
%defattr(0644,tomcat,tomcat,0755)
|
|
|
|
%defattr(0644,tomcat,tomcat,0755)
|
|
|
|
%{appdir}/ROOT
|
|
|
|
%{appdir}/ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files java-jdk8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files java-jdk11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files java-jdk17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Aug 25 2023 Coty Sutherland <csutherl@redhat.com> - 1:9.0.62-16
|
|
|
|
|
|
|
|
- Related: #2184133 Declare file conflicts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 25 2023 Coty Sutherland <csutherl@redhat.com> - 1:9.0.62-15
|
|
|
|
|
|
|
|
- Resolves: #2184133 Fix bug in Obsoletes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 01 2023 Hui Wang <huwang@redhat.com> - 1:9.0.62-14
|
|
|
|
|
|
|
|
- Resolves: #2210632 CVE-2023-28709 tomcat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2023 Hui Wang <huwang@redhat.com> - 1:9.0.62-13
|
|
|
|
|
|
|
|
- Resolves: #2189675 Missing Tomcat POM files in RHEL 9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 21 2023 Hui Wang <huwang@redhat.com> - 1:9.0.62-12
|
|
|
|
|
|
|
|
- Resolves: #2189675 Missing Tomcat POM files in RHEL 9.3
|
|
|
|
|
|
|
|
- Resolves: #2173872 Remove java-11-openjdk-headles as a tomcat dependency
|
|
|
|
|
|
|
|
- Resolves: #2181461 CVE-2023-28708 tomcat: not including the secure attribute causes information
|
|
|
|
|
|
|
|
- Resolves: #2210632 CVE-2023-28709
|
|
|
|
|
|
|
|
- Resolves: #2184133 Add Obsoletes to tomcat package
|
|
|
|
|
|
|
|
- Update patch command
|
|
|
|
|
|
|
|
- Update source to use jws tomcat
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Hui Wang <huwang@redhat.com> - 1:9.0.62-11
|
|
|
|
* Thu Feb 23 2023 Hui Wang <huwang@redhat.com> - 1:9.0.62-11
|
|
|
|
- Bump release so that the NVR on RHEL-9 is higher than RHEL-8
|
|
|
|
- Bump release so that the NVR on RHEL-9 is higher than RHEL-8
|
|
|
|
|
|
|
|
|
|
|
|