|
|
3933c7e |
# Copyright (c) 2000-2007, JPackage Project
|
|
|
3933c7e |
# All rights reserved.
|
|
|
3933c7e |
#
|
|
|
3933c7e |
# Redistribution and use in source and binary forms, with or without
|
|
|
3933c7e |
# modification, are permitted provided that the following conditions
|
|
|
3933c7e |
# are met:
|
|
|
3933c7e |
#
|
|
|
3933c7e |
# 1. Redistributions of source code must retain the above copyright
|
|
|
3933c7e |
# notice, this list of conditions and the following disclaimer.
|
|
|
3933c7e |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
3933c7e |
# notice, this list of conditions and the following disclaimer in the
|
|
|
3933c7e |
# documentation and/or other materials provided with the
|
|
|
3933c7e |
# distribution.
|
|
|
3933c7e |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
3933c7e |
# contributors may be used to endorse or promote products derived
|
|
|
3933c7e |
# from this software without specific prior written permission.
|
|
|
3933c7e |
#
|
|
|
3933c7e |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
3933c7e |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
3933c7e |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
3933c7e |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
3933c7e |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
3933c7e |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
3933c7e |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
3933c7e |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
3933c7e |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
3933c7e |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
3933c7e |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
3933c7e |
#
|
|
|
3933c7e |
|
|
|
4d81b22 |
%global jettyname jetty
|
|
|
4d81b22 |
%global jtuid 110
|
|
|
4d81b22 |
%global username %{name}
|
|
|
4d81b22 |
%global confdir %{_sysconfdir}/%{name}
|
|
|
4d81b22 |
%global logdir %{_localstatedir}/log/%{name}
|
|
|
4d81b22 |
%global homedir %{_datadir}/%{name}
|
|
|
4d81b22 |
%global jettycachedir %{_localstatedir}/cache/%{name}
|
|
|
4d81b22 |
%global tempdir %{jettycachedir}/temp
|
|
|
4d81b22 |
%global rundir %{_localstatedir}/run/%{name}
|
|
|
4d81b22 |
%global jettylibdir %{_localstatedir}/lib/%{name}
|
|
|
4d81b22 |
%global appdir %{jettylibdir}/webapps
|
|
|
3933c7e |
|
|
|
a690da8 |
%global addver v20120716
|
|
Stanislav Ochotnicky |
08cb6fe |
|
|
|
adae728 |
# Conditionals to help breaking eclipse <-> jetty dependency cycle
|
|
|
adae728 |
# when bootstrapping for new architectures
|
|
|
8533c1c |
%if 0%{?fedora}
|
|
|
adae728 |
%bcond_without nosql
|
|
|
adae728 |
#%%bcond_without osgi
|
|
|
8533c1c |
%endif
|
|
|
8533c1c |
|
|
|
3933c7e |
Name: jetty
|
|
|
a690da8 |
Version: 8.1.5
|
|
Stanislav Ochotnicky |
6405e95 |
Release: 9%{?dist}
|
|
Stanislav Ochotnicky |
2c3ce1f |
Summary: Java Webserver and Servlet Container
|
|
|
3933c7e |
|
|
|
3933c7e |
Group: Applications/Internet
|
|
|
e40d73b |
# Jetty is dual licensed under both ASL 2.0 and EPL 1.0, see NOTICE.txt
|
|
|
e40d73b |
License: ASL 2.0 or EPL
|
|
|
3933c7e |
URL: http://jetty.mortbay.org/jetty/
|
|
Stanislav Ochotnicky |
08cb6fe |
Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/snapshot/jetty-%{version}.%{addver}.tar.bz2
|
|
Stanislav Ochotnicky |
2c3ce1f |
Source1: djetty.script
|
|
|
5dd50a3 |
Source3: jetty.logrotate
|
|
|
f0d798c |
Source4: %{name}-depmap.xml
|
|
Stanislav Ochotnicky |
d1e4b36 |
Source5: %{name}.service
|
|
|
aaf8790 |
Patch0: %{name}-create-work-dir.patch
|
|
Stanislav Ochotnicky |
ca4ad73 |
Patch4: 0004-Modify-dependencies.patch
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: geronimo-annotation
|
|
|
fbd55be |
BuildRequires: geronimo-jaspic-spec
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: geronimo-jta
|
|
|
0b7fe35 |
BuildRequires: glassfish-jsp
|
|
|
0b7fe35 |
BuildRequires: glassfish-jsp-api
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: jakarta-taglibs-standard
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: java-devel >= 1:1.7.0
|
|
|
a84f62a |
BuildRequires: jpackage-utils
|
|
Stanislav Ochotnicky |
60e765b |
BuildRequires: javapackages-tools >= 0.7.0
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: jvnet-parent
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: maven
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: maven-dependency-plugin
|
|
|
fbd55be |
BuildRequires: maven-enforcer-plugin
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: maven-war-plugin
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: objectweb-asm
|
|
|
a84f62a |
BuildRequires: slf4j
|
|
Stanislav Ochotnicky |
d1e4b36 |
BuildRequires: systemd-units
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: tomcat-el-2.2-api
|
|
Stanislav Ochotnicky |
ca4ad73 |
BuildRequires: tomcat-jsp-2.2-api
|
|
|
fbd55be |
BuildRequires: tomcat-lib
|
|
|
fbd55be |
BuildRequires: tomcat-servlet-3.0-api
|
|
Stanislav Ochotnicky |
ca4ad73 |
|
|
|
8533c1c |
%if %{with osgi}
|
|
|
a84f62a |
BuildRequires: eclipse-platform
|
|
|
a84f62a |
BuildRequires: eclipse-rcp
|
|
|
8533c1c |
%endif
|
|
|
8533c1c |
%if %{with nosql}
|
|
|
41d2bc1 |
BuildRequires: mongo-java-driver >= 2.6.5-4
|
|
|
a84f62a |
%endif
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# we want javamail not classpathx-javamail
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: %{_javadir}/javamail/mail.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-parent
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-distribution-remote-resources
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-build-support
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-version-maven-plugin
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-toolchain
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-assembly-descriptors
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-test-policy
|
|
Stanislav Ochotnicky |
2c3ce1f |
BuildRequires: jetty-artifact-remote-resources
|
|
Stanislav Ochotnicky |
ca4ad73 |
|
|
|
3933c7e |
|
|
|
3933c7e |
BuildArch: noarch
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-ajp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-annotations = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-client = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-continuation = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-deploy = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jmx = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jndi = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-overlay-deployer = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-plus = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-policy = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-rewrite = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlets = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-websocket = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
Stanislav Ochotnicky |
b385b03 |
# These are not required by main jetty server so we don't require them
|
|
|
a690da8 |
# in RPM. Install as necessary:
|
|
|
a690da8 |
# * jetty-http-spi
|
|
|
a690da8 |
# * jetty-jaspi
|
|
|
a690da8 |
# * jetty-nested
|
|
|
a690da8 |
# * jetty-nosql
|
|
|
a690da8 |
# * jetty-osgi
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
15104e6 |
Requires(pre): shadow-utils
|
|
|
c0d6d44 |
Requires(post): systemd-units, systemd-sysv
|
|
|
c0d6d44 |
Requires(preun): systemd-units
|
|
|
c0d6d44 |
Requires(postun): systemd-units
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
Provides: group(%username) = %jtuid
|
|
|
a84f62a |
Provides: user(%username) = %jtuid
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
Obsoletes: %{name}-manual < %{version}-%{release}
|
|
|
3933c7e |
|
|
|
3933c7e |
%description
|
|
|
a84f62a |
%global desc \
|
|
|
a84f62a |
Jetty is a 100% Java HTTP Server and Servlet Container. This means that you\
|
|
|
a84f62a |
do not need to configure and run a separate web server (like Apache) in order\
|
|
|
a84f62a |
to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully\
|
|
|
a84f62a |
featured web server for static and dynamic content. Unlike separate\
|
|
|
a84f62a |
server/container solutions, this means that your web server and web\
|
|
|
a84f62a |
application run in the same process, without interconnection overheads\
|
|
|
a84f62a |
and complications. Furthermore, as a pure java component, Jetty can be simply\
|
|
|
a84f62a |
included in your application for demonstration, distribution or deployment.\
|
|
|
a84f62a |
Jetty is available on all Java supported platforms.
|
|
|
a84f62a |
%{desc}
|
|
|
a84f62a |
%global extdesc %{desc}\
|
|
|
a84f62a |
\
|
|
|
a84f62a |
This package contains
|
|
|
a84f62a |
|
|
|
a84f62a |
%package project
|
|
|
a84f62a |
Summary: POM files for Jetty
|
|
|
a84f62a |
Group: Development/Libraries
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
a84f62a |
Requires: jetty-parent
|
|
|
a84f62a |
|
|
|
a84f62a |
%description project
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package ajp
|
|
|
a84f62a |
Summary: ajp module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
%description ajp
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package annotations
|
|
|
a84f62a |
Summary: annotations module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-plus = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
a84f62a |
Requires: objectweb-asm
|
|
|
a84f62a |
Requires: geronimo-annotation
|
|
|
a84f62a |
Requires: tomcat-lib
|
|
|
a84f62a |
%description annotations
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package client
|
|
|
a84f62a |
Summary: client module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description client
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package continuation
|
|
|
a84f62a |
Summary: continuation module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
%description continuation
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package deploy
|
|
|
a84f62a |
Summary: deploy module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jmx = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description deploy
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package http
|
|
|
a84f62a |
Summary: http module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
%description http
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package http-spi
|
|
|
a84f62a |
Summary: http-spi module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description http-spi
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package io
|
|
|
a84f62a |
Summary: io module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description io
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package jaspi
|
|
|
a84f62a |
Summary: jaspi module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: geronimo-jaspic-spec
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description jaspi
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package jmx
|
|
|
a84f62a |
Summary: jmx module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description jmx
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package jndi
|
|
|
a84f62a |
Summary: jndi module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
a84f62a |
Requires: %{_javadir}/javamail/mail.jar
|
|
|
a84f62a |
|
|
|
a84f62a |
%description jndi
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package monitor
|
|
|
a84f62a |
Summary: monitor module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-client = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description monitor
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package nested
|
|
|
a84f62a |
Summary: nested module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description nested
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package overlay-deployer
|
|
|
a84f62a |
Summary: overlay-deployer module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-deploy = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jndi = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
a84f62a |
Requires: geronimo-jta
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description overlay-deployer
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package plus
|
|
|
a84f62a |
Summary: plus module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jndi = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description plus
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package policy
|
|
|
a84f62a |
Summary: policy module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description policy
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package rewrite
|
|
|
a84f62a |
Summary: rewrite module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-client = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description rewrite
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package security
|
|
|
a84f62a |
Summary: security module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description security
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package server
|
|
|
a84f62a |
Summary: server module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
Stanislav Ochotnicky |
b385b03 |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-continuation = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jmx = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description server
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package servlet
|
|
|
a84f62a |
Summary: servlet module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-continuation = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-jmx = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description servlet
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package servlets
|
|
|
a84f62a |
Summary: servlets module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-client = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-continuation = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description servlets
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package util
|
|
|
a84f62a |
Summary: util module for Jetty
|
|
|
e40d73b |
# Utf8Appendable.java is additionally under MIT license
|
|
|
e40d73b |
License: (ASL 2.0 or EPL) and MIT
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
Requires: slf4j
|
|
|
a84f62a |
|
|
|
a84f62a |
%description util
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package webapp
|
|
|
a84f62a |
Summary: webapp module for Jetty
|
|
|
e40d73b |
License: ASL 2.0 or EPL
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-security = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
5d5a136 |
Requires: glassfish-jsp
|
|
|
5d5a136 |
Requires: glassfish-jsp-api
|
|
|
a84f62a |
Requires: jakarta-taglibs-standard
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description webapp
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package websocket
|
|
|
a84f62a |
Summary: websocket module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-http = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-io = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
|
|
|
a84f62a |
%description websocket
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
a84f62a |
%package xml
|
|
|
a84f62a |
Summary: xml module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
a84f62a |
|
|
|
a84f62a |
%description xml
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
|
|
|
8533c1c |
%if %{with nosql}
|
|
|
41d2bc1 |
%package nosql
|
|
|
41d2bc1 |
Summary: nosql module for Jetty
|
|
|
41d2bc1 |
Requires: java >= 1:1.7.0
|
|
|
41d2bc1 |
Requires: jpackage-utils
|
|
|
41d2bc1 |
Requires: jetty-project = %{version}-%{release}
|
|
|
41d2bc1 |
Requires: jetty-server = %{version}-%{release}
|
|
|
41d2bc1 |
Requires: jetty-util = %{version}-%{release}
|
|
|
41d2bc1 |
Requires: mongo-java-driver >= 2.6.5-4
|
|
|
41d2bc1 |
Requires: tomcat-servlet-3.0-api
|
|
|
41d2bc1 |
|
|
|
41d2bc1 |
%description nosql
|
|
|
41d2bc1 |
%{extdesc} %{summary}.
|
|
|
8533c1c |
%endif
|
|
|
41d2bc1 |
|
|
|
8533c1c |
%if %{with osgi}
|
|
|
a84f62a |
%package osgi
|
|
|
a84f62a |
Summary: OSGi module for Jetty
|
|
|
a84f62a |
Requires: java >= 1:1.7.0
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
61f083d |
Requires: jetty-project = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-annotations = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-deploy = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-nested = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-server = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-servlet = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-util = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-webapp = %{version}-%{release}
|
|
|
61f083d |
Requires: jetty-xml = %{version}-%{release}
|
|
|
a84f62a |
Requires: eclipse-platform
|
|
|
a84f62a |
Requires: eclipse-rcp
|
|
Stanislav Ochotnicky |
ca4ad73 |
Requires: glassfish-jsp
|
|
Stanislav Ochotnicky |
ca4ad73 |
Requires: glassfish-jsp-api
|
|
|
a84f62a |
Requires: tomcat-servlet-3.0-api
|
|
|
a84f62a |
Requires: tomcat-el-2.2-api
|
|
|
a84f62a |
Requires: tomcat-jsp-2.2-api
|
|
|
a84f62a |
Requires: tomcat-lib
|
|
|
a84f62a |
|
|
|
a84f62a |
%description osgi
|
|
|
a84f62a |
%{extdesc} %{summary}.
|
|
|
a84f62a |
%endif
|
|
|
3933c7e |
|
|
|
3933c7e |
%package javadoc
|
|
|
3933c7e |
Summary: Javadoc for %{name}
|
|
|
3933c7e |
Group: Documentation
|
|
|
e40d73b |
# some MIT-licensed code (from Utf8Appendable) is used to generate javadoc
|
|
|
e40d73b |
License: (ASL 2.0 or EPL) and MIT
|
|
|
a84f62a |
Requires: jpackage-utils
|
|
|
3933c7e |
|
|
|
3933c7e |
%description javadoc
|
|
Stanislav Ochotnicky |
ca4ad73 |
%{summary}.
|
|
|
3933c7e |
|
|
|
3933c7e |
%prep
|
|
Stanislav Ochotnicky |
08cb6fe |
%setup -q -n %{jettyname}-%{version}.%{addver}
|
|
|
3933c7e |
for f in $(find . -name "*.?ar"); do rm $f; done
|
|
|
3933c7e |
find . -name "*.class" -exec rm {} \;
|
|
|
3933c7e |
|
|
|
aaf8790 |
%patch0 -p2 -b .sav
|
|
Stanislav Ochotnicky |
2c3ce1f |
%patch4 -p1 -b .sav
|
|
|
8a1ab65 |
|
|
|
8a1ab65 |
# Remove javadoc execution
|
|
|
8a1ab65 |
# We generate javadoc as a separate step
|
|
|
8a1ab65 |
%pom_remove_plugin :maven-javadoc-plugin jetty-aggregate/jetty-all
|
|
|
8a1ab65 |
%pom_remove_dep :jetty-all jetty-distribution
|
|
|
8a1ab65 |
|
|
|
8a1ab65 |
# Disable test artifacts
|
|
|
8a1ab65 |
# they need more dependencies then we have time for right now :-)
|
|
|
8a1ab65 |
%pom_disable_module tests
|
|
|
8a1ab65 |
%pom_disable_module test-continuation
|
|
|
8a1ab65 |
%pom_disable_module test-jetty-nested
|
|
|
8a1ab65 |
%pom_disable_module test-jetty-servlet
|
|
|
8a1ab65 |
%pom_disable_module test-jetty-osgi jetty-osgi
|
|
|
8a1ab65 |
|
|
|
8a1ab65 |
# Change servelt groupId to javax.servlet
|
|
|
8a1ab65 |
%pom_xpath_inject "pom:project/pom:properties" "
|
|
|
8a1ab65 |
<servlet.spec.groupId>javax.servlet</servlet.spec.groupId>
|
|
|
8a1ab65 |
<servlet.spec.artifactId>servlet-api</servlet.spec.artifactId>
|
|
|
8a1ab65 |
<servlet.spec.version>3.0.20100224</servlet.spec.version>"
|
|
|
8a1ab65 |
|
|
|
8a1ab65 |
# Prevents problem with "Reporting mojo's can only be called from
|
|
|
8a1ab65 |
# ReportDocumentRender". Investigate proper fix some other time?
|
|
|
8a1ab65 |
%pom_remove_plugin :maven-pmd-plugin
|
|
|
8a1ab65 |
|
|
|
8a1ab65 |
# Remove unpack-config-deps from distribution
|
|
|
8a1ab65 |
#
|
|
|
8a1ab65 |
# This is needed because original code used classifiers to select subset
|
|
|
8a1ab65 |
# of artifacts. Unfortunately there seems to be a weird bug affecting even
|
|
|
8a1ab65 |
# upstream maven when this goes outside of reactor resolver. Or perhaps
|
|
|
8a1ab65 |
# this is a weird feature.
|
|
|
8a1ab65 |
#
|
|
|
8a1ab65 |
# Our resolver obviously can't handle this so we have to unpack these
|
|
|
8a1ab65 |
# manually before building distribution
|
|
|
8a1ab65 |
%pom_xpath_remove "pom:execution[pom:id[text()='unpack-config-deps']]" jetty-distribution
|
|
|
8ccec3e |
|
|
|
1f65d1c |
# Disable SPDY for now as there are missing dependencies
|
|
|
1f65d1c |
# (like some TLS extensions for OpenJDK)
|
|
|
1f65d1c |
%pom_disable_module jetty-spdy
|
|
|
1f65d1c |
%pom_remove_dep org.eclipse.jetty.spdy: jetty-distribution
|
|
|
1f65d1c |
%pom_xpath_remove "pom:execution[pom:id[text()='copy-spdy']]" jetty-distribution
|
|
|
1f65d1c |
|
|
|
8c493e8 |
# Disable OSGi
|
|
|
8533c1c |
%if %{without osgi}
|
|
|
8c493e8 |
%pom_disable_module jetty-osgi
|
|
|
8c493e8 |
%pom_xpath_remove "pom:profile[pom:id[text()='osgi']]"
|
|
|
8533c1c |
%endif
|
|
|
8c493e8 |
|
|
|
8c493e8 |
# Disable NoSQL
|
|
|
8533c1c |
%if %{without nosql}
|
|
|
8c493e8 |
%pom_disable_module jetty-nosql
|
|
|
8c493e8 |
%endif
|
|
|
8c493e8 |
|
|
|
8a1ab65 |
# Use Glassfish JSP
|
|
|
8a1ab65 |
%pom_remove_dep :org.eclipse.jdt.core jetty-jsp
|
|
|
8a1ab65 |
%pom_xpath_inject "pom:project/pom:dependencies" "
|
|
|
8a1ab65 |
<dependency>
|
|
|
8a1ab65 |
<groupId>org.glassfish.web</groupId>
|
|
|
8a1ab65 |
<artifactId>javax.servlet.jsp</artifactId>
|
|
|
8a1ab65 |
<version>any</version>
|
|
|
8a1ab65 |
</dependency>" jetty-jsp
|
|
|
8a1ab65 |
|
|
|
e827bdd |
cp %{SOURCE1} djetty
|
|
|
e827bdd |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# this needs jetty6 things, so just remove it
|
|
Stanislav Ochotnicky |
2c3ce1f |
# shouldn't cause any trouble since it handled only in loadClass elsewhere
|
|
Stanislav Ochotnicky |
2c3ce1f |
rm jetty-continuation/src/main/java/org/eclipse/jetty/continuation/Jetty6Continuation.java
|
|
|
3933c7e |
|
|
Stanislav Ochotnicky |
2c3ce1f |
iconv -f iso-8859-1 -t utf-8 LICENSE-CONTRIBUTOR/CDDLv1.0.txt > \
|
|
Stanislav Ochotnicky |
2c3ce1f |
LICENSE-CONTRIBUTOR/CDDLv1.0.txt.con
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv LICENSE-CONTRIBUTOR/CDDLv1.0.txt{.con,}
|
|
|
f0d798c |
|
|
|
26da737 |
%build
|
|
|
a690da8 |
: rm -rf ./*
|
|
|
a690da8 |
: ln -sf ~/temp/jetty/jetty-8.1.0.%{addver}.copy/* .
|
|
|
a690da8 |
: exit 0
|
|
Stanislav Ochotnicky |
ca4ad73 |
# remove previous lines!
|
|
|
e827bdd |
sed -i -e "s|/usr/share|%{_datadir}|g" djetty
|
|
|
f0d798c |
|
|
Stanislav Ochotnicky |
ca4ad73 |
mvn-rpmbuild -e \
|
|
Stanislav Ochotnicky |
ca4ad73 |
-Dmaven.local.depmap.file=%{SOURCE4} \
|
|
Stanislav Ochotnicky |
ca4ad73 |
-Dmaven.test.skip=true \
|
|
Stanislav Ochotnicky |
ca4ad73 |
install javadoc:aggregate
|
|
Stanislav Ochotnicky |
ca4ad73 |
cd jetty-distribution
|
|
Stanislav Ochotnicky |
ca4ad73 |
rm -rf target/distribution
|
|
Stanislav Ochotnicky |
ca4ad73 |
mkdir -p target/distribution
|
|
Stanislav Ochotnicky |
ca4ad73 |
find .. -ipath '*target/*config.jar' | ( while read; do
|
|
Stanislav Ochotnicky |
ca4ad73 |
unzip $REPLY -x 'META-INF/*' -d target/distribution
|
|
Stanislav Ochotnicky |
ca4ad73 |
done)
|
|
Stanislav Ochotnicky |
ca4ad73 |
|
|
Stanislav Ochotnicky |
ca4ad73 |
mvn-rpmbuild \
|
|
Stanislav Ochotnicky |
ca4ad73 |
-Dmaven.repo.local=$(pwd)/../.m2 \
|
|
|
d45248b |
-Dmaven.local.depmap.file=%{SOURCE4} \
|
|
|
f0d798c |
-Dmaven.test.skip=true \
|
|
Stanislav Ochotnicky |
2c3ce1f |
install javadoc:aggregate
|
|
|
3933c7e |
|
|
|
3933c7e |
%install
|
|
|
3933c7e |
# dirs
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_bindir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_sysconfdir}/logrotate.d
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_javadir}/%{name}
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{confdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{homedir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{logdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{rundir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{tempdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{appdir}
|
|
Stanislav Ochotnicky |
d1e4b36 |
install -dm 755 %{buildroot}%{_unitdir}
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
Stanislav Ochotnicky |
d1e4b36 |
# systemd unit file
|
|
Stanislav Ochotnicky |
d1e4b36 |
cp %{SOURCE5} %{buildroot}%{_unitdir}/
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
|
3933c7e |
# main pkg
|
|
Stanislav Ochotnicky |
08cb6fe |
tar xvf jetty-distribution/target/%{name}-distribution-%{version}.%{addver}.tar.gz -C %{buildroot}%{homedir}
|
|
Stanislav Ochotnicky |
08cb6fe |
mv %{buildroot}%{homedir}/%{name}-distribution-%{version}.%{addver}/* %{buildroot}%{homedir}/
|
|
Stanislav Ochotnicky |
ca4ad73 |
rm -rf %{buildroot}%{homedir}/%{name}-distribution-%{version}.%{addver}
|
|
|
360edda |
rm -f %{buildroot}%{homedir}/bin/*cygwin*
|
|
|
f0d798c |
|
|
Stanislav Ochotnicky |
2c3ce1f |
chmod +x %{buildroot}%{homedir}/bin/jetty-xinetd.sh
|
|
|
e827bdd |
chmod +x djetty
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv djetty %{buildroot}%{_bindir}/djetty
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{homedir}/bin/jetty.sh %{buildroot}%{_bindir}/%{name}
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
|
Stanislav Ochotnicky |
2c3ce1f |
echo '# Placeholder configuration file. No default is provided.' > \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{confdir}/jetty.conf
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
b385b03 |
# make sure jetty knows where to look for jars
|
|
Stanislav Ochotnicky |
b385b03 |
sed -i "1{s:^:lib=%{homedir}/lib\n:}" %{buildroot}%{homedir}/start.ini
|
|
|
facae74 |
mv %{buildroot}%{homedir}/start.ini %{buildroot}%{confdir}
|
|
|
54abf50 |
ln -s %{confdir}/start.ini %{buildroot}%{homedir}
|
|
Stanislav Ochotnicky |
b385b03 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_mavenpomdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
for module in jetty-ajp jetty-annotations jetty-client jetty-continuation \
|
|
Stanislav Ochotnicky |
2c3ce1f |
jetty-deploy jetty-http jetty-io jetty-jmx jetty-jndi \
|
|
Stanislav Ochotnicky |
2c3ce1f |
jetty-overlay-deployer jetty-plus jetty-policy \
|
|
Stanislav Ochotnicky |
2c3ce1f |
jetty-rewrite jetty-security jetty-server jetty-servlet \
|
|
Stanislav Ochotnicky |
2c3ce1f |
jetty-servlets jetty-util jetty-webapp jetty-websocket \
|
|
Stanislav Ochotnicky |
2c3ce1f |
jetty-xml; do
|
|
Stanislav Ochotnicky |
ca4ad73 |
mv %{buildroot}%{homedir}/lib/$module-*.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/$module.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{_javadir}/%{name}/$module.jar \
|
|
Stanislav Ochotnicky |
08cb6fe |
%{buildroot}%{homedir}/lib/$module-%{version}.%{addver}.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 $module/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$module.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar -f $module
|
|
Stanislav Ochotnicky |
2c3ce1f |
done
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# modules used during build and other jars not included in the
|
|
Stanislav Ochotnicky |
2c3ce1f |
# distribution tarball
|
|
|
51a3eaf |
for module in jetty-http-spi jetty-jaspi jetty-nested; do
|
|
|
a84f62a |
install -m 644 $module/target/$module-%{version}.%{addver}.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/$module.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 $module/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$module.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar -f $module
|
|
Stanislav Ochotnicky |
2c3ce1f |
done
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
8533c1c |
%if %{with nosql}
|
|
|
51a3eaf |
install -m 644 jetty-nosql/target/jetty-nosql-%{version}.%{addver}.jar \
|
|
|
51a3eaf |
%{buildroot}%{_javadir}/%{name}/jetty-nosql.jar
|
|
|
51a3eaf |
install -pm 644 jetty-nosql/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-jetty-nosql.pom
|
|
|
51a3eaf |
%add_maven_depmap JPP.%{name}-jetty-nosql.pom %{name}/jetty-nosql.jar -f jetty-nosql
|
|
|
8533c1c |
%endif
|
|
|
51a3eaf |
|
|
|
8533c1c |
%if %{with osgi}
|
|
Stanislav Ochotnicky |
2c3ce1f |
pushd jetty-osgi
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-jetty-osgi.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-jetty-osgi.pom -f jetty-osgi
|
|
Stanislav Ochotnicky |
2c3ce1f |
for submod in boot boot-jsp boot-warurl;do
|
|
Stanislav Ochotnicky |
2c3ce1f |
module=jetty-osgi-$submod
|
|
|
a84f62a |
install -m 644 $module/target/$module-%{version}.%{addver}.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/$module.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 $module/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$module.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar -f jetty-osgi
|
|
Stanislav Ochotnicky |
2c3ce1f |
done
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
#httpservice is a bit special (for no good reason)
|
|
Stanislav Ochotnicky |
2c3ce1f |
module=jetty-httpservice
|
|
|
a84f62a |
install -m 644 jetty-osgi-httpservice/target/$module-%{version}.%{addver}.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/$module.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 jetty-osgi-httpservice/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$module.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar -f jetty-osgi
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
popd
|
|
|
a84f62a |
%endif
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-project.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-project.pom -f project
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
ca4ad73 |
# purge bundled jars
|
|
Stanislav Ochotnicky |
ca4ad73 |
rm %{buildroot}%{homedir}/lib/{annotations,jndi,jsp,jta}/*
|
|
Stanislav Ochotnicky |
ca4ad73 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# recreat tarball structure in lib
|
|
Stanislav Ochotnicky |
d1e4b36 |
ln -sf $(build-classpath tomcat-servlet-3.0-api) \
|
|
Stanislav Ochotnicky |
d1e4b36 |
%{buildroot}%{homedir}/lib/servlet-api-3.0.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
d1e4b36 |
build-jar-repository %{buildroot}%{homedir}/lib/annotations \
|
|
Stanislav Ochotnicky |
d1e4b36 |
objectweb-asm/asm-all geronimo-annotation
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
d1e4b36 |
build-jar-repository %{buildroot}%{homedir}/lib/jndi javamail/mail
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
Stanislav Ochotnicky |
b385b03 |
build-jar-repository %{buildroot}%{homedir}/lib/jsp tomcat-el-2.2-api \
|
|
Stanislav Ochotnicky |
ca4ad73 |
taglibs-core taglibs-standard glassfish-jsp \
|
|
Stanislav Ochotnicky |
b385b03 |
glassfish-jsp-api tomcat/jasper tomcat/jasper-el tomcat/tomcat-api \
|
|
Stanislav Ochotnicky |
b385b03 |
tomcat/tomcat-juli tomcat/tomcat-jsp-2.2-api
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -sf $(build-classpath geronimo-jta) \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{homedir}/lib/jta/
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
08cb6fe |
mv %{buildroot}%{homedir}/lib/monitor/jetty-monitor-%{version}.%{addver}.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/jetty-monitor.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{_javadir}/%{name}/jetty-monitor.jar \
|
|
Stanislav Ochotnicky |
08cb6fe |
%{buildroot}%{homedir}/lib/monitor/jetty-monitor-%{version}.%{addver}.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 jetty-monitor/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-jetty-monitor.pom
|
|
|
a84f62a |
%add_maven_depmap JPP.%{name}-jetty-monitor.pom %{name}/jetty-monitor.jar -f jetty-monitor
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv %{buildroot}%{homedir}/start.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{_javadir}/%{name}/jetty-start.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{_javadir}/%{name}/jetty-start.jar \
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{buildroot}%{homedir}/start.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -pm 644 jetty-start/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-jetty-start.pom
|
|
Stanislav Ochotnicky |
2c3ce1f |
%add_maven_depmap JPP.%{name}-jetty-start.pom %{name}/jetty-start.jar
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
3933c7e |
( cat << EO_RC
|
|
|
3933c7e |
JAVA_HOME=/usr/lib/jvm/java
|
|
|
3933c7e |
JAVA_OPTIONS=
|
|
|
3933c7e |
JETTY_HOME=%{homedir}
|
|
|
3933c7e |
JETTY_CONSOLE=%{logdir}/jetty-console.log
|
|
|
3933c7e |
JETTY_PORT=8080
|
|
|
3933c7e |
JETTY_RUN=%{_localstatedir}/run/%{name}
|
|
|
3933c7e |
JETTY_PID=\$JETTY_RUN/jetty.pid
|
|
|
3933c7e |
EO_RC
|
|
Stanislav Ochotnicky |
2c3ce1f |
) > %{buildroot}%{homedir}/.jettyrc
|
|
|
90ae892 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
|
|
Stanislav Ochotnicky |
2c3ce1f |
( cat << EOF
|
|
Stanislav Ochotnicky |
2c3ce1f |
D /var/run/%{name} 0755 %username %{username} -
|
|
Stanislav Ochotnicky |
2c3ce1f |
EOF
|
|
Stanislav Ochotnicky |
2c3ce1f |
) > %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
|
|
90ae892 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
rm -fr %{buildroot}%{homedir}/logs
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{logdir} %{buildroot}%{homedir}/logs
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv %{buildroot}%{homedir}/etc/* %{buildroot}/%{confdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
rm -fr %{buildroot}%{homedir}/etc
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{confdir} %{buildroot}%{homedir}/etc
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv %{buildroot}%{homedir}/webapps/* %{buildroot}/%{appdir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
rm -fr %{buildroot}%{homedir}/webapps
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{appdir} %{buildroot}%{homedir}/webapps
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
2c3ce1f |
rm %{buildroot}%{homedir}/*.txt %{buildroot}%{homedir}/*.html
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
7dde330 |
# Here jetty is going to put its runtime data.
|
|
|
7dde330 |
# See: https://bugzilla.redhat.com/show_bug.cgi?id=845993
|
|
|
7dde330 |
ln -sf %{rundir} %{buildroot}%{homedir}/work
|
|
|
7dde330 |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# following seem like config directories
|
|
Stanislav Ochotnicky |
518967e |
for cdir in overlays;do
|
|
Stanislav Ochotnicky |
2c3ce1f |
mv %{buildroot}%{homedir}/$cdir %{buildroot}/%{confdir}/$cdir
|
|
Stanislav Ochotnicky |
2c3ce1f |
ln -s %{confdir}/$cdir %{buildroot}%{homedir}/$cdir
|
|
Stanislav Ochotnicky |
2c3ce1f |
done
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
Stanislav Ochotnicky |
518967e |
# this should be symlinked the other way around but rpm doesn't let us
|
|
Stanislav Ochotnicky |
518967e |
# do that! BAD BAD rpm
|
|
Stanislav Ochotnicky |
518967e |
# https://bugzilla.redhat.com/show_bug.cgi?id=447156
|
|
Stanislav Ochotnicky |
518967e |
for cdir in contexts contexts-available resources;do
|
|
Stanislav Ochotnicky |
518967e |
ln -sf %{homedir}/$cdir %{buildroot}/%{confdir}/$cdir
|
|
Stanislav Ochotnicky |
518967e |
done
|
|
Stanislav Ochotnicky |
518967e |
|
|
Stanislav Ochotnicky |
2c3ce1f |
# javadocs
|
|
Stanislav Ochotnicky |
2c3ce1f |
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
|
Stanislav Ochotnicky |
2c3ce1f |
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
|
|
90ae892 |
|
|
|
90ae892 |
|
|
|
3933c7e |
%pre
|
|
|
3933c7e |
# Add the "jetty" user and group
|
|
|
c97f34c |
getent group %username &>/dev/null || groupadd -r -g %jtuid %username || :
|
|
|
c97f34c |
getent passwd %username &>/dev/null || useradd -r -u %jtuid -g %username \
|
|
|
c97f34c |
-d %homedir -M -s /sbin/nologin %username || :
|
|
|
3933c7e |
|
|
|
3933c7e |
%post
|
|
|
1806663 |
%systemd_post jetty.service
|
|
|
c0d6d44 |
|
|
|
c0d6d44 |
%preun
|
|
|
1806663 |
%systemd_preun jetty.service
|
|
|
3933c7e |
|
|
|
3933c7e |
%postun
|
|
|
1806663 |
%systemd_postun_with_restart jetty.service
|
|
|
3933c7e |
|
|
|
3933c7e |
|
|
Stanislav Ochotnicky |
d1e4b36 |
%triggerun -- jetty < 8.1.0-3
|
|
Stanislav Ochotnicky |
d1e4b36 |
# Save the current service runlevel info
|
|
Stanislav Ochotnicky |
d1e4b36 |
# User must manually run systemd-sysv-convert --apply httpd
|
|
Stanislav Ochotnicky |
d1e4b36 |
# to migrate them to systemd targets
|
|
Stanislav Ochotnicky |
d1e4b36 |
/usr/bin/systemd-sysv-convert --save jetty >/dev/null 2>&1 ||:
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
Stanislav Ochotnicky |
d1e4b36 |
# Run these because the SysV package being removed won't do them
|
|
Stanislav Ochotnicky |
d1e4b36 |
/sbin/chkconfig --del jetty >/dev/null 2>&1 || :
|
|
Stanislav Ochotnicky |
d1e4b36 |
/bin/systemctl try-restart jetty.service >/dev/null 2>&1 || :
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
|
3933c7e |
|
|
Stanislav Ochotnicky |
6405e95 |
%files -f .mfiles
|
|
Stanislav Ochotnicky |
2c3ce1f |
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
|
|
Stanislav Ochotnicky |
2c3ce1f |
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/logrotate.d/%{name}
|
|
|
3933c7e |
%{_bindir}/*
|
|
|
3933c7e |
%config(noreplace) %{confdir}
|
|
|
efa573d |
%dir %{jettylibdir}
|
|
|
efa573d |
%dir %{jettycachedir}
|
|
|
f0d798c |
%{homedir}
|
|
|
3933c7e |
%attr(755, jetty, jetty) %{logdir}
|
|
|
3933c7e |
%attr(755, jetty, jetty) %{tempdir}
|
|
Stanislav Ochotnicky |
f3b4e98 |
%ghost %dir %attr(755, jetty, jetty) %{rundir}
|
|
Stanislav Ochotnicky |
2c3ce1f |
%{appdir}
|
|
Stanislav Ochotnicky |
d1e4b36 |
%{_unitdir}/%{name}.service
|
|
|
a84f62a |
|
|
Stanislav Ochotnicky |
6405e95 |
%files project -f .mfiles-project
|
|
|
1e7b3b2 |
%doc NOTICE.txt README.txt VERSION.txt LICENSE*
|
|
|
a84f62a |
%dir %{_javadir}/%{name}
|
|
Stanislav Ochotnicky |
6405e95 |
|
|
Stanislav Ochotnicky |
6405e95 |
%files ajp -f .mfiles-jetty-ajp
|
|
Stanislav Ochotnicky |
6405e95 |
%files annotations -f .mfiles-jetty-annotations
|
|
Stanislav Ochotnicky |
6405e95 |
%files client -f .mfiles-jetty-client
|
|
Stanislav Ochotnicky |
6405e95 |
%files continuation -f .mfiles-jetty-continuation
|
|
Stanislav Ochotnicky |
6405e95 |
%files deploy -f .mfiles-jetty-deploy
|
|
Stanislav Ochotnicky |
6405e95 |
%files http -f .mfiles-jetty-http
|
|
Stanislav Ochotnicky |
6405e95 |
%files http-spi -f .mfiles-jetty-http-spi
|
|
Stanislav Ochotnicky |
6405e95 |
%files io -f .mfiles-jetty-io
|
|
Stanislav Ochotnicky |
6405e95 |
%files jaspi -f .mfiles-jetty-jaspi
|
|
Stanislav Ochotnicky |
6405e95 |
%files jmx -f .mfiles-jetty-jmx
|
|
Stanislav Ochotnicky |
6405e95 |
%files jndi -f .mfiles-jetty-jndi
|
|
Stanislav Ochotnicky |
6405e95 |
%files monitor -f .mfiles-jetty-monitor
|
|
Stanislav Ochotnicky |
6405e95 |
%files nested -f .mfiles-jetty-nested
|
|
Stanislav Ochotnicky |
6405e95 |
%files overlay-deployer -f .mfiles-jetty-overlay-deployer
|
|
Stanislav Ochotnicky |
6405e95 |
%files plus -f .mfiles-jetty-plus
|
|
Stanislav Ochotnicky |
6405e95 |
%files policy -f .mfiles-jetty-policy
|
|
Stanislav Ochotnicky |
6405e95 |
%files rewrite -f .mfiles-jetty-rewrite
|
|
Stanislav Ochotnicky |
6405e95 |
%files security -f .mfiles-jetty-security
|
|
Stanislav Ochotnicky |
6405e95 |
%files server -f .mfiles-jetty-server
|
|
Stanislav Ochotnicky |
6405e95 |
%files servlet -f .mfiles-jetty-servlet
|
|
Stanislav Ochotnicky |
6405e95 |
%files servlets -f .mfiles-jetty-servlets
|
|
Stanislav Ochotnicky |
6405e95 |
%files util -f .mfiles-jetty-util
|
|
Stanislav Ochotnicky |
6405e95 |
%files webapp -f .mfiles-jetty-webapp
|
|
Stanislav Ochotnicky |
6405e95 |
%files websocket -f .mfiles-jetty-websocket
|
|
Stanislav Ochotnicky |
6405e95 |
%files xml -f .mfiles-jetty-xml
|
|
|
a84f62a |
|
|
|
8533c1c |
%if %{with nosql}
|
|
Stanislav Ochotnicky |
6405e95 |
%files nosql -f .mfiles-jetty-nosql
|
|
|
8533c1c |
%endif
|
|
|
41d2bc1 |
|
|
|
8533c1c |
%if %{with osgi}
|
|
Stanislav Ochotnicky |
6405e95 |
%files osgi -f .mfiles-jetty-osgi
|
|
|
a84f62a |
%endif
|
|
|
3933c7e |
|
|
|
3933c7e |
%files javadoc
|
|
|
a84f62a |
%doc NOTICE.txt LICENSE*
|
|
|
d45248b |
%doc %{_javadocdir}/%{name}
|
|
|
3933c7e |
|
|
|
3933c7e |
%changelog
|
|
Stanislav Ochotnicky |
6405e95 |
* Mon Nov 5 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.5-9
|
|
Stanislav Ochotnicky |
6405e95 |
- Use file lists generated by improved add_maven_depmap macro
|
|
Stanislav Ochotnicky |
6405e95 |
|
|
|
adae728 |
* Wed Oct 10 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-8
|
|
|
adae728 |
- Fix build conditionals
|
|
|
adae728 |
|
|
|
8533c1c |
* Tue Oct 9 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-7
|
|
|
8533c1c |
- Introduce nosql and osgi conditionals
|
|
|
8533c1c |
- Temporarly disable osgi to bootstrap eclipse
|
|
|
8533c1c |
|
|
|
9e8590f |
* Fri Oct 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-6
|
|
|
9e8590f |
- Don't delete jetty user on package erase, resolves: rhbz#857708
|
|
|
9e8590f |
|
|
|
aaf8790 |
* Mon Aug 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-5
|
|
|
aaf8790 |
- Create work directory if not exists
|
|
|
aaf8790 |
|
|
|
1806663 |
* Tue Aug 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-4
|
|
|
1806663 |
- Convert systemd scriplets to macros, resolves #850176
|
|
|
1806663 |
|
|
|
c97f34c |
* Tue Aug 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-3
|
|
|
c97f34c |
- Don't redirect useradd and groupadd output to the bit bucket
|
|
|
c97f34c |
|
|
|
7dde330 |
* Tue Aug 7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-2
|
|
|
7dde330 |
- Put runtime data in /run instead of /tmp
|
|
|
8c493e8 |
- Fix patch for disabling OSGi
|
|
|
7dde330 |
|
|
|
a690da8 |
* Wed Jul 18 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.5-1
|
|
|
a690da8 |
- Update to upstream version 8.1.5
|
|
|
a690da8 |
- Fix rpmlint warnings
|
|
|
a690da8 |
|
|
|
1f65d1c |
* Wed Jul 18 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.4-3
|
|
|
1f65d1c |
- Disable SPDY to fix FTBFS
|
|
|
1f65d1c |
|
|
Stanislav Ochotnicky |
3ee5ac5 |
* Wed Jun 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.4-2
|
|
Stanislav Ochotnicky |
3ee5ac5 |
- Fix jetty being accidentaly enabled after update by default
|
|
Stanislav Ochotnicky |
3ee5ac5 |
- Resolves: #831280
|
|
Stanislav Ochotnicky |
3ee5ac5 |
|
|
|
e8eb3e3 |
* Tue May 29 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.4-1
|
|
|
e8eb3e3 |
- Update to 8.1.4
|
|
|
e8eb3e3 |
|
|
|
51a3eaf |
* Thu May 24 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.2-9
|
|
|
51a3eaf |
- Add patch to disable jetty-nosql
|
|
|
51a3eaf |
|
|
|
41d2bc1 |
* Wed May 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.2-8
|
|
|
41d2bc1 |
- Build jetty-nosql conditionally
|
|
|
41d2bc1 |
|
|
|
0b7fe35 |
* Tue May 15 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.2-7
|
|
|
0b7fe35 |
- Add unconditional BR on glassfish-jsp to make build-jar-repository work
|
|
|
0b7fe35 |
|
|
|
facae74 |
* Wed May 9 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.2-6
|
|
|
facae74 |
- Move start.ini to /etc
|
|
|
5d5a136 |
- Require glassfish-jsp only for jetty-webapp and jetty-osgi
|
|
|
15104e6 |
- Use shadow-utils directly instead of fedora-usermgmt-devel
|
|
|
e40d73b |
- Fix license tags
|
|
|
facae74 |
|
|
Stanislav Ochotnicky |
b385b03 |
* Mon Apr 30 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.2-5
|
|
Stanislav Ochotnicky |
b385b03 |
- Don't require subpackages not needed by server itself
|
|
Stanislav Ochotnicky |
b385b03 |
- Make jetty look for jars in correct directory
|
|
Stanislav Ochotnicky |
b385b03 |
- Add proper dependent jars
|
|
Stanislav Ochotnicky |
b385b03 |
|
|
|
1e7b3b2 |
* Fri Apr 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.2-4
|
|
|
1e7b3b2 |
- Keep license files only in jetty-project and jetty-javadoc packages
|
|
|
1e7b3b2 |
|
|
|
61f083d |
* Fri Apr 27 2012 Alexander Kurtakov <akurtako@redhat.com> 8.1.2-3
|
|
|
61f083d |
- There is no epoch define in jetty.
|
|
|
61f083d |
|
|
|
9d366e2 |
* Thu Apr 26 2012 Alexander Kurtakov <akurtako@redhat.com> 8.1.2-2
|
|
|
9d366e2 |
- Drop envr from jpackage-utils as it was wrong.
|
|
|
9d366e2 |
|
|
Stanislav Ochotnicky |
ca4ad73 |
* Thu Apr 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.2-1
|
|
Stanislav Ochotnicky |
ca4ad73 |
- Update to 8.1.2 upstream release
|
|
Stanislav Ochotnicky |
ca4ad73 |
|
|
|
a84f62a |
* Wed Apr 25 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.0-7
|
|
|
a84f62a |
- Split into number of subpackages
|
|
|
a84f62a |
|
|
|
ffadfe7 |
* Mon Apr 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.0-6
|
|
|
c0d6d44 |
- Drop init script, resolves #814788
|
|
|
c0d6d44 |
- Remove jetty.script from SCM
|
|
|
c0d6d44 |
- Reload systemd on package install/upgrade/remove
|
|
|
ffadfe7 |
|
|
|
fbd55be |
* Wed Apr 18 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.0-5
|
|
|
fbd55be |
- Replace eclipse-rcp BR with felix-framework
|
|
|
fbd55be |
- Add missing R: felix-framework
|
|
|
fbd55be |
|
|
Stanislav Ochotnicky |
fe754ae |
* Fri Feb 24 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-4
|
|
Stanislav Ochotnicky |
fe754ae |
- Add geronimo-annotation to Requires
|
|
Stanislav Ochotnicky |
fe754ae |
|
|
Stanislav Ochotnicky |
d1e4b36 |
* Thu Feb 23 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-3
|
|
Stanislav Ochotnicky |
d1e4b36 |
- Fix web server running example webapp
|
|
Stanislav Ochotnicky |
d1e4b36 |
- Add systemd unit file and conversion scriptlets
|
|
Stanislav Ochotnicky |
d1e4b36 |
|
|
Stanislav Ochotnicky |
f3b4e98 |
* Wed Feb 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-2
|
|
Stanislav Ochotnicky |
f3b4e98 |
- Fix #794913 - missing user management utils during install
|
|
Stanislav Ochotnicky |
f3b4e98 |
|
|
Stanislav Ochotnicky |
08cb6fe |
* Wed Feb 1 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-1
|
|
Stanislav Ochotnicky |
08cb6fe |
- Update to final release
|
|
Stanislav Ochotnicky |
08cb6fe |
|
|
Stanislav Ochotnicky |
518967e |
* Mon Jan 30 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-0.4.rc5
|
|
Stanislav Ochotnicky |
518967e |
- Fix upgrade path problems
|
|
Stanislav Ochotnicky |
518967e |
- Symlink conf files into etc (so users still see them there)
|
|
Stanislav Ochotnicky |
518967e |
|
|
|
ad631ce |
* Thu Jan 26 2012 Alexander Kurtakov <akurtako@redhat.com> 8.1.0-0.3.rc5
|
|
|
ad631ce |
- Revert the dependency on jetty-parent - we don't need the whole maven stack when installing jetty.
|
|
|
ad631ce |
- Make the javadoc package not depend on the main one.
|
|
|
ad631ce |
|
|
Stanislav Ochotnicky |
e430c3d |
* Thu Jan 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-0.2.rc5
|
|
Stanislav Ochotnicky |
e430c3d |
- Add jetty-parent to Requires
|
|
Stanislav Ochotnicky |
e430c3d |
|
|
Stanislav Ochotnicky |
2f2b362 |
* Wed Jan 25 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-0.1.rc5
|
|
Stanislav Ochotnicky |
2f2b362 |
- Update to rc5
|
|
Stanislav Ochotnicky |
2f2b362 |
- Remove symbolic name patch (not needed after bundle plugin fix)
|
|
Stanislav Ochotnicky |
2f2b362 |
|
|
Stanislav Ochotnicky |
2f2b362 |
* Wed Jan 25 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.0-0.1.RC4
|
|
Stanislav Ochotnicky |
2f2b362 |
- Major update to 8.1.0 RC4
|
|
Stanislav Ochotnicky |
2c3ce1f |
- Removed manual subpackage (was empty anyway)
|
|
Stanislav Ochotnicky |
2c3ce1f |
|
|
|
13e59bb |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.26-9
|
|
|
13e59bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
13e59bb |
|
|
|
f60f84d |
* Fri Aug 12 2011 Alexander Kurtakov <akurtako@redhat.com> 6.1.26-8
|
|
|
f60f84d |
- Install jetty-client and its deps into _javadir and provide maven integration.
|
|
|
f60f84d |
|
|
|
d45248b |
* Tue Jun 28 2011 Alexander Kurtakov <akurtako@redhat.com> 6.1.26-7
|
|
|
d45248b |
- Adapt build for maven 3.x.
|
|
|
d45248b |
|
|
|
13ecf27 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.26-6
|
|
|
13ecf27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
13ecf27 |
|
|
|
0439d3e |
* Mon Dec 20 2010 Alexander Kurtakov <akurtako@redhat.com> 6.1.26-5
|
|
|
0439d3e |
- Do not require tomcat6-lib.
|
|
|
0439d3e |
- Drop one depmap.
|
|
|
0439d3e |
|
|
|
dbb1170 |
* Tue Dec 14 2010 Alexander Kurtakov <akurtako@redhat.com> 6.1.26-4
|
|
|
dbb1170 |
- Do not require apache-commons-parent in order to not bring maven and friends.
|
|
|
dbb1170 |
|
|
|
e4eb883 |
* Wed Dec 01 2010 Jeff Johnston <jjohnstn@redhat.com> 6.1.26-3
|
|
|
e4eb883 |
- Resolves #655808
|
|
|
e4eb883 |
- Fix util pom to reference javax.servlet groupid for servlet-api.
|
|
|
e4eb883 |
- Don't add tomcat6-servlet-api to depmap.
|
|
|
e4eb883 |
- Remove tomcat5 BR.
|
|
|
e4eb883 |
|
|
|
7d7935a |
* Mon Nov 22 2010 Jeff Johnston <jjohnstn@redhat.com> 6.1.26-2
|
|
|
7ebedb1 |
- Resolves #652020
|
|
|
7ebedb1 |
- Remove tomcat5 references and replace with appropriate alternatives.
|
|
|
7ebedb1 |
|
|
|
4d81b22 |
* Fri Nov 12 2010 Alexander Kurtakov <akurtako@redhat.com> 6.1.26-1
|
|
|
4d81b22 |
- Update to 6.1.26.
|
|
|
4d81b22 |
|
|
|
26da737 |
* Tue Jun 15 2010 Alexander Kurtakov <akurtako@redhat.com> 6.1.24-1
|
|
|
26da737 |
- Update to 6.1.24.
|
|
|
26da737 |
|
|
|
4b0f8e5 |
* Wed Dec 02 2009 Jeff Johnston <jjohnstn@redhat.com> 6.1.21-4
|
|
|
7ebedb1 |
- Resolves #543081
|
|
|
4b0f8e5 |
- Add maven depmap fragments.
|
|
|
4b0f8e5 |
|
|
|
e8a0231 |
* Tue Nov 03 2009 Jeff Johnston <jjohnstn@redhat.com> 6.1.21-3
|
|
|
e8a0231 |
- Security issues
|
|
|
e8a0231 |
- Resolves #532675, #5326565
|
|
|
e8a0231 |
|
|
|
3fcacdc |
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 6.1.21-2
|
|
|
3fcacdc |
- Install unversioned jars.
|
|
|
3fcacdc |
|
|
|
1297e3a |
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 6.1.21-1
|
|
|
1297e3a |
- Update to upstream 6.1.21 release.
|
|
|
1297e3a |
|
|
|
e827bdd |
* Fri Sep 18 2009 Jeff Johnston <jjohnstn@redhat.com> 6.1.20-3
|
|
|
e827bdd |
- Add djetty script source and fix init script to work properly.
|
|
|
e827bdd |
|
|
|
2b9768d |
* Tue Sep 15 2009 Alexander Kurtakov <akurtako@redhat.com> 6.1.20-2
|
|
|
2b9768d |
- Fix requires.
|
|
|
2b9768d |
|
|
|
f0d798c |
* Tue Sep 15 2009 Alexander Kurtakov <akurtako@redhat.com> 6.1.20-1
|
|
|
f0d798c |
- Update to upstream 6.1.20.
|
|
|
f0d798c |
|
|
|
6176431 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.15-4
|
|
|
6176431 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6176431 |
|
|
|
d2c043f |
* Thu May 21 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.15-3
|
|
|
d2c043f |
- Do not allow directory listings.
|
|
|
d2c043f |
|
|
|
d2c043f |
* Tue May 19 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.15-2
|
|
|
d2c043f |
- Update OSGI manifest file.
|
|
|
d2c043f |
|
|
|
d2c043f |
* Tue May 19 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.15-1
|
|
|
d2c043f |
- Upgrade to 5.1.15 source tarball for Fedora.
|
|
|
d2c043f |
|
|
|
d2c043f |
* Fri Apr 22 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-3
|
|
|
b3ad841 |
- Add %%{libdir} to files list.
|
|
|
b3ad841 |
- Resolves #473585
|
|
|
b3ad841 |
|
|
|
68a206e |
* Wed Feb 11 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1.10
|
|
|
68a206e |
- Rename jettyc back to .jettyrc.
|
|
|
68a206e |
- Resolves #485012
|
|
|
68a206e |
|
|
|
18fd534 |
* Tue Feb 03 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1.9
|
|
|
18fd534 |
- Change %%{_sysconfdir}/init.d references to be %%{_initrddir}
|
|
|
efa573d |
|
|
|
18fd534 |
* Mon Feb 02 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1.8
|
|
|
18fd534 |
- Fixes for unowned directories.
|
|
|
18fd534 |
|
|
|
efa573d |
* Tue Jan 06 2009 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1.7
|
|
|
00e431e |
- Patch init.d script to add status operation
|
|
|
00e431e |
- Patch unix djetty script so it doesn't issue error messages about /dev/tty
|
|
|
00e431e |
and fix various inconsistencies with the init.d script
|
|
|
00e431e |
|
|
Andrew Overholt |
a737657 |
* Tue Aug 12 2008 Andrew Overholt <overholt@redhat.com> 5.1.14-1.6
|
|
Andrew Overholt |
a737657 |
- Require tomcat5 bits with proper OSGi metadata
|
|
Andrew Overholt |
a737657 |
|
|
Andrew Overholt |
96e4ddf |
* Fri Jul 11 2008 Andrew Overholt <overholt@redhat.com> 5.1.14-1.5
|
|
Andrew Overholt |
96e4ddf |
- Bump release.
|
|
Andrew Overholt |
96e4ddf |
|
|
Andrew Overholt |
dd89ce7 |
* Fri Jul 11 2008 Andrew Overholt <overholt@redhat.com> 5.1.14-1.3
|
|
Andrew Overholt |
dd89ce7 |
- Update OSGi manifest
|
|
Andrew Overholt |
dd89ce7 |
|
|
|
5927cdd |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.1.14-1.3
|
|
|
5927cdd |
- drop repotag
|
|
|
5927cdd |
|
|
|
8ccec3e |
* Fri Jul 04 2008 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1jpp.2
|
|
|
8ccec3e |
- Security patch
|
|
|
8ccec3e |
- Resolves #417401, #417411, #417391
|
|
|
8ccec3e |
|
|
|
8ccec3e |
* Wed Jun 25 2008 Jeff Johnston <jjohnstn@redhat.com> 5.1.14-1jpp.1
|
|
|
8ccec3e |
- Upgrade to 5.1.14 source tarball for Fedora
|
|
|
8ccec3e |
|
|
|
dc9114d |
* Fri Aug 31 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.7
|
|
|
dc9114d |
- Resolves #262221
|
|
|
dc9114d |
- Use /bin/sh instead of /sbin/nologin so init will work
|
|
|
dc9114d |
|
|
|
5dd50a3 |
* Thu Aug 30 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.6
|
|
|
5dd50a3 |
- Rename all source files from jetty5 to jetty
|
|
|
5dd50a3 |
- Replace jetty5 references with jetty in source files
|
|
|
5dd50a3 |
|
|
|
3933c7e |
* Tue Aug 28 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.5
|
|
|
3933c7e |
- Rename from jetty5 to jetty
|
|
|
3933c7e |
|
|
|
3933c7e |
* Mon Aug 27 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.4
|
|
|
3933c7e |
- Remove post manual step
|
|
|
3933c7e |
- Remove jsse requirement
|
|
|
3933c7e |
- Add comment inside jetty.conf so it isn't empty
|
|
|
3933c7e |
|
|
|
3933c7e |
- Use /sbin/nologin when creating the jetty5 user and group
|
|
|
3933c7e |
* Mon Aug 27 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.3
|
|
|
3933c7e |
- Use /sbin/nologin when creating the jetty5 user and group
|
|
|
3933c7e |
- Remove all jars in %%prep
|
|
|
3933c7e |
- Remove unnecessary preun step for removing extra jars
|
|
|
3933c7e |
- Fix license
|
|
|
3933c7e |
- Fix group for manual subpackage
|
|
|
3933c7e |
- Fix group for javadoc subpackage
|
|
|
3933c7e |
- Add comment regarding empty jetty.conf file
|
|
|
3933c7e |
- Add jsp requirement
|
|
|
3933c7e |
- Remove %%post javadoc ln command
|
|
|
3933c7e |
- Remove %%post manual ln command
|
|
|
3933c7e |
- Change source0 tarball to remove BCLA-licensed jars
|
|
|
3933c7e |
- Remove epoch 0 references in subpackage requires for extras and manual
|
|
|
3933c7e |
- Rename .jettyrc to jettyrc
|
|
|
3933c7e |
- Remove hidden files
|
|
|
3933c7e |
- Don't install gcj files twice
|
|
|
3933c7e |
|
|
|
3933c7e |
* Fri Aug 24 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.2
|
|
|
3933c7e |
- Remove demo subpackage.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Wed Aug 08 2007 Jeff Johnston <jjohnstn@redhat.com> 5.1.12-1jpp.1
|
|
|
3933c7e |
- Comment out demo subpackage.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Mon Aug 06 2007 Ben Konrath <bkonrath@redhat.com> 5.1.12-1jpp.1
|
|
|
3933c7e |
- Add --excludes to aot-compile-rpm line.
|
|
Stanislav Ochotnicky |
2c3ce1f |
- Inject OSGi manifest into jetty jar.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Thu Jul 19 2007 Andrew Overholt <overholt@redhat.com> 5.1.12-1jpp.1
|
|
|
3933c7e |
- Update to 5.1.12 for Fedora.
|
|
|
3933c7e |
- Use fedora-usermgmt stuff.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Fri Feb 02 2007 Ralph Apel <r.apel at r-apel.de> - 0:5.1.12-1jpp
|
|
|
3933c7e |
- Upgrade to 5.1.12
|
|
|
3933c7e |
- Add gcj_support option
|
|
|
3933c7e |
- Avoid circular dependency with mx4j-tools thru bootstrap option
|
|
|
3933c7e |
|
|
|
3933c7e |
* Sat Aug 12 2006 Anthony Green <green@redhat.com> - 0:5.1.11-0.rc0.4jpp
|
|
|
3933c7e |
- Escape macros in changelog with %.
|
|
|
3933c7e |
- Untabify.
|
|
|
3933c7e |
- Don't delete symlinks in %%preun.
|
|
|
3933c7e |
- Add logrotate file.
|
|
|
3933c7e |
- Don't install unversioned javadoc files.
|
|
|
3933c7e |
- Don't rm old links in manual package.
|
|
|
3933c7e |
- Convert some end-of-line encodings.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Fri Aug 11 2006 Anthony Green <green@redhat.com> - 0:5.1.11-0.rc0.3jpp
|
|
|
3933c7e |
- First Fedora build.
|
|
|
3933c7e |
- Disable extras.
|
|
|
3933c7e |
- Use fedora-useradd & fedora-userdel.
|
|
|
3933c7e |
- Add gcj support.
|
|
|
3933c7e |
- Tweak License and Group tags for rpmlint.
|
|
|
3933c7e |
- Use full URL for Source0.
|
|
|
3933c7e |
|
|
|
3933c7e |
* Thu Aug 10 2006 Ralph Apel <r.apel@r-apel.de> - 0:5.1.11-0.rc0.2jpp
|
|
|
3933c7e |
- Fix version/release in changelog
|
|
|
3933c7e |
- Introduce option '--without extra' to omit this subpackage and its (B)Rs
|
|
|
3933c7e |
- Don't delete user on erase
|
|
|
3933c7e |
- Tidy up BRs
|
|
|
3933c7e |
- Add commons-el.jar to ext
|
|
|
3933c7e |
- No ghost for lib/org.mortbay.jetty.jar, lib/org.mortbay.jmx.jar
|
|
|
3933c7e |
- Avoid use of build-jar-repository in spec
|
|
|
3933c7e |
- Avoid use of rebuild-jar-repository in init and start script
|
|
|
3933c7e |
- Don't handle JETTY_PID file in init script: start script takes care
|
|
|
3933c7e |
- Patch PostFileFilter to remove a (unused) com.sun package import
|
|
|
3933c7e |
- Explicitly (B)R geronimo-jta-1.0.1B-api instead of any jta
|
|
Stanislav Ochotnicky |
2c3ce1f |
- Add empty file /etc/jetty5/jetty.conf:
|
|
|
3933c7e |
activate contexts manually if desired
|
|
|
3933c7e |
|
|
|
3933c7e |
* Tue Jun 20 2006 Ralph Apel <r.apel@r-apel.de> - 0:5.1.2-3jpp
|
|
|
3933c7e |
- First JPP-1.7 release
|
|
|
3933c7e |
|
|
|
3933c7e |
* Mon Mar 14 2005 Ralph Apel <r.apel@r-apel.de> - 0:5.1.2-2jpp
|
|
|
3933c7e |
- link commons-logging to %%{_homedir}/ext
|
|
|
3933c7e |
- link jspapi to %%{_homedir}/ext
|
|
|
3933c7e |
- only use %%{_homedir}/etc not conf
|
|
|
3933c7e |
|
|
|
3933c7e |
* Tue Feb 01 2005 Ralph Apel <r.apel@r-apel.de> - 0:5.1.2-1jpp
|
|
|
3933c7e |
- Upgrade to 5.1.2
|
|
|
3933c7e |
- Prepare for build with Java 1.5, (thx to Petr Adamek)
|
|
|
3933c7e |
- Require /sbin/chkconfig instead of chkconfig package
|
|
|
3933c7e |
|
|
|
3933c7e |
* Tue Jan 04 2005 Ralph Apel <r.apel@r-apel.de> - 0:5.0.0-2jpp
|
|
|
3933c7e |
- Include build of extra, so called JettyPlus
|
|
|
3933c7e |
- Create own subdirectory for jetty5 in %%{_javadir}
|
|
|
3933c7e |
- Change %%{_homedir}/conf to %%{_homedir}/etc
|
|
|
3933c7e |
- Dropped chkconfig requirement; just exec if /sbin/chkconfig available
|
|
|
3933c7e |
- Fixed unpackaged .jettyrc
|
|
|
3933c7e |
|
|
|
3933c7e |
* Mon Oct 04 2004 Ralph Apel <r.apel@r-apel.de> - 0:5.0.0-1jpp
|
|
|
3933c7e |
- Upgrade to 5.0.0
|
|
|
3933c7e |
- Fixed URL
|
|
|
3933c7e |
- relaxed some versioned dependencies
|
|
|
3933c7e |
|
|
|
3933c7e |
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:4.2.20-2jpp
|
|
|
3933c7e |
- Rebuild with ant-1.6.2
|
|
|
3933c7e |
|
|
|
3933c7e |
* Fri Jun 18 2004 Ralph Apel <r.apel@r-apel.de> - 0:4.2.20-1jpp
|
|
|
3933c7e |
- Upgrade to 4.2.20
|
|
|
3933c7e |
- Drop ownership of /usr/share/java and /usr/bin
|
|
|
3933c7e |
|
|
|
3933c7e |
* Tue Feb 24 2004 Ralph Apel <r.apel@r-apel.de> - 0:4.2.17-2jpp
|
|
|
3933c7e |
- enhancements and corrections thanks to Kaj J. Niemi:
|
|
|
3933c7e |
- $JETTY_HOME/ext didn't exist but %%post depended on it
|
|
|
3933c7e |
- correctly shutdown jetty upon uninstall
|
|
|
3933c7e |
- RedHat depends on chkconfig/service to work so a functional
|
|
|
3933c7e |
init.d/jetty4 needed to be created
|
|
|
3933c7e |
- djetty4 (jetty.sh) did funny things especially when it attempted to guess
|
|
|
3933c7e |
stuff
|
|
|
3933c7e |
- a lot of .xml config files assumed that the configs were in etc/ instead of
|
|
|
3933c7e |
conf/
|
|
|
3933c7e |
|
|
|
3933c7e |
* Thu Feb 19 2004 Ralph Apel <r.apel@r-apel.de> - 0:4.2.17-1jpp
|
|
|
3933c7e |
- First JPackage release.
|