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
76c5d6a
cd6776d
%global addver v20150612
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
Stanislav Ochotnicky d85ad3b
%bcond_without osgi
f10cc44
%bcond_without spring
5122f35
# package without service files
5122f35
%bcond_without service
8533c1c
%endif
8533c1c
3933c7e
Name:           jetty
4599fd8
Version:        9.3.0
1d11586
Release:        6%{?dist}
Stanislav Ochotnicky 2c3ce1f
Summary:        Java Webserver and Servlet Container
3933c7e
e40d73b
# Jetty is dual licensed under both ASL 2.0 and EPL 1.0, see NOTICE.txt
e40d73b
License:        ASL 2.0 or EPL
df57996
URL:            http://www.eclipse.org/jetty/
76c5d6a
Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/snapshot/jetty-%{version}.%{addver}.tar.gz
fbf0229
Source1:        jetty.sh
5dd50a3
Source3:        jetty.logrotate
Stanislav Ochotnicky d1e4b36
Source5:        %{name}.service
a96968d
# MIT license text taken from Utf8Appendable.java
a96968d
Source6:        LICENSE-MIT
Stanislav Ochotnicky 2c3ce1f
fd98864
Patch1:         0001-Fedora-jetty.home.patch
fd98864
Stanislav Ochotnicky ca4ad73
BuildRequires:  geronimo-annotation
fbd55be
BuildRequires:  geronimo-jaspic-spec
4c447ff
BuildRequires:  jboss-transaction-1.2-api
4c447ff
BuildRequires:  jboss-websocket-1.0-api
4c447ff
BuildRequires:  glassfish-annotation-api
a1d81e7
BuildRequires:  geronimo-parent-poms
4c447ff
BuildRequires:  glassfish-servlet-api
43b5730
BuildRequires:  glassfish-el
43b5730
BuildRequires:  glassfish-el-api
0b7fe35
BuildRequires:  glassfish-jsp
0b7fe35
BuildRequires:  glassfish-jsp-api
243fd97
BuildRequires:  tomcat-taglibs-standard
4599fd8
BuildRequires:  tomcat-lib
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
76c5d6a
BuildRequires:  ant
Stanislav Ochotnicky e5a3e9a
BuildRequires:  maven-local
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven-dependency-plugin
fbd55be
BuildRequires:  maven-enforcer-plugin
3ddd7ff
BuildRequires:  maven-shade-plugin
caea547
BuildRequires:  maven-site-plugin
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven-war-plugin
4c447ff
BuildRequires:  exec-maven-plugin
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  objectweb-asm
a84f62a
BuildRequires:  slf4j
Stanislav Ochotnicky d1e4b36
BuildRequires:  systemd-units
edc0615
BuildRequires:  ecj
76c5d6a
BuildRequires:  geronimo-parent-poms
a96968d
BuildRequires:  maven-plugin-build-helper
f443fa7
BuildRequires:  weld-core
1b5e0c7
BuildRequires:  infinispan
Stanislav Ochotnicky ca4ad73
8533c1c
%if %{with osgi}
a84f62a
BuildRequires:  eclipse-platform
8533c1c
%endif
8533c1c
%if %{with nosql}
41d2bc1
BuildRequires:  mongo-java-driver >= 2.6.5-4
a84f62a
%endif
f10cc44
%if %{with spring}
f10cc44
BuildRequires:  springframework-beans
f10cc44
%endif
Stanislav Ochotnicky 2c3ce1f
76c5d6a
BuildRequires:  javamail
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
4c447ff
BuildRequires:  jetty-schemas
4599fd8
BuildRequires:  jetty-alpn-api
Stanislav Ochotnicky ca4ad73
3933c7e
BuildArch:      noarch
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 4d57327
Requires:       java-headless >= 1:1.7.0
b1c1c89
b1c1c89
Requires:       %{name}-annotations = %{version}-%{release}
b1c1c89
Requires:       %{name}-ant = %{version}-%{release}
b1c1c89
Requires:       %{name}-cdi = %{version}-%{release}
b1c1c89
Requires:       %{name}-client = %{version}-%{release}
b1c1c89
Requires:       %{name}-continuation = %{version}-%{release}
b1c1c89
Requires:       %{name}-deploy = %{version}-%{release}
b1c1c89
Requires:       %{name}-fcgi-client = %{version}-%{release}
b1c1c89
Requires:       %{name}-fcgi-server = %{version}-%{release}
b1c1c89
Requires:       %{name}-http = %{version}-%{release}
b1c1c89
Requires:       %{name}-http-spi = %{version}-%{release}
b1c1c89
Requires:       %{name}-io = %{version}-%{release}
cd6776d
Requires:       %{name}-infinispan = %{version}-%{release}
b1c1c89
Requires:       %{name}-jaas = %{version}-%{release}
b1c1c89
Requires:       %{name}-jaspi = %{version}-%{release}
b1c1c89
Requires:       %{name}-jmx = %{version}-%{release}
b1c1c89
Requires:       %{name}-jndi = %{version}-%{release}
b1c1c89
Requires:       %{name}-jsp = %{version}-%{release}
b1c1c89
Requires:       %{name}-jspc-maven-plugin = %{version}-%{release}
b1c1c89
Requires:       %{name}-maven-plugin = %{version}-%{release}
b1c1c89
Requires:       %{name}-monitor = %{version}-%{release}
b1c1c89
Requires:       %{name}-plus = %{version}-%{release}
b1c1c89
Requires:       %{name}-proxy = %{version}-%{release}
b1c1c89
Requires:       %{name}-rewrite = %{version}-%{release}
b1c1c89
Requires:       %{name}-security = %{version}-%{release}
b1c1c89
Requires:       %{name}-server = %{version}-%{release}
b1c1c89
Requires:       %{name}-servlet = %{version}-%{release}
b1c1c89
Requires:       %{name}-servlets = %{version}-%{release}
b1c1c89
Requires:       %{name}-spring = %{version}-%{release}
b1c1c89
Requires:       %{name}-start = %{version}-%{release}
b1c1c89
Requires:       %{name}-util = %{version}-%{release}
b1c1c89
Requires:       %{name}-util-ajax = %{version}-%{release}
b1c1c89
Requires:       %{name}-webapp = %{version}-%{release}
b1c1c89
Requires:       %{name}-xml = %{version}-%{release}
b1c1c89
Requires:       %{name}-websocket-api = %{version}-%{release}
b1c1c89
Requires:       %{name}-websocket-client = %{version}-%{release}
b1c1c89
Requires:       %{name}-websocket-common = %{version}-%{release}
b1c1c89
Requires:       %{name}-websocket-server = %{version}-%{release}
b1c1c89
Requires:       %{name}-websocket-servlet = %{version}-%{release}
b1c1c89
Requires:       %{name}-javax-websocket-client-impl = %{version}-%{release}
b1c1c89
Requires:       %{name}-javax-websocket-server-impl = %{version}-%{release}
b1c1c89
Requires:       %{name}-nosql = %{version}-%{release}
b1c1c89
Requires:       %{name}-httpservice = %{version}-%{release}
b1c1c89
Requires:       %{name}-osgi-boot = %{version}-%{release}
b1c1c89
Requires:       %{name}-osgi-boot-warurl = %{version}-%{release}
b1c1c89
Requires:       %{name}-osgi-project = %{version}-%{release}
b1c1c89
Requires:       %{name}-osgi-boot-jsp = %{version}-%{release}
b1c1c89
Requires:       %{name}-quickstart = %{version}-%{release}
b1c1c89
Requires:       %{name}-alpn-client = %{version}-%{release}
b1c1c89
Requires:       %{name}-alpn-server = %{version}-%{release}
b1c1c89
Requires:       %{name}-osgi-alpn = %{version}-%{release}
b1c1c89
Requires:       %{name}-jstl = %{version}-%{release}
b1c1c89
Requires:       %{name}-http2-client = %{version}-%{release}
b1c1c89
Requires:       %{name}-http2-common = %{version}-%{release}
b1c1c89
Requires:       %{name}-http2-hpack = %{version}-%{release}
b1c1c89
Requires:       %{name}-http2-http-client-transport = %{version}-%{release}
b1c1c89
Requires:       %{name}-http2-server = %{version}-%{release}
Stanislav Ochotnicky 2c3ce1f
6d52d6a
# javax.servlet-api is provided by both glassfish-servlet-api and
6d52d6a
# tomcat-servlet-3.0-api, but we need version 3.1
6d52d6a
# this is a temporary solution, that should be removed when the duplicate
6d52d6a
# provides problem is solved
4c447ff
Requires:       glassfish-servlet-api
4c447ff
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
76c5d6a
Stanislav Ochotnicky 2c3ce1f
Provides:       group(%username) = %jtuid
a84f62a
Provides:       user(%username)  = %jtuid
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
Obsoletes: %{name}-manual < %{version}-%{release}
3933c7e
76c5d6a
Obsoletes: %{name}-ajp < %{version}-%{release}
76c5d6a
Obsoletes: %{name}-http-spi < %{version}-%{release}
76c5d6a
Obsoletes: %{name}-nested < %{version}-%{release}
76c5d6a
Obsoletes: %{name}-overlay-deployer < %{version}-%{release}
76c5d6a
Obsoletes: %{name}-policy < %{version}-%{release}
1d898f2
Obsoletes: %{name}-websocket-mux-extension < %{version}-%{release}
11c6cb7
Obsoletes: %{name}-runner < %{version}-%{release}
377bd94
Obsoletes: %{name}-osgi-npn < %{version}-%{release}
76c5d6a
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
a84f62a
%description    project
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        annotations
a84f62a
Summary:        annotations module for Jetty
76c5d6a
a84f62a
%description    annotations
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        ant
76c5d6a
Summary:        ant module for Jetty
76c5d6a
76c5d6a
%description    ant
76c5d6a
%{extdesc} %{summary}.
76c5d6a
ec1edc1
%package cdi
ec1edc1
Summary:        Jetty CDI Configuration
ec1edc1
ec1edc1
%description cdi
ec1edc1
%{extdesc} %{summary}.
ec1edc1
a84f62a
%package        client
a84f62a
Summary:        client module for Jetty
a84f62a
a84f62a
%description    client
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        continuation
a84f62a
Summary:        continuation module for Jetty
76c5d6a
a84f62a
%description    continuation
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        deploy
a84f62a
Summary:        deploy module for Jetty
a84f62a
a84f62a
%description    deploy
a84f62a
%{extdesc} %{summary}.
a84f62a
59e13b9
%package fcgi-client
59e13b9
Summary:        FastCGI client module for Jetty
59e13b9
59e13b9
%description fcgi-client
59e13b9
%{extdesc} %{summary}.
59e13b9
59e13b9
%package fcgi-server
59e13b9
Summary:        FastCGI client module for Jetty
59e13b9
59e13b9
%description fcgi-server
59e13b9
%{extdesc} %{summary}.
59e13b9
a84f62a
%package        http
a84f62a
Summary:        http module for Jetty
76c5d6a
a84f62a
%description    http
a84f62a
%{extdesc} %{summary}.
a84f62a
d59bdcf
%package        http-spi
d59bdcf
Summary:        http-spi module for Jetty
d59bdcf
d59bdcf
%description    http-spi
d59bdcf
%{extdesc} %{summary}.
d59bdcf
a84f62a
%package        io
a84f62a
Summary:        io module for Jetty
47b3f4d
Obsoletes:      %{name}-websocket < %{version}-%{release}
a84f62a
a84f62a
%description    io
a84f62a
%{extdesc} %{summary}.
a84f62a
cd6776d
%package        infinispan
cd6776d
Summary:        infinispan module for Jetty
cd6776d
cd6776d
%description    infinispan
cd6776d
%{extdesc} %{summary}.
cd6776d
76c5d6a
%package        jaas
76c5d6a
Summary:        jaas module for Jetty
76c5d6a
76c5d6a
%description    jaas
76c5d6a
%{extdesc} %{summary}.
76c5d6a
a84f62a
%package        jaspi
a84f62a
Summary:        jaspi module for Jetty
a84f62a
a84f62a
%description    jaspi
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        jmx
a84f62a
Summary:        jmx module for Jetty
a84f62a
a84f62a
%description    jmx
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        jndi
a84f62a
Summary:        jndi module for Jetty
a84f62a
a84f62a
%description    jndi
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        jsp
76c5d6a
Summary:        jsp module for Jetty
a84f62a
76c5d6a
%description    jsp
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        jspc-maven-plugin
76c5d6a
Summary:        jspc-maven-plugin module for Jetty
a84f62a
76c5d6a
%description    jspc-maven-plugin
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        maven-plugin
76c5d6a
Summary:        maven-plugin module for Jetty
a84f62a
76c5d6a
%description    maven-plugin
a84f62a
%{extdesc} %{summary}.
a84f62a
1913e3a
%package        monitor
1913e3a
Summary:        monitor module for Jetty
1913e3a
1913e3a
%description    monitor
1913e3a
%{extdesc} %{summary}.
1913e3a
a84f62a
%package        plus
a84f62a
Summary:        plus module for Jetty
a84f62a
a84f62a
%description    plus
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        proxy
76c5d6a
Summary:        proxy module for Jetty
a84f62a
76c5d6a
%description    proxy
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        rewrite
a84f62a
Summary:        rewrite module for Jetty
a84f62a
a84f62a
%description    rewrite
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        security
a84f62a
Summary:        security module for Jetty
a84f62a
a84f62a
%description    security
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        server
a84f62a
Summary:        server module for Jetty
a84f62a
a84f62a
%description    server
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        servlet
a84f62a
Summary:        servlet module for Jetty
a84f62a
a84f62a
%description    servlet
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        servlets
a84f62a
Summary:        servlets module for Jetty
a84f62a
a84f62a
%description    servlets
a84f62a
%{extdesc} %{summary}.
a84f62a
f10cc44
%if %{with spring}
76c5d6a
%package        spring
76c5d6a
Summary:        spring module for Jetty
76c5d6a
76c5d6a
%description    spring
76c5d6a
%{extdesc} %{summary}.
f10cc44
%endif
76c5d6a
76c5d6a
%package        start
76c5d6a
Summary:        start module for Jetty
76c5d6a
76c5d6a
%description    start
76c5d6a
%{extdesc} %{summary}.
76c5d6a
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
76c5d6a
a84f62a
%description    util
2c3ab1b
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        util-ajax
76c5d6a
Summary:        util-ajax module for Jetty
76c5d6a
76c5d6a
%description    util-ajax
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        webapp
a84f62a
Summary:        webapp module for Jetty
a84f62a
a84f62a
%description    webapp
a84f62a
%{extdesc} %{summary}.
a84f62a
a84f62a
%package        xml
a84f62a
Summary:        xml module for Jetty
a84f62a
a84f62a
%description    xml
a84f62a
%{extdesc} %{summary}.
a84f62a
76c5d6a
%package        websocket-api
76c5d6a
Summary:        websocket-api module for Jetty
76c5d6a
76c5d6a
%description    websocket-api
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        websocket-client
76c5d6a
Summary:        websocket-client module for Jetty
76c5d6a
76c5d6a
%description    websocket-client
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        websocket-common
76c5d6a
Summary:        websocket-common module for Jetty
76c5d6a
76c5d6a
%description    websocket-common
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        websocket-parent
76c5d6a
Summary:        POM file for jetty-websocket
76c5d6a
76c5d6a
%description    websocket-parent
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        websocket-server
76c5d6a
Summary:        websocket-server module for Jetty
76c5d6a
76c5d6a
%description    websocket-server
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        websocket-servlet
76c5d6a
Summary:        websocket-servlet module for Jetty
76c5d6a
76c5d6a
%description    websocket-servlet
76c5d6a
%{extdesc} %{summary}.
76c5d6a
4c447ff
%package        javax-websocket-client-impl
4c447ff
Summary:        javax-websocket-client-impl module for Jetty
4c447ff
4c447ff
%description    javax-websocket-client-impl
3646000
%{extdesc} %{summary}.
4c447ff
4c447ff
%package        javax-websocket-server-impl
4c447ff
Summary:        javax-websocket-server-impl module for Jetty
4c447ff
4c447ff
%description    javax-websocket-server-impl
3646000
%{extdesc} %{summary}.
4c447ff
8533c1c
%if %{with nosql}
41d2bc1
%package        nosql
41d2bc1
Summary:        nosql module for Jetty
41d2bc1
41d2bc1
%description    nosql
41d2bc1
%{extdesc} %{summary}.
8533c1c
%endif
41d2bc1
8533c1c
%if %{with osgi}
c88b536
%package        httpservice
c88b536
Summary:        httpservice module for Jetty
c88b536
c88b536
%description    httpservice
c88b536
%{extdesc} %{summary}.
c88b536
76c5d6a
%package        osgi-boot
76c5d6a
Summary:        osgi-boot module for Jetty
76c5d6a
76c5d6a
%description    osgi-boot
a84f62a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        osgi-boot-warurl
76c5d6a
Summary:        osgi-boot-warurl module for Jetty
76c5d6a
76c5d6a
%description    osgi-boot-warurl
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        osgi-project
76c5d6a
Summary:        osgi-project module for Jetty
76c5d6a
76c5d6a
%description    osgi-project
76c5d6a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%package        osgi-boot-jsp
76c5d6a
Summary:        osgi-boot-jsp module for Jetty
76c5d6a
76c5d6a
%description    osgi-boot-jsp
a84f62a
%{extdesc} %{summary}.
76c5d6a
76c5d6a
%endif # with osgi
3933c7e
a043d4f
%package quickstart
a043d4f
Summary:        quickstart module for Jetty
a043d4f
a043d4f
%description quickstart
a043d4f
%{extdesc} %{summary}.
a043d4f
4599fd8
%package alpn-client
4599fd8
Summary:        alpn-client module for Jetty
4599fd8
4599fd8
%description alpn-client
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package alpn-server
4599fd8
Summary:        alpn-server module for Jetty
4599fd8
4599fd8
%description alpn-server
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package osgi-alpn
4599fd8
Summary:        osgi-alpn module for Jetty
4599fd8
4599fd8
%description osgi-alpn
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package jstl
4599fd8
Summary:        jstl module for Jetty
4599fd8
4599fd8
%description jstl
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package http2-client
4599fd8
Summary:        http2-client module for Jetty
4599fd8
4599fd8
%description http2-client
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package http2-common
4599fd8
Summary:        http2-common module for Jetty
4599fd8
4599fd8
%description http2-common
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package http2-hpack
4599fd8
Summary:        http2-hpack module for Jetty
4599fd8
4599fd8
%description http2-hpack
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package http2-http-client-transport
4599fd8
Summary:        http2-http-client-transport module for Jetty
4599fd8
4599fd8
%description http2-http-client-transport
4599fd8
%{extdesc} %{summary}.
4599fd8
4599fd8
%package http2-server
4599fd8
Summary:        http2-server module for Jetty
4599fd8
4599fd8
%description http2-server
4599fd8
%{extdesc} %{summary}.
4599fd8
a043d4f
3933c7e
%package        javadoc
3933c7e
Summary:        Javadoc for %{name}
e40d73b
# some MIT-licensed code (from Utf8Appendable) is used to generate javadoc
e40d73b
License:        (ASL 2.0 or EPL) and MIT
3933c7e
3933c7e
%description    javadoc
Stanislav Ochotnicky ca4ad73
%{summary}.
3933c7e
3933c7e
%prep
4669eb7
%setup -q -n %{jettyname}-%{version}.%{addver}
fd98864
fd98864
%patch1 -p1
fd98864
4c447ff
find . -name "*.?ar" -exec rm {} \;
3933c7e
find . -name "*.class" -exec rm {} \;
3933c7e
76d7b1f
%pom_xpath_set -r 'pom:goal[text()="xdoc"]' report
76d7b1f
76c5d6a
# Use proper groupId for apache ant
76c5d6a
%pom_xpath_replace "pom:groupId[text()='ant']" "<groupId>org.apache.ant</groupId>" jetty-ant/pom.xml
8a1ab65
a043d4f
%pom_change_dep -r "javax.transaction:javax.transaction-api" "org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec"
73a101b
%pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi
4c447ff
efa6168
# glassfish-jstl has licensing issues
efa6168
%pom_change_dep -r "org.glassfish.web:javax.servlet.jsp.jstl" "javax.servlet:jstl"
1d898f2
d329ae0
%pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper
d329ae0
d329ae0
# Remove when alias is added to ecj
d329ae0
%pom_change_dep -r 'org.eclipse.jetty.orbit:org.eclipse.jdt.core' 'org.eclipse.jdt:core'
d329ae0
4c447ff
%pom_remove_plugin ":clirr-maven-plugin" jetty-websocket
4c447ff
%pom_remove_plugin ":maven-eclipse-plugin" jetty-osgi
4c447ff
3646000
# it tries to execute start.jar, but can't find its config that wasn't
3646000
# installed yet
3646000
%pom_remove_plugin ":exec-maven-plugin" jetty-distribution
3646000
377bd94
# txt artifact - not installable
377bd94
%pom_remove_plugin ":jetty-version-maven-plugin"
377bd94
%pom_xpath_remove "pom:artifactItem[pom:classifier='version']" jetty-distribution
377bd94
4599fd8
# it doesn't like the trailing semicolon
4599fd8
sed -i 's#;</Export-Package>#</Export-Package>#' jetty-http2/http2-common/pom.xml
377bd94
76c5d6a
# Disable test and example artifacts
8a1ab65
# they need more dependencies then we have time for right now :-)
76c5d6a
# and also xmvn currently doesn't support .war
8a1ab65
%pom_disable_module tests
76c5d6a
%pom_disable_module examples
377bd94
%pom_disable_module aggregates/jetty-all
76c5d6a
%pom_disable_module test-jetty-osgi jetty-osgi/pom.xml
f19d9a7
%pom_disable_module test-jetty-osgi-context jetty-osgi/pom.xml
f19d9a7
%pom_disable_module test-jetty-osgi-webapp jetty-osgi/pom.xml
4599fd8
%pom_disable_module http2-alpn-tests jetty-http2/pom.xml
cd6776d
%pom_disable_module test-cdi-webapp jetty-cdi
76c5d6a
76c5d6a
# Since tests are disabled, we don't have some jars
76c5d6a
%pom_remove_dep :test-jetty-webapp jetty-distribution/pom.xml
76c5d6a
%pom_remove_dep :test-proxy-webapp jetty-distribution/pom.xml
76c5d6a
%pom_remove_dep :example-async-rest-webapp jetty-distribution/pom.xml
76c5d6a
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='test-jetty-webapp']]" jetty-distribution/pom.xml
76c5d6a
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='test-proxy-webapp']]" jetty-distribution/pom.xml
76c5d6a
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='example-async-rest-webapp']]" jetty-distribution/pom.xml
4669eb7
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='test-jaas-webapp']]" jetty-distribution/pom.xml
4669eb7
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='test-jndi-webapp']]" jetty-distribution/pom.xml
4669eb7
%pom_xpath_remove "pom:artifactItem[pom:artifactId[text()='test-spec-webapp']]" jetty-distribution/pom.xml
76c5d6a
76c5d6a
# Missing jars (jetty-setuid-java-1.0.0.jar,jetty-setuid-java-1.0.0-config.jar)
76c5d6a
%pom_xpath_remove "pom:execution[pom:id[text()='copy-setuid-deps']]" jetty-distribution/pom.xml
4669eb7
# test-jaas-webapp artifact is disabled
4669eb7
%pom_xpath_remove "pom:execution[pom:id[text()='unpack-test-jaas-config']]" jetty-distribution/pom.xml
4669eb7
%pom_xpath_remove "pom:execution[pom:id[text()='unpack-test-jndi-config']]" jetty-distribution/pom.xml
4669eb7
%pom_xpath_remove "pom:execution[pom:id[text()='unpack-test-spec-config']]" jetty-distribution/pom.xml
76c5d6a
76c5d6a
# We don't have this plugin yet
76c5d6a
%pom_remove_plugin :findbugs-maven-plugin jetty-websocket/pom.xml
76c5d6a
76c5d6a
# enforcer plugin constantly complains
76c5d6a
%pom_remove_plugin :maven-enforcer-plugin
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
16085f1
# License plugin may be useful for upstream, but it has no use in
16085f1
# Fedora.
16085f1
%pom_remove_plugin :maven-license-plugin
16085f1
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
8c493e8
# Disable OSGi
8533c1c
%if %{without osgi}
8c493e8
%pom_disable_module jetty-osgi
8533c1c
%endif
8c493e8
8c493e8
# Disable NoSQL
8533c1c
%if %{without nosql}
8c493e8
%pom_disable_module jetty-nosql
8c493e8
%endif
8c493e8
f10cc44
# Disable Spring
f10cc44
%if %{without spring}
f10cc44
%pom_disable_module jetty-spring
f10cc44
%endif
f10cc44
a96968d
cp %{SOURCE6} .
e827bdd
fbf0229
# the default location is not allowed by SELinux
fbf0229
sed -i '/
fbf0229
    jetty-distribution/src/main/resources/etc/jetty-started.xml
fbf0229
a96968d
# Looks like all CDDL licensed content in tarball has been replaced,
a96968d
# we don't need to install this license
a96968d
rm LICENSE-CONTRIBUTOR/CDDLv1.0.txt
f0d798c
26da737
%build
76c5d6a
%mvn_package :jetty-distribution __noinstall
76c5d6a
# Separate package for main POM file
76c5d6a
%mvn_package :jetty-project project
76c5d6a
59e13b9
%mvn_package :fcgi-parent __noinstall
4599fd8
%mvn_package :http2-parent __noinstall
4599fd8
%mvn_package :jetty-alpn-parent __noinstall
11c6cb7
%mvn_package :jetty-runner __noinstall
59e13b9
cd6776d
%mvn_package org.eclipse.jetty.cdi: jetty-cdi
cd6776d
4599fd8
%mvn_package :apache-jsp jetty-jsp
ca613f6
%mvn_alias :apache-jsp :jetty-jsp
4599fd8
76c5d6a
# we don't have all necessary dependencies to run tests
a96968d
# missing test dep: org.eclipse.jetty.toolchain:jetty-test-helper
76c5d6a
%mvn_build -f -s
76c5d6a
d329ae0
pushd jetty-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
d329ae0
cd target/distribution
d329ae0
d329ae0
# Initialize config
d329ae0
java -Djetty.home=. -Djetty.base=. -jar start.jar \
d329ae0
    --add-to-start=deploy,websocket,ext,resources,jsp,jstl,http
d329ae0
d329ae0
ln -sf %{_javadir}/%{name}/%{name}-start.jar start.jar
d329ae0
popd
d329ae0
3933c7e
%install
76c5d6a
%mvn_install
76c5d6a
d329ae0
# Install jetty home
d329ae0
cp -pr jetty-distribution/target/distribution %{buildroot}%{homedir}
d329ae0
3933c7e
# dirs
5122f35
%if %{with service}
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}%{confdir}
76c5d6a
install -dm 755 %{buildroot}%{homedir}/start.d
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
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
d329ae0
# add dependencies that are missing due to artifact coordinates changes
4599fd8
build-jar-repository %{buildroot}%{homedir}/lib/apache-jsp \
d329ae0
           tomcat/jasper tomcat/tomcat-juli \
4599fd8
           tomcat/tomcat-jsp-2.3-api tomcat/tomcat-api tomcat/tomcat-util \
4599fd8
           tomcat-taglibs-standard/taglibs-standard-compat \
4599fd8
           tomcat-taglibs-standard/taglibs-standard-impl \
4599fd8
           tomcat/tomcat-util-scan ecj glassfish-el-api glassfish-el
Stanislav Ochotnicky 2c3ce1f
d329ae0
build-jar-repository %{buildroot}%{homedir}/lib/jndi/ jboss-transaction-1.2-api
76c5d6a
4599fd8
for jar in %{buildroot}%{_javadir}/%{name}/*.jar; do
ec1edc1
        mod=`basename -s .jar $jar`
d329ae0
        target="%{buildroot}%{homedir}/lib"
d329ae0
        case $mod in
cd6776d
            *cdi*) target="$target/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *websocket*) target="$target/websocket/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *spring*) target="$target/spring/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *http2*) target="$target/http2/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *fcgi*) target="$target/fcgi/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *apache-jsp*) target="$target/apache-jsp/org.eclipse.jetty.$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *monitor*) target="$target/monitor/$mod-%{version}.%{addver}.jar" ;;
d329ae0
            *) target="$target/$mod-%{version}.%{addver}.jar" ;;
d329ae0
        esac
d329ae0
        ln -sf "${jar##%{buildroot}}" "$target"
76c5d6a
done
Stanislav Ochotnicky 2c3ce1f
d329ae0
# replace remaining deps
d329ae0
xmvn-subst "%{buildroot}%{homedir}/lib"
d329ae0
d329ae0
remaining=`find %{buildroot}%{homedir}/ -type f -name '*.jar'`
d329ae0
if [ -n "$remaining" ]; then echo "Unsymlinked jars in homedir: $remaining"; exit 1; fi
d329ae0
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
0a8ed9c
# replace the startup script with ours
0a8ed9c
cp -p %{SOURCE1} %{buildroot}%{homedir}/bin/jetty.sh
0a8ed9c
3933c7e
%pre
3933c7e
# Add the "jetty" user and group
f7d930f
getent group %username >/dev/null || groupadd -f -g %jtuid -r %username
f7d930f
if ! getent passwd %username >/dev/null ; then
f7d930f
    if ! getent passwd %jtuid >/dev/null ; then
f7d930f
      useradd -r -u %jtuid -g %username -d %homedir -s /sbin/nologin \
f7d930f
      -c "Jetty web server" %username
f7d930f
    else
f7d930f
      useradd -r -g %username -d %homedir -s /sbin/nologin \
f7d930f
      -c "Jetty web server" %username
f7d930f
    fi
f7d930f
fi
f7d930f
exit 0
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
5122f35
%endif # with service
3933c7e
377bd94
%files
5122f35
%if %{with service}
Stanislav Ochotnicky 2c3ce1f
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
Stanislav Ochotnicky 2c3ce1f
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/logrotate.d/%{name}
3933c7e
%config(noreplace) %{confdir}
efa573d
%dir %{jettylibdir}
efa573d
%dir %{jettycachedir}
f0d798c
%{homedir}
0a8ed9c
%attr(744, jetty, jetty) %{homedir}/bin/jetty.sh
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
5122f35
%endif # with service
76c5d6a
%dir %{_javadir}/%{name}
a84f62a
Stanislav Ochotnicky 6405e95
%files project -f .mfiles-project
4c447ff
%doc NOTICE.txt README.TXT VERSION.txt LICENSE-eplv10-aslv20.html LICENSE-CONTRIBUTOR
Stanislav Ochotnicky 6405e95
Stanislav Ochotnicky 6405e95
%files annotations -f .mfiles-jetty-annotations
76c5d6a
%files ant -f .mfiles-jetty-ant
ec1edc1
%files cdi -f .mfiles-jetty-cdi
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
59e13b9
%files fcgi-client -f .mfiles-fcgi-client
59e13b9
%files fcgi-server -f .mfiles-fcgi-server
Stanislav Ochotnicky 6405e95
%files http -f .mfiles-jetty-http
d59bdcf
%files http-spi -f .mfiles-jetty-http-spi
Stanislav Ochotnicky 6405e95
%files io -f .mfiles-jetty-io
cd6776d
%files infinispan -f .mfiles-jetty-infinispan
76c5d6a
%files jaas -f .mfiles-jetty-jaas
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
76c5d6a
%files jsp -f .mfiles-jetty-jsp
4599fd8
%files jstl -f .mfiles-apache-jstl
76c5d6a
%files jspc-maven-plugin -f .mfiles-jetty-jspc-maven-plugin
76c5d6a
%files maven-plugin -f .mfiles-jetty-maven-plugin
1913e3a
%files monitor -f .mfiles-jetty-monitor
Stanislav Ochotnicky 6405e95
%files plus -f .mfiles-jetty-plus
76c5d6a
%files proxy -f .mfiles-jetty-proxy
a043d4f
%files quickstart -f .mfiles-jetty-quickstart
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
76c5d6a
%files start -f .mfiles-jetty-start
Stanislav Ochotnicky 6405e95
%files util -f .mfiles-jetty-util
4c447ff
%doc NOTICE.txt README.TXT VERSION.txt LICENSE-eplv10-aslv20.html LICENSE-CONTRIBUTOR
a96968d
%doc LICENSE-MIT
76c5d6a
%files util-ajax -f .mfiles-jetty-util-ajax
Stanislav Ochotnicky 6405e95
%files webapp -f .mfiles-jetty-webapp
Stanislav Ochotnicky 6405e95
%files xml -f .mfiles-jetty-xml
76c5d6a
%files websocket-api -f .mfiles-websocket-api
76c5d6a
%files websocket-client -f .mfiles-websocket-client
76c5d6a
%files websocket-common -f .mfiles-websocket-common
76c5d6a
%files websocket-parent -f .mfiles-websocket-parent
76c5d6a
%files websocket-server -f .mfiles-websocket-server
76c5d6a
%files websocket-servlet -f .mfiles-websocket-servlet
4c447ff
%files javax-websocket-client-impl -f .mfiles-javax-websocket-client-impl
4c447ff
%files javax-websocket-server-impl -f .mfiles-javax-websocket-server-impl
4599fd8
%files alpn-client -f .mfiles-jetty-alpn-client
4599fd8
%files alpn-server -f .mfiles-jetty-alpn-server
4599fd8
%files osgi-alpn -f .mfiles-jetty-osgi-alpn
4599fd8
%files http2-client -f .mfiles-http2-client
4599fd8
%files http2-common -f .mfiles-http2-common
4599fd8
%files http2-hpack -f .mfiles-http2-hpack
4599fd8
%files http2-http-client-transport -f .mfiles-http2-http-client-transport
4599fd8
%files http2-server -f .mfiles-http2-server
a84f62a
8533c1c
%if %{with nosql}
Stanislav Ochotnicky 6405e95
%files nosql -f .mfiles-jetty-nosql
8533c1c
%endif
41d2bc1
8533c1c
%if %{with osgi}
c88b536
%files httpservice -f .mfiles-jetty-httpservice
76c5d6a
%files osgi-project -f .mfiles-jetty-osgi-project
76c5d6a
%files osgi-boot -f .mfiles-jetty-osgi-boot
76c5d6a
%files osgi-boot-warurl -f .mfiles-jetty-osgi-boot-warurl
76c5d6a
%files osgi-boot-jsp -f .mfiles-jetty-osgi-boot-jsp
a84f62a
%endif
3933c7e
f10cc44
%if %{with spring}
f10cc44
%files spring -f .mfiles-jetty-spring
f10cc44
%endif
f10cc44
76c5d6a
%files javadoc -f .mfiles-javadoc
a84f62a
%doc NOTICE.txt LICENSE*
3933c7e
3933c7e
%changelog
1d11586
* Fri Jul 03 2015 Michael Simacek <msimacek@redhat.com> - 9.3.0-6
1d11586
- Remove BR on eclipse-rcp
1d11586
cd6776d
* Mon Jun 22 2015 Michael Simacek <msimacek@redhat.com> - 9.3.0-5
cd6776d
- Update to upstream release 0.3.0.v20150612
cd6776d
4793051
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.0-4
4793051
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4793051
e60e2db
* Tue Jun 02 2015 Michael Simacek <msimacek@redhat.com> - 9.3.0-3
e60e2db
- Improve packaging
e60e2db
ca613f6
* Wed Mar 25 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.3.0-2
ca613f6
- Add alias for jetty-jsp
ca613f6
4599fd8
* Tue Mar 24 2015 Michael Simacek <msimacek@redhat.com> - 9.3.0-1
4599fd8
- Update to upstream version 9.3.0
4599fd8
- Fix symlinks
4599fd8
76d7b1f
* Tue Mar 17 2015 Michael Simacek <msimacek@redhat.com> - 9.2.9-3
76d7b1f
- Use report goal of maven-plugin-plugin instead of xdoc
76d7b1f
243fd97
* Thu Mar 5 2015 Alexander Kurtakov <akurtako@redhat.com> 9.2.9-2
243fd97
- Rebuild against tomcat-taglibs-standard.
243fd97
1feaad4
* Wed Feb 25 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.2.9-1
1feaad4
- Update to upstream version 9.2.9
1feaad4
- Resolves: CVE-2015-2080
1feaad4
caea547
* Thu Jan 22 2015 Michael Simacek <msimacek@redhat.com> - 9.2.7-1
caea547
- Update to upstream version 9.2.7
caea547
ec1edc1
* Thu Dec 11 2014 Michael Simacek <msimacek@redhat.com> - 9.2.6-3
ec1edc1
- Update to upstream version 9.2.6
ec1edc1
- Simplify symlink creation
ec1edc1
- Include symlink to jetty-schemas (RHBZ#1170829)
e94bca3
- Set glassfish as default jsp implementation
ec1edc1
c1e26b2
* Fri Oct 10 2014 Michael Simacek <msimacek@redhat.com> - 9.2.3-2
c1e26b2
- Add missing requires jetty-start
c1e26b2
efa6168
* Wed Sep 10 2014 Michael Simacek <msimacek@redhat.com> - 9.2.3-1
efa6168
- Update to upstream version 9.2.3
efa6168
a043d4f
* Tue Jul 29 2014 Michael Simacek <msimacek@redhat.com> - 9.2.2-1
a043d4f
- Update to upstream version 9.2.2
a043d4f
78c1d9a
* Fri Jun 13 2014 Michael Simacek <msimacek@redhat.com> - 9.2.1-1
78c1d9a
- Update to upstream version 9.2.1
78c1d9a
e3b81d0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2.0-2
e3b81d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e3b81d0
377bd94
* Wed May 28 2014 Michael Simacek <msimacek@redhat.com> - 9.2.0-1
377bd94
- Update to upstream version 9.2.0
377bd94
f6efd64
* Tue May 06 2014 Michael Simacek <msimacek@redhat.com> - 9.1.5-1
f6efd64
- Update to upstream version 9.1.5
f6efd64
f2ea1d1
* Fri Apr 11 2014 Michael Simacek <msimacek@redhat.com> - 9.1.4-3
11c6cb7
- Remove jetty-runner subpackage
f2ea1d1
0a8ed9c
* Thu Apr 10 2014 Michael Simacek <msimacek@redhat.com> - 9.1.4-2
0a8ed9c
- Install startup script into correct directory
0a8ed9c
- Add a notice about httpd_execmem into the startup script
0a8ed9c
59e13b9
* Tue Apr 08 2014 Michael Simacek <msimacek@redhat.com> - 9.1.4-1
59e13b9
- Update to upstream version 9.1.4
59e13b9
fbf0229
* Tue Apr 01 2014 Michael Simacek <msimacek@redhat.com> - 9.1.3-4
fbf0229
- Simplify (and fix) jetty startup script and use systemd features
fbf0229
f7d930f
* Thu Mar 06 2014 Erinn Looney-Triggs <erinn.looneytriggs@gmail.com> - 9.1.3-3
f7d930f
- Adjust useradd to be more flexible as shown here:
f7d930f
  https://fedoraproject.org/wiki/Packaging:UsersAndGroups
f7d930f
Stanislav Ochotnicky 4d57327
* Thu Mar 06 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 9.1.3-2
Stanislav Ochotnicky 4d57327
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky 4d57327
0afc246
* Tue Mar 04 2014 Michael Simacek <msimacek@redhat.com> - 9.1.3-1
0afc246
- Update to upstream version 9.1.3
0afc246
ea476e8
* Fri Feb 28 2014 Michael Simacek <msimacek@redhat.com> - 9.1.2-2
ea476e8
- Remove JARs bundled in main package
ea476e8
1d898f2
* Wed Feb 12 2014 Michael Simacek <msimacek@redhat.com> - 9.1.2-1
1d898f2
- Update to upstream version 9.1.2
1d898f2
- Remove subpackage websocket-mux-extension (unstable, removed upstream)
1d898f2
3646000
* Fri Jan 10 2014 Michael Simacek <msimacek@redhat.com> - 9.1.1-1
3646000
- Update to upstream version 9.1.1
3646000
- Install .mod files
3646000
edc0615
* Thu Dec 19 2013 Michael Simacek <msimacek@redhat.com> - 9.1.0-4
edc0615
- Add missing BD on ecj
edc0615
73a101b
* Thu Dec 19 2013 Michael Simacek <msimacek@redhat.com> - 9.1.0-3
73a101b
- Replace dependency patch with pom_editor macro calls
73a101b
- Drop unnecessary dependency on tomcat-jasper and BR on tomcat-lib
73a101b
6d52d6a
* Wed Dec 18 2013 Michael Simacek <msimacek@redhat.com> - 9.1.0-2
6d52d6a
- Symlink to glassfish-servlet-api instead of tomcat
6d52d6a
4c447ff
* Wed Nov 27 2013 Michael Simacek <msimacek@redhat.com> - 9.1.0-1
4c447ff
- Update to upstream version 9.1.0
4c447ff
898301c
* Fri Oct 11 2013 Michal Srb <msrb@redhat.com> - 9.0.6-1
898301c
- Update to upstream version 9.0.6
898301c
- Install licenses with jetty-util subpackage
898301c
a8823ba
* Sat Sep 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.5-2
a8823ba
- Move configuration directories to %{_sysconfdir}
a8823ba
- Resolves: rhbz#596611
a8823ba
d59bdcf
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 9.0.5-1
d59bdcf
- Update to upstream version 9.0.5
d59bdcf
6c223ee
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.4-2
6c223ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6c223ee
1cb650e
* Mon Jul 01 2013 Michal Srb <msrb@redhat.com> - 9.0.4-1
1cb650e
- Update to upstream version 9.0.4
1cb650e
a96968d
* Wed Jun 26 2013 Michal Srb <msrb@redhat.com> - 9.0.3-4
a96968d
- Add missing BR: maven-plugin-build-helper
a96968d
- Add MIT license text
a96968d
- Don't install CDDL license
a96968d
- More specific explanation why tests are disabled
a96968d
2c3ab1b
* Wed May 29 2013 Michal Srb <msrb@redhat.com> - 9.0.3-3
2c3ab1b
- Add description for jetty-util
2c3ab1b
47b3f4d
* Thu May 23 2013 Michal Srb <msrb@redhat.com> - 9.0.3-2
47b3f4d
- Obsolete old jetty-websocket subpackage (Resolves: #966352)
47b3f4d
4669eb7
* Thu May 09 2013 Michal Srb <msrb@redhat.com> - 9.0.3-1
4669eb7
- Update to upstream version 9.0.3
4669eb7
1913e3a
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 9.0.2-1
1913e3a
- Update to upstream version 9.0.2
1913e3a
16085f1
* Thu Apr 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.0-3
16085f1
- Remove maven-license-plugin
f10cc44
- Conditionally disable jetty-spring
c88b536
- Fix OSGi conditionals
16085f1
5122f35
* Wed Apr 10 2013 Michal Srb <msrb@redhat.com> - 9.0.0-2
5122f35
- Replace tomcat libs with glassfish libs
5122f35
- Add ability to build package without service files
5122f35
- Remove unneeded ecj custom depmap
5122f35
3ddd7ff
* Wed Mar 13 2013 Michal Srb <msrb@redhat.com> - 9.0.0-1
3ddd7ff
- Update to upstream version 9.0.0
3ddd7ff
43b5730
* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.0-0.4.RC3
43b5730
- Add missing BR: glassfish-el
43b5730
1f34334
* Mon Mar  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.0-0.3.RC3
1f34334
- Update to Jetty 9 RC3
1f34334
45fb5b2
* Thu Feb 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.0-0.2.RC2
45fb5b2
- Upload sources for Jetty 9 RC2
45fb5b2
f19d9a7
* Thu Feb 28 2013 Michal Srb <msrb@redhat.com> - 9.0.0-0.2.RC2
f19d9a7
- Update to 9.0.0.RC2
f19d9a7
8433b17
* Fri Feb 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.0.0-0.1.RC0
8433b17
- Remove duplicated %%files for javadoc package
8433b17
- Add the new tarball to sources
8433b17
76c5d6a
* Mon Feb 18 2013 Michal Srb <msrb@redhat.com> - 9.0.0-0.1.RC0
76c5d6a
- Update to upstream version 9.0.0
76c5d6a
- Build with xmvn
a1d81e7
5a8cbf7
* Fri Feb 15 2013 Alexander Kurtakov <akurtako@redhat.com> 8.1.9-3
5a8cbf7
- Add missing BR on maven-license-plugin.
5a8cbf7
df57996
* Thu Feb 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.9-2
df57996
- Update upstream URL
df57996
- Resolves: rhbz#911292
df57996
0cd4997
* Thu Feb 14 2013 Alexander Kurtakov <akurtako@redhat.com> 8.1.9-1
0cd4997
- Update to 8.1.9.
0cd4997
fed6934
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.5-12
fed6934
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fed6934
Stanislav Ochotnicky e5a3e9a
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 8.1.5-11
Stanislav Ochotnicky e5a3e9a
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky e5a3e9a
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky e5a3e9a
Stanislav Ochotnicky d85ad3b
* Fri Dec 14 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 8.1.5-10
Stanislav Ochotnicky d85ad3b
- Reenable osgi support
Stanislav Ochotnicky d85ad3b
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.