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
Stanislav Ochotnicky 08cb6fe
%global addver v20120127
Stanislav Ochotnicky 08cb6fe
3933c7e
Name:           jetty
Stanislav Ochotnicky 2c3ce1f
Version:        8.1.0
Stanislav Ochotnicky d1e4b36
Release:        3%{?dist}
Stanislav Ochotnicky 2c3ce1f
Summary:        Java Webserver and Servlet Container
3933c7e
3933c7e
Group:          Applications/Internet
3933c7e
License:        ASL 2.0
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
Source2:        jetty.init
5dd50a3
Source3:        jetty.logrotate
f0d798c
Source4:        %{name}-depmap.xml
Stanislav Ochotnicky d1e4b36
Source5:        %{name}.service
Stanislav Ochotnicky 2f2b362
Patch0:         0001-Remove-javadoc-execution.patch
Stanislav Ochotnicky 2f2b362
Patch1:         0002-Cleaup-distribution-generation.patch
Stanislav Ochotnicky 2f2b362
Patch2:         0003-Disable-test-artifacts.patch
Stanislav Ochotnicky 2f2b362
Patch3:         0004-Change-servelt-groupId-to-javax.servlet.patch
Stanislav Ochotnicky 2f2b362
Patch4:         0005-Modify-dependencies.patch
Stanislav Ochotnicky 2f2b362
Patch5:         0006-Remove-pmd-plugin.patch
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  java-devel >= 1:1.7.0
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  tomcat-lib
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  tomcat-servlet-3.0-api
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  tomcat-jsp-2.2-api
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  tomcat-servlet-3.0-api
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  tomcat-el-2.2-api
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven-enforcer-plugin
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven-dependency-plugin
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  maven-war-plugin
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  geronimo-jaspic-spec
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  geronimo-jta
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  geronimo-annotation
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  eclipse-rcp
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  eclipse-platform
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  jakarta-taglibs-standard
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  mongo-java-driver >= 2.6.5-4
Stanislav Ochotnicky 2c3ce1f
BuildRequires:  objectweb-asm
Stanislav Ochotnicky d1e4b36
BuildRequires:  fedora-usermgmt-devel
Stanislav Ochotnicky d1e4b36
BuildRequires:  systemd-units
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 2c3ce1f
3933c7e
3933c7e
BuildArch:      noarch
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
Requires:       chkconfig
Stanislav Ochotnicky 2c3ce1f
Requires:       jpackage-utils >= 0:1.6
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-servlet-3.0-api
Stanislav Ochotnicky 2c3ce1f
Requires:       jsp22
Stanislav Ochotnicky 2c3ce1f
Requires:       slf4j
Stanislav Ochotnicky 2c3ce1f
Requires:       javamail
Stanislav Ochotnicky 2c3ce1f
Requires:       xerces-j2 >= 0:2.7
Stanislav Ochotnicky 2c3ce1f
Requires:       xml-commons-apis
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-lib
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-servlet-3.0-api
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-jsp-2.2-api
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-servlet-3.0-api
Stanislav Ochotnicky 2c3ce1f
Requires:       tomcat-el-2.2-api
Stanislav Ochotnicky 2c3ce1f
Requires:       geronimo-jta
Stanislav Ochotnicky 2c3ce1f
Requires:       jakarta-taglibs-standard
Stanislav Ochotnicky 2c3ce1f
Requires:       objectweb-asm
Stanislav Ochotnicky f3b4e98
%{?FE_USERADD_REQ}
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky d1e4b36
Requires(post): systemd-sysv
Stanislav Ochotnicky d1e4b36
Stanislav Ochotnicky 2c3ce1f
Provides:       group(%username) = %jtuid
Stanislav Ochotnicky 2c3ce1f
Provides:       user(%username) = %jtuid
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
Obsoletes: %{name}-manual < %{version}-%{release}
3933c7e
3933c7e
%description
Stanislav Ochotnicky 2c3ce1f
Jetty is a 100% Java HTTP Server and Servlet Container.
Stanislav Ochotnicky 2c3ce1f
This means that you do not need to configure and run a
Stanislav Ochotnicky 2c3ce1f
separate web server (like Apache) in order to use java,
Stanislav Ochotnicky 2c3ce1f
servlets and JSPs to generate dynamic content. Jetty is
Stanislav Ochotnicky 2c3ce1f
a fully featured web server for static and dynamic content.
Stanislav Ochotnicky 2c3ce1f
Unlike separate server/container solutions, this means
Stanislav Ochotnicky 2c3ce1f
that your web server and web application run in the same
Stanislav Ochotnicky 2c3ce1f
process, without interconnection overheads and complications.
Stanislav Ochotnicky 2c3ce1f
Furthermore, as a pure java component, Jetty can be simply
Stanislav Ochotnicky 2c3ce1f
included in your application for demonstration, distribution
Stanislav Ochotnicky 2c3ce1f
or deployment. Jetty is available on all Java supported
Stanislav Ochotnicky 2c3ce1f
platforms.
3933c7e
3933c7e
%package        javadoc
3933c7e
Summary:        Javadoc for %{name}
3933c7e
Group:          Documentation
3933c7e
3933c7e
%description    javadoc
3933c7e
%{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
Stanislav Ochotnicky 2c3ce1f
%patch0 -p1 -b .sav
Stanislav Ochotnicky 2c3ce1f
%patch1 -p1 -b .sav
Stanislav Ochotnicky 2c3ce1f
%patch2 -p1 -b .sav
Stanislav Ochotnicky 2c3ce1f
%patch3 -p1 -b .sav
Stanislav Ochotnicky 2c3ce1f
%patch4 -p1 -b .sav
Stanislav Ochotnicky 2c3ce1f
%patch5 -p1 -b .sav
8ccec3e
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
Stanislav Ochotnicky 2c3ce1f
#rm -rf ./*
Stanislav Ochotnicky 08cb6fe
#ln -sf ~/temp/jetty/jetty-8.1.0.%{addver}.copy/* .
Stanislav Ochotnicky 2c3ce1f
#exit 0
Stanislav Ochotnicky 2c3ce1f
# remove previous lines!
e827bdd
sed -i -e "s|/usr/share|%{_datadir}|g" djetty
f0d798c
Stanislav Ochotnicky 08cb6fe
mvn-rpmbuild  -X \
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}%{_initrddir}
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 08cb6fe
rmdir %{buildroot}%{homedir}/%{name}-distribution-%{version}.%{addver}
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 755 %{SOURCE2} %{buildroot}%{_initrddir}/%{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 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 08cb6fe
    mv %{buildroot}%{homedir}/lib/$module-%{version}.%{addver}.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
Stanislav Ochotnicky 2c3ce1f
    %add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar
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
Stanislav Ochotnicky 2c3ce1f
for module in jetty-http-spi jetty-jaspi jetty-nested jetty-nosql;do
Stanislav Ochotnicky 08cb6fe
    install $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
Stanislav Ochotnicky 2c3ce1f
    %add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar
Stanislav Ochotnicky 2c3ce1f
done
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
pushd jetty-osgi
Stanislav Ochotnicky 2c3ce1f
    install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-jetty-osgi.pom
Stanislav Ochotnicky 2c3ce1f
    %add_maven_depmap JPP.%{name}-jetty-osgi.pom
Stanislav Ochotnicky 2c3ce1f
    for submod in boot boot-jsp boot-warurl;do
Stanislav Ochotnicky 2c3ce1f
        module=jetty-osgi-$submod
Stanislav Ochotnicky 08cb6fe
        install $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
Stanislav Ochotnicky 2c3ce1f
        %add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar
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
Stanislav Ochotnicky 08cb6fe
    install 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
Stanislav Ochotnicky 2c3ce1f
    %add_maven_depmap JPP.%{name}-$module.pom %{name}/$module.jar
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
popd
Stanislav Ochotnicky 2c3ce1f
Stanislav Ochotnicky 2c3ce1f
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-project.pom
Stanislav Ochotnicky 2c3ce1f
%add_maven_depmap JPP.%{name}-project.pom
Stanislav Ochotnicky 2c3ce1f
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 d1e4b36
build-jar-repository %{buildroot}%{homedir}/lib/jsp tomcat-el-2.2-api \
Stanislav Ochotnicky d1e4b36
           taglibs-core taglibs-standard tomcat/jasper-el eclipse-ecj \
Stanislav Ochotnicky d1e4b36
           tomcat/jasper tomcat/tomcat-api tomcat/tomcat-jsp-2.2-api \
Stanislav Ochotnicky d1e4b36
           tomcat/tomcat-juli
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
Stanislav Ochotnicky 2c3ce1f
%add_maven_depmap JPP.%{name}-jetty-monitor.pom %{name}/jetty-monitor.jar
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
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
3933c7e
%__fe_groupadd %jtuid -r %username &>/dev/null || :
dc9114d
# Use /bin/sh so init script will start properly.
dc9114d
%__fe_useradd  %jtuid -r -s /bin/sh -d %homedir -M          \
3933c7e
                    -g %username %username &>/dev/null || :
3933c7e
3933c7e
%post
3933c7e
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add %{name}
3933c7e
3933c7e
%postun
3933c7e
%__fe_userdel  %username &>/dev/null || :
3933c7e
%__fe_groupdel %username &>/dev/null || :
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
# If the package is allowed to autostart:
Stanislav Ochotnicky d1e4b36
/bin/systemctl --no-reload enable jetty.service >/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
%preun
3933c7e
if [ $1 = 0 ]; then
18fd534
    [ -f /var/lock/subsys/%{name} ] && %{_initrddir}/%{name} stop
18fd534
    [ -f %{_initrddir}/%{name} -a -x /sbin/chkconfig ] && /sbin/chkconfig --del %{name}
3933c7e
3933c7e
    %{_sbindir}/fedora-userdel %{name} >> /dev/null 2>&1 || :
3933c7e
fi
3933c7e
3933c7e
%files
Stanislav Ochotnicky 2c3ce1f
%doc NOTICE.txt README.txt VERSION.txt LICENSE*
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
%dir %{_javadir}/%{name}
Stanislav Ochotnicky 2c3ce1f
%{_javadir}/%{name}
Stanislav Ochotnicky 2c3ce1f
%{_mavenpomdir}/JPP*pom
Stanislav Ochotnicky 2c3ce1f
%{_mavendepmapfragdir}/%{name}
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}
18fd534
%{_initrddir}/%{name}
Stanislav Ochotnicky d1e4b36
%{_unitdir}/%{name}.service
3933c7e
3933c7e
%files javadoc
Stanislav Ochotnicky 2c3ce1f
%doc LICENSE*
d45248b
%doc %{_javadocdir}/%{name}
3933c7e
3933c7e
%changelog
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.