2008-04-07 22:37:26 +00:00
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
2014-09-21 00:11:01 +00:00
%global jspspec 2.3
2018-05-01 13:34:30 +00:00
%global major_version 9
%global minor_version 0
2023-06-14 01:46:01 +00:00
%global micro_version 76
2010-03-29 17:59:55 +00:00
%global packdname apache-tomcat-%{version} -src
2018-05-01 13:34:30 +00:00
%global servletspec 4.0
2014-09-21 00:11:01 +00:00
%global elspec 3.0
2019-09-26 20:05:30 +00:00
%global tcuid 53
2018-03-15 16:57:12 +00:00
# Recommended version is specified in java/org/apache/catalina/core/AprLifecycleListener.java
2019-06-18 13:17:56 +00:00
%global native_version 1.2.21
2016-02-13 22:44:02 +00:00
2008-04-07 22:37:26 +00:00
# FHS 2.3 compliant tree structure - http://www.pathname.com/fhs/2.3/
2010-03-29 17:59:55 +00:00
%global basedir %{_var}/lib/%{name}
%global appdir %{basedir} /webapps
%global homedir %{_datadir} /%{name}
2011-06-06 21:23:05 +00:00
%global bindir %{homedir} /bin
%global confdir %{_sysconfdir} /%{name}
2010-03-29 17:59:55 +00:00
%global libdir %{_javadir} /%{name}
%global logdir %{_var}/log/%{name}
%global cachedir %{_var}/cache/%{name}
%global tempdir %{cachedir} /temp
%global workdir %{cachedir} /work
2011-06-06 21:23:05 +00:00
%global _systemddir /lib/systemd/system
2008-04-07 22:37:26 +00:00
2011-04-28 05:35:45 +00:00
Name : tomcat
2015-03-03 20:20:56 +00:00
Epoch : 1
2010-12-02 16:10:02 +00:00
Version : %{major_version} .%{minor_version} .%{micro_version}
2023-06-20 07:02:14 +00:00
Release : 2%{?dist}
2010-12-02 16:10:02 +00:00
Summary : Apache Servlet/JSP Engine, RI for Servlet %{servletspec} /JSP %{jspspec} API
License : ASL 2.0
URL : http://tomcat.apache.org/
2011-05-20 21:44:00 +00:00
Source0 : http://www.apache.org/dist/tomcat/tomcat-%{major_version} /v%{version} /src/%{packdname} .tar.gz
2010-12-02 16:10:02 +00:00
Source1 : %{name} -%{major_version} .%{minor_version} .conf
Source3 : %{name} -%{major_version} .%{minor_version} .sysconfig
Source4 : %{name} -%{major_version} .%{minor_version} .wrapper
2021-06-04 14:29:44 +00:00
Source5 : %{name} -%{major_version} .%{minor_version} .logrotate
2010-12-02 16:10:02 +00:00
Source6 : %{name} -%{major_version} .%{minor_version} -digest.script
Source7 : %{name} -%{major_version} .%{minor_version} -tool-wrapper.script
2011-06-06 21:23:05 +00:00
Source11 : %{name} -%{major_version} .%{minor_version} .service
2014-03-25 23:34:21 +00:00
Source21 : tomcat-functions
2013-06-11 17:35:03 +00:00
Source30 : tomcat-preamble
Source31 : tomcat-server
Source32 : tomcat-named.service
2022-03-08 20:22:53 +00:00
Source33 : java-9-start-up-parameters.conf
2012-01-11 22:58:04 +00:00
2010-12-02 16:10:02 +00:00
Patch0 : %{name} -%{major_version} .%{minor_version} -bootstrap-MANIFEST.MF.patch
Patch1 : %{name} -%{major_version} .%{minor_version} -tomcat-users-webapp.patch
2019-06-18 13:53:08 +00:00
Patch2 : %{name} -build.patch
2020-04-22 18:55:15 +00:00
Patch3 : %{name} -%{major_version} .%{minor_version} -catalina-policy.patch
2020-07-20 19:17:57 +00:00
Patch4 : rhbz-1857043.patch
2023-01-29 11:23:32 +00:00
Patch6 : %{name} -%{major_version} .%{minor_version} -bnd-annotation.patch
2011-04-27 05:54:04 +00:00
2010-12-02 16:10:02 +00:00
BuildArch : noarch
2022-07-08 14:55:08 +00:00
ExclusiveArch : %{java_arches} noarch
2010-12-02 16:10:02 +00:00
2008-04-07 22:37:26 +00:00
BuildRequires : ant
2020-05-04 16:22:01 +00:00
BuildRequires : ecj >= 1:4.10
2008-04-07 22:37:26 +00:00
BuildRequires : findutils
2018-05-01 13:34:30 +00:00
BuildRequires : java-devel >= 1:1.8.0
2017-08-21 15:22:17 +00:00
BuildRequires : javapackages-local
2018-08-01 18:15:07 +00:00
BuildRequires : aqute-bnd
2022-11-08 08:50:53 +00:00
BuildRequires : aqute-bndlib
2018-10-16 16:41:15 +00:00
BuildRequires : systemd
2018-03-15 16:57:12 +00:00
2018-05-01 13:34:30 +00:00
Requires : java-headless >= 1:1.8.0
2019-07-17 17:32:12 +00:00
Requires : javapackages-tools
2010-12-02 16:10:02 +00:00
Requires : %{name} -lib = %{epoch} :%{version} -%{release}
2020-03-06 17:42:26 +00:00
%if 0%{?fedora} || 0%{?rhel} > 7
2016-02-13 22:44:02 +00:00
Recommends: tomcat-native >= %{native_version}
2020-03-06 17:42:26 +00:00
%endif
2010-12-02 16:10:02 +00:00
Requires(pre) : shadow-utils
2018-10-16 16:41:15 +00:00
Requires(post) : systemd
Requires(preun) : systemd
Requires(postun) : systemd
2008-04-07 22:37:26 +00:00
2016-02-04 15:04:14 +00:00
# added after log4j sub-package was removed
Provides : %{name} -log4j = %{epoch} :%{version} -%{release}
2008-04-07 22:37:26 +00:00
%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.
Tomcat is developed in an open and participatory environment and
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.
%package admin-webapps
Summary : The host-manager and manager web applications for Apache Tomcat
Requires : %{name} = %{epoch} :%{version} -%{release}
%description admin-webapps
2008-09-05 17:14:04 +00:00
The host-manager and manager web applications for Apache Tomcat.
2008-04-07 22:37:26 +00:00
%package docs-webapp
Summary : The docs web application for Apache Tomcat
Requires : %{name} = %{epoch} :%{version} -%{release}
%description docs-webapp
2008-09-05 17:14:04 +00:00
The docs web application for Apache Tomcat.
2008-04-07 22:37:26 +00:00
%package jsp-%{jspspec}-api
2018-03-15 16:57:12 +00:00
Summary : Apache Tomcat JavaServer Pages v%{jspspec} API Implementation Classes
2008-04-07 22:37:26 +00:00
Provides : jsp = %{jspspec}
2014-09-21 00:11:01 +00:00
Obsoletes : %{name} -jsp-2.2-api
2008-04-07 22:37:26 +00:00
Requires : %{name} -servlet-%{servletspec} -api = %{epoch} :%{version} -%{release}
2014-06-16 08:24:24 +00:00
Requires : %{name} -el-%{elspec} -api = %{epoch} :%{version} -%{release}
2008-04-07 22:37:26 +00:00
%description jsp-%{jspspec}-api
2018-03-15 16:57:12 +00:00
Apache Tomcat JSP API Implementation Classes.
2008-04-07 22:37:26 +00:00
%package lib
Summary : Libraries needed to run the Tomcat Web container
Requires : %{name} -jsp-%{jspspec} -api = %{epoch} :%{version} -%{release}
Requires : %{name} -servlet-%{servletspec} -api = %{epoch} :%{version} -%{release}
2010-06-29 21:51:36 +00:00
Requires : %{name} -el-%{elspec} -api = %{epoch} :%{version} -%{release}
2019-06-18 13:53:08 +00:00
Requires : ecj >= 1:4.10
2008-04-07 22:37:26 +00:00
Requires(preun) : coreutils
%description lib
2008-09-05 17:14:04 +00:00
Libraries needed to run the Tomcat Web container.
2008-04-07 22:37:26 +00:00
%package servlet-%{servletspec}-api
2018-03-15 16:57:12 +00:00
Summary : Apache Tomcat Java Servlet v%{servletspec} API Implementation Classes
2008-04-07 22:37:26 +00:00
Provides : servlet = %{servletspec}
Provides : servlet6
2011-04-27 05:54:04 +00:00
Provides : servlet3
2018-05-01 13:34:30 +00:00
Obsoletes : %{name} -servlet-3.1-api
2008-04-07 22:37:26 +00:00
%description servlet-%{servletspec}-api
2018-03-15 16:57:12 +00:00
Apache Tomcat Servlet API Implementation Classes.
2008-04-07 22:37:26 +00:00
2010-06-29 21:51:36 +00:00
%package el-%{elspec}-api
2018-03-15 16:57:12 +00:00
Summary : Apache Tomcat Expression Language v%{elspec} API Implementation Classes
2010-06-29 21:51:36 +00:00
Provides : el_api = %{elspec}
2014-09-21 00:11:01 +00:00
Obsoletes : %{name} -el-2.2-api
2010-06-29 21:51:36 +00:00
%description el-%{elspec}-api
2018-03-15 16:57:12 +00:00
Apache Tomcat EL API Implementation Classes.
2010-06-29 21:51:36 +00:00
2008-04-07 22:37:26 +00:00
%package webapps
2021-06-03 18:56:15 +00:00
Summary : The ROOT web application for Apache Tomcat
2008-04-07 22:37:26 +00:00
Requires : %{name} = %{epoch} :%{version} -%{release}
%description webapps
2021-06-03 18:56:15 +00:00
The ROOT web application for Apache Tomcat.
2008-04-07 22:37:26 +00:00
%prep
2011-01-03 08:54:46 +00:00
%setup -q -n %{packdname}
2008-04-07 22:37:26 +00:00
# remove pre-built binaries and windows files
2008-09-05 17:14:04 +00:00
find . -type f \( -name " * . b a t " -o -name " * . c l a s s " -o -name Thumbs.db -o -name " * . g z " -o \
2010-12-02 16:15:01 +00:00
-name " * . j a r " -o -name " * . w a r " -o -name " * . z i p " \) -delete
2023-06-14 04:34:57 +00:00
%patch 0 -p0
%patch 1 -p0
%patch 2 -p0
%patch 3 -p0
%patch 4 -p0
%patch 6 -p0
2016-07-01 18:45:28 +00:00
2021-06-04 11:22:37 +00:00
# Remove webservices naming resources as it's generally unused
%{__rm} -rf java/org/apache/naming/factory/webservices
2021-06-06 00:23:34 +00:00
# Configure maven files
%mvn_package " : t o m c a t - e l - a p i " tomcat-el-api
%mvn_alias " o r g . a p a c h e . t o m c a t : t o m c a t - e l - a p i " " o r g . e c l i p s e . j e t t y . o r b i t : j a v a x . e l "
%mvn_package " : t o m c a t - j s p - a p i " tomcat-jsp-api
%mvn_alias " o r g . a p a c h e . t o m c a t : t o m c a t - j s p - a p i " " o r g . e c l i p s e . j e t t y . o r b i t : j a v a x . s e r v l e t . j s p "
%mvn_package " : t o m c a t - s e r v l e t - a p i " tomcat-servlet-api
2021-06-03 19:45:09 +00:00
2008-04-07 22:37:26 +00:00
%build
2011-01-03 08:54:46 +00:00
export OPT_JAR_LIST=" x a l a n - j 2 - s e r i a l i z e r "
2021-06-06 00:23:34 +00:00
# we don't care about the tarballs and we're going to replace
# tomcat-dbcp.jar with apache-commons-{collections,dbcp,pool}-tomcat5.jar
# so just create a dummy file for later removal
touch HACK
# who needs a build.properties file anyway
%{ant} -Dbase.path=" . " \
-Dbuild.compiler=" m o d e r n " \
-Dcommons-daemon.jar=" H A C K " \
-Dcommons-daemon.native.src.tgz=" H A C K " \
-Djdt.jar=" $ ( b u i l d - c l a s s p a t h e c j / e c j ) " \
-Dtomcat-native.tar.gz=" H A C K " \
-Dtomcat-native.home=" . " \
-Dcommons-daemon.native.win.mgr.exe=" H A C K " \
-Dnsis.exe=" H A C K " \
-Djaxrpc-lib.jar=" H A C K " \
2023-01-29 11:23:32 +00:00
-Dwsdl4j-lib.jar=" H A C K " \
2021-06-06 00:23:34 +00:00
-Dbnd.jar=" $ ( b u i l d - c l a s s p a t h a q u t e - b n d / b i z . a Q u t e . b n d ) " \
2023-01-29 11:23:32 +00:00
-Dbnd-annotation.jar=" $ ( b u i l d - c l a s s p a t h a q u t e - b n d / b i z . a Q u t e . b n d . a n n o t a t i o n ) " \
2021-06-06 00:23:34 +00:00
-Dversion=" %{version} " \
-Dversion.build=" %{micro_version} " \
deploy
# remove some jars that we'll replace with symlinks later
%{__rm} output/build/bin/commons-daemon.jar output/build/lib/ecj.jar
# Remove the example webapps per Apache Tomcat Security Considerations
# see https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html
%{__rm} -rf output/build/webapps/examples
2008-04-07 22:37:26 +00:00
%install
# build initial path structure
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_bindir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_sbindir}
2011-06-06 21:23:05 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_systemddir}
2021-06-04 14:29:44 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_sysconfdir} /logrotate.d
2008-04-07 22:37:26 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_sysconfdir} /sysconfig
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{appdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{bindir}
2010-06-29 21:51:36 +00:00
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{confdir}
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{confdir} /Catalina/localhost
2016-03-02 17:53:07 +00:00
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{confdir} /conf.d
/bin/echo " P l a c e y o u r c u s t o m * . c o n f f i l e s h e r e . S h e l l e x p a n s i o n i s s u p p o r t e d . " > ${RPM_BUILD_ROOT} %{confdir} /conf.d/README
2008-04-07 22:37:26 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{libdir}
2010-06-29 21:51:36 +00:00
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{logdir}
2014-03-25 23:34:21 +00:00
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{_localstatedir} /lib/tomcats
2010-06-29 21:51:36 +00:00
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{homedir}
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{tempdir}
%{__install} -d -m 0775 ${RPM_BUILD_ROOT} %{workdir}
2011-11-10 21:48:56 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_unitdir}
2013-06-11 17:35:03 +00:00
%{__install} -d -m 0755 ${RPM_BUILD_ROOT} %{_libexecdir} /%{name}
2010-03-29 17:59:55 +00:00
2008-04-07 22:37:26 +00:00
# move things into place
2010-03-29 17:59:55 +00:00
# First copy supporting libs to tomcat lib
2011-01-03 08:54:46 +00:00
pushd output/build
2008-04-07 22:37:26 +00:00
%{__cp} -a bin/*.{jar,xml} ${RPM_BUILD_ROOT} %{bindir}
2018-03-15 16:57:12 +00:00
%{__cp} -a conf/*.{policy,properties,xml,xsd} ${RPM_BUILD_ROOT} %{confdir}
2008-04-07 22:37:26 +00:00
%{__cp} -a lib/*.jar ${RPM_BUILD_ROOT} %{libdir}
%{__cp} -a webapps/* ${RPM_BUILD_ROOT} %{appdir}
popd
2010-12-02 16:15:01 +00:00
2008-04-07 22:37:26 +00:00
%{__sed} -e " s | \ @ \ @ \ @ T C H O M E \ @ \ @ \ @ | %{homedir} | g " \
2010-06-29 21:51:36 +00:00
-e " s | \ @ \ @ \ @ T C T E M P \ @ \ @ \ @ | %{tempdir} | g " \
-e " s | \ @ \ @ \ @ L I B D I R \ @ \ @ \ @ | %{_libdir} | g " %{SOURCE1} \
2008-04-07 22:37:26 +00:00
> ${RPM_BUILD_ROOT} %{confdir} /%{name} .conf
%{__sed} -e " s | \ @ \ @ \ @ T C H O M E \ @ \ @ \ @ | %{homedir} | g " \
2010-06-29 21:51:36 +00:00
-e " s | \ @ \ @ \ @ T C T E M P \ @ \ @ \ @ | %{tempdir} | g " \
-e " s | \ @ \ @ \ @ L I B D I R \ @ \ @ \ @ | %{_libdir} | g " %{SOURCE3} \
2008-04-07 22:37:26 +00:00
> ${RPM_BUILD_ROOT} %{_sysconfdir} /sysconfig/%{name}
%{__install} -m 0644 %{SOURCE4} \
${RPM_BUILD_ROOT} %{_sbindir} /%{name}
2011-06-06 21:23:05 +00:00
%{__install} -m 0644 %{SOURCE11} \
2011-11-10 21:48:56 +00:00
${RPM_BUILD_ROOT} %{_unitdir} /%{name} .service
2021-06-04 14:29:44 +00:00
%{__sed} -e " s | \ @ \ @ \ @ T C L O G \ @ \ @ \ @ | %{logdir} | g " %{SOURCE5} \
> ${RPM_BUILD_ROOT} %{_sysconfdir} /logrotate.d/%{name} .disabled
2008-04-07 22:37:26 +00:00
%{__sed} -e " s | \ @ \ @ \ @ T C H O M E \ @ \ @ \ @ | %{homedir} | g " \
2010-06-29 21:51:36 +00:00
-e " s | \ @ \ @ \ @ T C T E M P \ @ \ @ \ @ | %{tempdir} | g " \
-e " s | \ @ \ @ \ @ L I B D I R \ @ \ @ \ @ | %{_libdir} | g " %{SOURCE6} \
2008-04-07 22:37:26 +00:00
> ${RPM_BUILD_ROOT} %{_bindir} /%{name} -digest
%{__sed} -e " s | \ @ \ @ \ @ T C H O M E \ @ \ @ \ @ | %{homedir} | g " \
2010-06-29 21:51:36 +00:00
-e " s | \ @ \ @ \ @ T C T E M P \ @ \ @ \ @ | %{tempdir} | g " \
-e " s | \ @ \ @ \ @ L I B D I R \ @ \ @ \ @ | %{_libdir} | g " %{SOURCE7} \
2008-04-07 22:37:26 +00:00
> ${RPM_BUILD_ROOT} %{_bindir} /%{name} -tool-wrapper
2013-06-11 17:35:03 +00:00
2014-03-25 23:34:21 +00:00
%{__install} -m 0644 %{SOURCE21} \
${RPM_BUILD_ROOT} %{_libexecdir} /%{name} /functions
2013-06-11 17:35:03 +00:00
%{__install} -m 0755 %{SOURCE30} \
${RPM_BUILD_ROOT} %{_libexecdir} /%{name} /preamble
%{__install} -m 0755 %{SOURCE31} \
${RPM_BUILD_ROOT} %{_libexecdir} /%{name} /server
%{__install} -m 0644 %{SOURCE32} \
${RPM_BUILD_ROOT} %{_unitdir} /%{name} @.service
2022-03-08 20:22:53 +00:00
%{__install} -m 0644 %{SOURCE33} ${RPM_BUILD_ROOT} %{confdir} /conf.d/
2014-09-21 00:11:01 +00:00
# Substitute libnames in catalina-tasks.xml
sed -i \
" s , e l - a p i . j a r , %{name} - e l - %{elspec} - a p i . j a r , ;
s,servlet-api.jar,%{name} -servlet-%{servletspec} -api.jar,;
s,jsp-api.jar,%{name} -jsp-%{jspspec} -api.jar,;" \
${RPM_BUILD_ROOT} %{bindir} /catalina-tasks.xml
2008-04-07 22:37:26 +00:00
# create jsp and servlet API symlinks
pushd ${RPM_BUILD_ROOT} %{_javadir}
2010-12-02 16:15:01 +00:00
%{__mv} %{name} /jsp-api.jar %{name} -jsp-%{jspspec} -api.jar
2010-12-08 09:41:11 +00:00
%{__ln_s} %{name} -jsp-%{jspspec} -api.jar %{name} -jsp-api.jar
2010-12-02 16:15:01 +00:00
%{__mv} %{name} /servlet-api.jar %{name} -servlet-%{servletspec} -api.jar
2010-12-08 09:41:11 +00:00
%{__ln_s} %{name} -servlet-%{servletspec} -api.jar %{name} -servlet-api.jar
2010-12-02 16:15:01 +00:00
%{__mv} %{name} /el-api.jar %{name} -el-%{elspec} -api.jar
2010-12-08 09:41:11 +00:00
%{__ln_s} %{name} -el-%{elspec} -api.jar %{name} -el-api.jar
2008-04-07 22:37:26 +00:00
popd
2010-04-08 23:50:29 +00:00
2011-01-03 08:54:46 +00:00
pushd output/build
2019-02-21 18:10:42 +00:00
%{_bindir} /build-jar-repository lib ecj 2>&1
2010-04-08 23:50:29 +00:00
popd
2008-04-07 22:37:26 +00:00
pushd ${RPM_BUILD_ROOT} %{libdir}
# symlink JSP and servlet API jars
2016-02-21 20:49:52 +00:00
%{__ln_s} ../../java/%{name} -jsp-%{jspspec} -api.jar .
%{__ln_s} ../../java/%{name} -servlet-%{servletspec} -api.jar .
%{__ln_s} ../../java/%{name} -el-%{elspec} -api.jar .
2019-07-17 17:16:33 +00:00
%{__ln_s} $(build-classpath ecj/ecj) jasper-jdt.jar
2023-06-14 01:46:01 +00:00
2023-06-14 04:34:57 +00:00
%{__cp} -a ../../%{name} /bin/tomcat-juli.jar .
2008-04-07 22:37:26 +00:00
popd
2010-12-02 16:15:01 +00:00
2008-04-07 22:37:26 +00:00
# symlink to the FHS locations where we've installed things
pushd ${RPM_BUILD_ROOT} %{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
2021-06-06 00:23:34 +00:00
# Install the maven metadata for the spec impl artifacts as other projects use them
#%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_mavenpomdir}
pushd res/maven
2023-06-20 07:02:14 +00:00
for pom in *.pom; do
2021-06-06 00:23:34 +00:00
# fix-up version in all pom files
sed -i 's/@MAVEN.DEPLOY.VERSION@/%{version}/g' $pom
done
popd
# Configure and install maven artifacts
%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-servlet-api.pom output/build/lib/servlet-api.jar
2023-06-20 07:02:14 +00:00
%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_artifact res/maven/tomcat-catalina-ant.pom ${RPM_BUILD_ROOT} %{libdir} /catalina-ant.jar
%mvn_artifact res/maven/tomcat-catalina-ha.pom ${RPM_BUILD_ROOT} %{libdir} /catalina-ha.jar
%mvn_artifact res/maven/tomcat-ssi.pom ${RPM_BUILD_ROOT} %{libdir} /catalina-ssi.jar
%mvn_artifact res/maven/tomcat-storeconfig.pom ${RPM_BUILD_ROOT} %{libdir} /catalina-storeconfig.jar
%mvn_artifact res/maven/tomcat-tribes.pom ${RPM_BUILD_ROOT} %{libdir} /catalina-tribes.jar
%mvn_artifact res/maven/tomcat-catalina.pom ${RPM_BUILD_ROOT} %{libdir} /catalina.jar
%mvn_artifact res/maven/tomcat-jasper-el.pom ${RPM_BUILD_ROOT} %{libdir} /jasper-el.jar
%mvn_artifact res/maven/tomcat-jasper.pom ${RPM_BUILD_ROOT} %{libdir} /jasper.jar
%mvn_artifact res/maven/tomcat-jaspic-api.pom ${RPM_BUILD_ROOT} %{libdir} /jaspic-api.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_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_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_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
2021-06-06 00:23:34 +00:00
%mvn_install
2012-01-21 23:47:15 +00:00
2008-04-07 22:37:26 +00:00
%pre
# add the tomcat user and group
2019-09-26 20:05:30 +00:00
getent group tomcat >/dev/null || %{_sbindir} /groupadd -f -g %{tcuid} -r tomcat
if ! getent passwd tomcat >/dev/null ; then
if ! getent passwd %{tcuid} >/dev/null ; then
%{_sbindir} /useradd -r -u %{tcuid} -g tomcat -d %{homedir} -s /sbin/nologin -c " A p a c h e T o m c a t " tomcat
# Tomcat uses a reserved ID, so there should never be an else
fi
fi
exit 0
2008-04-07 22:37:26 +00:00
%post
# install but don't activate
2012-08-24 21:48:20 +00:00
%systemd_post %{name} .service
2008-04-07 22:37:26 +00:00
%post jsp-%{jspspec}-api
%{_sbindir} /update-alternatives --install %{_javadir} /jsp.jar jsp \
2012-02-16 08:15:36 +00:00
%{_javadir} /%{name} -jsp-%{jspspec} -api.jar 20200
2008-04-07 22:37:26 +00:00
%post servlet-%{servletspec}-api
%{_sbindir} /update-alternatives --install %{_javadir} /servlet.jar servlet \
2012-02-16 08:15:36 +00:00
%{_javadir} /%{name} -servlet-%{servletspec} -api.jar 30000
2008-04-07 22:37:26 +00:00
2010-06-29 21:51:36 +00:00
%post el-%{elspec}-api
2010-07-01 18:04:47 +00:00
%{_sbindir} /update-alternatives --install %{_javadir} /elspec.jar elspec \
2012-02-16 08:15:36 +00:00
%{_javadir} /%{name} -el-%{elspec} -api.jar 20300
2010-06-29 21:51:36 +00:00
2008-04-07 22:37:26 +00:00
%preun
# clean tempdir and workdir on removal or upgrade
2011-05-04 21:42:20 +00:00
%{__rm} -rf %{workdir} /* %{tempdir} /*
2012-08-24 21:48:20 +00:00
%systemd_preun %{name} .service
2008-04-07 22:37:26 +00:00
2010-03-26 17:07:32 +00:00
%postun
2012-08-24 21:48:20 +00:00
%systemd_postun_with_restart %{name} .service
2010-03-26 17:07:32 +00:00
2008-04-07 22:37:26 +00:00
%postun jsp-%{jspspec}-api
if [ " $ 1 " = " 0 " ]; then
%{_sbindir} /update-alternatives --remove jsp \
%{_javadir} /%{name} -jsp-%{jspspec} -api.jar
fi
%postun servlet-%{servletspec}-api
if [ " $ 1 " = " 0 " ]; then
%{_sbindir} /update-alternatives --remove servlet \
%{_javadir} /%{name} -servlet-%{servletspec} -api.jar
fi
2010-06-29 21:51:36 +00:00
%postun el-%{elspec}-api
if [ " $ 1 " = " 0 " ]; then
%{_sbindir} /update-alternatives --remove elspec \
%{_javadir} /%{name} -el-%{elspec} -api.jar
fi
2014-06-05 12:29:45 +00:00
%files
2011-05-01 22:09:32 +00:00
%defattr (0664,root,tomcat,0755)
2011-01-03 08:54:46 +00:00
%doc {LICENSE,NOTICE,RELEASE*}
2008-04-07 22:37:26 +00:00
%attr (0755,root,root) %{_bindir} /%{name} -digest
%attr (0755,root,root) %{_bindir} /%{name} -tool-wrapper
%attr (0755,root,root) %{_sbindir} /%{name}
2011-11-10 21:48:56 +00:00
%attr (0644,root,root) %{_unitdir} /%{name} .service
2013-06-11 17:35:03 +00:00
%attr (0644,root,root) %{_unitdir} /%{name} @.service
%attr (0755,root,root) %dir %{_libexecdir} /%{name}
2014-03-25 23:34:21 +00:00
%attr (0755,root,root) %dir %{_localstatedir} /lib/tomcats
%attr (0644,root,root) %{_libexecdir} /%{name} /functions
2013-06-11 17:35:03 +00:00
%attr (0755,root,root) %{_libexecdir} /%{name} /preamble
%attr (0755,root,root) %{_libexecdir} /%{name} /server
2016-10-23 23:11:56 +00:00
%attr (0644,root,root) %config (noreplace) %{_sysconfdir} /sysconfig/%{name}
2021-06-04 14:29:44 +00:00
%attr (0644,root,root) %config (noreplace) %{_sysconfdir} /logrotate.d/%{name} .disabled
2011-09-26 17:37:13 +00:00
%attr (0755,root,tomcat) %dir %{basedir}
2011-05-20 21:44:00 +00:00
%attr (0755,root,tomcat) %dir %{confdir}
2016-10-23 23:11:56 +00:00
2012-12-06 21:56:04 +00:00
%defattr (0664,tomcat,root,0770)
%attr (0770,tomcat,root) %dir %{logdir}
2016-10-23 23:11:56 +00:00
2011-05-20 21:44:00 +00:00
%defattr (0664,root,tomcat,0770)
%attr (0770,root,tomcat) %dir %{cachedir}
%attr (0770,root,tomcat) %dir %{tempdir}
%attr (0770,root,tomcat) %dir %{workdir}
2016-10-23 23:11:56 +00:00
%defattr (0644,root,tomcat,0775)
2011-04-13 19:15:12 +00:00
%attr (0775,root,tomcat) %dir %{appdir}
%attr (0775,root,tomcat) %dir %{confdir} /Catalina
%attr (0775,root,tomcat) %dir %{confdir} /Catalina/localhost
2016-10-23 23:11:56 +00:00
%attr (0755,root,tomcat) %dir %{confdir} /conf.d
%{confdir} /conf.d/README
2022-03-08 20:22:53 +00:00
%{confdir} /conf.d/java-9-start-up-parameters.conf
2016-10-23 23:11:56 +00:00
%config (noreplace) %{confdir} /%{name} .conf
%config (noreplace) %{confdir} /*.policy
%config (noreplace) %{confdir} /*.properties
%config (noreplace) %{confdir} /context.xml
%config (noreplace) %{confdir} /server.xml
%attr (0640,root,tomcat) %config (noreplace) %{confdir} /tomcat-users.xml
2018-03-15 16:57:12 +00:00
%attr (0664,root,tomcat) %{confdir} /tomcat-users.xsd
%attr (0664,root,tomcat) %config (noreplace) %{confdir} /jaspic-providers.xml
%attr (0664,root,tomcat) %{confdir} /jaspic-providers.xsd
2016-10-23 23:11:56 +00:00
%config (noreplace) %{confdir} /web.xml
2010-06-29 21:51:36 +00:00
%dir %{homedir}
%{bindir} /bootstrap.jar
%{bindir} /catalina-tasks.xml
%{homedir} /lib
%{homedir} /temp
%{homedir} /webapps
%{homedir} /work
%{homedir} /logs
%{homedir} /conf
2008-04-07 22:37:26 +00:00
%files admin-webapps
2011-05-20 21:44:00 +00:00
%defattr (0664,root,tomcat,0755)
2008-04-07 22:37:26 +00:00
%{appdir} /host-manager
%{appdir} /manager
%files docs-webapp
%{appdir} /docs
2023-06-20 07:02:14 +00:00
%files lib -f .mfiles
2018-03-15 16:57:12 +00:00
%dir %{libdir}
%{libdir} /*.jar
%{_javadir} /*.jar
2011-11-10 18:44:19 +00:00
%{bindir} /tomcat-juli.jar
2011-05-01 22:09:32 +00:00
%exclude %{libdir} /%{name} -el-%{elspec} -api.jar
2023-06-14 04:34:57 +00:00
%exclude %{libdir} /%{name} -servlet-%{servletspec} *.jar
%exclude %{libdir} /%{name} -jsp-%{jspspec} *.jar
2018-03-15 16:57:12 +00:00
%exclude %{_javadir} /%{name} -servlet-%{servletspec} *.jar
%exclude %{_javadir} /%{name} -el-%{elspec} -api.jar
%exclude %{_javadir} /%{name} -jsp-%{jspspec} *.jar
2023-06-14 04:34:57 +00:00
%exclude %{_javadir} /%{name} -servlet-api.jar
%exclude %{_javadir} /%{name} -el-api.jar
%exclude %{_javadir} /%{name} -jsp-api.jar
2008-04-07 22:37:26 +00:00
2021-06-06 00:23:34 +00:00
%files jsp-%{jspspec}-api -f .mfiles-tomcat-jsp-api
%{_javadir} /%{name} -jsp-%{jspspec} *.jar
2023-06-14 04:34:57 +00:00
%{libdir} /%{name} -jsp-%{jspspec} *.jar
%{_javadir} /%{name} -jsp-api.jar
2021-06-06 00:23:34 +00:00
%files servlet-%{servletspec}-api -f .mfiles-tomcat-servlet-api
2011-05-20 21:44:00 +00:00
%doc LICENSE
2010-06-29 21:51:36 +00:00
%{_javadir} /%{name} -servlet-%{servletspec} *.jar
2023-06-14 04:34:57 +00:00
%{libdir} /%{name} -servlet-%{servletspec} *.jar
%{_javadir} /%{name} -servlet-api.jar
2008-04-07 22:37:26 +00:00
2021-06-06 00:23:34 +00:00
%files el-%{elspec}-api -f .mfiles-tomcat-el-api
2011-05-20 21:44:00 +00:00
%doc LICENSE
2010-12-02 16:15:01 +00:00
%{_javadir} /%{name} -el-%{elspec} -api.jar
2011-06-06 21:23:05 +00:00
%{libdir} /%{name} -el-%{elspec} -api.jar
2023-06-14 04:34:57 +00:00
%{_javadir} /%{name} -el-api.jar
2010-06-29 21:51:36 +00:00
2008-04-07 22:37:26 +00:00
%files webapps
2011-05-01 22:09:32 +00:00
%defattr (0644,tomcat,tomcat,0755)
2008-04-07 22:37:26 +00:00
%{appdir} /ROOT
%changelog
2023-06-20 07:02:14 +00:00
* Tue Jun 20 2023 Hui Wang <huwang@redhat.com> - 1:9.0.76-2
- Resolves: rhbz#2189672 Missing Tomcat POM files in Fedora Rawhide
- Remove JDTCompiler patch because ecj has been update
2023-06-14 01:46:01 +00:00
- Update to 9.0.76
- Resolves: rhbz#2188218 Link bin/tomcat-juli.jar to /usr/share/java
2023-06-14 04:34:57 +00:00
- Move tomcat-jsp-2.3-api.jar,tomcat-servlet-4.0-api.jar and tomcat-el-api.jar to the subpackages
2023-06-14 01:46:01 +00:00
2023-06-09 06:50:31 +00:00
* Thu Jun 08 2023 Hui Wang <huwang@redhat.com> - 1:9.0.75-1
2023-06-14 01:46:01 +00:00
- Update to 9.0.75
2023-06-09 06:50:31 +00:00
2023-03-17 09:05:19 +00:00
* Fri Mar 17 2023 Hui Wang <huwang@redhat.com> - 1:9.0.73-1
- Update to 9.0.73
2023-01-29 11:23:32 +00:00
* Sun Jan 29 2023 Hui Wang <huwang@redhat.com> - 1:9.0.71-1
- Update to 9.0.71
- Remove osgi-annotations patch
- Add bnd-annotation dependency which is in bndlib package
2023-01-21 05:15:06 +00:00
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.70-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-13 11:25:32 +00:00
* Fri Jan 13 2023 Hui Wang <huwang@redhat.com> - 1:9.0.70-1
- Update to 9.0.70
* Thu Nov 03 2022 Hui Wang <huwang@redhat.com> - 1:9.0.68-1
2022-11-08 08:50:53 +00:00
- Update to 9.0.68
2022-09-01 18:35:49 +00:00
2022-07-22 09:33:41 +00:00
* Thu Jul 21 2022 Hui Wang <huwang@redhat.com> - 1:9.0.65-1
- Update to 9.0.65
2022-07-08 14:55:08 +00:00
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1:9.0.64-2
- Rebuilt for Drop i686 JDKs
2022-06-21 13:03:19 +00:00
* Tue Jun 21 2022 Hui Wang <huwang@redhat.com> - 1:9.0.64-1
- Update to 9.0.64
- Add osgi-annotations dependency back
2022-03-10 20:44:16 +00:00
* Thu Mar 10 2022 Coty Sutherland <csutherl@redhat.com> - 1:9.0.59-3
- Related: rhbz#2061424 Adjust fix so that it uses the proper env var
2022-03-08 20:22:53 +00:00
* Tue Mar 08 2022 Coty Sutherland <csutherl@redhat.com> - 1:9.0.59-2
- Resolves: rhbz#2061424 Add Java 9 start-up parameters to allow reflection
2022-03-02 23:41:57 +00:00
* Wed Mar 02 2022 Sonia Xu <sonix@amazon.com> - 1:9.0.59-1
- Update to 9.0.59
- Resolves: rhbz#2047419 - CVE-2022-23181 tomcat: local privilege escalation vulnerability
2022-02-05 23:27:17 +00:00
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1:9.0.56-3
- Rebuilt for java-17-openjdk as system jdk
2022-01-22 02:53:10 +00:00
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-09 10:15:03 +00:00
* Thu Dec 09 2021 Hui Wang <huwang@redhat.com> - 1:9.0.56-1
- Update to 9.0.56
2021-11-23 06:57:50 +00:00
* Tue Oct 12 2021 Hui Wang <huwang@redhat.com> - 1:9.0.55-1
- Update to 9.0.55
* Tue Oct 12 2021 Hui Wang <huwang@redhat.com> - 1:9.0.54-1
2021-10-12 06:45:31 +00:00
- Update to 9.0.54
2021-11-23 06:57:50 +00:00
* Thu Sep 16 2021 Hui Wang <huwang@redhat.com> - 1:9.0.53-1
2021-09-16 09:58:33 +00:00
- Update to 9.0.53
2021-11-23 06:57:50 +00:00
* Wed Aug 18 2021 Hui Wang <huwang@redhat.com> - 1:9.0.52-1
2021-08-18 07:52:49 +00:00
- Update to 9.0.52
2021-07-23 19:26:22 +00:00
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.50-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-11-23 06:57:50 +00:00
* Tue Jul 06 2021 Hui Wang <huwang@redhat.com> - 1:9.0.50-1
2021-07-07 06:16:09 +00:00
- Update to 9.0.50
2021-11-23 06:57:50 +00:00
* Sat Jun 05 2021 Coty Sutherland <csutherl@redhat.com> - 1:9.0.45-4
2021-06-04 14:29:44 +00:00
- Add back logrotate config file per devel list request
2021-06-06 00:23:34 +00:00
- Add mvn virtual provides back for the servlet, el, and jsp spec impls
2021-06-04 14:29:44 +00:00
2021-11-23 06:57:50 +00:00
* Fri Jun 04 2021 Coty Sutherland <csutherl@redhat.com> - 1:9.0.45-3
2021-06-04 11:23:54 +00:00
- Drop geronimo-jaxrpc, which provided the webservices naming factory resources that are generally unused
2021-11-23 06:57:50 +00:00
* Thu Jun 03 2021 Coty Sutherland <csutherl@redhat.com> - 1:9.0.45-2
2021-06-03 18:56:15 +00:00
- Remove examples webapps from subpackage
2021-06-03 19:45:09 +00:00
- Updates to javapackages-local removed %%add_maven_depmap which broke the build,
so I removed the maven artifacts as they aren't very useful anyway
2021-06-03 20:01:50 +00:00
- Drop JSVC support as it's not very useful these days
2021-06-03 20:21:37 +00:00
- Drop geronimo-saaj as it's no longer required
2021-06-03 18:56:15 +00:00
2021-04-22 10:27:04 +00:00
* Thu Apr 22 2021 Hui Wang <huwang@redhat.com> - 1:9.0.45-1
- Update to 9.0.45
2021-03-18 07:39:57 +00:00
* Thu Mar 18 2021 Hui Wang <huwang@redhat.com> - 1:9.0.44-1
- Update to 9.0.44
2021-03-02 15:12:08 +00:00
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:9.0.43-2
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-18 07:39:57 +00:00
* Wed Feb 03 2021 Hui Wang <huwang@redhat.com> - 1:9.0.43-1
2021-02-03 06:51:05 +00:00
- Update to 9.0.43
2021-01-27 22:06:12 +00:00
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.41-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-02-03 06:51:05 +00:00
* Wed Dec 09 2020 Hui Wang <huwang@redhat.com> - 1:9.0.41-1
2020-12-09 06:53:37 +00:00
- Update to 9.0.41
2020-11-18 07:01:59 +00:00
* Wed Nov 18 2020 Hui Wang <huwang@redhat.com> - 1:9.0.40-1
- Update to 9.0.40
2020-10-12 05:50:13 +00:00
* Mon Oct 12 2020 Hui Wang <huwang@redhat.com> - 1:9.0.39-1
- Update to 9.0.39
2020-09-16 09:41:36 +00:00
* Wed Sep 16 2020 Hui Wang <huwang@redhat.com> - 1:9.0.38-1
- Update to 9.0.38
2020-07-29 12:39:58 +00:00
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.37-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-24 14:50:23 +00:00
* Fri Jul 24 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.37-3
- Related: rhbz#1857043 Temporarily remove OSGi metadata from tomcat jars
2020-07-20 19:17:57 +00:00
* Mon Jul 20 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.37-2
- Resolves: rhbz#1857043 Add patch to reinclude o.a.t.util.net.jsse and o.a.t.util.moduler.modules in tomcat-coyote.jar
2020-07-13 18:02:57 +00:00
* Mon Jul 13 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.37-1
- Update to 9.0.37
2020-07-11 05:36:02 +00:00
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1:9.0.36-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
2020-06-10 05:48:53 +00:00
* Wed Jun 10 2020 Hui Wang <huwang@redhat.com> - 1:9.0.36-1
- Upgrade to 9.0.36
2020-06-01 13:09:44 +00:00
* Sun May 31 2020 Hui Wang <huwang@redhat.com> - 1:9.0.35-2
2020-05-31 13:10:41 +00:00
- Upgrade to 9.0.35
2020-04-22 18:55:15 +00:00
* Wed Apr 22 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.34-2
- Add updated catalina.policy patch to allow ECJ usage under the Security Manager
2020-04-21 19:56:44 +00:00
* Tue Apr 21 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.34-1
- Update to 9.0.34
2020-03-05 20:12:02 +00:00
* Thu Mar 05 2020 Coty Sutherland <csutherl@redhat.com> - 1:9.0.31-1
- Update to 9.0.31
- Resolves: rhbz#1806398 - CVE-2020-1938 tomcat: Apache Tomcat AJP File Read/Inclusion Vulnerability
2020-01-31 01:47:34 +00:00
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-12-20 12:54:07 +00:00
* Fri Dec 20 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.30-1
- Update to 9.0.30
2019-09-26 20:05:30 +00:00
* Thu Sep 26 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.26-2
- Resolves: rhbz#1510522 man page uid and gid mismatch for service accounts
2019-09-26 18:22:47 +00:00
* Thu Sep 26 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.26-1
- Update to 9.0.26
2019-09-26 18:28:51 +00:00
- Resolves: rhbz#1523112 tomcat systemd does not cope with - in service names
2019-09-26 18:32:36 +00:00
- Resolves: rhbz#1510896 Problem to start tomcat with a user whose group has a name different to the user
2019-09-26 18:22:47 +00:00
2019-07-27 01:39:36 +00:00
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.21-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-07-17 17:16:33 +00:00
* Wed Jul 17 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.21-2
- Update build-classpath calls to ECJ to specify the JAR we want to use
2019-06-18 13:17:56 +00:00
* Tue Jun 18 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.21-1
- Update to 9.0.21
2019-04-02 19:57:06 +00:00
* Tue Apr 02 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.13-4
- Remove javadoc subpackage to drop the jpackage-utils dependency
2019-02-20 20:18:44 +00:00
* Wed Feb 20 2019 Coty Sutherland <csutherl@redhat.com> - 1:9.0.13-3
- Remove OSGi MANIFEST files, these are now included in the upstream Tomcat distribution (as of 9.0.10)
2019-02-21 18:23:51 +00:00
- Remove unused dependencies, apache-commons-collections, apache-commons-daemon, apache-commons-pool, junit
2019-02-20 20:18:44 +00:00
2019-02-03 10:03:06 +00:00
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-12-13 14:15:59 +00:00
* Thu Dec 13 2018 Coty Sutherland <csutherl@redhat.com> - 1:9.0.13-1
- Update to 9.0.13
2018-12-13 15:54:36 +00:00
- Resolves: rhbz#1636513 - CVE-2018-11784 tomcat: Open redirect in default servlet
2018-12-13 14:15:59 +00:00
2018-10-16 16:41:15 +00:00
* Sun Oct 14 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1:9.0.10-2
- Drop legcy sys-v bits
2018-07-31 20:08:49 +00:00
* Tue Jul 31 2018 Coty Sutherland <csutherl@redhat.com> - 1:9.0.10-1
- Update to 9.0.10
2018-12-13 15:54:36 +00:00
- Resolves: rhbz#1624929 - CVE-2018-1336 tomcat: A bug in the UTF-8 decoder can lead to DoS
- Resolves: rhbz#1579612 - CVE-2018-8014 tomcat: Insecure defaults in CORS filter enable 'supportsCredentials' for all origins
- Resolves: rhbz#1607586 - CVE-2018-8034 tomcat: host name verification missing in WebSocket client
- Resolves: rhbz#1607584 - CVE-2018-8037 tomcat: Due to a mishandling of close in NIO/NIO2 connectors user sessions can get mixed up
2018-07-31 20:08:49 +00:00
2018-07-14 07:42:30 +00:00
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-05-01 13:34:30 +00:00
* Tue May 01 2018 Coty Sutherland <csutherl@redhat.com> - 1:9.0.7-1
- Update to 9.0.7
2018-03-15 16:57:12 +00:00
* Thu Mar 15 2018 Coty Sutherland <csutherl@redhat.com> - 1:8.5.29-1
- Update to 8.5.29
2018-03-16 15:27:50 +00:00
- Resolves: rhbz#1548290 CVE-2018-1304 tomcat: Incorrect handling of empty string URL in security constraints can lead to unitended exposure of resources
- Resolves: rhbz#1548284 CVE-2018-1305 tomcat: Late application of security constraints can lead to resource exposure for unauthorised users
2018-03-15 16:57:12 +00:00
2018-02-09 08:06:26 +00:00
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:8.0.49-2
- Escape macros in %%changelog
2018-02-01 13:48:31 +00:00
* Thu Feb 01 2018 Coty Sutherland <csutherl@redhat.com> - 1:8.0.49-1
- Update to 8.0.49
2017-12-12 15:14:28 +00:00
* Tue Dec 12 2017 Merlin Mathesius <mmathesi@redhat.com> - 1:8.0.47-3
- Cleanup spec file conditionals
2017-10-24 15:12:21 +00:00
* Tue Oct 24 2017 Troy Dawson <tdawson@redhat.com> - 1:8.0.47-2
- Change " z i p - u " to " z i p "
- Resolves: rhbz#1495241 [tomcat] zip -u in spec file causes race condition
2017-10-04 12:57:15 +00:00
* Wed Oct 04 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.47-1
- Update to 8.0.47
- Resolves: rhbz#1497682 CVE-2017-12617 tomcat: Remote Code Execution bypass for CVE-2017-12615
2017-08-21 14:36:47 +00:00
* Mon Aug 21 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.46-1
- Update to 8.0.46
- Resolves: rhbz#1480620 CVE-2017-7674 tomcat: Cache Poisoning
2017-07-27 20:25:50 +00:00
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.44-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-09 19:39:00 +00:00
* Fri Jun 09 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.44-1
- Resolves: rhbz#1459160 CVE-2017-5664 tomcat: Security constrained bypass in error page mechanism
2017-04-11 13:03:00 +00:00
* Tue Apr 11 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.43-1
- Update to 8.0.43
2017-03-31 13:28:51 +00:00
* Fri Mar 31 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.42-1
- Update to 8.0.42
2017-02-16 20:34:40 +00:00
* Thu Feb 16 2017 Coty Sutherland <csutherl@redhat.com> - 1:8.0.41-1
- Update to 8.0.41
- Resolves: rhbz#1403825 CVE-2016-8745 tomcat: information disclosure due to incorrect Processor sharing
2017-02-11 16:07:14 +00:00
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-11-29 22:27:17 +00:00
* Tue Nov 29 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.39-1
- Update to 8.0.39
- Resolves: rhbz#1397493 CVE-2016-6816 CVE-2016-6817 CVE-2016-8735 tomcat: various flaws
2016-10-25 15:04:12 +00:00
* Tue Oct 25 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.38-1
- Update to 8.0.38
2016-10-23 23:11:56 +00:00
* Sun Oct 23 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.37-3
- Resolves: rhbz#1383216 CVE-2016-6325 tomcat: tomcat writable config files allow privilege escalation
2016-10-13 09:00:29 +00:00
- Resolves: rhbz#1382310 CVE-2016-5425 tomcat: Local privilege escalation via systemd-tmpfiles service
2016-09-13 17:03:04 +00:00
* Tue Sep 13 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.37-1
- Rebase to 8.0.37
- Resolves: rhbz#1375581 CVE-2016-5388 CGI sets environmental variable based on user supplied Proxy request header
2016-09-13 18:44:55 +00:00
- Resolves: rhbz#1370262 catalina.out is no longer in use in the main package, but still gets rotated
2016-09-13 17:03:04 +00:00
2016-08-11 18:05:18 +00:00
* Thu Aug 11 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.36-2
- Related: rhbz#1349469 Correct typo in changelog entry
2016-07-01 18:45:28 +00:00
* Mon Aug 08 2016 Coty Sutherland <csutherl@redhat.com> - 1:8.0.36-1
2016-08-11 18:05:18 +00:00
- Resolves: rhbz#1349469 CVE-2016-3092 tomcat: Usage of vulnerable FileUpload package can result in denial of service (updates to 8.0.36)
2016-08-04 12:05:02 +00:00
- Resolves: rhbz#1364056 The command tomcat-digest doesn't work
2016-08-03 20:12:06 +00:00
- Resolves: rhbz#1363884 The tomcat-tool-wrapper script is broken
2016-06-17 21:46:17 +00:00
- Resolves: rhbz#1347864 The systemd service unit does not allow tomcat to shut down gracefully
2016-07-01 18:14:32 +00:00
- Resolves: rhbz#1347835 The security manager doesn't work correctly (JSPs cannot be compiled)
2016-07-01 17:58:16 +00:00
- Resolves: rhbz#1341853 rpm -V tomcat fails on /var/log/tomcat/catalina.out
2016-07-01 17:47:54 +00:00
- Resolves: rhbz#1341850 tomcat-jsvc.service has TOMCAT_USER value hard-coded
2016-08-08 20:38:52 +00:00
- Resolves: rhbz#1359737 Missing maven depmap for the following artifacts: org.apache.tomcat:tomcat-websocket, org.apache.tomcat:tomcat-websocket-api
2016-08-08 21:34:21 +00:00
- Resolves: asfbz#59960 Building javadocs with java8 fails
2016-08-04 12:05:02 +00:00
2016-03-02 17:53:07 +00:00
* Wed Mar 2 2016 Ivan Afonichev <ivan.afonichev@gmail.com> - 1:8.0.32-4
- Revert sysconfig migration changes, resolves: rhbz#1311771, rhbz#1311905
- Add /etc/tomcat/conf.d/ with shell expansion support, resolves rhbz#1293636
2016-02-27 14:56:47 +00:00
* Sat Feb 27 2016 Ivan Afonichev <ivan.afonichev@gmail.com> - 1:8.0.32-3
- Load sysconfig from tomcat.conf, resolves: rhbz#1311771, rhbz#1311905
- Set default javax.sql.DataSource factory to apache commons one, resolves rhbz#1214381
* Sun Feb 21 2016 Ivan Afonichev <ivan.afonichev@gmail.com> - 1:8.0.32-2
2016-02-21 20:49:52 +00:00
- Fix symlinks from $CATALINA_HOME/lib perspective, resolves: rhbz#1308685
2016-02-04 15:04:14 +00:00
* Thu Feb 11 2016 Ivan Afonichev <ivan.afonichev@gmail.com> - 1:8.0.32-1
- Updated to 8.0.32
- Remove log4j support. It has never been working actually. See rhbz#1236297
- Move shipped config to /etc/sysconfig/tomcat. /etc/tomcat/tomcat.conf can now be used to override it with shell expansion, resolves rhbz#1293636
2016-02-13 22:44:02 +00:00
- Recommend tomcat-native, resolves: rhbz#1243132
2016-02-04 15:04:14 +00:00
2016-02-10 20:59:41 +00:00
* Wed Feb 10 2016 Coty Sutherland <csutherl@redhat.com> 1:8.0.26-4
- Resolves: rhbz#1286800 Failed to start component due to wrong allowLinking="true" in context.xml
2016-02-02 16:36:08 +00:00
- Program /bin/nologin does not exist (#1302718)
2016-02-10 20:59:41 +00:00
2016-02-05 01:46:06 +00:00
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.26-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-27 14:56:47 +00:00
* Wed Nov 11 2015 Robert Scheck <robert@fedoraproject.org> 1:8.0.26-2
2015-11-17 22:42:26 +00:00
- CATALINA_OPTS are only read when SECURITY_MANAGER is true (#1147105)
2015-08-27 07:57:42 +00:00
* Thu Aug 27 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.26-1
- Update to 8.0.26.
2015-07-10 08:07:03 +00:00
* Fri Jul 10 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.24-2
- Update to 8.0.24.
2015-06-19 16:36:40 +00:00
* Fri Jun 19 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.23-2
- Drop javax.el:el-api alias.
2015-06-18 12:28:42 +00:00
* Thu Jun 18 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.23-1
- Update to 8.0.23.
2015-06-18 11:54:27 +00:00
* Thu Jun 18 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.20-3
- Drop jetty alias for servlet.
2015-06-10 05:49:59 +00:00
* Tue Jun 09 2015 Michal Srb <msrb@redhat.com> - 1:8.0.20-2
- Fix metadata for org.apache.tomcat:{tomcat-jni,tomcat-util-scan}
2015-03-05 19:46:43 +00:00
* Thu Mar 5 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.18-5
- Rebuild against tomcat-taglibs-standard.
2015-03-04 06:33:30 +00:00
* Wed Mar 4 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.0.18-4
- Fix epoch bumped el_1_0_api that would override all other glassfish/jboss/etc. due to wrong epoch.
- Drop old provides.
2015-03-03 20:20:56 +00:00
* Tue Mar 03 2015 Stephen Gallagher <sgallagh@redhat.com> 1:8.0.18-3
- Bump epoch to maintain upgrade path from Fedora 22
2015-02-16 14:50:26 +00:00
* Mon Feb 16 2015 Michal Srb <msrb@redhat.com> - 0:8.0.18-2
- Install POM files for org.apache.tomcat:{tomcat-jni,tomcat-util-scan}
2015-02-15 21:43:27 +00:00
* Sun Feb 15 2015 Ivan Afonichev <ivan.afonichev@gmail.com> 0:8.0.18-1
- Updated to 8.0.18
2014-09-21 00:11:01 +00:00
* Sat Sep 20 2014 Ivan Afonichev <ivan.afonichev@gmail.com> 0:8.0.12-1
- Updated to 8.0.12
- Substitute libnames in catalina-tasks.xml, resolves: rhbz#1126439
- Use CATALINA_OPTS only on start, resolves: rhbz#1051194
2014-06-16 08:24:24 +00:00
* Mon Jun 16 2014 Michal Srb <msrb@redhat.com> - 0:7.0.54-3
- jsp-api requires el-api
2014-06-08 08:44:23 +00:00
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:7.0.54-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-06-05 08:29:46 +00:00
* Thu Jun 5 2014 Alexander Kurtakov <akurtako@redhat.com> 0:7.0.54-1
- Update to upstream 7.0.54 - fixes compile with Java 8.
2014-05-21 12:16:36 +00:00
* Wed May 21 2014 Alexander Kurtakov <akurtako@redhat.com> 0:7.0.52-3
- Drop servlet/el api provides to reduce user machines ending with both.
2014-03-30 20:10:23 +00:00
* Sun Mar 30 2014 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.52-2
- Don't provide maven javax.jsp:jsp-api and javax.servlet.jsp:javax.servlet.jsp-api resolves: rhbz#1076949
- Move log4j support into subpackage, resolves: rhbz#1027716
2014-03-25 23:34:21 +00:00
* Wed Mar 26 2014 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.52-1
- Updated to 7.0.52
- Rewrite jsvc implementation, resolves: rhbz#1051743
- Switch to java-headless R, resolves: rhbz#1068566
2018-02-09 08:06:26 +00:00
- Create and own %%{_localstatedir} /lib/tomcats, resolves: rhbz#1026741
2014-03-25 23:34:21 +00:00
- Add pom for tomcat-jdbc, resolves: rhbz#1011003
2014-01-21 14:02:19 +00:00
* Tue Jan 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.47-3
- Fix installation of Maven metadata for tomcat-juli.jar
- Resolves: rhbz#1033664
2014-01-15 13:51:06 +00:00
* Wed Jan 15 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:7.0.47-2
- Rebuild for bug #1033664
2013-11-03 20:04:06 +00:00
* Sun Nov 03 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.47-1
- Updated to 7.0.47
- Fix java.security.policy
2013-08-04 04:17:53 +00:00
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:7.0.42-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-11 20:44:06 +00:00
* Fri Jul 12 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.42-2
- Remove jpackage-utils R
2013-07-11 09:31:04 +00:00
* Thu Jul 11 2013 Dmitry Tikhonov <squall.sama@gmail.com> 0:7.0.42-1
- Updated to 7.0.42
2013-06-11 17:35:03 +00:00
* Tue Jun 11 2013 Paul Komkoff <i@stingr.net> 0:7.0.40-3
- Dropped systemv inits. Bye-bye.
- Updated the systemd wrappers to allow running multiple instances.
Added wrapper scripts to do that, ported the original non-named
service file to work with the same wrappers, updated
/usr/sbin/tomcat to call systemctl.
2013-05-11 15:10:39 +00:00
* Sat May 11 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.40-1
- Updated to 7.0.40
- Resolves: rhbz 956569 added missing commons-pool link
2013-05-11 17:08:22 +00:00
- Remove ant-nodeps BR
2013-05-11 15:10:39 +00:00
2013-03-04 12:34:10 +00:00
* Mon Mar 4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.37-2
- Add depmaps for org.eclipse.jetty.orbit
- Resolves: rhbz#917626
2013-05-11 16:17:45 +00:00
* Wed Feb 20 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.39-1
- Updated to 7.0.39
2013-02-19 21:28:28 +00:00
* Wed Feb 20 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.37-1
- Updated to 7.0.37
2013-02-03 22:29:10 +00:00
* Mon Feb 4 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.35-1
- Updated to 7.0.35
- systemd SuccessExitStatus=143 for proper stop exit code processing
2012-12-23 22:24:16 +00:00
* Mon Dec 24 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.34-1
- Updated to 7.0.34
- ecj >= 4.2.1 now required
- Resolves: rhbz 889395 concat classpath correctly; chdir to $CATALINA_HOME
2012-12-06 21:56:04 +00:00
* Fri Dec 7 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.33-2
- Resolves: rhbz 883806 refix logdir ownership
2012-12-01 22:20:24 +00:00
* Sun Dec 2 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.33-1
- Updated to 7.0.33
- Resolves: rhbz 873620 need chkconfig for update-alternatives
2012-10-16 22:28:32 +00:00
* Wed Oct 17 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.32-1
- Updated to 7.0.32
- Resolves: rhbz 842620 symlinks to taglibs
2012-08-24 21:48:20 +00:00
* Fri Aug 24 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.29-1
2012-07-25 20:43:31 +00:00
- Updated to 7.0.29
2012-08-24 21:48:20 +00:00
- Add pidfile as tmpfile
- Use systemd for running as unprivileged user
- Resolves: rhbz 847751 upgrade path was broken
- Resolves: rhbz 850343 use new systemd-rpm macros
2012-07-21 23:44:00 +00:00
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:7.0.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-01 22:42:34 +00:00
* Mon Jul 2 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.28-1
- Updated to 7.0.28
- Resolves: rhbz 820119 Remove bundled apache-commons-dbcp
- Resolves: rhbz 814900 Added tomcat-coyote POM
2018-02-09 08:06:26 +00:00
- Resolves: rhbz 810775 Remove systemv stuff from %%post scriptlet
2012-07-01 22:42:34 +00:00
- Remove redhat-lsb R
2012-04-08 22:04:25 +00:00
* Mon Apr 9 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.27-2
- Fixed native download hack
* Sat Apr 7 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.27-1
2012-04-07 20:39:19 +00:00
- Updated to 7.0.27
- Fixed jakarta-taglibs-standard BR and R
2012-03-21 16:15:10 +00:00
* Wed Mar 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:7.0.26-2
- Add more depmaps to J2EE apis to help jetty/glassfish updates
2012-03-14 20:16:59 +00:00
* Wed Mar 14 2012 Juan Hernandez <juan.hernandez@redhat.com> 0:7.0.26-2
- Added the POM files for tomcat-api and tomcat-util (#803495)
2012-02-22 17:16:21 +00:00
* Wed Feb 22 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.26-1
- Updated to 7.0.26
- Bug 790334: Change ownership of logdir for logrotate
2012-02-16 08:15:36 +00:00
* Thu Feb 16 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.25-4
- Bug 790694: Priorities of jsp, servlet and el packages updated.
2012-02-08 11:01:47 +00:00
* Wed Feb 8 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.25-3
- Dropped indirect dependecy to tomcat 5
2012-01-21 23:47:15 +00:00
* Sun Jan 22 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.25-2
- Added hack for maven depmap of tomcat-juli absolute link [ -f ] pass correctly
2012-01-21 21:52:19 +00:00
* Sat Jan 21 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.25-1
- Updated to 7.0.25
- Removed EntityResolver patch (changes already in upstream sources)
- Place poms and depmaps in the same package as jars
- Added javax.servlet.descriptor to export-package of servlet-api
- Move several chkconfig actions and reqs to systemv subpackage
- New maven depmaps generation method
2012-03-21 16:15:10 +00:00
- Add patch to support java7. (patch sent upstream).
2012-01-21 21:52:19 +00:00
- Require java >= 1:1.6.0
2012-01-21 18:46:52 +00:00
* Fri Jan 13 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.23-5
- Exported javax.servlet.* packages in version 3.0 as 2.6 to make
servlet-api compatible with Eclipse.
2012-01-21 21:52:19 +00:00
* Thu Jan 12 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.23-4
2012-01-11 22:58:04 +00:00
- Move jsvc support to subpackage
* Wed Jan 11 2012 Alexander Kurtakov <akurtako@redhat.com> 0:7.0.23-2
- Add EntityResolver setter patch to jasper for jetty's need. (patch sent upstream).
2012-01-11 21:55:49 +00:00
* Mon Dec 12 2011 Joseph D. Wagner <joe@josephdwagner.info> 0:7.0.23-3
2012-01-11 21:28:30 +00:00
- Added support to /usr/sbin/tomcat-sysd and /usr/sbin/tomcat for
starting 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. Must add USE_JSVC=" t r u e " to
/etc/tomcat/tomcat.conf or /etc/sysconfig/tomcat.
2011-11-28 17:30:16 +00:00
* Mon Nov 28 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.23-1
- Updated to 7.0.23
2011-11-10 21:48:56 +00:00
* Fri Nov 11 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.22-2
2012-03-21 16:15:10 +00:00
- Move tomcat-juli.jar to lib package
2011-11-10 21:48:56 +00:00
- Drop %%update_maven_depmap as in tomcat6
- Provide native systemd unit file ported from tomcat6
2011-10-05 21:06:06 +00:00
* Thu Oct 6 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.22-1
- Updated to 7.0.22
2011-10-03 20:07:17 +00:00
* Mon Oct 03 2011 Rex Dieter <rdieter@fedoraproject.org> - 0:7.0.21-3.1
- rebuild (java), rel-eng#4932
2011-09-26 17:37:13 +00:00
* Mon Sep 26 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.21-3
- Fix basedir mode
2011-09-22 20:35:12 +00:00
* Tue Sep 20 2011 Roland Grunberg <rgrunber@redhat.com> 0:7.0.21-2
- Add manifests for el-api, jasper-el, jasper, tomcat, and tomcat-juli.
2011-09-07 20:14:46 +00:00
* Thu Sep 8 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.21-1
- Updated to 7.0.21
2011-08-15 20:22:02 +00:00
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-3
- Require java = 1:1.6.0
2011-08-15 19:28:31 +00:00
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-2
- Require java < 1.7.0
2011-08-15 17:27:41 +00:00
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-1
- Updated to 7.0.20
2011-07-26 17:54:26 +00:00
* Tue Jul 26 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.19-1
- Updated to 7.0.19
2011-06-20 21:15:48 +00:00
* Tue Jun 21 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.16-1
- Updated to 7.0.16
2011-06-06 21:23:05 +00:00
* Mon Jun 6 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-3
- Added initial systemd service
2012-03-21 16:15:10 +00:00
- Fix some paths
2011-06-06 21:23:05 +00:00
2011-05-20 21:44:00 +00:00
* Sat May 21 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-2
- Fixed http source link
- Securify some permissions
- Added licenses for el-api and servlet-api
- Added dependency on jpackage-utils for the javadoc subpackage
* Sat May 14 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-1
2011-05-14 13:49:50 +00:00
- Updated to 7.0.14
2011-05-20 21:44:00 +00:00
* Thu May 5 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-4
2011-05-04 21:42:20 +00:00
- Provided local paths for libs
- Fixed dependencies
- Fixed update temp/work cleanup
2011-05-01 22:09:32 +00:00
* Mon May 2 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-3
- Fixed package groups
- Fixed some permissions
- Fixed some links
- Removed old tomcat6 crap
* Thu Apr 28 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-2
2011-04-28 05:35:45 +00:00
- Package now named just tomcat instead of tomcat7
2018-02-09 08:06:26 +00:00
- Removed Provides: %%{name} -log4j
2011-04-28 05:35:45 +00:00
- Switched to apache-commons-* names instead of jakarta-commons-* .
2012-03-21 16:15:10 +00:00
- Remove the old changelog
2011-04-28 05:35:45 +00:00
- BR/R java >= 1:1.6.0 , same for java-devel
- Removed old tomcat6 crap
2011-04-27 05:54:04 +00:00
* Wed Apr 27 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-1
- Tomcat7