forked from pool/tomcat10
Accepting request 1186401 from home:RMestre:branches:Java:packages
- Update to Tomcat 10.1.25 * Fixed CVEs: + CVE-2024-34750: Improper handling of exceptional conditions (bsc#1227399) * Catalina + Add: Add support for shallow copies when using WebDAV. (markt) + Code: Deprecate the WebdavFixFilter as it is no longer required. (markt) + Fix: 69066: Fix regression in SPNEGO authenticator when processing Base64. Submitted by Daniel Lyko. (remm) + Add: Add RealmBase.getPrincipal(GSSName, GSSCredential, GSSContext) for retrieving extended/additional information from an established GSS context. (michaelo) + Fix: Correct a regression in the fix for 68721 that caused some instances of LinkageError to be reported as ClassNotFoundException. (markt) + Fix: Ensure that static resources deployed via a JAR file remain accessible when the context is configured to use a bloom filter. Based on pull request #730 provided by bergander. (markt) + Add: Introduce reference counting so the AprLifecycleListener is more robust. This particularly targets more complex embedded configurations with multiple server instances with independent lifecycles where more than one server instance requires the AprLifecycleListener. (markt) + Add: Small performance optimization when logging cookies with no values. (schultz) + Fix: Correct error handling for asynchronous requests. If the application performs an dispatch during AsyncListener.onError() the dispatch is now performed rather than completing the request using the error page mechanism. (markt) + Add: Re-factor ElapsedTimeElement in AbstractAccessLogValve to use a customizable style. (schultz) + Add: Add more timescale options to AccessLogValve and OBS-URL: https://build.opensuse.org/request/show/1186401 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat10?expand=0&rev=44
This commit is contained in:
commit
a925454e40
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
7
_constraints
Normal file
7
_constraints
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="M">2048</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
19
allowLinking.xslt
Normal file
19
allowLinking.xslt
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
|
||||||
|
<xsl:strip-space elements="*"/>
|
||||||
|
|
||||||
|
<!-- Identity template to copy elements and attributes as they are -->
|
||||||
|
<xsl:template match="@*|node()">
|
||||||
|
<xsl:copy>
|
||||||
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Add Resources element with allowLinking attribute -->
|
||||||
|
<xsl:template match="Context">
|
||||||
|
<xsl:copy>
|
||||||
|
<Resources allowLinking="true" />
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
BIN
apache-tomcat-10.1.25-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
apache-tomcat-10.1.25-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
apache-tomcat-10.1.25-src.tar.gz.asc
Normal file
17
apache-tomcat-10.1.25-src.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Comment: GPGTools - http://gpgtools.org
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAmZsrB0ACgkQHPApP6U8
|
||||||
|
pFgWehAAsL94Pf+o5NqhdP9RXxOLfGkAjwC6UdWEGbi/UUhJz/tEx3A66P3eyKJx
|
||||||
|
KZw+0oqnwI9dXNry9TH3zZHk1Qj93HzOQRPolomCZWnwAcq964IutIc0PQMvga8+
|
||||||
|
kaNfCloaOo9+VPeOAQ5rSn2jbdui+lYuTvHUuMiJ2+/U33Dn45JtTY+sQZxGFI0D
|
||||||
|
OM9Bu7j64Vxp6tLMtYwcO33vsKnlT6WmC7NekkbyWlkLIDTKfaNp6PstKI1cxOvY
|
||||||
|
8Cc1G276iGjPsyf06ooPZ6yunXYOXXT5SSsyvsKdWyacdFQ9BxlC5asOIwr+OKjp
|
||||||
|
6tDIWK2RZQPs5fVGAeW4+6YN4jpTDrjjJvvC2M/Quyn7eRME0yB7qa6QAFM7mpqk
|
||||||
|
oATHa+np0X3a5iNHW6w61En1F8yG2DtMyxIApkS25SGyA3XCRmZy2v14WPEaJURb
|
||||||
|
PTrXY4+p18ae7cB6R5eoQZlBMxN+yqmwr7+RLcU3bTvMb65g19RPUcZ78/aKWteF
|
||||||
|
G0wHn/QQy1yjDg4zJ0RQZzF0GhChux/G8Is423PiAskQJjQMB2O39PJV3D+hbrwk
|
||||||
|
VXkH1JNwl5O18S76o0/t7eMF1Z1LViyS3Ldr/M9vpxtGmtX5VdfzmZ+Z6+JvAaZI
|
||||||
|
+Ae7aA9B3BLWGiAjJNsu2FBY94jx2FZJgedg3pvPIyFSP6+W1Hg=
|
||||||
|
=l6Tt
|
||||||
|
-----END PGP SIGNATURE-----
|
13
tomcat-10.1-build-with-java-11.patch
Normal file
13
tomcat-10.1-build-with-java-11.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: apache-tomcat-10.1.25-src/build.xml
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.25-src.orig/build.xml
|
||||||
|
+++ apache-tomcat-10.1.25-src/build.xml
|
||||||
|
@@ -108,7 +108,7 @@
|
||||||
|
<!-- Keep in sync with webapps/docs/tomcat-docs.xsl -->
|
||||||
|
<property name="compile.release" value="11"/>
|
||||||
|
<property name="min.java.version" value="11"/>
|
||||||
|
- <property name="build.java.version" value="17"/>
|
||||||
|
+ <property name="build.java.version" value="11"/>
|
||||||
|
<property name="release.java.version" value="22"/>
|
||||||
|
|
||||||
|
<!-- Check Java Build Version -->
|
11
tomcat-bootstrap-MANIFEST.MF.patch
Normal file
11
tomcat-bootstrap-MANIFEST.MF.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Index: apache-tomcat-10.1.14-src/res/META-INF/bootstrap.jar.manifest
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.14-src.orig/res/META-INF/bootstrap.jar.manifest
|
||||||
|
+++ apache-tomcat-10.1.14-src/res/META-INF/bootstrap.jar.manifest
|
||||||
|
@@ -1,6 +1,5 @@
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Main-Class: org.apache.catalina.startup.Bootstrap
|
||||||
|
-Class-Path: commons-daemon.jar
|
||||||
|
Specification-Title: Apache Tomcat Bootstrap
|
||||||
|
Specification-Version: @VERSION_MAJOR_MINOR@
|
||||||
|
Specification-Vendor: Apache Software Foundation
|
45
tomcat-digest.script
Normal file
45
tomcat-digest.script
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# tomcat-digest script
|
||||||
|
# JPackage Project <http://www.jpackage.org/>
|
||||||
|
|
||||||
|
# Source functions library
|
||||||
|
if [ -f /usr/share/java-utils/java-functions ] ; then
|
||||||
|
. /usr/share/java-utils/java-functions
|
||||||
|
else
|
||||||
|
echo "Can't find functions library, aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get the tomcat config (use this for environment specific settings)
|
||||||
|
if [ -z "${TOMCAT_CFG}" ]; then
|
||||||
|
TOMCAT_CFG="/etc/tomcat/tomcat.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -r "$TOMCAT_CFG" ]; then
|
||||||
|
. $TOMCAT_CFG
|
||||||
|
fi
|
||||||
|
|
||||||
|
set_javacmd
|
||||||
|
|
||||||
|
# CLASSPATH munging
|
||||||
|
if [ -n "$JSSE_HOME" ]; then
|
||||||
|
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)"
|
||||||
|
fi
|
||||||
|
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar"
|
||||||
|
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
|
||||||
|
export CLASSPATH
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
MAIN_CLASS="org.apache.catalina.startup.Tool"
|
||||||
|
BASE_FLAGS="-Dcatalina.home=\"$CATALINA_HOME\""
|
||||||
|
BASE_OPTIONS=""
|
||||||
|
BASE_JARS="commons-daemon tomcat/catalina tomcat/servlet"
|
||||||
|
|
||||||
|
# Set parameters
|
||||||
|
set_classpath $BASE_JARS
|
||||||
|
set_flags $BASE_FLAGS
|
||||||
|
set_options $BASE_OPTIONS
|
||||||
|
|
||||||
|
# Let's start
|
||||||
|
run -server org.apache.catalina.realm.RealmBase "$@"
|
11
tomcat-fix_catalina.patch
Normal file
11
tomcat-fix_catalina.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Index: apache-tomcat-9.0.43-src/conf/logging.properties
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-9.0.43-src.orig/conf/logging.properties
|
||||||
|
+++ apache-tomcat-9.0.43-src/conf/logging.properties
|
||||||
|
@@ -77,3 +77,6 @@ org.apache.catalina.core.ContainerBase.[
|
||||||
|
|
||||||
|
# To see debug messages for WebSocket handling, uncomment the following line:
|
||||||
|
#org.apache.tomcat.websocket.level = FINE
|
||||||
|
+
|
||||||
|
+1catalina.org.apache.juli.AsyncFileHandler.suffix = out
|
||||||
|
+1catalina.org.apache.juli.AsyncFileHandler.rotatable = false
|
42
tomcat-functions
Normal file
42
tomcat-functions
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -r /usr/share/java-utils/java-functions ]; then
|
||||||
|
. /usr/share/java-utils/java-functions
|
||||||
|
else
|
||||||
|
echo "Can't read Java functions library, aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
_save_function() {
|
||||||
|
local ORIG_FUNC=$(declare -f $1)
|
||||||
|
local NEWNAME_FUNC="$2${ORIG_FUNC#$1}"
|
||||||
|
eval "$NEWNAME_FUNC"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_jsvc(){
|
||||||
|
if [ -x /usr/bin/jsvc ]; then
|
||||||
|
TOMCAT_USER="tomcat"
|
||||||
|
JSVC="/usr/bin/jsvc"
|
||||||
|
|
||||||
|
JSVC_OPTS="-nodetach -pidfile /var/run/jsvc-tomcat${NAME}.pid -user ${TOMCAT_USER} -outfile ${CATALINA_BASE}/logs/catalina.out -errfile ${CATALINA_BASE}/logs/catalina.out"
|
||||||
|
if [ "$1" = "stop" ]; then
|
||||||
|
JSVC_OPTS="${JSVC_OPTS} -stop"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec "${JSVC}" ${JSVC_OPTS} ${FLAGS} -classpath "${CLASSPATH}" ${OPTIONS} "${MAIN_CLASS}" "${@}"
|
||||||
|
else
|
||||||
|
echo "Can't find /usr/bin/jsvc executable"
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
_save_function run run_java
|
||||||
|
|
||||||
|
run() {
|
||||||
|
if [ "${USE_JSVC}" = "true" ] ; then
|
||||||
|
run_jsvc $@
|
||||||
|
else
|
||||||
|
run_java $@
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
13
tomcat-javadoc.patch
Normal file
13
tomcat-javadoc.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: apache-tomcat-10.1.5-src/build.xml
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.5-src.orig/build.xml
|
||||||
|
+++ apache-tomcat-10.1.5-src/build.xml
|
||||||
|
@@ -2346,8 +2346,6 @@ Apache Tomcat ${version} native binaries
|
||||||
|
<link href="../elapi"/>
|
||||||
|
<link href="../websocketapi"/>
|
||||||
|
<link href="../jaspicapi"/>
|
||||||
|
- <link href="https://docs.oracle.com/en/java/javase/11/docs/api/"/>
|
||||||
|
- <link href="https://jakarta.ee/specifications/platform/10/apidocs/"/>
|
||||||
|
<packageset dir="${tomcat.dist}/src/java/">
|
||||||
|
<include name="org/**"/>
|
||||||
|
<exclude name="org/apache/el/parser/**"/>
|
46
tomcat-jdt.patch
Normal file
46
tomcat-jdt.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
--- apache-tomcat-10.1.20-src/java/org/apache/jasper/compiler/JDTCompiler.java 2024-04-06 14:14:17.015180386 +0200
|
||||||
|
+++ apache-tomcat-10.1.20-src/java/org/apache/jasper/compiler/JDTCompiler.java 2024-04-06 14:14:33.635284982 +0200
|
||||||
|
@@ -310,13 +310,13 @@
|
||||||
|
} else if(opt.equals("15")) {
|
||||||
|
settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_15);
|
||||||
|
} else if(opt.equals("16")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_16);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Source, "16");
|
||||||
|
} else if(opt.equals("17")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_17);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Source, "17");
|
||||||
|
} else if(opt.equals("18")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_18);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Source, "18");
|
||||||
|
} else if (opt.equals("19")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_19);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Source, "19");
|
||||||
|
} else if (opt.equals("20")) {
|
||||||
|
// Constant not available in latest ECJ version that runs on
|
||||||
|
// Java 11.
|
||||||
|
@@ -388,17 +388,17 @@
|
||||||
|
settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_15);
|
||||||
|
settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_15);
|
||||||
|
} else if(opt.equals("16")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_16);
|
||||||
|
- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_16);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_TargetPlatform, "16");
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Compliance, "16");
|
||||||
|
} else if(opt.equals("17")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_17);
|
||||||
|
- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_17);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_TargetPlatform, "17");
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Compliance, "17");
|
||||||
|
} else if(opt.equals("18")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_18);
|
||||||
|
- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_18);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_TargetPlatform, "18");
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Compliance, "18");
|
||||||
|
} else if (opt.equals("19")) {
|
||||||
|
- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_19);
|
||||||
|
- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_19);
|
||||||
|
+ settings.put(CompilerOptions.OPTION_TargetPlatform, "19");
|
||||||
|
+ settings.put(CompilerOptions.OPTION_Compliance, "19");
|
||||||
|
} else if (opt.equals("20")) {
|
||||||
|
// Constant not available in latest ECJ version that runs on
|
||||||
|
// Java 11.
|
21
tomcat-jsvc.service
Normal file
21
tomcat-jsvc.service
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Systemd unit file for tomcat
|
||||||
|
#
|
||||||
|
# To create clones of this service:
|
||||||
|
# 1) By default SERVICE_NAME=tomcat. When cloned, the value must be defined
|
||||||
|
# before tomcat-sysd is called.
|
||||||
|
# 2) Create /etc/sysconfig/${SERVICE_NAME} from /etc/sysconfig/tomcat
|
||||||
|
# to override tomcat defaults
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Apache Tomcat Web Application Container JSVC wrapper
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||||||
|
Environment="NAME=" "USE_JSVC=true"
|
||||||
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
||||||
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
12
tomcat-logrotate_everything.patch
Normal file
12
tomcat-logrotate_everything.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: apache-tomcat-9.0.43-src/conf/logging.properties
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-9.0.43-src.orig/conf/logging.properties
|
||||||
|
+++ apache-tomcat-9.0.43-src/conf/logging.properties
|
||||||
|
@@ -80,3 +80,7 @@ org.apache.catalina.core.ContainerBase.[
|
||||||
|
|
||||||
|
1catalina.org.apache.juli.AsyncFileHandler.suffix = out
|
||||||
|
1catalina.org.apache.juli.AsyncFileHandler.rotatable = false
|
||||||
|
+
|
||||||
|
+2localhost.org.apache.juli.AsyncFileHandler.rotatable = false
|
||||||
|
+3manager.org.apache.juli.AsyncFileHandler.rotatable = false
|
||||||
|
+4host-manager.org.apache.juli.AsyncFileHandler.rotatable = false
|
26
tomcat-named.service
Normal file
26
tomcat-named.service
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Systemd unit file for tomcat instances.
|
||||||
|
#
|
||||||
|
# To create clones of this service:
|
||||||
|
# 0. systemctl enable tomcat@name.service
|
||||||
|
# 1. create catalina.base directory structure in
|
||||||
|
# /var/lib/tomcats/name
|
||||||
|
# 2. profit.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Apache Tomcat Web Application Container
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||||||
|
Environment="NAME=%I"
|
||||||
|
EnvironmentFile=-/etc/sysconfig/tomcat@%I
|
||||||
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
||||||
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
||||||
|
SuccessExitStatus=143
|
||||||
|
User=tomcat
|
||||||
|
Group=tomcat
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
31
tomcat-osgi-build.patch
Normal file
31
tomcat-osgi-build.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
Index: apache-tomcat-10.1.5-src/build.xml
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.5-src.orig/build.xml
|
||||||
|
+++ apache-tomcat-10.1.5-src/build.xml
|
||||||
|
@@ -217,11 +217,11 @@
|
||||||
|
|
||||||
|
<!-- Classpaths -->
|
||||||
|
<path id="compile.classpath">
|
||||||
|
- <pathelement location="${bnd.jar}"/>
|
||||||
|
<pathelement location="${jdt.jar}"/>
|
||||||
|
<pathelement location="${jaxrpc-lib.jar}"/>
|
||||||
|
<pathelement location="${wsdl4j-lib.jar}"/>
|
||||||
|
<pathelement location="${migration-lib.jar}"/>
|
||||||
|
+ <path refid="bnd.classpath"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path id="tomcat.classpath">
|
||||||
|
@@ -3884,6 +3884,13 @@ Read the Building page on the Apache Tom
|
||||||
|
<!-- Add bnd tasks to project -->
|
||||||
|
<path id="bnd.classpath">
|
||||||
|
<fileset file="${bnd.jar}" />
|
||||||
|
+ <fileset dir="${bnd.dir}">
|
||||||
|
+ <include name="**/*.jar"/>
|
||||||
|
+ </fileset>
|
||||||
|
+ <fileset file="${osgiannotation.jar}" />
|
||||||
|
+ <fileset file="${osgicmpn.jar}" />
|
||||||
|
+ <fileset file="${osgicore.jar}" />
|
||||||
|
+ <fileset file="${slf4j-api.jar}" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<taskdef resource="aQute/bnd/ant/taskdef.properties" classpathref="bnd.classpath" />
|
61
tomcat-preamble
Normal file
61
tomcat-preamble
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
. @LIBEXECDIR@/tomcat/functions
|
||||||
|
|
||||||
|
# Get the tomcat config (use this for environment specific settings)
|
||||||
|
|
||||||
|
if [ -z "${TOMCAT_CFG_LOADED}" ]; then
|
||||||
|
if [ -z "${TOMCAT_CFG}" ]; then
|
||||||
|
TOMCAT_CFG="/etc/tomcat/tomcat.conf"
|
||||||
|
fi
|
||||||
|
. $TOMCAT_CFG
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${TOMCAT_CONFD=/etc/tomcat/conf.d}" ]; then
|
||||||
|
for file in ${TOMCAT_CONFD}/*.conf ; do
|
||||||
|
if [ -f "$file" ] ; then
|
||||||
|
. "$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$CATALINA_BASE" ]; then
|
||||||
|
if [ -n "$NAME" ]; then
|
||||||
|
if [ -z "$TOMCATS_BASE" ]; then
|
||||||
|
TOMCATS_BASE="/var/lib/tomcats/"
|
||||||
|
fi
|
||||||
|
CATALINA_BASE="${TOMCATS_BASE}${NAME}"
|
||||||
|
else
|
||||||
|
CATALINA_BASE="${CATALINA_HOME}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Include the optional setenv.sh script.
|
||||||
|
# (See section 3.4 of https://tomcat.apache.org/tomcat-8.0-doc/RUNNING.txt)
|
||||||
|
if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then
|
||||||
|
. "$CATALINA_BASE/bin/setenv.sh"
|
||||||
|
elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
|
||||||
|
. "$CATALINA_HOME/bin/setenv.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERBOSE=1
|
||||||
|
set_javacmd
|
||||||
|
cd ${CATALINA_HOME}
|
||||||
|
# CLASSPATH munging
|
||||||
|
if [ ! -z "$CLASSPATH" ] ; then
|
||||||
|
CLASSPATH="$CLASSPATH":
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$JSSE_HOME" ]; then
|
||||||
|
CLASSPATH="${CLASSPATH}$(build-classpath jcert jnet jsse 2>/dev/null):"
|
||||||
|
fi
|
||||||
|
CLASSPATH="${CLASSPATH}${CATALINA_HOME}/bin/bootstrap.jar"
|
||||||
|
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
|
||||||
|
CLASSPATH="${CLASSPATH}:$(build-classpath commons-daemon 2>/dev/null)"
|
||||||
|
|
||||||
|
if [ -z "$LOGGING_PROPERTIES" ] ; then
|
||||||
|
LOGGING_PROPERTIES="${CATALINA_BASE}/conf/logging.properties"
|
||||||
|
if [ ! -f "${LOGGING_PROPERTIES}" ] ; then
|
||||||
|
LOGGING_PROPERTIES="${CATALINA_HOME}/conf/logging.properties"
|
||||||
|
fi
|
||||||
|
fi
|
2
tomcat-rpmlintrc
Normal file
2
tomcat-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#fix of bnc#520532
|
||||||
|
addFilter(".*non-etc-or-var-file-marked-as-conffile /usr/share/tomcat/tomcat-webapps/ROOT.*")
|
13
tomcat-secretRequired-default.patch
Normal file
13
tomcat-secretRequired-default.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: apache-tomcat-10.1.14-src/java/org/apache/coyote/ajp/AbstractAjpProtocol.java
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.14-src.orig/java/org/apache/coyote/ajp/AbstractAjpProtocol.java
|
||||||
|
+++ apache-tomcat-10.1.14-src/java/org/apache/coyote/ajp/AbstractAjpProtocol.java
|
||||||
|
@@ -177,7 +177,7 @@ public abstract class AbstractAjpProtoco
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
- private boolean secretRequired = true;
|
||||||
|
+ private boolean secretRequired = false;
|
||||||
|
|
||||||
|
public void setSecretRequired(boolean secretRequired) {
|
||||||
|
this.secretRequired = secretRequired;
|
25
tomcat-server
Normal file
25
tomcat-server
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
. @LIBEXECDIR@/tomcat/preamble
|
||||||
|
|
||||||
|
MAIN_CLASS=org.apache.catalina.startup.Bootstrap
|
||||||
|
|
||||||
|
FLAGS="$JAVA_OPTS"
|
||||||
|
OPTIONS="-Dcatalina.base=$CATALINA_BASE \
|
||||||
|
-Dcatalina.home=$CATALINA_HOME \
|
||||||
|
-Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS \
|
||||||
|
-Djava.io.tmpdir=$CATALINA_TMPDIR \
|
||||||
|
-Djava.util.logging.config.file=${LOGGING_PROPERTIES} \
|
||||||
|
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
|
||||||
|
|
||||||
|
if [ "$1" = "start" ] ; then
|
||||||
|
FLAGS="${FLAGS} $CATALINA_OPTS"
|
||||||
|
if [ "${SECURITY_MANAGER}" = "true" ] ; then
|
||||||
|
OPTIONS="${OPTIONS} \
|
||||||
|
-Djava.security.manager \
|
||||||
|
-Djava.security.policy==${CATALINA_BASE}/conf/catalina.policy"
|
||||||
|
fi
|
||||||
|
run start
|
||||||
|
elif [ "$1" = "stop" ] ; then
|
||||||
|
run stop
|
||||||
|
fi
|
30
tomcat-sle.catalina.policy.patch
Normal file
30
tomcat-sle.catalina.policy.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Index: apache-tomcat-10.1.14-src/conf/catalina.policy
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.14-src.orig/conf/catalina.policy
|
||||||
|
+++ apache-tomcat-10.1.14-src/conf/catalina.policy
|
||||||
|
@@ -170,6 +170,9 @@ grant {
|
||||||
|
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat";
|
||||||
|
|
||||||
|
// Precompiled JSPs need access to these packages.
|
||||||
|
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper";
|
||||||
|
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.servlet";
|
||||||
|
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.compiler";
|
||||||
|
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";
|
||||||
|
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
|
||||||
|
permission java.lang.RuntimePermission
|
||||||
|
@@ -219,6 +222,15 @@ grant codeBase "file:${catalina.home}/we
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
+// Additional basic permissions for web applications.
|
||||||
|
+grant codeBase "file:/usr/share/java/tomcat-servlet-api.jar" {
|
||||||
|
+ permission java.security.AllPermission;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+grant codeBase "file:/usr/share/java/tomcat-el-api.jar" {
|
||||||
|
+ permission java.security.AllPermission;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
// You can assign additional permissions to particular web applications by
|
||||||
|
// adding additional "grant" entries here, based on the code base for that
|
||||||
|
// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
|
19
tomcat-tomcat-users-webapp.patch
Normal file
19
tomcat-tomcat-users-webapp.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Index: apache-tomcat-10.1.14-src/conf/tomcat-users.xml
|
||||||
|
===================================================================
|
||||||
|
--- apache-tomcat-10.1.14-src.orig/conf/tomcat-users.xml
|
||||||
|
+++ apache-tomcat-10.1.14-src/conf/tomcat-users.xml
|
||||||
|
@@ -53,4 +53,14 @@
|
||||||
|
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
|
||||||
|
<user username="role1" password="<must-be-changed>" roles="role1"/>
|
||||||
|
-->
|
||||||
|
+
|
||||||
|
+<!-- <role rolename="admin"/> -->
|
||||||
|
+<!-- <role rolename="admin-gui"/> -->
|
||||||
|
+<!-- <role rolename="admin-script"/> -->
|
||||||
|
+<!-- <role rolename="manager"/> -->
|
||||||
|
+<!-- <role rolename="manager-gui"/> -->
|
||||||
|
+<!-- <role rolename="manager-script"/> -->
|
||||||
|
+<!-- <role rolename="manager-jmx"/> -->
|
||||||
|
+<!-- <role rolename="manager-status"/> -->
|
||||||
|
+<!-- <user name="admin" password="adminadmin" roles="admin,manager,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" /> -->
|
||||||
|
</tomcat-users>
|
45
tomcat-tool-wrapper.script
Normal file
45
tomcat-tool-wrapper.script
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# tomcat-digest script
|
||||||
|
# JPackage Project <http://www.jpackage.org/>
|
||||||
|
|
||||||
|
# Source functions library
|
||||||
|
if [ -f /usr/share/java-utils/java-functions ] ; then
|
||||||
|
. /usr/share/java-utils/java-functions
|
||||||
|
else
|
||||||
|
echo "Can't find functions library, aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get the tomcat config (use this for environment specific settings)
|
||||||
|
if [ -z "${TOMCAT_CFG}" ]; then
|
||||||
|
TOMCAT_CFG="/etc/tomcat/tomcat.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -r "$TOMCAT_CFG" ]; then
|
||||||
|
. $TOMCAT_CFG
|
||||||
|
fi
|
||||||
|
|
||||||
|
set_javacmd
|
||||||
|
|
||||||
|
# CLASSPATH munging
|
||||||
|
if [ -n "$JSSE_HOME" ]; then
|
||||||
|
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)"
|
||||||
|
fi
|
||||||
|
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar"
|
||||||
|
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
|
||||||
|
export CLASSPATH
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
MAIN_CLASS="org.apache.catalina.startup.Tool"
|
||||||
|
BASE_OPTIONS=""
|
||||||
|
BASE_FLAGS="-Dcatalina.home=\"$CATALINA_HOME\""
|
||||||
|
BASE_JARS="commons-daemon tomcat/catalina tomcat/servlet"
|
||||||
|
|
||||||
|
# Set parameters
|
||||||
|
set_classpath $BASE_JARS
|
||||||
|
set_flags $BASE_FLAGS
|
||||||
|
set_options $BASE_OPTIONS
|
||||||
|
|
||||||
|
# Let's start
|
||||||
|
run "$@"
|
52
tomcat.conf
Normal file
52
tomcat.conf
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# System-wide configuration file for tomcat services
|
||||||
|
# This will be loaded by systemd as an environment file,
|
||||||
|
# so please keep the syntax. For shell expansion support
|
||||||
|
# place your custom files as /etc/tomcat/conf.d/*.conf
|
||||||
|
#
|
||||||
|
# There are 2 "classes" of startup behavior in this package.
|
||||||
|
# The old one, the default service named tomcat.service.
|
||||||
|
# The new named instances are called tomcat@instance.service.
|
||||||
|
#
|
||||||
|
# Use this file to change default values for all services.
|
||||||
|
# Change the service specific ones to affect only one service.
|
||||||
|
# For tomcat.service it's /etc/sysconfig/tomcat, for
|
||||||
|
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
|
||||||
|
|
||||||
|
# This variable is used to figure out if config is loaded or not.
|
||||||
|
TOMCAT_CFG_LOADED="1"
|
||||||
|
|
||||||
|
# In new-style instances, if CATALINA_BASE isn't specified, it will
|
||||||
|
# be constructed by joining TOMCATS_BASE and NAME.
|
||||||
|
TOMCATS_BASE="/var/lib/tomcats/"
|
||||||
|
|
||||||
|
# Where your java installation lives
|
||||||
|
#JAVA_HOME="/usr/libi64/jvm/jre"
|
||||||
|
|
||||||
|
# Where your tomcat installation lives
|
||||||
|
CATALINA_HOME="@@@TCHOME@@@"
|
||||||
|
|
||||||
|
# System-wide tmp
|
||||||
|
CATALINA_TMPDIR="/var/cache/tomcat/temp"
|
||||||
|
|
||||||
|
# You can pass some parameters to java here if you wish to
|
||||||
|
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
|
||||||
|
|
||||||
|
# Use JAVA_OPTS to set java.library.path for libtcnative.so
|
||||||
|
#JAVA_OPTS="-Djava.library.path=/usr/lib"
|
||||||
|
|
||||||
|
# Set default javax.sql.DataSource factory to apache commons one. See rhbz#1214381
|
||||||
|
JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
|
||||||
|
|
||||||
|
# You can change your tomcat locale here
|
||||||
|
#LANG="en_US"
|
||||||
|
|
||||||
|
# Run tomcat under the Java Security Manager
|
||||||
|
SECURITY_MANAGER="false"
|
||||||
|
|
||||||
|
# Time to wait in seconds, before killing process
|
||||||
|
# TODO(stingray): does nothing, fix.
|
||||||
|
# SHUTDOWN_WAIT="30"
|
||||||
|
|
||||||
|
# If you wish to further customize your tomcat environment,
|
||||||
|
# put your own definitions here
|
||||||
|
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)
|
338
tomcat.keyring
Normal file
338
tomcat.keyring
Normal file
@ -0,0 +1,338 @@
|
|||||||
|
This file contains the PGP&GPG keys of various Apache developers.
|
||||||
|
Please don't use them for email unless you have to. Their main
|
||||||
|
purpose is code signing.
|
||||||
|
|
||||||
|
Apache users: pgp < KEYS
|
||||||
|
Apache developers:
|
||||||
|
(pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
|
||||||
|
or
|
||||||
|
(gpg --fingerprint --list-sigs <your name>
|
||||||
|
&& gpg --armor --export <your name>) >> this file.
|
||||||
|
|
||||||
|
Apache developers: please ensure that your key is also available via the
|
||||||
|
PGP keyservers (such as pgpkeys.mit.edu).
|
||||||
|
|
||||||
|
|
||||||
|
pub 1024D/33C60243 2004-09-12
|
||||||
|
Key fingerprint = DCFD 35E0 BF8C A734 4752 DE8B 6FB2 1E89 33C6 0243
|
||||||
|
uid Mark E D Thomas <markt@apache.org>
|
||||||
|
uid Mark E D Thomas <med.thomas@virgin.net>
|
||||||
|
uid Mark E D Thomas <mark.thomas@springsource.com>
|
||||||
|
sub 2048g/0BECE548 2004-09-12
|
||||||
|
|
||||||
|
pub 4096R/2F6059E7 2009-09-18
|
||||||
|
Key fingerprint = A9C5 DF4D 22E9 9998 D987 5A51 10C0 1C5A 2F60 59E7
|
||||||
|
uid Mark E D Thomas <markt@apache.org>
|
||||||
|
sub 4096R/5E763BEC 2009-09-18
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1.4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CEB33B2jQ9z0XUEp+6B2F5iZQ==
|
||||||
|
=hSkx
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
pub rsa4096 2019-05-05 [SC]
|
||||||
|
48F8 E69F 6390 C9F2 5CFE DCD2 6824 8959 359E 722B
|
||||||
|
uid [ultimate] Remy Maucherat <remm@apache.org>
|
||||||
|
sig 3 68248959359E722B 2019-05-05 Remy Maucherat <remm@apache.org>
|
||||||
|
sub rsa4096 2019-05-05 [E]
|
||||||
|
sig 68248959359E722B 2019-05-05 Remy Maucherat <remm@apache.org>
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBFzO4ecBEACVS86VyuTSJmLmApi92R6D3/L3EIBFXhagJbrLkodkTuG9efYo
|
||||||
|
vM1DJPWEFs5kux8a8UPwn2gbQFPJg1AH77GqjP8gtn0KHQvXgYC9+7cTqDl6C7k9
|
||||||
|
n3BkB9bRIhHileYyIJfnycjJdrGFEmwGu0pBOEdr01R0kFprqYu9DwcD6oUvmZRn
|
||||||
|
OMoQQeLEC0cw/VzJ/ZqzJwO0t+rMCozqJ9/BfJZUqwijDZnJAZWnIVxjqxrUgyYA
|
||||||
|
5/0g9X8YHrIz09XuzaE64VAl0q3nrFJWvDCwE/ZM7w8jlUqtQgLu4K2U82G0YXw3
|
||||||
|
KJ1EbigEmtEohu6HVnAToCJuOnQ8m0rZxbyNMeYF9pyohdFEca4I0B8Evy2dYFnJ
|
||||||
|
Y2gghuU80vct54536WWz9mAjKwBFQUtxX0EjYrYN9ckzCK6fRqrnVv0USVp7N/ZY
|
||||||
|
PQkOEJSdmRdpvTMwfCuAyT0/3cxuC7NyAWiZDXJv7OVcDr/REfWAA7XMQOErwdGJ
|
||||||
|
gViG58YhLw0Pgdumg+prqQXowzlRzGAsV5VntCh+4LV8/ESmvWAE3V+jgZFB3cSp
|
||||||
|
g58NKjp1EwKwX6BCICyX+Oe03cnlC0UJ7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A6dIjQ5N+vKlA
|
||||||
|
GNdYZgv3w4NRGLmni5T7jDAY6T2CJXxvcgfYfh3oY3aiZaWzKKQyLEVaoZ6dJbsm
|
||||||
|
mi2if7MZ/SVCMdM3MXiRpCeyyw9MTylGzgwbDYSz2ZkGvy9k+1M75q5QEfvVM8R3
|
||||||
|
guaBJR+e4fkfsRBUAqwmHy8TrXghf5eOCsJx/9yyRXvK4tnwSBUIzFa1q0POESul
|
||||||
|
jFWYFkvRjKIYfFWS6cY37sPNLvEQQmP2O07ttaYfIXcMcVF+HsDBUftGRWIkkPn2
|
||||||
|
LucW7f0Lqlbv/mlJpqByz522jmJRNFLVQh87LYz91FgsLAgDkPpi8mzRrEfb2nHD
|
||||||
|
+PIKpoO499AKQ8hETMbfzmpJUIV2Bhd7OqKDSf+yHiYSje9evofP+4lDUx3u7tQ3
|
||||||
|
4OUzLqBRVrhFDI9keHnhOFMJSrnrpXe7Cm9JujvTX/hy2iOpTOuflj0Djsc8dnQ=
|
||||||
|
=l4Ry
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBE+pgz4BEADd7qAWgqXcNltlB3aow0UneRmNSVjHKgekgs0ZXxG9l50Athks
|
||||||
|
r/3bL/ygbxFB00JcM9W+UxLhKHiMSyzfeBHn9l9wAlLFKs0S91KXTUnRwGFtvgst
|
||||||
|
vGROoqPgTVREklnmyW/KpzOwqSrQ5xHcogaT+XWlXmRbtFypi52Z5HGWlFWWgwx0
|
||||||
|
vKBWHmQayPtCif0v1RDxfdV9zziodn0TnpfBQsEgf9TDAjkNT8f0ecwTnhSihTDm
|
||||||
|
1W5HCK7Pm5DfUtree1Oh6Ncz2ljlUO0b3Lai9pX48eZOj7WQXPefkcv2AoUvdELk
|
||||||
|
QKw3klM5YNXbXPf1KAjky+q4DQ1ydD6LkK+9cI3STeMesTlk/tytOsaN2NH2k87s
|
||||||
|
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VIpd7FwAzsjPT0yYyzZ8n
|
||||||
|
vtldMsEJ3CdQBurMSAqTys7/KGD+scLqxLipxfAwFhBxME/hW9u+yHb9b/LjBr5b
|
||||||
|
aXKHu6JRNDvk0VLTBMLRKeIOJvMptaySP8n8F7R5EvEHFQQPS0anFhJ2tVT5U9aZ
|
||||||
|
NwUqv9cUGhf+Di0nAX1diWxfd7DdEi8=
|
||||||
|
=fCQE
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
10
tomcat.logrotate
Normal file
10
tomcat.logrotate
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@@@TCLOG@@@/catalina.out @@@TCLOG@@@/localhost_access_log.txt @@@TCLOG@@@/host-manager.log @@@TCLOG@@@/localhost.log @@@TCLOG@@@/manager.log{
|
||||||
|
notifempty
|
||||||
|
copytruncate
|
||||||
|
weekly
|
||||||
|
rotate 52
|
||||||
|
compress
|
||||||
|
missingok
|
||||||
|
su tomcat tomcat
|
||||||
|
create 0644 tomcat tomcat
|
||||||
|
}
|
25
tomcat.service
Normal file
25
tomcat.service
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Systemd unit file for default tomcat
|
||||||
|
#
|
||||||
|
# To create clones of this service:
|
||||||
|
# DO NOTHING, use tomcat@.service instead.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Apache Tomcat Web Application Container
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
TasksMax=576
|
||||||
|
LimitNOFILE=8192
|
||||||
|
Type=simple
|
||||||
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||||||
|
Environment="NAME="
|
||||||
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
||||||
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
||||||
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
||||||
|
SuccessExitStatus=143
|
||||||
|
User=tomcat
|
||||||
|
Group=tomcat
|
||||||
|
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
0
tomcat.sysconfig
Normal file
0
tomcat.sysconfig
Normal file
24
tomcat.wrapper
Normal file
24
tomcat.wrapper
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$1" = "version" ]; then
|
||||||
|
. @LIBEXECDIR@/tomcat/preamble
|
||||||
|
exec ${JAVACMD} -classpath ${CATALINA_HOME}/lib/catalina.jar \
|
||||||
|
org.apache.catalina.util.ServerInfo
|
||||||
|
fi
|
||||||
|
|
||||||
|
SRV="tomcat"
|
||||||
|
if [ -n "$2" ]; then
|
||||||
|
SRV="tomcat@$2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = "start" ]; then
|
||||||
|
systemctl start ${SRV}.service
|
||||||
|
elif [ "$1" = "stop" ]; then
|
||||||
|
systemctl stop ${SRV}.service
|
||||||
|
elif [ "$1" = "version" ]; then
|
||||||
|
${JAVACMD} -classpath ${CATALINA_HOME}/lib/catalina.jar \
|
||||||
|
org.apache.catalina.util.ServerInfo
|
||||||
|
else
|
||||||
|
echo "Usage: $0 {start|stop|version} [server-id]"
|
||||||
|
exit 1
|
||||||
|
fi
|
1918
tomcat10.changes
Normal file
1918
tomcat10.changes
Normal file
File diff suppressed because it is too large
Load Diff
847
tomcat10.spec
Normal file
847
tomcat10.spec
Normal file
@ -0,0 +1,847 @@
|
|||||||
|
#
|
||||||
|
# spec file for package tomcat10
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2000-2009, JPackage Project
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define app_name tomcat
|
||||||
|
%define jspspec_major 3
|
||||||
|
%define jspspec_minor 1
|
||||||
|
%define jspspec %{jspspec_major}.%{jspspec_minor}
|
||||||
|
%define servletspec_major 6
|
||||||
|
%define servletspec_minor 0
|
||||||
|
%define servletspec %{servletspec_major}.%{servletspec_minor}
|
||||||
|
%define elspec_major 5
|
||||||
|
%define elspec_minor 0
|
||||||
|
%define elspec %{elspec_major}.%{elspec_minor}
|
||||||
|
%define major_version 10
|
||||||
|
%define minor_version 1
|
||||||
|
%define micro_version 25
|
||||||
|
%define java_major 1
|
||||||
|
%define java_minor 11
|
||||||
|
%define java_version %{java_major}.%{java_minor}
|
||||||
|
%define packdname apache-tomcat-%{version}-src
|
||||||
|
# FHS 2.3 compliant tree structure - http://www.pathname.com/fhs/2.3/
|
||||||
|
%global basedir /srv/%{app_name}
|
||||||
|
%define appdir %{basedir}/webapps
|
||||||
|
%define bindir %{_datadir}/%{app_name}/bin
|
||||||
|
%define confdir %{_sysconfdir}/%{app_name}
|
||||||
|
%define homedir %{_datadir}/%{app_name}
|
||||||
|
%define libdir %{_javadir}/%{app_name}
|
||||||
|
%define logdir %{_localstatedir}/log/%{app_name}
|
||||||
|
%define cachedir %{_localstatedir}/cache/%{app_name}
|
||||||
|
%define tempdir %{cachedir}/temp
|
||||||
|
%define workdir %{cachedir}/work
|
||||||
|
%define tomcatappdir %{_datadir}/%{app_name}/%{app_name}-webapps
|
||||||
|
%define javac_target 11
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
Name: %{app_name}%{major_version}
|
||||||
|
Version: %{major_version}.%{minor_version}.%{micro_version}
|
||||||
|
Release: 0
|
||||||
|
Summary: Apache Servlet/JSP/EL Engine, RI for Servlet %{servletspec}/JSP %{jspspec}/EL %{elspec} API
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
URL: https://tomcat.apache.org
|
||||||
|
Source0: https://archive.apache.org/dist/%{app_name}/%{app_name}-%{major_version}/v%{version}/src/%{packdname}.tar.gz
|
||||||
|
Source1: %{app_name}.conf
|
||||||
|
Source3: %{app_name}.sysconfig
|
||||||
|
Source4: %{app_name}.wrapper
|
||||||
|
Source5: %{app_name}.logrotate
|
||||||
|
Source6: %{app_name}-digest.script
|
||||||
|
Source7: %{app_name}-tool-wrapper.script
|
||||||
|
Source11: %{app_name}.service
|
||||||
|
Source20: %{app_name}-jsvc.service
|
||||||
|
Source21: %{app_name}-functions
|
||||||
|
Source30: %{app_name}-preamble
|
||||||
|
Source31: %{app_name}-server
|
||||||
|
Source32: %{app_name}-named.service
|
||||||
|
Source100: valve.xslt
|
||||||
|
Source101: allowLinking.xslt
|
||||||
|
Source1000: %{app_name}-rpmlintrc
|
||||||
|
Source1001: https://archive.apache.org/dist/%{app_name}/%{app_name}-%{major_version}/v%{version}/src/%{packdname}.tar.gz.asc
|
||||||
|
Source1002: %{app_name}.keyring
|
||||||
|
#PATCH-FIX-UPSTREAM: from jpackage.org package
|
||||||
|
Patch0: %{app_name}-bootstrap-MANIFEST.MF.patch
|
||||||
|
#PATCH-FIX-UPSTREAM: from jpackage.org package
|
||||||
|
Patch1: %{app_name}-%{app_name}-users-webapp.patch
|
||||||
|
# PATCH-FIX-SLE: Change security manager default policies bnc#891264
|
||||||
|
Patch2: %{app_name}-sle.catalina.policy.patch
|
||||||
|
# PATCH-FIX-OPENSUSE: build javadoc with the same java source level as the class files
|
||||||
|
Patch3: %{app_name}-javadoc.patch
|
||||||
|
# PATCH-FIX-OPENSUSE: include all necessary aqute-bnd jars
|
||||||
|
Patch4: %{app_name}-osgi-build.patch
|
||||||
|
# PATCH-FIX-OPENSUSE: build against our ecj that does not have CompilerOptions.VERSION_16
|
||||||
|
Patch5: %{app_name}-jdt.patch
|
||||||
|
# PATCH-FIX-OPENSUSE: set ajp connector secreteRequired to false by default to avoid tomcat not starting
|
||||||
|
Patch6: %{app_name}-secretRequired-default.patch
|
||||||
|
Patch7: %{app_name}-fix_catalina.patch
|
||||||
|
Patch8: %{app_name}-logrotate_everything.patch
|
||||||
|
Patch9: tomcat-10.1-build-with-java-11.patch
|
||||||
|
BuildRequires: ant >= 1.10.2
|
||||||
|
BuildRequires: ant-antlr
|
||||||
|
BuildRequires: apache-commons-collections
|
||||||
|
BuildRequires: apache-commons-daemon >= 1.3.3
|
||||||
|
BuildRequires: apache-commons-dbcp >= 2.0
|
||||||
|
BuildRequires: apache-commons-pool2
|
||||||
|
BuildRequires: aqute-bnd >= 6.3.1
|
||||||
|
BuildRequires: aqute-bndlib >= 6.3.1
|
||||||
|
BuildRequires: ecj >= 4.4.0
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: geronimo-jaf-1_0_2-api
|
||||||
|
BuildRequires: geronimo-jaxrpc-1_1-api
|
||||||
|
BuildRequires: geronimo-qname-1_1-api
|
||||||
|
BuildRequires: geronimo-saaj-1_1-api
|
||||||
|
BuildRequires: jakarta-taglibs-standard >= 1.1
|
||||||
|
BuildRequires: java-devel >= 11
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: junit
|
||||||
|
BuildRequires: osgi-annotation
|
||||||
|
BuildRequires: osgi-compendium
|
||||||
|
BuildRequires: osgi-core
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: sed
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
BuildRequires: tomcat-jakartaee-migration >= 1.0.7
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildRequires: wsdl4j
|
||||||
|
BuildRequires: zip
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
Requires: %{name}-lib = %{version}-%{release}
|
||||||
|
Requires: apache-commons-daemon
|
||||||
|
Requires: apache-commons-dbcp
|
||||||
|
Requires: apache-commons-jexl
|
||||||
|
Requires: apache-commons-logging
|
||||||
|
Requires: apache-commons-pool2
|
||||||
|
Requires: jakarta-servlet
|
||||||
|
Requires: java >= %{java_version}
|
||||||
|
Requires: libtcnative-1-0 >= 1.2.38
|
||||||
|
Requires: logrotate
|
||||||
|
Requires(post): %fillup_prereq
|
||||||
|
Requires(post): libxslt-tools
|
||||||
|
# for runuser
|
||||||
|
Requires(post): util-linux
|
||||||
|
Requires(pre): shadow
|
||||||
|
%systemd_ordering
|
||||||
|
Conflicts: %{app_name}
|
||||||
|
Provides: group(tomcat)
|
||||||
|
Provides: user(tomcat)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
ATTENTION: This tomcat is built with java %{java_version}.
|
||||||
|
|
||||||
|
%package admin-webapps
|
||||||
|
Summary: The host manager and manager web applications for Apache Tomcat
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires(post): libxslt-tools
|
||||||
|
# for runuser
|
||||||
|
Requires(post): util-linux
|
||||||
|
Conflicts: %{app_name}-admin-webapps
|
||||||
|
|
||||||
|
%description admin-webapps
|
||||||
|
The host manager and manager web-based applications for Apache Tomcat.
|
||||||
|
|
||||||
|
%package embed
|
||||||
|
Summary: Libraries for Embedding Apache Tomcat
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Conflicts: %{app_name}-embed
|
||||||
|
|
||||||
|
%description embed
|
||||||
|
Embeddeding support (various libraries) for Apache Tomcat.
|
||||||
|
|
||||||
|
%package docs-webapp
|
||||||
|
Summary: The "docs" web application for Apache Tomcat
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires(post): libxslt-tools
|
||||||
|
# for runuser
|
||||||
|
Requires(post): util-linux
|
||||||
|
Conflicts: %{app_name}-docs-webapp
|
||||||
|
|
||||||
|
%description docs-webapp
|
||||||
|
The documentation of web application for Apache Tomcat.
|
||||||
|
|
||||||
|
%package el-%{elspec_major}_%{elspec_minor}-api
|
||||||
|
Summary: Expression Language v%{elspec} API
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun): update-alternatives
|
||||||
|
Conflicts: %{app_name}-el-3_0-api < %{version}
|
||||||
|
Provides: %{app_name}-el-%{elspec}-api = %{version}-%{release}
|
||||||
|
Provides: el_%{elspec_major}_%{elspec_minor}_api = %{version}-%{release}
|
||||||
|
Provides: el_api = %{elspec}
|
||||||
|
Obsoletes: %{app_name}-el-2_2-api < %{version}
|
||||||
|
Obsoletes: el_api < %{elspec}
|
||||||
|
|
||||||
|
%description el-%{elspec_major}_%{elspec_minor}-api
|
||||||
|
Expression Language API version %{elspec}.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Javadoc generated documentation for Apache Tomcat
|
||||||
|
Group: Documentation/HTML
|
||||||
|
Conflicts: %{app_name}-javadoc
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Javadoc generated documentation files for Apache Tomcat.
|
||||||
|
|
||||||
|
%package jsp-%{jspspec_major}_%{jspspec_minor}-api
|
||||||
|
Summary: Apache Tomcat JSP API implementation classes
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
Conflicts: %{app_name}-jsp-2_3-api < %{version}
|
||||||
|
Provides: %{app_name}-jsp-%{jspspec}-api
|
||||||
|
Provides: jsp = %{jspspec}
|
||||||
|
Provides: jsp%{jspspec_major}%{jspspec_minor}
|
||||||
|
Obsoletes: %{app_name}-jsp-2_2-api < %{version}
|
||||||
|
Obsoletes: jsp < %{jspspec}
|
||||||
|
|
||||||
|
%description jsp-%{jspspec_major}_%{jspspec_minor}-api
|
||||||
|
Apache Tomcat JSP API implementation classes version %{jspspec}
|
||||||
|
|
||||||
|
%package jsvc
|
||||||
|
Summary: Apache jsvc wrapper for Apache Tomcat as separate service
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: apache-commons-daemon-jsvc
|
||||||
|
Conflicts: %{app_name}-jsvc
|
||||||
|
%systemd_ordering
|
||||||
|
|
||||||
|
%description jsvc
|
||||||
|
Systemd service and wrapper scripts to start tomcat with jsvc,
|
||||||
|
which allows tomcat to perform some privileged operations
|
||||||
|
(e.g. bind to a port < 1024) and then switch identity to a non-privileged user.
|
||||||
|
|
||||||
|
%package lib
|
||||||
|
Summary: Libraries needed to run the Tomcat Web container
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires: %{app_name}-el-%{elspec}-api = %{version}-%{release}
|
||||||
|
Requires: %{app_name}-jsp-%{jspspec}-api = %{version}-%{release}
|
||||||
|
Requires: %{app_name}-servlet-%{servletspec}-api = %{version}-%{release}
|
||||||
|
Requires: mvn(org.apache.tomcat:tomcat-websocket-client-api)
|
||||||
|
Requires(post): ecj >= 4.4
|
||||||
|
Requires(preun): coreutils
|
||||||
|
Conflicts: %{app_name}-lib
|
||||||
|
Provides: jakarta-commons-dbcp-tomcat5 = 1.4
|
||||||
|
Obsoletes: jakarta-commons-dbcp-tomcat5 < 1.4
|
||||||
|
|
||||||
|
%description lib
|
||||||
|
Libraries required to successfully run the Tomcat Web container
|
||||||
|
|
||||||
|
%package servlet-%{servletspec_major}_%{servletspec_minor}-api
|
||||||
|
Summary: Apache Tomcat Servlet API implementation classes
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
Conflicts: %{app_name}-servlet-4_0-api < %{version}
|
||||||
|
Provides: %{app_name}-servlet-%{servletspec}-api = %{version}-%{release}
|
||||||
|
Provides: servlet = %{servletspec}
|
||||||
|
Provides: servlet11
|
||||||
|
Provides: servlet60
|
||||||
|
Obsoletes: %{app_name}-servlet-3_0-api < %{version}
|
||||||
|
Obsoletes: %{app_name}-servlet-3_1-api < %{version}
|
||||||
|
Obsoletes: servlet < %{servletspec}
|
||||||
|
|
||||||
|
%description servlet-%{servletspec_major}_%{servletspec_minor}-api
|
||||||
|
Apache Tomcat Servlet API implementation classes version %{servletspec}
|
||||||
|
|
||||||
|
%package webapps
|
||||||
|
Summary: ROOT and examples web applications for Apache Tomcat
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: jakarta-taglibs-standard >= 1.1
|
||||||
|
Requires(post): libxslt-tools
|
||||||
|
# for runuser
|
||||||
|
Requires(post): util-linux
|
||||||
|
Conflicts: %{app_name}-webapps
|
||||||
|
|
||||||
|
%description webapps
|
||||||
|
The ROOT and examples web applications for Apache Tomcat
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{packdname}
|
||||||
|
|
||||||
|
# remove pre-built binaries and windows files
|
||||||
|
find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "*.gz" -o \
|
||||||
|
-name "*.jar" -o -name "*.war" -o -name "*.zip" \) -print -delete
|
||||||
|
|
||||||
|
# remove date from docs
|
||||||
|
sed -i -e '/build-date/ d' webapps/docs/tomcat-docs.xsl
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
ln -s $(build-classpath jakarta-taglibs-core) webapps/examples/WEB-INF/lib/jstl.jar
|
||||||
|
ln -s $(build-classpath jakarta-taglibs-standard) webapps/examples/WEB-INF/lib/standard.jar
|
||||||
|
|
||||||
|
export CLASSPATH=
|
||||||
|
export OPT_JAR_LIST="xalan-j2-serializer"
|
||||||
|
export ANT_OPTS=-Xmx500M
|
||||||
|
|
||||||
|
# we don't care about the tarballs and we're going to replace
|
||||||
|
# so just create a dummy file for later removal
|
||||||
|
touch HACK
|
||||||
|
mkdir -p HACKDIR
|
||||||
|
touch HACKDIR/build.xml
|
||||||
|
|
||||||
|
ant -Dbase.path="." \
|
||||||
|
-Djava.%{java_minor}.home="%{java_home}" \
|
||||||
|
-Dbuild.compiler="modern" \
|
||||||
|
-Dcommons-collections.jar="$(build-classpath commons-collections)" \
|
||||||
|
-Dcommons-daemon.jar="$(build-classpath commons-daemon)" \
|
||||||
|
-Dcommons-daemon.native.src.tgz="HACK" \
|
||||||
|
-Djasper-jdt.jar="$(build-classpath ecj/ecj)" \
|
||||||
|
-Djdt.jar="$(build-classpath ecj/ecj)" \
|
||||||
|
-Dtomcat-native.tar.gz="HACK" \
|
||||||
|
-Dtomcat-native.home="." \
|
||||||
|
-Dcommons-daemon.native.win.mgr.exe="HACK" \
|
||||||
|
-Dnsis.exe="HACK" \
|
||||||
|
-Djaxrpc-lib.jar="$(build-classpath geronimo-jaxrpc-1.1-api)" \
|
||||||
|
-Dwsdl4j-lib.jar="$(build-classpath wsdl4j)" \
|
||||||
|
-Dsaaj-api.jar="$(build-classpath geronimo-saaj-1.1-api)" \
|
||||||
|
-Dbnd.jar="$(build-classpath aqute-bnd/biz.aQute.bnd)" \
|
||||||
|
-Dbnd.dir="%{_javadir}/aqute-bnd" \
|
||||||
|
-Dosgiannotation.jar="$(build-classpath osgi-annotation/osgi.annotation)" \
|
||||||
|
-Dosgi-annotations.jar="$(build-classpath aqute-bnd/biz.aQute.bnd.annotation)" \
|
||||||
|
-Dosgicmpn.jar="$(build-classpath osgi-compendium/osgi.cmpn)" \
|
||||||
|
-Dosgicore.jar="$( build-classpath osgi-core/osgi.core)" \
|
||||||
|
-Dannotation.jar="$(build-classpath aqute-bnd/biz.aQute.bnd.annotation)" \
|
||||||
|
-Dosgicmpn.jar="$(build-classpath osgi-compendium/osgi.cmpn)" \
|
||||||
|
-Dslf4j-api.jar="$(build-classpath slf4j/slf4j-api)" \
|
||||||
|
-Dcommons-pool.home="$(build-classpath commons-pool2)" \
|
||||||
|
-Dcommons-dbcp.home="$(build-classpath commons-dbcp2)" \
|
||||||
|
-Dmigration-lib.jar="$(build-classpath tomcat-jakartaee-migration)" \
|
||||||
|
-Dno.build.dbcp=true \
|
||||||
|
-Dversion="%{version}" \
|
||||||
|
-Dversion.build="%{micro_version}" \
|
||||||
|
deploy dist-prepare dist-source javadoc package embed-jars
|
||||||
|
|
||||||
|
# remove some jars that we'll replace with symlinks later
|
||||||
|
rm output/build/bin/commons-daemon.jar \
|
||||||
|
output/build/lib/ecj.jar
|
||||||
|
|
||||||
|
pushd output/dist/src/webapps/docs/appdev/sample/src
|
||||||
|
mkdir -p ../web/WEB-INF/classes
|
||||||
|
javac -source %{java_minor} -target %{javac_target} -cp ../../../../../../../../output/build/lib/servlet-api.jar -d ../web/WEB-INF/classes mypackage/Hello.java
|
||||||
|
pushd ../web
|
||||||
|
jar cf ../../../../../../../../output/build/webapps/docs/appdev/sample/sample.war *
|
||||||
|
popd
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
# build initial path structure
|
||||||
|
install -d -m 0755 %{buildroot}%{_bindir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{app_name}
|
||||||
|
install -d -m 0755 %{buildroot}%{_initddir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||||
|
install -d -m 0755 %{buildroot}%{appdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{tomcatappdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{bindir}
|
||||||
|
install -d -m 0775 %{buildroot}%{confdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{cachedir}/Catalina/localhost
|
||||||
|
install -d -m 0755 %{buildroot}%{confdir}/conf.d
|
||||||
|
/bin/echo "Place your custom *.conf files here. Shell expansion is supported." > %{buildroot}%{confdir}/conf.d/README
|
||||||
|
install -d -m 0755 %{buildroot}%{libdir}
|
||||||
|
install -d -m 0775 %{buildroot}%{logdir}
|
||||||
|
/bin/touch %{buildroot}%{logdir}/catalina.out
|
||||||
|
install -d -m 0775 %{buildroot}%{_localstatedir}/lib/tomcats
|
||||||
|
/bin/echo "%{app_name}-%{major_version}.%{minor_version}.%{micro_version} RPM installed" >> %{buildroot}%{logdir}/catalina.out
|
||||||
|
install -d -m 0775 %{buildroot}%{homedir}
|
||||||
|
install -d -m 0775 %{buildroot}%{tempdir}
|
||||||
|
install -d -m 0775 %{buildroot}%{workdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_unitdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_libexecdir}/%{app_name}
|
||||||
|
install -d -m 0755 %{buildroot}%{_fillupdir}
|
||||||
|
|
||||||
|
cp -a %{SOURCE100} %{buildroot}%{confdir}
|
||||||
|
cp -a %{SOURCE101} %{buildroot}%{confdir}
|
||||||
|
|
||||||
|
# move things into place
|
||||||
|
# First copy supporting libs to tomcat lib
|
||||||
|
pushd output/build
|
||||||
|
cp -a bin/*.{jar,xml} %{buildroot}%{bindir}
|
||||||
|
cp -a conf/*.{policy,properties,xml} %{buildroot}%{confdir}
|
||||||
|
cp -a lib/*.jar %{buildroot}%{libdir}
|
||||||
|
cp -a webapps/* %{buildroot}%{tomcatappdir}
|
||||||
|
popd
|
||||||
|
# tomcat embedded
|
||||||
|
pushd output/embed
|
||||||
|
cp -a *.jar %{buildroot}%{libdir}
|
||||||
|
popd
|
||||||
|
|
||||||
|
# doc
|
||||||
|
cp -a output/dist/webapps/docs/api/* %{buildroot}%{_javadocdir}/%{app_name}
|
||||||
|
|
||||||
|
sed -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
|
||||||
|
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
|
||||||
|
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE1} \
|
||||||
|
> %{buildroot}%{confdir}/%{app_name}.conf
|
||||||
|
sed -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
|
||||||
|
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
|
||||||
|
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE3} \
|
||||||
|
> %{buildroot}%{_fillupdir}/sysconfig.%{app_name}
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE4} \
|
||||||
|
> %{buildroot}%{_sbindir}/%{app_name}
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE11} \
|
||||||
|
> %{buildroot}%{_unitdir}/%{app_name}.service
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE20} \
|
||||||
|
> %{buildroot}%{_unitdir}/%{app_name}-jsvc.service
|
||||||
|
sed -e "s|\@\@\@TCLOG\@\@\@|%{logdir}|g" %{SOURCE5} \
|
||||||
|
> %{buildroot}%{_sysconfdir}/logrotate.d/%{app_name}10
|
||||||
|
sed -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
|
||||||
|
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
|
||||||
|
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE6} \
|
||||||
|
> %{buildroot}%{_bindir}/%{app_name}-digest
|
||||||
|
sed -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
|
||||||
|
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
|
||||||
|
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE7} \
|
||||||
|
> %{buildroot}%{_bindir}/%{app_name}-tool-wrapper
|
||||||
|
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE21} \
|
||||||
|
> %{buildroot}%{_libexecdir}/%{app_name}/functions
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE30} \
|
||||||
|
> %{buildroot}%{_libexecdir}/%{app_name}/preamble
|
||||||
|
chmod 0755 %{buildroot}%{_libexecdir}/%{app_name}/preamble
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE31} \
|
||||||
|
> %{buildroot}%{_libexecdir}/%{app_name}/server
|
||||||
|
chmod 0755 %{buildroot}%{_libexecdir}/%{app_name}/server
|
||||||
|
sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" %{SOURCE32} \
|
||||||
|
> %{buildroot}%{_unitdir}/%{app_name}@.service
|
||||||
|
|
||||||
|
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{app_name}
|
||||||
|
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{app_name}-jsvc
|
||||||
|
|
||||||
|
# create jsp and servlet and el API symlinks
|
||||||
|
pushd %{buildroot}%{_javadir}
|
||||||
|
mv %{app_name}/jsp-api.jar %{app_name}-jsp-%{jspspec}-api.jar
|
||||||
|
ln -s %{app_name}-jsp-%{jspspec}-api.jar %{app_name}-jsp-api.jar
|
||||||
|
mv %{app_name}/servlet-api.jar %{app_name}-servlet-%{servletspec}-api.jar
|
||||||
|
ln -s %{app_name}-servlet-%{servletspec}-api.jar %{app_name}-servlet-api.jar
|
||||||
|
ln -s %{app_name}-servlet-%{servletspec}-api.jar %{app_name}-servlet.jar
|
||||||
|
mv %{app_name}/el-api.jar %{app_name}-el-%{elspec}-api.jar
|
||||||
|
ln -s %{app_name}-el-%{elspec}-api.jar %{app_name}-el-api.jar
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd output/build
|
||||||
|
%{_bindir}/build-jar-repository -s lib commons-collections \
|
||||||
|
commons-dbcp2 commons-pool2 ecj/ecj 2>&1
|
||||||
|
# need to use -p here with b-j-r otherwise the examples webapp fails to
|
||||||
|
# load with a java.io.IOException
|
||||||
|
%{_bindir}/build-jar-repository -p webapps/examples/WEB-INF/lib \
|
||||||
|
taglibs-core.jar taglibs-standard.jar 2>&1
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd %{buildroot}%{libdir}
|
||||||
|
# symlink JSP and servlet and el API jars
|
||||||
|
ln -s ../%{app_name}-jsp-%{jspspec}-api.jar .
|
||||||
|
ln -s ../%{app_name}-servlet-%{servletspec}-api.jar .
|
||||||
|
ln -s ../%{app_name}-el-%{elspec}-api.jar .
|
||||||
|
ln -s $(build-classpath commons-collections) commons-collections.jar
|
||||||
|
rm -f commons-dbcp.jar
|
||||||
|
ln -s $(build-classpath commons-dbcp2) commons-dbcp2.jar
|
||||||
|
ln -s $(build-classpath commons-pool2) commons-pool2.jar
|
||||||
|
rm ecj.jar
|
||||||
|
ln -s $(build-classpath ecj/ecj) ecj.jar
|
||||||
|
ln -s $(build-classpath ecj/ecj) jasper-jdt.jar
|
||||||
|
|
||||||
|
# Temporary copy the juli jar here from %%{_datadir}/java/tomcat (for maven depmap)
|
||||||
|
cp -a %{buildroot}%{bindir}/tomcat-juli.jar ./
|
||||||
|
popd
|
||||||
|
|
||||||
|
# symlink to the FHS locations where we've installed things
|
||||||
|
pushd %{buildroot}%{homedir}
|
||||||
|
ln -s %{appdir} webapps
|
||||||
|
ln -s %{confdir} conf
|
||||||
|
ln -s %{libdir} lib
|
||||||
|
ln -s %{logdir} logs
|
||||||
|
ln -s %{tempdir} temp
|
||||||
|
ln -s %{workdir} work
|
||||||
|
popd
|
||||||
|
|
||||||
|
# install sample webapp
|
||||||
|
mkdir -p %{buildroot}%{tomcatappdir}/sample
|
||||||
|
pushd %{buildroot}%{tomcatappdir}/sample
|
||||||
|
%jar xf %{buildroot}%{tomcatappdir}/docs/appdev/sample/sample.war
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd %{buildroot}%{tomcatappdir}/examples/WEB-INF/lib
|
||||||
|
ln -s -f $(build-classpath jakarta-taglibs-core) jstl.jar
|
||||||
|
ln -s -f $(build-classpath jakarta-taglibs-standard) standard.jar
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm %{buildroot}%{tomcatappdir}/docs/appdev/sample/sample.war
|
||||||
|
|
||||||
|
# Install the maven metadata
|
||||||
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
||||||
|
pushd output/dist/src/res/maven
|
||||||
|
for pom in *.pom; do
|
||||||
|
# fix-up version in all pom files
|
||||||
|
sed -i 's/@MAVEN.DEPLOY.VERSION@/%{version}/g' $pom
|
||||||
|
done
|
||||||
|
|
||||||
|
# we won't install dbcp, juli-adapters and juli-extras pom files
|
||||||
|
for libname in annotations-api catalina jasper-el jasper catalina-ha jaspic-api; do
|
||||||
|
%{mvn_install_pom} %{app_name}-$libname.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-$libname.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-$libname.pom %{app_name}/$libname.jar
|
||||||
|
done
|
||||||
|
|
||||||
|
# servlet-api jsp-api and el-api are not in tomcat subdir, since they are widely re-used elsewhere
|
||||||
|
%{mvn_install_pom} %{app_name}-jsp-api.pom %{buildroot}%{_mavenpomdir}/JPP-%{app_name}-jsp-api.pom
|
||||||
|
%add_maven_depmap JPP-%{app_name}-jsp-api.pom %{app_name}-jsp-api.jar -f jsp-api -a "org.eclipse.jetty.orbit:jakarta.servlet.jsp"
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-el-api.pom %{buildroot}%{_mavenpomdir}/JPP-%{app_name}-el-api.pom
|
||||||
|
%add_maven_depmap JPP-%{app_name}-el-api.pom %{app_name}-el-api.jar -f el-api -a "org.eclipse.jetty.orbit:jakarta.el"
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-servlet-api.pom %{buildroot}%{_mavenpomdir}/JPP-%{app_name}-servlet-api.pom
|
||||||
|
# Generate a depmap fragment javax.servlet:servlet-api pointing to
|
||||||
|
# tomcat-servlet-3.0-api for backwards compatibility
|
||||||
|
# also provide jetty depmap (originally in jetty package, but it's cleaner to have it here
|
||||||
|
%add_maven_depmap JPP-tomcat-servlet-api.pom tomcat-servlet-api.jar -f servlet-api -a "org.mortbay.jetty:servlet-api"
|
||||||
|
|
||||||
|
# two special pom where jar files have different names
|
||||||
|
%{mvn_install_pom} %{app_name}-tribes.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-catalina-tribes.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-catalina-tribes.pom %{app_name}/catalina-tribes.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-coyote.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-coyote.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-coyote.pom %{app_name}/%{app_name}-coyote.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-jni.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-jni.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-jni.pom %{app_name}/%{app_name}-jni.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-juli.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-juli.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-juli.pom %{app_name}/%{app_name}-juli.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-jdbc.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-jdbc.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-jdbc.pom %{app_name}/%{app_name}-jdbc.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-dbcp.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-dbcp.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-dbcp.pom %{app_name}/%{app_name}-dbcp.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-api.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-api.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-api.pom %{app_name}/%{app_name}-api.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-util.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-util.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-util.pom %{app_name}/%{app_name}-util.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-util-scan.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-util-scan.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-util-scan.pom %{app_name}/%{app_name}-util-scan.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-websocket-api.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-websocket-api.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-websocket-api.pom %{app_name}/websocket-api.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-websocket-client-api.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-websocket-client-api.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-websocket-client-api.pom %{app_name}/websocket-client-api.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-websocket.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-websocket.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-websocket.pom %{app_name}/%{app_name}-websocket.jar
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-embed-core.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-embed-core.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-embed-core.pom %{app_name}/%{app_name}-embed-core.jar -f embed
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-embed-el.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-embed-el.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-embed-el.pom %{app_name}/%{app_name}-embed-el.jar -f embed
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-embed-jasper.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-embed-jasper.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-embed-jasper.pom %{app_name}/%{app_name}-embed-jasper.jar -f embed
|
||||||
|
|
||||||
|
%{mvn_install_pom} %{app_name}-embed-websocket.pom %{buildroot}%{_mavenpomdir}/JPP.%{app_name}-%{app_name}-embed-websocket.pom
|
||||||
|
%add_maven_depmap JPP.%{app_name}-%{app_name}-embed-websocket.pom %{app_name}/%{app_name}-embed-websocket.jar -f embed
|
||||||
|
|
||||||
|
# replace temporary copy with link
|
||||||
|
ln -s -f %{bindir}/tomcat-juli.jar %{buildroot}%{libdir}/
|
||||||
|
|
||||||
|
# bnc#424675
|
||||||
|
ln -s %{cachedir}/Catalina %{buildroot}/%{confdir}
|
||||||
|
rm -rf %{buildroot}/%{confdir}/Catalina
|
||||||
|
ln -s %{cachedir}/Catalina %{buildroot}/%{confdir}/
|
||||||
|
|
||||||
|
# bnc#418664
|
||||||
|
install -d -m 0755 %{buildroot}/%{_sysconfdir}/ant.d/
|
||||||
|
echo "tomcat/catalina-ant" > %{buildroot}/%{_sysconfdir}/ant.d/catalina-ant
|
||||||
|
%fdupes %{buildroot} /srv/%{app_name}
|
||||||
|
#bnc#565901
|
||||||
|
ln -sf %{_sbindir}/%{app_name} %{buildroot}/%{bindir}/catalina.sh
|
||||||
|
|
||||||
|
# Install update-alternatives content
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
|
ln -s -f %{_sysconfdir}/alternatives/el_api %{buildroot}%{_javadir}/%{app_name}-el_api.jar
|
||||||
|
ln -s -f %{_sysconfdir}/alternatives/jsp %{buildroot}%{_javadir}/%{app_name}-jsp.jar
|
||||||
|
# To avoid conflicts with servletapi4 and servletapi5 create a link to incorrect /etc/alternatives/servlet.jar.
|
||||||
|
# It will be changed anyways to the correct symlink by update-alternatives.
|
||||||
|
ln -s -f %{_sysconfdir}/alternatives/servlet.jar %{buildroot}%{_javadir}/servlet.jar
|
||||||
|
|
||||||
|
%pre
|
||||||
|
# add the tomcat user and group
|
||||||
|
getent group tomcat >/dev/null || %{_sbindir}/groupadd -r tomcat
|
||||||
|
getent passwd tomcat >/dev/null || %{_sbindir}/useradd -c "Apache Tomcat" \
|
||||||
|
-g tomcat -s /sbin/nologin -r -d %{homedir} tomcat
|
||||||
|
%service_add_pre %{app_name}.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post %{app_name}.service
|
||||||
|
%{fillup_only %{app_name}}
|
||||||
|
chown -R tomcat:tomcat %{confdir}/server.xml
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{confdir}/server.xml %{confdir}/valve.xslt %{confdir}/server.xml
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun %{app_name}.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun %{app_name}.service
|
||||||
|
|
||||||
|
%pre jsvc
|
||||||
|
%service_add_pre %{app_name}-jsvc.service
|
||||||
|
|
||||||
|
%post jsvc
|
||||||
|
%service_add_post %{app_name}-jsvc.service
|
||||||
|
|
||||||
|
%preun jsvc
|
||||||
|
%service_del_preun %{app_name}-jsvc.service
|
||||||
|
|
||||||
|
%postun jsvc
|
||||||
|
%service_del_postun %{app_name}-jsvc.service
|
||||||
|
|
||||||
|
%post el-%{elspec_major}_%{elspec_minor}-api
|
||||||
|
update-alternatives --install %{_javadir}/%{app_name}-el_api.jar el_api %{_javadir}/%{app_name}-el-%{elspec}-api.jar 20300
|
||||||
|
|
||||||
|
%postun el-%{elspec_major}_%{elspec_minor}-api
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
update-alternatives --remove el_api %{_javadir}/%{app_name}-el-%{elspec}-api.jar
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post jsp-%{jspspec_major}_%{jspspec_minor}-api
|
||||||
|
update-alternatives --install %{_javadir}/%{app_name}-jsp.jar jsp \
|
||||||
|
%{_javadir}/%{app_name}-jsp-%{jspspec}-api.jar 20200
|
||||||
|
|
||||||
|
%postun jsp-%{jspspec_major}_%{jspspec_minor}-api
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
update-alternatives --remove jsp \
|
||||||
|
%{_javadir}/%{app_name}-jsp-%{jspspec}-api.jar
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post servlet-%{servletspec_major}_%{servletspec_minor}-api
|
||||||
|
update-alternatives --install %{_javadir}/servlet.jar servlet \
|
||||||
|
%{_javadir}/%{app_name}-servlet-%{servletspec}-api.jar 30000
|
||||||
|
# Fix for bsc#1092163.
|
||||||
|
# Keep the /usr/share/java/tomcat-servlet.jar symlink for compatibility.
|
||||||
|
# In case of update from an older version where /usr/share/java/tomcat-servlet.jar is an alternatives symlink
|
||||||
|
# the update-alternatives in the new version will cause a rename tomcat-servlet.jar -> servlet.jar.
|
||||||
|
# This makes sure the %{app_name}-servlet.jar is recreated if it's missing because of the rename.
|
||||||
|
if [ ! -f %{_javadir}/%{app_name}-servlet.jar ]; then
|
||||||
|
echo "Recreating symlink %{_javadir}/%{app_name}-servlet.jar"
|
||||||
|
ln -s %{_javadir}/%{app_name}-servlet-%{servletspec}-api.jar %{_javadir}/%{app_name}-servlet.jar
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun servlet-%{servletspec_major}_%{servletspec_minor}-api
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
if [ ! -f %{_sysconfdir}/alternatives/servlet ]; then
|
||||||
|
# servlet was removed on uninstall.
|
||||||
|
# Create a broken symlink to make sure update-alternatives works correctly and falls back
|
||||||
|
# to servletapi5 or servletapi4 if they're installed.
|
||||||
|
ln -s %{_javadir}/%{app_name}-servlet-%{servletspec}-api.jar %{_sysconfdir}/alternatives/servlet
|
||||||
|
fi
|
||||||
|
update-alternatives --remove servlet \
|
||||||
|
%{_javadir}/%{app_name}-servlet-%{servletspec}-api.jar
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post lib
|
||||||
|
# those links are no longer needed
|
||||||
|
rm -f \
|
||||||
|
%{libdir}/\[commons-collections-tomcat5\].jar \
|
||||||
|
%{libdir}/\[commons-dbcp-tomcat5\].jar \
|
||||||
|
%{libdir}/\[commons-pool-tomcat5\].jar \
|
||||||
|
%{libdir}/\[ecj\].jar >/dev/null 2>&1
|
||||||
|
|
||||||
|
%post webapps
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/examples/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/examples/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/examples/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/examples ]; then
|
||||||
|
ln -sf %{tomcatappdir}/examples %{_datadir}/%{app_name}/webapps/examples
|
||||||
|
fi
|
||||||
|
#use the same context.xml for sample war
|
||||||
|
mkdir -p %{tomcatappdir}/ROOT/META-INF
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/ROOT/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/ROOT/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/examples/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/ROOT ]; then
|
||||||
|
ln -sf %{tomcatappdir}/ROOT %{_datadir}/%{app_name}/webapps/ROOT
|
||||||
|
fi
|
||||||
|
#use the same context.xml for sample war
|
||||||
|
mkdir -p %{tomcatappdir}/webapps/sample/META-INF
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/sample/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/sample/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/examples/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/sample ]; then
|
||||||
|
ln -sf %{tomcatappdir}/sample %{_datadir}/%{app_name}/webapps/sample
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun webapps
|
||||||
|
if [ $1 -eq 0 ]; then # uninstall only
|
||||||
|
rm %{tomcatappdir}/ROOT/META-INF/context.xml
|
||||||
|
rm %{tomcatappdir}/sample/META-INF/context.xml
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post admin-webapps
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/manager/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/manager/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/manager/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/manager ]; then
|
||||||
|
ln -sf %{tomcatappdir}/manager %{_datadir}/%{app_name}/webapps/manager
|
||||||
|
fi
|
||||||
|
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/host-manager/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/host-manager/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/host-manager/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/host-manager ]; then
|
||||||
|
ln -sf %{tomcatappdir}/host-manager %{_datadir}/%{app_name}/webapps/host-manager
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post docs-webapp
|
||||||
|
chown -R tomcat:tomcat %{tomcatappdir}/docs/META-INF
|
||||||
|
runuser -u tomcat -g tomcat -- xsltproc --output %{tomcatappdir}/docs/META-INF/context.xml %{confdir}/allowLinking.xslt %{tomcatappdir}/docs/META-INF/context.xml
|
||||||
|
if [ ! -e %{_datadir}/%{app_name}/webapps/docs ]; then
|
||||||
|
ln -sf %{tomcatappdir}/docs %{_datadir}/%{app_name}/webapps/docs
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc {LICENSE,NOTICE,RELEASE*}
|
||||||
|
%attr(0755,root,root) %{_bindir}/%{app_name}-digest
|
||||||
|
%attr(0755,root,root) %{_bindir}/%{app_name}-tool-wrapper
|
||||||
|
%attr(0755,root,root) %{_sbindir}/%{app_name}
|
||||||
|
%attr(0644,root,root) %{_unitdir}/%{app_name}.service
|
||||||
|
%{_sbindir}/rc%{app_name}
|
||||||
|
%attr(0644,root,root) %{_unitdir}/%{app_name}@.service
|
||||||
|
%attr(0755,root,root) %dir %{_libexecdir}/%{app_name}
|
||||||
|
%attr(0755,root,root) %dir %{_localstatedir}/lib/%{app_name}s
|
||||||
|
%attr(0755,root,root) %{_libexecdir}/%{app_name}/functions
|
||||||
|
%attr(0755,root,root) %{_libexecdir}/%{app_name}/preamble
|
||||||
|
%attr(0755,root,root) %{_libexecdir}/%{app_name}/server
|
||||||
|
#bnc#565901
|
||||||
|
%{bindir}/catalina.sh
|
||||||
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/%{app_name}10
|
||||||
|
%attr(0755,root,tomcat) %dir %{basedir}
|
||||||
|
%attr(0755,root,tomcat) %dir %{confdir}
|
||||||
|
%attr(0775,root,tomcat) %dir %{appdir}
|
||||||
|
%attr(0770,tomcat,tomcat) %dir %{logdir}
|
||||||
|
%attr(0660,tomcat,tomcat) %{logdir}/catalina.out
|
||||||
|
%attr(0770,root,tomcat) %dir %{cachedir}
|
||||||
|
%attr(0775,root,tomcat) %dir %{cachedir}/Catalina
|
||||||
|
|
||||||
|
# tomcat group writtable dirs - bnc#625415
|
||||||
|
%attr(0770,root,tomcat) %dir %{tempdir}
|
||||||
|
%attr(0770,root,tomcat) %dir %{workdir}
|
||||||
|
%attr(0775,root,tomcat) %dir %{tomcatappdir}
|
||||||
|
|
||||||
|
%{confdir}/Catalina
|
||||||
|
%attr(0755,root,tomcat) %dir %{confdir}/conf.d
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/conf.d/README
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/%{app_name}.conf
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/*.policy
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/*.properties
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/context.xml
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/server.xml
|
||||||
|
# keep tomcat-users.xml readable only by root and tomcat group
|
||||||
|
%attr(0640,root,tomcat) %config(noreplace) %{confdir}/tomcat-users.xml
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/web.xml
|
||||||
|
%attr(0644,root,tomcat) %config(noreplace) %{confdir}/jaspic-providers.xml
|
||||||
|
%attr(0755,root,tomcat) %dir %{homedir}
|
||||||
|
%attr(0644,root,tomcat) %{bindir}/bootstrap.jar
|
||||||
|
%attr(0644,root,tomcat) %{bindir}/catalina-tasks.xml
|
||||||
|
%{homedir}/lib
|
||||||
|
%{homedir}/temp
|
||||||
|
%{homedir}/webapps
|
||||||
|
%{homedir}/work
|
||||||
|
%{homedir}/logs
|
||||||
|
%{homedir}/conf
|
||||||
|
%attr(0644,root,tomcat) %{_fillupdir}/sysconfig.%{app_name}
|
||||||
|
%attr(0644,root,tomcat) %{confdir}/allowLinking.xslt
|
||||||
|
%attr(0644,root,tomcat) %{confdir}/valve.xslt
|
||||||
|
|
||||||
|
%files admin-webapps
|
||||||
|
%defattr(0644,root,tomcat,0755)
|
||||||
|
%{tomcatappdir}/host-manager
|
||||||
|
%config(noreplace) %{tomcatappdir}/host-manager/META-INF/context.xml
|
||||||
|
%{tomcatappdir}/manager
|
||||||
|
%config(noreplace) %{tomcatappdir}/manager/META-INF/context.xml
|
||||||
|
|
||||||
|
%files docs-webapp
|
||||||
|
%{tomcatappdir}/docs
|
||||||
|
|
||||||
|
%files el-%{elspec_major}_%{elspec_minor}-api -f output/dist/src/res/maven/.mfiles-el-api
|
||||||
|
%{_javadir}/%{app_name}-el-%{elspec}-api.jar
|
||||||
|
%{_javadir}/%{app_name}-el-api.jar
|
||||||
|
%{libdir}/%{app_name}-el-%{elspec}-api.jar
|
||||||
|
%ghost %{_javadir}/%{app_name}-el_1_0_api.jar
|
||||||
|
%ghost %{_javadir}/%{app_name}-el_api.jar
|
||||||
|
%ghost %{_sysconfdir}/alternatives/%{app_name}-el_api.jar
|
||||||
|
%ghost %{_sysconfdir}/alternatives/el_1_0_api
|
||||||
|
%ghost %{_sysconfdir}/alternatives/el_api
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc %{_javadocdir}/%{app_name}
|
||||||
|
|
||||||
|
%files jsp-%{jspspec_major}_%{jspspec_minor}-api -f output/dist/src/res/maven/.mfiles-jsp-api
|
||||||
|
%{_javadir}/%{app_name}-jsp-%{jspspec}-api.jar
|
||||||
|
%{_javadir}/%{app_name}-jsp-api.jar
|
||||||
|
%ghost %{_javadir}/%{app_name}-jsp.jar
|
||||||
|
%ghost %{_sysconfdir}/alternatives/%{app_name}-jsp.jar
|
||||||
|
%ghost %{_sysconfdir}/alternatives/jsp
|
||||||
|
|
||||||
|
%files lib -f output/dist/src/res/maven/.mfiles
|
||||||
|
%{libdir}
|
||||||
|
%dir %{bindir}
|
||||||
|
%{bindir}/tomcat-juli.jar
|
||||||
|
%exclude %{libdir}/%{app_name}-el-%{elspec}-api.jar
|
||||||
|
%exclude %{libdir}/%{app_name}*-embed-*.jar
|
||||||
|
# bnc#418664
|
||||||
|
%dir %{_sysconfdir}/ant.d
|
||||||
|
%config(noreplace) %{_sysconfdir}/ant.d/catalina-ant
|
||||||
|
|
||||||
|
%files embed -f output/dist/src/res/maven/.mfiles-embed
|
||||||
|
%dir %{libdir}
|
||||||
|
|
||||||
|
%files servlet-%{servletspec_major}_%{servletspec_minor}-api -f output/dist/src/res/maven/.mfiles-servlet-api
|
||||||
|
%license LICENSE
|
||||||
|
%{_javadir}/%{app_name}-servlet-%{servletspec}-api.jar
|
||||||
|
%{_javadir}/%{app_name}-servlet-api.jar
|
||||||
|
%{_javadir}/%{app_name}-servlet.jar
|
||||||
|
%{_javadir}/servlet.jar
|
||||||
|
%ghost %{_sysconfdir}/alternatives/tomcat-servlet.jar
|
||||||
|
%ghost %attr(-,root,root) %{_sysconfdir}/alternatives/servlet.jar
|
||||||
|
%ghost %attr(-,root,root) %{_sysconfdir}/alternatives/servlet
|
||||||
|
|
||||||
|
%files webapps
|
||||||
|
%defattr(0644,root,tomcat,0755)
|
||||||
|
#bnc#520532
|
||||||
|
%config(noreplace) %{tomcatappdir}/ROOT
|
||||||
|
%{tomcatappdir}/examples
|
||||||
|
%config(noreplace) %{tomcatappdir}/examples/META-INF/context.xml
|
||||||
|
%{tomcatappdir}/sample
|
||||||
|
|
||||||
|
%files jsvc
|
||||||
|
%defattr(755,root,root,0755)
|
||||||
|
%attr(0644,root,root) %{_unitdir}/%{app_name}-jsvc.service
|
||||||
|
%{_sbindir}/rc%{app_name}-jsvc
|
||||||
|
|
||||||
|
%changelog
|
16
valve.xslt
Normal file
16
valve.xslt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
|
||||||
|
<xsl:strip-space elements="*"/>
|
||||||
|
<xsl:template match="@*|node()">
|
||||||
|
<xsl:copy>
|
||||||
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
<xsl:template match="Valve[@className='org.apache.catalina.valves.AccessLogValve']">
|
||||||
|
<xsl:copy>
|
||||||
|
<xsl:attribute name="rotatable">false</xsl:attribute>
|
||||||
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
Loading…
Reference in New Issue
Block a user