--- jetty-5.1.14.orig/debian/rules +++ jetty-5.1.14/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f +# debian/rules for Jetty (uses CDBS) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/java-gcj +ANT_HOME := /usr/share/ant +DEB_JARS := mx4j log4j-1.2 log4j junit commons-logging gnumail +DEB_ANT_INSTALL_TARGET := webapps extra javadoc --- jetty-5.1.14.orig/debian/root-webapp/index.html +++ jetty-5.1.14/debian/root-webapp/index.html @@ -0,0 +1,117 @@ + + + +Welcome to Jetty on Debian + +
+
Jetty
+Java HTTP Servlet Server
+ +

+

Jetty:// Web Server & Servlet Container

+ +

+Jetty is a 100% Java HTTP Server and Servlet Container. This means +that you do not need to configure and run a seperate web server (like Apache) +in order to use java, servlets and JSPs to generate dynamic content. Jetty +is a fully featured web server for static and dynamic content. Unlike separate +server/container solutions, this means that your web server and web application +run in the same process, without interconnection overheads and complications. +Furthermore, as a pure java component, Jetty can be simply included in your +application for demonstration, distribution or deployment. Jetty is available +on all Java supported platforms.  

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+Open Source://
+Jetty is devloped under the guidance of Mort +Bay Consulting and released under an Open Source +License, derived from the Artistic License. Full source code is included in +all releases. +The +License puts few restrictions on usage of Jetty, which is free for commercial use and distribution. +The developers of Jetty ask users to inform themselves of the issues, +political, legal or otherwise that motivate and threaten the development of +Open +Source and Free Software. +The Jetty user and development community is active and welcomes new +contributors. +
  +

  +

+Efficient://
+Jetty has been optimized by commercial and experimental use since 1995 and +a small and efficient server is the result:

  • A HTTP/1.1 server can be configured in a jar file under 300KB. +
  • Jetty consistently benchmarks as one of the fastest servlet servers. +
  • Jetty servers scale well to thousands of simultaneous connections +
  • Server performance degrades gracefully under stress.
+
+

+Production Proven://
+ +Jetty has been widely used in commercial and open source +projects and applications, ranging across the full spectrum of runtime environments +from hand helds to main frames. To illustrate this diversity, we have put +together a (far from exhaustive) list of Jetty Powered products. Here +are just a few of highlights: +

+
  +

+Embeddable://
+For many applications, HTTP is just another interface protocol. Jetty can +easily be embedded in such applications and products without adopting a +WWW centric application architecture. Examples of embedded Jetty usage include:

  • Integration into application servers such as JBoss and Jonas. +
  • Bundled with the JXTA project as the +basis for its HTTP transport. +
  • Included in many products products including IBM tivolli, Sonic MQ and +Cisco SESM. +
  • Used for the CD demo disk in several books on XML and Servlets. +
  • Run on embedded systems and handheld devices. +
+
+ + + --- jetty-5.1.14.orig/debian/jetty.links +++ jetty-5.1.14/debian/jetty.links @@ -0,0 +1,2 @@ +usr/share/jetty/lib/org.mortbay.jetty.jar usr/share/java/jetty-5.0.0.jar +usr/share/java/jetty-5.0.0.jar usr/share/java/jetty.jar --- jetty-5.1.14.orig/debian/jetty.init +++ jetty-5.1.14/debian/jetty.init @@ -0,0 +1,229 @@ +#!/bin/sh -e +# +# /etc/init.d/jetty -- startup script for jetty 4.2.11 +# +# Written by Philipp Meier +# +### BEGIN INIT INFO +# Provides: jetty +# Required-Start: $syslog $network +# Required-Stop: $syslog $network +# Should-Start: $local_fs +# Should-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start Jetty +# Description: Start Jetty HTTP server and servlet container. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +NAME=jetty +DESC="Jetty servlet engine" +JETTY_HOME=/usr/share/$NAME +START_JAR="$JETTY_HOME/lib/start.jar" + +# The following variables can be overwritten in /etc/default/jetty + +# Whether to start jetty (as a daemon) or not +NO_START=0 + +# Run Jetty as this user ID (default: jetty) +# Set this to an empty string to prevent Jetty from starting automatically +JETTY_USER=jetty + +# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not +# defined in /etc/default/jetty) +JDK_DIRS=" + /usr/lib/jvm/java-6-sun \ + /usr/lib/jvm/java-1.5.0-sun \ + /usr/lib/jvm/java-gcj \ + /usr/lib/j2sdk1.6-sun \ + /usr/lib/j2sdk1.5-sun \ + /usr/lib/j2sdk1.4-sun \ + /usr/lib/j2sdk1.4 \ + /usr/lib/j2se/1.4 \ + /usr/lib/j2sdk1.3 \ + /usr/lib/j2se/1.3 \ + /usr/lib/kaffe/ \ + " + +# Timeout in seconds for the shutdown of all webapps +JETTY_SHUTDOWN=30 + +# Jetty uses a directory to store temporary files like unpacked webapps +JETTY_TMP=/var/cache/jetty + +# Jetty uses a config file to setup it's boot classpath +START_CONFIG=/etc/jetty/start.config + +# End of variables that can be overwritten in /etc/default/jetty + +# overwrite settings from default file +if [ -f /etc/default/jetty ]; then + . /etc/default/jetty +fi + +# Check whether jetty is still installed (it might not be if this package was +# removed and not purged) +if [ -r "$START_JAR" ]; then + HAVE_JETTY=1 +else + exit 0 +fi + +# Check whether startup has been disabled +if [ "$NO_START" != "0" -a "$1" != "stop" ]; then + [ "$VERBOSE" != "no" ] && echo "Not starting jetty - edit /etc/default/jetty and change NO_START to be 0 (or comment it out)."; + exit 0; +fi + +if [ -z "$JETTY_USER" ]; then + echo "Not starting/stopping $DESC as configured (JETTY_USER is" + echo "empty in /etc/default/jetty)." + exit 0 +fi + +# Look for the right JVM to use +for jdir in $JDK_DIRS; do + if [ -d "$jdir" -a -z "${JAVA_HOME}" ]; then + JAVA_HOME="$jdir" + fi +done +export JAVA_HOME + +export JAVA="$JAVA_HOME/bin/java" + +# Set java.awt.headless=true if JAVA_OPTIONS is not set so the +# Xalan XSL transformer can work without X11 display on JDK 1.4+ +if [ -z "$JAVA_OPTIONS" ]; then + JAVA_OPTIONS="-Xmx256m \ + -Djava.awt.headless=true \ + -Djava.io.tmpdir=\"$JETTY_TMP\" \ + -Djava.library.path=/usr/lib" +fi +export JAVA_OPTIONS + +# Define other required variables +PIDFILE="/var/run/$NAME.pid" +LOGDIR="/var/log/jetty" +WEBAPPDIR="$JETTY_HOME/webapps" + +################################################## +# Check for JAVA_HOME +################################################## +if [ -z "$JAVA_HOME" ]; then + echo "Could not start $DESC because no Java Development Kit" + echo "(JDK) was found. Please download and install JDK 1.3 or higher and set" + echo "JAVA_HOME in /etc/default/jetty to the JDK's installation directory." + exit 0 + +fi + +ARGUMENTS="$JAVA_OPTIONS -DSTART=$START_CONFIG -Djetty.home=$JETTY_HOME -jar $START_JAR /etc/jetty/jetty.xml" + +################################################## +# Do the action +################################################## +case "$1" in + start) + if start-stop-daemon --quiet --test --start --pidfile "$PIDFILE" \ + --user "$JETTY_USER" --startas "$JAVA" > /dev/null; then + + + + # Look for rotatelogs/rotatelogs2 + if [ -x /usr/sbin/rotatelogs ]; then + ROTATELOGS=/usr/sbin/rotatelogs + else + ROTATELOGS=/usr/sbin/rotatelogs2 + fi + + if [ -f $PIDFILE ] + then + echo "$PIDFILE exists, but jetty was not running. Ignoring $PIDFILE" + fi + + echo -n "Starting $DESC: " + if [ \! -e "$LOGDIR/out.log" ]; then + touch "$LOGDIR/out.log" + chown jetty.adm "$LOGDIR/out.log" + fi + su -p -s /bin/sh "$JETTY_USER" \ + -c "$ROTATELOGS \"$LOGDIR/out.log\" 86400" \ + < "$LOGDIR/out.log" & + su -p -s /bin/sh "$JETTY_USER" \ + -c "$JAVA $ARGUMENTS >> $LOGDIR/out.log 2>&1 & \ + echo \$!" > "$PIDFILE" + echo "$NAME." + else + echo "(already running)." + exit 1 + fi + ;; + + stop) + echo -n "Stopping $DESC: " + + if start-stop-daemon --quiet --test --start --pidfile "$PIDFILE" \ + --user "$JETTY_USER" --startas "$JAVA" > /dev/null; then + if [ -x "$PIDFILE" ]; then + echo "(not running but $PIDFILE exists)." + else + echo "(not running)." + fi + else + start-stop-daemon --quiet --stop \ + --pidfile "$PIDFILE" --user "$JETTY_USER" \ + --startas "$JAVA" > /dev/null + while ! start-stop-daemon --quiet --test --start \ + --pidfile "$PIDFILE" --user "$JETTY_USER" \ + --startas "$JAVA" > /dev/null; do + sleep 1 + echo -n "." + JETTY_SHUTDOWN=`expr $JETTY_SHUTDOWN - 1` || true + if [ $JETTY_SHUTDOWN -ge 0 ]; then + start-stop-daemon --oknodo --quiet --stop \ + --pidfile "$PIDFILE" --user "$JETTY_USER" \ + --startas "$JAVA" + else + echo -n " (killing) " + start-stop-daemon --stop --signal 9 --oknodo \ + --quiet --pidfile "$PIDFILE" \ + --user "$JETTY_USER" + fi + done + rm -f "$PIDFILE" + echo "$NAME." + fi + ;; + + restart|force-reload) + $0 stop $* + sleep 1 + $0 start $* + ;; + + check) + echo "Checking arguments to Jetty: " + echo + echo "PIDFILE = $PIDFILE" + echo "JAVA_OPTIONS = $JAVA_OPTIONS" + echo "JAVA = $JAVA" + echo "JETTY_USER = $JETTY_USER" + echo "ARGUMENTS = $ARGUMENTS" + + if [ -f $PIDFILE ] + then + echo "Jetty running pid="`cat $PIDFILE` + exit 0 + fi + exit 1 + ;; + + *) + echo "Usage: /etc/init.d/jetty {start|stop|restart|force-reload|check}" >&2 + exit 1 + ;; +esac + +exit 0 --- jetty-5.1.14.orig/debian/jetty.dirs +++ jetty-5.1.14/debian/jetty.dirs @@ -0,0 +1,9 @@ +etc/jetty +usr/share/jetty +usr/share/jetty/lib +usr/share/jetty/ext +usr/share/jetty/webapps +usr/share/jetty/cgi-bin +usr/share/java/webapps +var/log/jetty/ +var/cache/jetty --- jetty-5.1.14.orig/debian/jetty-extra.install +++ jetty-5.1.14/debian/jetty-extra.install @@ -0,0 +1 @@ +extra/lib/* usr/share/jetty/lib/ --- jetty-5.1.14.orig/debian/ant-jetty-nonfree.properties +++ jetty-5.1.14/debian/ant-jetty-nonfree.properties @@ -0,0 +1,21 @@ +# compilation settings +javac.debug=on +javac.optimize=on +build.javadoc=gjdoc +build.compiler=jikes +javadoc.encoding=ISO-8859-1 + +# temp files +ext=../../debian/ext +jetty.ext=../../debian/ext +classes=../../debian/build/classes +test.classes=../../debian/build/test-classes +jetty.webapp.classes=../../debian/build/jetty-webapp-classes +tmp.src=../../debian/build/tmp-src + +# dist +etc=../../debian/tmp/etc/jetty +lib=../../debian/build/lib +start.jar=../../debian/jetty/usr/share/jetty/lib/start.jar +stop.jar=../../debian/jetty/usr/share/jetty/lib/stop.jar +javadoc=../../debian/tmp/usr/share/doc/jetty/api --- jetty-5.1.14.orig/debian/control +++ jetty-5.1.14/debian/control @@ -0,0 +1,27 @@ +Source: jetty +Section: contrib/web +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Philipp Meier , Michael Koch +Build-Depends: debhelper (>= 4.9.5), cdbs (>> 0.4.5.3) +Build-Depends-Indep: java-gcj-compat-dev, ant, junit, libmx4j-java, liblog4j1.2-java, libservlet2.4-java, libcommons-logging-java, libgnumail-java +Standards-Version: 3.7.2 + +Package: jetty +Architecture: all +Depends: java-gcj-compat | java1-runtime | java2-runtime, libxerces2-java, libmx4j-java, adduser, libtomcat5.5-java, libservlet2.4-java, libcommons-logging-java, ant, apache2-utils +Suggests: libapache2-mod-jk +Description: Java servlet engine and webserver + Jetty is an Open Source HTTP Servlet Server written in 100% Java. + It is designed to be light weight, high performance, embeddable, + extensible and flexible, thus making it an ideal platform for serving + dynamic HTTP requests from any Java application. + +Package: jetty-extra +Architecture: all +Depends: jetty, liblog4j1.2-java +Description: Extensions to jetty + Provides some extensions of jetty: + * JettyPlus: contains a number of useful facilities integrated with Jetty, + namely J2EE user transactions and DataSources, JNDI, JAAS and Log4J. + * An HTTP Loadbalancer --- jetty-5.1.14.orig/debian/start.config +++ jetty-5.1.14/debian/start.config @@ -0,0 +1,86 @@ +# This file controls what file are to be put on classpath or command line. +# +# Format is as follows: +# Each line contains entry for one JAR file. +# Format of line: +# +# SUBJECT [ [!] CONDITION [AND|OR] ]* +# +# where SUBJECT: +# ends with ".class" is the Main class to run. +# ends with ".xml" is a configuration file for the command line +# ends with "/" is a directory from which add all jar and zip files from. +# ends with "/*" is a directory from which add all unconsidered jar and zip files from. +# Containing = are used to assign system properties. +# all other subjects are treated as files to be added to the classpath. +# +# Subjects may include system properties with $(propertyname) syntax. +# +# Files starting with "/" are considered absolute, all others are relative to +# the home directory. +# +# CONDITION is one of: +# always +# never +# available classname +# java OPERATOR version +# nargs OPERATOR number +# OPERATOR := one of "<",">","<=",">=","==","!=" +# +# CONTITIONS can be combined with AND OR or !, with AND being the assume +# operator for a list of CONDITIONS. +# Classpath operations are evaluated on the fly, so once a class or jar is +# added to the classpath, subsequent available conditions will see that class. +# + +$(jetty.class.path) always + +org.apache.commons.logging.LogFactory=org.mortbay.log.Factory AND ! property org.apache.commons.logging.LogFactory ! property org.apache.commons.logging.Log + +# Try different settings of jetty.home until the jetty.jar is found. +jetty.home=/usr/share/jetty + +# Debian jars home +java.lib.home=/usr/share/java always +tomcat.lib.home=/usr/share/tomcat5.5/common/lib/ always + +# Do not validate xml files by default. +# Disabled because servlet-2.3.jar references an XSD which is not longer +# hostet by IBM. This should generally make the startup faster. +property=org.mortbay.xml.XmlParser.NotValidating=true + +# The main class to run +org.mortbay.jetty.Server.class + +# The default configuration files +#/etc/admin.xml nargs == 0 +/etc/jetty/jetty.xml nargs == 0 + +# Set the jetty classpath +# Always use the >1.2 version because version matching does not work with kaffe +$(jetty.home)/lib/org.mortbay.jetty.jar +#$(jetty.home)/lib/org.mortbay.jetty.jar java >= 1.4 +#$(jetty.home)/extra/lib/org.mortbay.jetty-jdk1.2.jar java < 1.4 AND java >= 1.2 +$(jetty.home)/lib/org.mortbay.jmx.jar +$(java.lib.home)/servlet-api-2.4.jar +$(java.lib.home)/jsp-api-2.0.jar + +# Always use xercesImpl from debian if it is present +$(java.lib.home)/xercesImpl.jar ! available org.apache.xerces.jaxp.DocumentBuilderImpl.class + +# Add the XML support jars if needed. +$(java.lib.home)/xmlParserAPIs.jar ! available org.w3c.dom.DOMError +$(java.lib.home)/xml-apis.jar ! available org.w3c.dom.Document + +# Set the classpath for the supporting cast +$(java.lib.home)/commons-logging.jar ! available org.apache.commons.logging.LogFactory +$(java.lib.home)/commons-el.jar ! available org.apache.commons.el.ExpressionEvaluatorImpl +$(java.lib.home)/jmxri.jar ! available javax.management.MBeanServer +$(tomcat.lib.home)/jasper-runtime.jar ! available org.apache.jasper.Constants +$(tomcat.lib.home)/jasper-compiler.jar ! available org.apache.jasper.JspCompilationContext +$(java.lib.home)/ant-1.6.jar ! available org.apache.tools.ant.BuildException +$(java.home)/lib/tools.jar ! available com.sun.tools.javac.Main +$(java.home)/../lib/tools.jar ! available com.sun.tools.javac.Main + +# Add anything in ext we have not yet considered. +$(jetty.home)/ext/* --- jetty-5.1.14.orig/debian/compat +++ jetty-5.1.14/debian/compat @@ -0,0 +1 @@ +4 --- jetty-5.1.14.orig/debian/changelog +++ jetty-5.1.14/debian/changelog @@ -0,0 +1,309 @@ +jetty (5.1.14-1) unstable; urgency=low + + * New upstream release. + - Removed debian/patches/cve-2007-6969.patch. Applied upstream. + * Added recognition of installed libcommons-el-java to debian/start.config. + Closes: #352093. + * Fixed short and long service description in debian/jetty.init. + Closes: #446788. + * Removed libapache2-mod-webapp from Suggests. + * Added watch file. + + -- Michael Koch Wed, 24 Oct 2007 14:14:45 +0200 + +jetty (5.1.10-4) unstable; urgency=low + + * Added patch to fix CVE-2006-6969. Thanks to Greg Wilkins for the patch. + Closes: #445283. + * Updated debian/patches/jdk-1.2-src-encoding.patch to make it work with + current ecj. + + -- Michael Koch Fri, 05 Oct 2007 07:34:55 +0200 + +jetty (5.1.10-3) unstable; urgency=low + + * Fix debian/jetty.init to permit removal without purge and offer a new + NO_START option in /etc/default/jetty. Closes: #356067. + Thanks to Loic Minier for the patch. + * Added additional paths to JDK_DIRS in debian/jetty.init. + Closes: #405851. + * (Build-)Depends on java-gcj-compat. + * Moved debhelper from Build-Depends-Indep to Build-Depends. + * Removed Build-Depends on libtomcat5-java and replace Depends on + libtomcat5-java by libtomcat5.5-java. + * Added LSB section in debian/jetty.init. + * Removed extra license file from /usr/share/doc/jetty. + * Added myself to Uploaders. + + -- Michael Koch Tue, 24 Jul 2007 20:40:27 +0200 + +jetty (5.1.10-2) unstable; urgency=low + + * Fix in init script for new version of su (closes #367491). + * Create logfile if not existing. Aknolwedge NMU (closes #356066). + + -- Philipp Meier Tue, 30 May 2006 10:46:21 +0200 + +jetty (5.1.10-1) unstable; urgency=low + + * New upstream release + * Sercurity fixes for windows + * Fixed path aliasing with // on windows. + * Fix for AJP13 with multiple headers + * Fix for AJP13 with encoded path + * Remove null dispatch attributes from getAttributeNames + * Put POST content default back to iso_8859_1. GET is UTF-8 + still + + -- Philipp Meier Tue, 30 May 2006 10:40:18 +0200 + +jetty (5.1.8-3) unstable; urgency=low + + * Enhance dependencies. + + -- Philipp Meier Fri, 16 Dec 2005 10:53:48 +0100 + +jetty (5.1.8-2) unstable; urgency=low + + * Add dependeny on apache2-util for log rotation. Closes: #343177. + + -- Philipp Meier Tue, 13 Dec 2005 14:28:09 +0100 + +jetty (5.1.8-1) unstable; urgency=low + + * New upstream release + + From 5.1.8: + + * Fixed space in URL issued created in 5.1.6 + + From 5.1.7: + + * improved server stats + * char encoding for MultiPartRequest + * fixed merging of POST params in dispatch query string. + * protect from NPE in dispatcher getValues + * Updated to 2.6.2 xerces + * JSP file servlet mappings copy JspServlet init params. + * Prefix servlet context logs with org.mortbay.jetty.context + * better support for URI character encodings + * use commons logging jar instead of api jar. + + -- Philipp Meier Wed, 7 Dec 2005 11:06:10 +0100 + +jetty (5.1.6-1) unstable; urgency=high + + * New upstream release + * Fixed JSP visibility security issue in upstream. + * Fix location of jasper since upgrade to tomcat5. Closes: #333010. + + -- Philipp Meier Wed, 30 Nov 2005 15:20:47 +0100 + +jetty (5.1.5rc1-5) unstable; urgency=low + + Patch from Oyvind Harboe : + + * increased default amount of memory available to 256Mbyte. + the advantage of having more heap available is that more + applications will be able to run without modification to + the standard Jetty configuration. + * added -Djava.library.path=/usr/lib to VM arguments. This is + requried to make e.g. the librxtx-java package work. + * Closes: #32960. + + -- Philipp Meier Thu, 22 Sep 2005 16:13:16 +0200 + +jetty (5.1.5rc1-4) unstable; urgency=low + + Patch from Oyvind Harboe : + + * Fixed rc script /etc/init.d/jetty. "stop" could leave dangling + /var/run/jetty.pid. Fixed this by adding "--oknodo" to + "start-stop-daemon --stop" command. + * Removed trailing "/" from LOGDIR which caused + /var/log/out.log not to be created. + * /etc/init.d/jetty start will now deal more gracefully with a + dangling /var/run/jetty.pid. A dangling jetty.pid is detected + and ignored. + * Closes: #326176. + + -- Philipp Meier Fri, 2 Sep 2005 13:40:59 +0200 + +jetty (5.1.5rc1-3) unstable; urgency=low + + * Removed -v from ant opts during build. + * Remove pid file on stop. Closes: #325667 + * Fix location of ant-1.6.jar in start.config. Closes: #324472. + + -- Philipp Meier Tue, 30 Aug 2005 13:37:15 +0200 + +jetty (5.1.5rc1-2) unstable; urgency=low + + * Builds with kaffe. + * Adds patch to exclude Sun JSSE if not available. + + -- Philipp Meier Sat, 27 Aug 2005 14:21:12 +0200 + +jetty (5.1.5rc1-1) unstable; urgency=low + + * New upstream release + + -- Philipp Meier Fri, 26 Aug 2005 12:53:50 +0200 + +jetty (5.1.4-1) unstable; urgency=low + + * New upstream release + * Added myself to Uploaders in control. + * Standards-Version bumbed to 3.6.2 + * Removed debian/watch which will not work with sourceforge + * Manage changes to upstream with cdbs simple-patchsys + * Fixed rc script /etc/init.d/jetty + * Adjusted new location of servlet.jar. Closes: #280139. + + -- Philipp Meier Fri, 12 Aug 2005 18:14:28 +0200 + +jetty (5.0.0-3) unstable; urgency=low + + * Package is now maintained by pkg-java. Maintainer was updated. + * Disable validation of xml files in start.config by default. + Closes: #298731. + * Add /usr/lib/j2sdk1.5-sun to JAVA_HOME_DIRS in debian/rules + + -- Philipp Meier Thu, 30 Jun 2005 14:32:31 +0200 + +jetty (5.0.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Transition to liblog4j1.2-java. Closes: #306761. + + -- Matej Vela Mon, 2 May 2005 12:12:12 +0200 + +jetty (5.0.0-2) unstable; urgency=low + + * Shipping working default configuration in /etc/jetty/jetty.xml. + Closes: #278134 + + -- Philipp Meier Mon, 25 Oct 2004 11:52:25 +0200 + +jetty (5.0.0-1) unstable; urgency=low + + * New upstream release + + -- Philipp Meier Thu, 16 Sep 2004 00:40:41 +0200 + +jetty (4.2.22-2) unstable; urgency=low + + * New upstream release + * Changed mantainer email + + -- Philipp Meier Wed, 25 Aug 2004 18:14:56 +0200 + +jetty (4.2.21-1) unstable; urgency=low + + * New upstream release + + -- Philipp Meier Mon, 23 Aug 2004 15:23:25 +0200 + +jetty (4.2.19-1) unstable; urgency=high + + * New upstream release. + * Fixed DOS attack problem + + -- Philipp Meier Fri, 19 Mar 2004 17:55:45 +0100 + +jetty (4.2.18-1) unstable; urgency=low + + * New upstream release. + * Package description of jetty-extra lists the + extensions provided. Closes: #232824 + + -- Philipp Meier Mon, 1 Mar 2004 13:54:01 +0100 + +jetty (4.2.15-1) unstable; urgency=low + + * Adds missing javadoc to /usr/share/doc/ + * Removes invalid libxdoclet-java from Build-Depends. + * Fixed clean target in upstreams extra build file. Building + jetty twice from the debianized source should work now. + + -- Philipp Meier Thu, 15 Jan 2004 14:00:13 +0100 + +jetty (4.2.15) unstable; urgency=low + + * New upstream release + * New additional package jetty-extra. + * Updated standards version from 3.5.10 to 3.6.0 + * Build target directory are no longer in debian because + the customization of the build process does not really pay off. + + -- Philipp Meier Wed, 14 Jan 2004 14:00:01 +0100 + +jetty (4.2.12-2) unstable; urgency=low + + * Fixes start.config to make jetty run with kaffe + * Updated standards version from 3.5.8 to 3.5.10 + + -- Philipp Meier Fri, 29 Aug 2003 14:43:40 +0200 + +jetty (4.2.12-1) unstable; urgency=low + + * New upstream release + + -- Philipp Meier Tue, 12 Aug 2003 14:07:56 +0200 + +jetty (4.2.11-7) unstable; urgency=low + + * Adds alternative dependency on j2sdk1.4 + * Fixes typos in debian/TODO + * Adds ant to classpath because jasper needs it. + + -- Philipp Meier Thu, 7 Aug 2003 20:34:19 +0200 + +jetty (4.2.11-6) unstable; urgency=low + + * Removes DH_VERBOSE from debian/rules + * /etc/jetty will be removed on purge + * Add build-dependency on j2sdk1.4 + + -- Philipp Meier Wed, 23 Jul 2003 15:38:05 +0200 + +jetty (4.2.11-5) unstable; urgency=low + + * Fix for /etc/default/jetty which was misplaced + * Fixes messed-up corrections for javadoc tags. Introduced before. + + -- Philipp Meier Wed, 23 Jul 2003 01:11:42 +0200 + +jetty (4.2.11-4) unstable; urgency=low + + * Jetty depends on j2re1.4 until build process of jetty + with java < 1.4 works. + * Fixes in build process + + -- Philipp Meier Thu, 17 Jul 2003 12:56:14 +0200 + +jetty (4.2.11-3) unstable; urgency=low + + * Creates /usr/share/java/webapps if necessary + * Not longer uses symlinks in ext but a debianized start.config + * Changed to multiline logging. + * Removed demo webapps and provides a preliminary debian jetty root + * Fixes /etc/defaults/jetty to be /etc/default/jetty + + -- Philipp Meier Thu, 17 Jul 2003 12:56:03 +0200 + +jetty (4.2.11-2) unstable; urgency=low + + * Adds build dependencies on libmx4j-java and iblog4j-java + * Removes comment about "Tomcat 4" from /etc/jetty.init + * Renamed debian/{pre,post}{inst,rm} to debian/jetty.* + * Enables javac.debug to provide useful stackstraces + + -- Philipp Meier Tue, 15 Jul 2003 21:50:36 +0200 + +jetty (4.2.11-1) unstable; urgency=low + + * Initial Release. + + -- Philipp Meier Mon, 14 Jul 2003 13:21:36 +0200 + --- jetty-5.1.14.orig/debian/adminRealm.properties +++ jetty-5.1.14/debian/adminRealm.properties @@ -0,0 +1,14 @@ +# +# This file defines users passwords and roles for a HashUserRealm +# +# The format is +# : [, ...] +# +# Passwords may be clear text, obfuscated or checksummed. The class +# org.mortbay.util.Password should be used to generate obfuscated +# passwords or password checksums +# +# If DIGEST Authentication is used, the password must be in a recoverable +# format, either plain text or OBF:. +# +admin: admin,server-administrator --- jetty-5.1.14.orig/debian/README.Debian +++ jetty-5.1.14/debian/README.Debian @@ -0,0 +1,6 @@ +jetty for Debian +---------------- + +Jetty's extras are available in the jetty-extra package. + + -- Philipp Meier , Thu Jan 15 13:59:34 CET 2004 --- jetty-5.1.14.orig/debian/ant.properties +++ jetty-5.1.14/debian/ant.properties @@ -0,0 +1,2 @@ +jasper-runtime.jar=/usr/share/tomcat4/common/lib/jasper-runtime.jar +jasper-compiler.jar=/usr/share/tomcat4/common/lib/jasper-compiler.jar --- jetty-5.1.14.orig/debian/jetty.default +++ jetty-5.1.14/debian/jetty.default @@ -0,0 +1,4 @@ +# Defaults for jetty see /etc/init.d/jetty for more +#JETTY_TMP=/var/cache/jetty +#JAVA_OPTIONS="-Xmx256m -Djava.awt.headless=true \ +# -Djava.io.tmpdir=$JETTY_TMP -Djava.library.path=/usr/lib" --- jetty-5.1.14.orig/debian/jetty.postrm +++ jetty-5.1.14/debian/jetty.postrm @@ -0,0 +1,22 @@ +#!/bin/sh -e + +#DEBHELPER# + +# Remove cached files +rm -rf /var/cache/jetty/* + +case "$1" in + purge) + userdel jetty || true + rm -rf /var/log/jetty + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + # Nothing to do here + ;; + + *) + echo "$0 called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac --- jetty-5.1.14.orig/debian/watch +++ jetty-5.1.14/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.mortbay.org/pub/jetty-5/jetty-(.*)\.tgz debian uupdate --- jetty-5.1.14.orig/debian/jetty.xml +++ jetty-5.1.14/debian/jetty.xml @@ -0,0 +1,222 @@ + + + + + + + + + + + + + + + + + + /var/log/jetty/jetty_yyyy_mm_dd.log + 90 + true + true + true + false + false + false + GMT + + + + + + + + + + + + + + + + + + + + + 10 + 100 + 30000 + 5000 + 8443 + 8443 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + root + + + /webapps/ + /etc/jetty/webdefault.xml + true + + + + + + + + + + + Jetty Admin Realm + /etc/jetty/adminRealm.properties + + + + + + /admin + Jetty Admin Realm + + + + + + + / + + Admin + server-administrator + + + + + Debug + /Debug/* + org.mortbay.servlet.Debug + + + Admin + / + org.mortbay.servlet.AdminServlet + + + org.mortbay.http.HttpServer + + + + + + + + + /javadoc/* + /usr/share/doc/jetty/api/ + + + + + + + + + + /cgi-bin/* + /usr/lib/cgi-bin/ + + Common Gateway Interface + / + org.mortbay.servlet.CGI + + /bin:/usr/bin:/usr/local/bin + + + + + + + + + + /var/log/jetty/request_yyyy_mm_dd.log + 90 + true + false + false + GMT + + + + + + + 2000 + false + + + + --- jetty-5.1.14.orig/debian/jetty.prerm +++ jetty-5.1.14/debian/jetty.prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for jetty +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/jetty.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- jetty-5.1.14.orig/debian/TODO +++ jetty-5.1.14/debian/TODO @@ -0,0 +1,15 @@ +TODO List for jetty in debian + +* add better support for /usr/share/webapps like tomcat does. + +* test if jetty can be run with virtal machines from main. A quick test + with sablevm and kaffe shoes that it's hardly possible. gcj barely tested. + +* improve rc scripts to make startup and shutdown more stable. + +* make jetty compile and run with jdk1.2 which is possible in upstream. + Maybe this would fix the issues with sablevm and kaffe. + +* improve debian specific documentation. + +* evaluate authbind --- jetty-5.1.14.orig/debian/jetty.preinst +++ jetty-5.1.14/debian/jetty.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for jetty +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + upgrade) + + ;; + + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- jetty-5.1.14.orig/debian/jetty.postinst +++ jetty-5.1.14/debian/jetty.postinst @@ -0,0 +1,23 @@ +#!/bin/sh -e + +case "$1" in + configure) + if ! id jetty > /dev/null 2>&1 ; then + adduser --system --home /usr/share/jetty --no-create-home \ + --ingroup nogroup --disabled-password --shell /bin/false \ + jetty + fi + chown jetty:adm /var/cache/jetty /var/log/jetty + chmod 750 /var/log/jetty + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "$0 called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# --- jetty-5.1.14.orig/debian/copyright +++ jetty-5.1.14/debian/copyright @@ -0,0 +1,152 @@ +This package was debianized by Philipp Meier +on Mon, 14 Jul 2003 13:21:36 +0200. + +It was downloaded from http://jetty.mortbay.com/ + +Upstream Author: Mortbay Consulting + +Jetty License Revision: 3.7 + +Preamble: + +The intent of this document is to state the conditions under which the +Jetty Package may be copied, such that the Copyright Holder maintains some +semblance of control over the development of the package, while giving +the users of the package the right to use, distribute and make reasonable +modifications to the Package in accordance with the goals and ideals of +the Open Source concept as described at http://www.opensource.org + +It is the intent of this license to allow commercial usage of the Jetty +package, so long as the source code is distributed or suitable visible +credit given or other arrangements made with the copyright holders. + +Definitions: + + * "Jetty" refers to the collection of Java classes that are + distributed as a HTTP server with servlet capabilities and + associated utilities. + + * "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + * "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes of + the Copyright Holder. + + * "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. Mort Bay Consulting + Pty. Ltd. (Australia) is the "Copyright Holder" for the Jetty + package. + + * "You" is you, if you're thinking about copying or distributing + this Package. + + * "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + * "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + +0. The Jetty Package is Copyright (c) Mort Bay Consulting Pty. Ltd. +(Australia) and others. Individual files in this package may contain +additional copyright notices. The javax.servlet packages are copyright +Sun Microsystems Inc. + +1. The Standard Version of the Jetty package is available from +http://jetty.mortbay.org. + +2. You may make and distribute verbatim copies of the source form of +the Standard Version of this Package without restriction, provided that +you include this license and all of the original copyright notices and +associated disclaimers. + +3. You may make and distribute verbatim copies of the compiled form of +the Standard Version of this Package without restriction, provided that +you include this license. + +4. You may apply bug fixes, portability fixes and other modifications +derived from the Public Domain or from the Copyright Holder. A Package +modified in such a way shall still be considered the Standard Version. + +5. You may otherwise modify your copy of this Package in any way, provided +that you insert a prominent notice in each changed file stating how and +when you changed that file, and provided that you do at least ONE of +the following: + + a) Place your modifications in the Public Domain or otherwise make + them Freely Available, such as by posting said modifications to Usenet + or an equivalent medium, or placing the modifications on a major + archive site such as ftp.uu.net, or by allowing the Copyright Holder + to include your modifications in the Standard Version of the Package. + + b) Use the modified Package only within your corporation or + organization. + + c) Rename any non-standard classes so the names do not conflict with + standard classes, which must also be provided, and provide a separate + manual page for each non-standard class that clearly documents how + it differs from the Standard Version. + + d) Make other arrangements with the Copyright Holder. + +6. You may distribute modifications or subsets of this Package in source +code or compiled form, provided that you do at least ONE of the following: + + a) Distribute this license and all original copyright messages, + together with instructions (in the about dialog, manual page or + equivalent) on where to get the complete Standard Version. + + b) Accompany the distribution with the machine-readable source + of the Package with your modifications. The modified package must + include this license and all of the original copyright notices and + associated disclaimers, together with instructions on where to get + the complete Standard Version. + + c) Make other arrangements with the Copyright Holder. + +7. You may charge a reasonable copying fee for any distribution of this +Package. You may charge any fee you choose for support of this Package. +You may not charge a fee for this Package itself. However, you may +distribute this Package in aggregate with other (possibly commercial) +programs as part of a larger (possibly commercial) software distribution +provided that you meet the other distribution requirements of this +license. + +8. Input to or the output produced from the programs of this Package do +not automatically fall under the copyright of this Package, but belong +to whomever generated them, and may be sold commercially, and may be +aggregated with this Package. + +9. Any program subroutines supplied by you and linked into this Package +shall not be considered part of this Package. + +10. The name of the Copyright Holder may not be used to endorse or +promote products derived from this software without specific prior +written permission. + +11. This license may change with each release of a Standard Version of +the Package. You may choose to use the license associated with version +you are using or the license of the latest Standard Version. + +12. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +13. If any superior law implies a warranty, the sole remedy under such +shall be , at the Copyright Holders option either a) return of any price +paid or b) use or reasonable endeavours to repair or replace the software. + +14. This license shall be read under the laws of Australia. + + The End + +This license was derived from the Artistic license published on +http://www.opensource.com + + --- jetty-5.1.14.orig/debian/jetty.install +++ jetty-5.1.14/debian/jetty.install @@ -0,0 +1,13 @@ +start.jar usr/share/jetty/lib +stop.jar usr/share/jetty/lib +lib/org.mortbay* usr/share/jetty/lib +classes/org/mortbay/jetty/servlet/webdefault.xml etc/jetty +debian/tmp/usr/share/jetty/lib/* +debian/jetty.xml etc/jetty +debian/start.config etc/jetty +debian/adminRealm.properties etc/jetty +demo/webapps/jetty/* usr/share/jetty/webapps/root +README.TXT usr/share/doc/jetty +VERSION.TXT usr/share/doc/jetty +javadoc/* usr/share/doc/jetty/api +etc/dtd usr/share/doc/jetty --- jetty-5.1.14.orig/debian/patches/jdk-1.2-src-encoding.patch +++ jetty-5.1.14/debian/patches/jdk-1.2-src-encoding.patch @@ -0,0 +1,12 @@ +--- extra/jdk1.2/build.xml.orig 2007-10-05 07:31:53.000000000 +0200 ++++ extra/jdk1.2/build.xml 2007-10-05 07:32:17.000000000 +0200 +@@ -127,7 +127,8 @@ + debug="${javac.debug}" + optimize="${javac.optimize}" + deprecation="${javac.deprecation}" +- target="1.2" ++ source="1.3" ++ target="1.3" + > + + --- jetty-5.1.14.orig/debian/patches/disable-jetty-plus.patch +++ jetty-5.1.14/debian/patches/disable-jetty-plus.patch @@ -0,0 +1,34 @@ +--- extra/plus/build.xml ++++ extra/plus/build.xml +@@ -132,6 +132,7 @@ + + + ++ + + + +@@ -197,6 +199,7 @@ + if="jaas.demo.available" + description="JAAS demo webapp"> + ++ + + + --- jetty-5.1.14.orig/debian/patches/sunjsse-disable.patch +++ jetty-5.1.14/debian/patches/sunjsse-disable.patch @@ -0,0 +1,50 @@ +--- build.xml.orig 2005-08-27 12:24:26.717664274 +0200 ++++ build.xml 2005-08-27 12:24:11.106455215 +0200 +@@ -87,6 +87,12 @@ + /> + + ++ ++ ++ + + + +@@ -181,6 +188,7 @@ + + + +- ++ ++ + + + +--- extra/jdk1.2/build.xml.orig 2005-08-27 12:25:15.641917691 +0200 ++++ extra/jdk1.2/build.xml 2005-08-27 12:26:36.948381880 +0200 +@@ -46,6 +46,12 @@ + classpathref="extpath" + /> + ++ ++ ++ + + + +@@ -135,6 +142,7 @@ + + + +- ++ ++ + + + --- jetty-5.1.14.orig/debian/patches/extras-skip-j2ee.patch +++ jetty-5.1.14/debian/patches/extras-skip-j2ee.patch @@ -0,0 +1,11 @@ +--- ../jetty-5.1.4.orig/extra/build.xml 2005-01-16 04:39:30.000000000 +0100 ++++ ./extra/build.xml 2005-06-30 14:52:33.787766544 +0200 +@@ -31,7 +31,7 @@ + + + + + --- jetty-5.1.14.orig/debian/patches/build-test-no-depend-on-javadoc.patch +++ jetty-5.1.14/debian/patches/build-test-no-depend-on-javadoc.patch @@ -0,0 +1,11 @@ +--- build.xml.orig 2005-08-06 17:27:29.204125585 +0200 ++++ build.xml 2005-08-06 17:27:35.845809517 +0200 +@@ -402,7 +402,7 @@ + + + + + --- jetty-5.1.14.orig/debian/patches/build-javadoc-src-encoding.patch +++ jetty-5.1.14/debian/patches/build-javadoc-src-encoding.patch @@ -0,0 +1,10 @@ +--- build.xml.orig 2005-04-07 12:53:50.000000000 +0200 ++++ build.xml 2005-06-30 16:33:27.089524800 +0200 +@@ -372,6 +373,7 @@ + public="true" + windowtitle="${ant.project.name} ${RELEASE.MAJOR.MINOR} API" + doctitle="${ant.project.name} ${RELEASE.MAJOR.MINOR}" ++ encoding="${javac.encoding}" + bottom="Copyright &copy; 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved."> + + --- jetty-5.1.14.orig/debian/patches/remove-import-from-sun.patch +++ jetty-5.1.14/debian/patches/remove-import-from-sun.patch @@ -0,0 +1,11 @@ +--- x 2005-12-13 15:25:19.726692025 +0100 ++++ src/org/mortbay/servlet/PostFileFilter.java 2005-12-13 15:25:07.438317184 +0100 +@@ -30,7 +30,7 @@ + import javax.servlet.http.HttpServletRequest; + import javax.servlet.http.HttpServletResponse; + +-import sun.reflect.ReflectionFactory.GetReflectionFactoryAction; ++//import sun.reflect.ReflectionFactory.GetReflectionFactoryAction; + + /* ------------------------------------------------------------ */ + /** PostFileFilter.