diff options
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/resin2/Makefile | 164 | ||||
-rw-r--r-- | www/resin2/distinfo | 2 | ||||
-rw-r--r-- | www/resin2/files/install.sh | 50 | ||||
-rw-r--r-- | www/resin2/files/patch-apache-Makefile.in | 11 | ||||
-rw-r--r-- | www/resin2/files/patch-apache2 | 13 | ||||
-rw-r--r-- | www/resin2/files/patch-apache2-Makefile.in | 11 | ||||
-rw-r--r-- | www/resin2/files/patch-configure | 11 | ||||
-rw-r--r-- | www/resin2/files/patch-resin.conf | 13 | ||||
-rw-r--r-- | www/resin2/files/patch-src_c_plugin_common_Makefile.in | 15 | ||||
-rw-r--r-- | www/resin2/files/pkg-deinstall | 52 | ||||
-rw-r--r-- | www/resin2/files/pkg-install | 50 | ||||
-rw-r--r-- | www/resin2/files/pkg-message-advanced.in | 23 | ||||
-rw-r--r-- | www/resin2/files/pkg-message.in | 32 | ||||
-rw-r--r-- | www/resin2/files/resin.sh.in | 43 | ||||
-rw-r--r-- | www/resin2/files/resinctl | 187 | ||||
-rw-r--r-- | www/resin2/pkg-descr | 23 | ||||
-rw-r--r-- | www/resin2/pkg-plist | 525 |
19 files changed, 1 insertions, 1226 deletions
@@ -3271,3 +3271,4 @@ devel/p5-Getopt-Popt||2012-04-09|Has expired: "Gone from CPAN" net/p5-Net-Rendezvous||2012-04-09|Has expired: Superceeded by dns/p5-Net-Bonjour audio/gstreamer-plugins-musicbrainz||2012-04-09|Has expired: MusicBrainz RDF webservice no longer functions x11/wrapper||2012-04-10|Has expired: not needed anymore +www/resin2||2012-04-10|Has expired: unsupported upstream, consider www/resin3 diff --git a/www/Makefile b/www/Makefile index f0355525cde7..cd98a5092f60 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1623,7 +1623,6 @@ SUBDIR += rekonq SUBDIR += reportmagic SUBDIR += repos-style - SUBDIR += resin2 SUBDIR += resin3 SUBDIR += retawq SUBDIR += reviewboard diff --git a/www/resin2/Makefile b/www/resin2/Makefile deleted file mode 100644 index 00e245ee271e..000000000000 --- a/www/resin2/Makefile +++ /dev/null @@ -1,164 +0,0 @@ -# New ports collection makefile for: resin2 -# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com> -# Date Created: 2002-07-15 15:00:43 -# -# $FreeBSD$ -# - -PORTNAME= resin -PORTVERSION= 2.1.17 -PORTREVISION= 4 -CATEGORIES= www java -MASTER_SITES= http://www.caucho.com/download/ - -MAINTAINER= boris@tagnet.ru -COMMENT= Resin, a Java-based Application Server, 2.x branch - -USE_JAVA= yes -JAVA_VERSION= 1.5+ -HAS_CONFIGURE= yes -USE_PYTHON= yes -USE_OPENSSL= yes - -DEPRECATED= unsupported upstream, consider www/resin3 -EXPIRATION_DATE= 2012-04-10 - -# Customizable settings -RUNASUSER?= www -RUNASUID?= 80 -GROUP?= ${RUNASUSER} -GID?= ${RUNASUID} -PORT?= 8080 -# Do not use PKGNAMESUFFIX here because version info is already in PORTVERSION -# If we used PKGNAMESUFFIX, the package name would be resin2-2.1.11 -APP_NAME_SUFFIX= ${PORTVERSION:C/\..*$//} -APP_NAME?= ${PORTNAME}${APP_NAME_SUFFIX} -LATEST_LINK= ${APP_NAME} -APP_HOME?= ${PREFIX}/${APP_NAME} -WITH_APACHE?= NO -WITH_APACHE2?= NO -PID_FILE?= ${APP_HOME}/${APP_NAME}.pid -LOG_FILE?= ${APP_HOME}/${APP_NAME}.log - -# Other settings -APXS?= ${LOCALBASE}/sbin/apxs -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${WRKDIR}/pkg-deinstall -PKGMESSAGE= ${WRKDIR}/pkg-message -REINPLACE_FILES= ${WRKSRC}/src/c/plugin/apache/Makefile.in \ - ${WRKSRC}/src/c/plugin/apache2/Makefile.in -REPLACE_FILES= ${FILESDIR}/pkg-install \ - ${FILESDIR}/pkg-deinstall \ - ${FILESDIR}/install.sh \ - ${FILESDIR}/pkg-message.in \ - ${FILESDIR}/pkg-message-advanced.in \ - ${WRKSRC}/conf/resin.conf \ - ${FILESDIR}/resinctl \ - ${FILESDIR}/resin.sh.in -COPYDIRS= doc lib libexec xsl - -.include <bsd.port.pre.mk> - -# Pass JAVA_HOME as determined by bsd.java.mk -CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME} \ - --with-openssl-lib=${OPENSSLLIB} \ - --with-openssl-include=${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl -# We need to link with cc instead of ld for the FreeBSD specific options used -# by threading libraries -CONFIGURE_ENV= LD=${CC} PTHREAD_LIBS=${PTHREAD_LIBS} - -# Install the Apache plugin if needed -.if defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES) -# -# Apache 1.3 -# -BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/apache13 -CONFIGURE_ARGS+= --with-apxs=${APXS} -PLIST_SUB+= MOD_DIR=libexec/apache -# Allow apxs invocations -PLIST_SUB+= APACHE="" -.elif defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES) -# -# Apache 2 -# -BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/apache20 -CONFIGURE_ARGS+= --with-apxs=${APXS} -PLIST_SUB+= MOD_DIR=libexec/apache2 -# Allow apxs invocations -PLIST_SUB+= APACHE="" -.else -PLIST_SUB+= MOD_DIR="@comment " -# Prevent apxs invocations -PLIST_SUB+= APACHE="@comment " -.endif - -PLIST_SUB+= APP_NAME=${APP_NAME} -PLIST_SUB+= APXS=${APXS} - -SUBSTITUTIONS= -e "s|%%APP_HOME%%|${APP_HOME}|g" \ - -e "s|%%APP_NAME%%|${APP_NAME}|g" \ - -e "s|%%APXS%%|${APXS}|g" \ - -e "s|%%COPYDIRS%%|${COPYDIRS}|g" \ - -e "s|%%FILESDIR%%|${FILESDIR}|g" \ - -e "s|%%GID%%|${GID}|g" \ - -e "s|%%GROUP%%|${GROUP}|g" \ - -e "s|%%JAVA%%|${JAVA}|g" \ - -e "s|%%JAVA_HOME%%|${JAVA_HOME}|g" \ - -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ - -e "s|%%LOG_FILE%%|${LOG_FILE}|g" \ - -e "s|%%PID_FILE%%|${PID_FILE}|g" \ - -e "s|%%PORT%%|${PORT}|g" \ - -e "s|%%PORTNAME%%|${PORTNAME}|g" \ - -e "s|%%PREFIX%%|${PREFIX}|g" \ - -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g" \ - -e "s|%%RUNASUID%%|${RUNASUID}|g" \ - -e "s|%%RUNASUSER%%|${RUNASUSER}|g" \ - -e "s|%%WRKDIR%%|${WRKDIR}|g" \ - -e "s|%%WRKSRC%%|${WRKSRC}|g" - -# Avoid build error on 64-bit architectures -.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64") -CFLAGS+= -fPIC -.endif - -post-patch: - @${REINPLACE_CMD} ${SUBSTITUTIONS} ${REINPLACE_FILES} - @for FILE in ${REPLACE_FILES} ; do \ - ${SED} ${SUBSTITUTIONS} $${FILE} > ${WRKDIR}/`basename $${FILE}` ; \ - done - @${FMT} -w 80 < ${WRKDIR}/pkg-message.in > ${PKGMESSAGE} - @${CAT} < ${WRKDIR}/pkg-message-advanced.in >> ${PKGMESSAGE} -.if (defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES) || \ -defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES)) - @${ECHO_CMD} >> ${PKGMESSAGE} - @${ECHO_CMD} The Resin Apache module mod_caucho has been activated \ - in the Apache configuration file, where you should also \ - add a line to specify the location of the Resin configuration \ - file, for example: | ${FMT} -w 80 >> ${PKGMESSAGE} - @${ECHO_CMD} >> ${PKGMESSAGE} - @${ECHO_CMD} "<IfModule mod_caucho.c>" >> ${PKGMESSAGE} - @${ECHO_CMD} " CauchoConfigFile ${PREFIX}/etc/${APP_NAME}.xml" >> ${PKGMESSAGE} - @${ECHO_CMD} "</IfModule>" >> ${PKGMESSAGE} -.endif - -post-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} install - -# Resin does not handle installation, so proceed now -do-install: - @${SETENV} RUNASUSER=${RUNASUSER} GROUP=${GROUP} ${SH} ${WRKDIR}/install.sh -.if (defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES)) - ${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache2/mod_caucho.so -.endif -.if (defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES)) - ${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache/mod_caucho.so -.endif - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${ECHO_MSG} - @${ECHO_MSG} "********************************************************************************" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "********************************************************************************" - @${ECHO_MSG} - -.include <bsd.port.post.mk> diff --git a/www/resin2/distinfo b/www/resin2/distinfo deleted file mode 100644 index 503b17fb646b..000000000000 --- a/www/resin2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (resin-2.1.17.tar.gz) = c9291e89a544809e637522dd0b47c5191263bd33942715006814147c1bd02104 -SIZE (resin-2.1.17.tar.gz) = 2956041 diff --git a/www/resin2/files/install.sh b/www/resin2/files/install.sh deleted file mode 100644 index 76eb53923d07..000000000000 --- a/www/resin2/files/install.sh +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ - -set -e - -warning() { - echo "Kept %%PREFIX%%/etc/%%APP_NAME%%.xml intact from previous installation, please diff" - echo "against %%APP_NAME%%.xml-dist" -} - -# Install config file only if none is already there -if test -e %%PREFIX%%/etc/%%APP_NAME%%.xml && \ - ! cmp -s %%WRKDIR%%/resin.conf %%PREFIX%%/etc/%%APP_NAME%%.xml ; then - echo - echo "********************************************************************************" - warning | fmt -w 80 - echo "********************************************************************************" - echo -else - install %%WRKDIR%%/resin.conf %%PREFIX%%/etc/%%APP_NAME%%.xml - echo Installed %%PREFIX%%/etc/%%APP_NAME%%.xml -fi - -# Install new config file with '-dist' appended -install %%WRKDIR%%/resin.conf %%PREFIX%%/etc/%%APP_NAME%%.xml-dist -echo Installed %%PREFIX%%/etc/%%APP_NAME%%.xml-dist - -install %%WRKDIR%%/resin.sh.in %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh -chmod 755 %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh -echo Installed %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh - -install %%WRKDIR%%/resinctl %%PREFIX%%/sbin/%%APP_NAME%%ctl -echo Installed %%PREFIX%%/sbin/%%APP_NAME%%ctl - -test -d %%APP_HOME%% || mkdir %%APP_HOME%% -echo Created installation directory %%APP_HOME%% - -list() -{ - for dir in %%COPYDIRS%% ; do - ( cd %%WRKSRC%% ; find $dir ) - done -} - -# Remove all empty dirs -( cd %%WRKSRC%% && find %%COPYDIRS%% -type d -empty -delete ) - -echo Installing in %%APP_HOME%% -list | ( cd %%WRKSRC%% && cpio -pdm -L -R $RUNASUSER:$GROUP %%APP_HOME%% ) diff --git a/www/resin2/files/patch-apache-Makefile.in b/www/resin2/files/patch-apache-Makefile.in deleted file mode 100644 index a4026bbfc6b2..000000000000 --- a/www/resin2/files/patch-apache-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/c/plugin/apache/Makefile.in.orig Fri Dec 16 13:18:12 2005 -+++ src/c/plugin/apache/Makefile.in Fri Dec 16 13:18:19 2005 -@@ -28,8 +28,6 @@ - $(CC) -c $(INCLUDES) $(CFLAGS) $< - - install : -- sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \ -- -resin_home $(resin_home) - - clean : - - rm *.o *.lo *.la *.so diff --git a/www/resin2/files/patch-apache2 b/www/resin2/files/patch-apache2 deleted file mode 100644 index fe82d355a226..000000000000 --- a/www/resin2/files/patch-apache2 +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- src/c/plugin/apache2/mod_caucho.c.orig Tue Apr 15 23:28:46 2003 -+++ src/c/plugin/apache2/mod_caucho.c Fri Jun 6 01:37:29 2003 -@@ -52,7 +52,7 @@ - #include "cse.h" - #include "version.h" - --#ifndef APR_HAS_THREADS -+#if !APR_HAS_THREADS - #define apr_thread_mutex_t int - #define apr_thread_mutex_create(a,b,c) - #define apr_thread_mutex_lock(a) diff --git a/www/resin2/files/patch-apache2-Makefile.in b/www/resin2/files/patch-apache2-Makefile.in deleted file mode 100644 index 0acb1e5f8860..000000000000 --- a/www/resin2/files/patch-apache2-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/c/plugin/apache2/Makefile.in.orig Fri Dec 16 13:18:09 2005 -+++ src/c/plugin/apache2/Makefile.in Fri Dec 16 13:18:21 2005 -@@ -27,8 +27,6 @@ - $(CC) -c $(INCLUDES) $(CFLAGS) $< - - install : -- sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \ -- -resin_home $(resin_home) - - clean : - - rm *.o *.lo *.so diff --git a/www/resin2/files/patch-configure b/www/resin2/files/patch-configure deleted file mode 100644 index 89faadd8a1f1..000000000000 --- a/www/resin2/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Fri Dec 9 00:09:15 2005 -+++ configure Mon Apr 3 11:06:18 2006 -@@ -3671,7 +3671,7 @@ - ;; - - *freebsd*) -- PROXY_LIBS='-lc_r' -+ PROXY_LIBS="${PTHREAD_LIBS}" - jni_os=freebsd - ;; - diff --git a/www/resin2/files/patch-resin.conf b/www/resin2/files/patch-resin.conf deleted file mode 100644 index 477194ff863e..000000000000 --- a/www/resin2/files/patch-resin.conf +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- conf/resin.conf.orig Thu Mar 6 10:19:07 2003 -+++ conf/resin.conf Wed Mar 5 21:05:50 2003 -@@ -67,7 +67,7 @@ - <doc-dir>doc</doc-dir> - - <!-- the http port --> -- <http port='8080'/> -+ <http port='%%PORT%%'/> - - <!-- - - The srun port, read by both JVM and plugin diff --git a/www/resin2/files/patch-src_c_plugin_common_Makefile.in b/www/resin2/files/patch-src_c_plugin_common_Makefile.in deleted file mode 100644 index 45dcfc61813c..000000000000 --- a/www/resin2/files/patch-src_c_plugin_common_Makefile.in +++ /dev/null @@ -1,15 +0,0 @@ ---- src/c/plugin/common/Makefile.in.orig Fri Dec 9 10:09:13 2005 -+++ src/c/plugin/common/Makefile.in Tue Apr 4 23:01:30 2006 -@@ -14,10 +14,10 @@ - all : common.o common.lo - - common.o : $(OBJ) -- $(LD) -r -o $@ $(OBJ) -+ $(LD) $(LDFLAGS_SHLIB) -o $@ $(OBJ) - - common.lo : $(OBJ_PICS) -- $(LD) -r -o $@ $(OBJ_PICS) -+ $(LD) $(LDFLAGS_SHLIB) -o $@ $(OBJ_PICS) - - .c.lo : - $(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $< && mv $*.o $*.lo diff --git a/www/resin2/files/pkg-deinstall b/www/resin2/files/pkg-deinstall deleted file mode 100644 index 4b26efbd1c37..000000000000 --- a/www/resin2/files/pkg-deinstall +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# -# This script does the following. -# -# * Checks if the PID file exists. If it does, it kills the -# process and removes the PID file. -# -# * Checks if the 'www' user exists. If it does, then it displays -# a message. -# -# $FreeBSD: /tmp/pcvs/ports/www/resin2/files/Attic/pkg-deinstall,v 1.1 2003-11-20 21:25:09 glewis Exp $ -# -# Borrowed from the jakarta-tomcat port -# - -set -e - -PID_FILE=%%PID_FILE%% -RUNASUSER=%%RUNASUSER%% - -# Make sure we're in the right stage of the process -if [ "$2" = "DEINSTALL" ]; then - - # Kill the process if it is still running - if [ -s ${PID_FILE} ]; then - PID=`cat ${PID_FILE}` - echo -n ">> Killing %%APP_NAME%% process (${PID})..." - - if /bin/kill ${PID} > /dev/null 2> /dev/null ; then - echo " [ DONE ]" - else - echo " [ FAILED ]" - fi - - echo -n ">> Removing PID file (${PID_FILE})..." - - if rm ${PID_FILE} > /dev/null 2> /dev/null ; then - echo " [ DONE ]" - else - echo " [ FAILED ]" - fi - fi -fi - -if [ "$2" = "POST-DEINSTALL" ]; then - # If the user exists, then display a message - if pw usershow "$RUNASUSER" 2>/dev/null 1>&2; then - echo "To delete the $RUNASUSER user permanently, use 'pw userdel $RUNASUSER'" - fi -fi - -exit 0 diff --git a/www/resin2/files/pkg-install b/www/resin2/files/pkg-install deleted file mode 100644 index 99cf5f46910a..000000000000 --- a/www/resin2/files/pkg-install +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# Checks if the requested user and group exist. If they don't, then -# an attempt is made to create both. -# -# $FreeBSD: /tmp/pcvs/ports/www/resin2/files/Attic/pkg-install,v 1.1 2003-11-20 21:25:09 glewis Exp $ -# -# Borrowed from the jakarta-tomcat port -# - -set -e - -RUNASUSER=%%RUNASUSER%% -RUNASUID=%%RUNASUID%% -GROUP=%%GROUP%% -GID=%%GID%% - -if [ "$2" = "POST-INSTALL" ]; then - # We're called after the 'make install' process - # See if the group already exists - if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then - - # If not, try to create it - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - # See if the user already exists - if ! pw usershow "${RUNASUSER}" 2>/dev/null 1>&2; then - - # If not, try to create it - if pw useradd ${RUNASUSER} -u ${RUNASUID} -g ${GROUP} -h - \ - -s "/sbin/nologin" -d "/nonexistent" \ - -c "World Wide Web Owner"; \ - then - echo "Added user \"${RUNASUSER}\"." - else - echo "Adding user \"${RUNASUSER}\" failed..." - exit 1 - fi - fi - - chown -R %%RUNASUSER%%:%%GROUP%% $PKG_PREFIX/%%APP_NAME%% -fi - -exit 0 diff --git a/www/resin2/files/pkg-message-advanced.in b/www/resin2/files/pkg-message-advanced.in deleted file mode 100644 index 60f676a9c59a..000000000000 --- a/www/resin2/files/pkg-message-advanced.in +++ /dev/null @@ -1,23 +0,0 @@ - --------------------------------------------------------------------------------- -ADVANCED USAGE - -If you need to pass special options to Java, please set the -%%APP_NAME%%_flags option in /etc/rc.conf, see examples below: - - # Prevent Java from opening an X11 display - - %%APP_NAME%%_flags="-Djava.awt.headless=true" - - # Increase memory limit of the Java virtual machine - - %%APP_NAME%%_flags="-Xms32m -Xmx256m" - - # Run Java with remote debugging turned on on port 8000 - - %%APP_NAME%%_flags="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" - -To specify the java version to use, please use %%APP_NAME%%_java_version: - - %%APP_NAME%%_java_version="1.4" - diff --git a/www/resin2/files/pkg-message.in b/www/resin2/files/pkg-message.in deleted file mode 100644 index 5eb713703dbd..000000000000 --- a/www/resin2/files/pkg-message.in +++ /dev/null @@ -1,32 +0,0 @@ -Resin is now installed in %%APP_HOME%% - -You may want to activate it in /etc/rc.conf: - -%%APP_NAME%%_enable="YES" - -Then start it: - -env - %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh start - -For this control script to run seamlessly, it is recommended to increase the -maximum length of commands displayed by ps(1). Please append the following -setting to /etc/sysctl.conf: - - # Do not truncate command line arguments in ps(1) listing - kern.ps_arg_cache_limit=10000 - -This setting will take effect at next reboot, however it is possible to have -immediate effect with the following command as root: - - # sysctl kern.ps_arg_cache_limit=10000 - -If you wish to skip this setting, please note that the `stop', `restart' and -`status' will not function properly with %%APP_NAME%%.sh. - -Once Resin is started, point your web browser to the default home page at -http://localhost:%%PORT%%/ to read the documentation and test the samples. - -Resin configuration is located at %%PREFIX%%/etc/%%APP_NAME%%.xml - - -Enjoy! diff --git a/www/resin2/files/resin.sh.in b/www/resin2/files/resin.sh.in deleted file mode 100644 index 549022a68ee7..000000000000 --- a/www/resin2/files/resin.sh.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: %%APP_NAME%% -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable %%APP_NAME%%: -# -# %%APP_NAME%%_enable="YES" -# - -. /etc/rc.subr - -name=%%APP_NAME%% -rcvar=%%APP_NAME%%_enable - -command="%%PREFIX%%/sbin/%%APP_NAME%%ctl" -command_args="start" -pidfile=%%PID_FILE%% - -# set defaults - -%%APP_NAME%%_enable=${%%APP_NAME%%_enable:-"NO"} -%%APP_NAME%%_user=${%%APP_NAME%%_user:-"www"} -%%APP_NAME%%_group=${%%APP_NAME%%_group:-"www"} - -load_rc_config ${name} - -if test -n "${%%APP_NAME%%_java_version}" ; then - JAVA_HOME=$(JAVA_VERSION="${%%APP_NAME%%_java_version}" JAVAVM_DRYRUN=1 %%LOCALBASE%%/bin/java | grep JAVA_HOME | cut -d= -f2) - procname=$(JAVA_VERSION="${%%APP_NAME%%_java_version}" JAVAVM_DRYRUN=1 %%LOCALBASE%%/bin/java | grep JAVAVM_PROG | cut -d= -f2) -else - JAVA_HOME=$(JAVAVM_DRYRUN=1 %%LOCALBASE%%/bin/java | grep JAVA_HOME | cut -d= -f2) - procname=$(JAVAVM_DRYRUN=1 %%LOCALBASE%%/bin/java | grep JAVAVM_PROG | cut -d= -f2) -fi - -export JAVA_HOME - -run_rc_command "$1" diff --git a/www/resin2/files/resinctl b/www/resin2/files/resinctl deleted file mode 100644 index 886ea3495fa4..000000000000 --- a/www/resin2/files/resinctl +++ /dev/null @@ -1,187 +0,0 @@ -#! %%PYTHON_CMD%% - -################################################################################ -# Author: Jean-Baptiste Quenot <jb.quenot@caraldi.com> -# Purpose: Manage resin pid file and log files -# Date Created: 2005-01-21 15:43:19 -# Revision: $FreeBSD$ -################################################################################ -# Copyright (c) 2004, Jean-Baptiste Quenot <jb.quenot@caraldi.com> -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# * The name of the contributors may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -################################################################################ -# -# Files handled by this script (pid file, log files) must reside in a writable -# directory, ie the directory must be owned by the user running the program. - -import sys, os, signal, time, stat, re - -def classpath(): - classpath = [] - resin_libdir = APP_HOME + "/lib" - java_libdir = os.environ['JAVA_HOME'] + "/lib" - for libdir in [resin_libdir, java_libdir]: - for file in os.listdir(libdir): - if re.search("\.jar$", file): - classpath.append(libdir + "/" + file) - return ':'.join(classpath) - -# -socketwait 12345 -# -stdout $APP_HOME/log/stdout.log -# -stderr $APP_HOME/log/stderr.log - -def readProcessId(): - f = open(PID_FILE, 'r') - pid = int(f.readline()) - f.close() - return pid - -def isProgramRunning(pid): - # Send a dummy signal to the process. If it died, an exception is - # thrown - try: - os.kill(pid, signal.SIGCONT) - return 1 - except OSError: - return 0 - -def usage(): - print >> sys.stderr, "Usage: %s {start|stop|restart}" % sys.argv[0] - -def start(): - cwd = os.getcwd() - if os.path.exists(PID_FILE): - # Read the process id - pid = readProcessId() - - if isProgramRunning(pid): - print >> sys.stderr, '%s already started' % APP_NAME - sys.exit(3) - - if not(os.path.exists(COMMAND)): - print >> sys.stderr, '%s cannot be found' % COMMAND - sys.exit(3) - - # Append program output to a log file - l = open(LOG_FILE, 'a') - orig_stderr = os.dup(sys.stderr.fileno()) - os.dup2(l.fileno(), sys.stdout.fileno()) - os.dup2(l.fileno(), sys.stderr.fileno()) - - finfo = os.stat(COMMAND)[stat.ST_MODE] - executable = stat.S_IMODE(finfo) & 0111 - if not(executable): - sys.stderr = os.fdopen(orig_stderr, 'w') - print >> sys.stderr, 'Cannot run %s, execute bit is missing' % COMMAND - sys.exit(5) - - if APP_HOME: - # Change current directory to APP_HOME - os.chdir(APP_HOME) - - # Start program in the background - pid = os.spawnv(os.P_NOWAIT, COMMAND, ARGS) - - # Wait a little - time.sleep(.4) - (status_pid, status) = os.waitpid(pid, os.WNOHANG) - - # Check program exit status, if available - if status_pid != 0 and os.WIFEXITED(status): - sys.stderr = os.fdopen(orig_stderr, 'w') - print >> sys.stderr, 'Could not start %s. Check %s for errors.' % (APP_NAME, LOG_FILE) - sys.exit(2) - - # It's alive, so write down the process id - os.chdir(cwd) - f = open(PID_FILE, 'w') - print >> f, pid - f.close() - -def warnNotRunning(): - if sys.argv[1] == "stop": - print >> sys.stderr, '%s is not running' % APP_NAME - else: - print >> sys.stderr, 'Warning: %s was not running' % APP_NAME - -def cleanup(): - os.unlink(PID_FILE) - -def stop(): - if os.path.exists(PID_FILE): - # Read the process id - pid = readProcessId() - else: - warnNotRunning() - return - - if not(isProgramRunning(pid)): - warnNotRunning() - cleanup() - return - - # Terminate program - os.kill(pid, signal.SIGTERM) - - while isProgramRunning(pid): - time.sleep(.1) - - cleanup() - -if __name__ == '__main__': - LOG_FILE = "%%LOG_FILE%%" - APP_NAME = "%%APP_NAME%%" - APP_HOME = "%%APP_HOME%%" - PID_FILE = "%%PID_FILE%%" - COMMAND = "%%PREFIX%%/bin/java" - ARGS = [COMMAND] - - ARGS += sys.argv[1:-1] - - ARGS += [ - "-Dresin.home=%%APP_HOME%%", - "com.caucho.server.http.HttpServer", - "-conf", "%%PREFIX%%/etc/%%APP_NAME%%.xml" - ] - - os.environ['CLASSPATH'] = classpath() - os.environ['PATH'] = "%%LOCALBASE%%/bin:/usr/bin:/bin" - - if len(sys.argv) < 2: - usage() - sys.exit(1) - - if sys.argv[-1] == "start": - start() - - elif sys.argv[-1] == "stop": - stop() - - elif sys.argv[-1] == "restart": - stop() - start() - - else: - usage() - sys.exit(1) diff --git a/www/resin2/pkg-descr b/www/resin2/pkg-descr deleted file mode 100644 index 2cb2a45e22cd..000000000000 --- a/www/resin2/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -Resin is a fast servlet and JSP engine supporting load balancing for increased -reliability. Resin encourages separation of content from style with its XSL -support. Servlets can generate simple XML and use an XSL filter to format -results for each client's capability, from palm pilots to Mozilla. Resin -includes a full-featured HTTP/1.1 web server, provides a fast servlet runner -for Apache, and supports the latest Servlet 2.3 and JSP 1.2 specifications from -Sun. - -o You may use Resin for development, evaluation, and demos. -o You must contact us to purchase a deployment license if either: - * You are paid to use Resin. - * You are paying someone else to use Resin. - -o If no one is paid to use Resin, you may use Resin for deployment: - * students - * private use - * tiny startups with neither funding nor income. - -o Anyone falling in between should contact us for a waiver. -o Distributors must contact us. -o If you are allowed to use Resin, you may modify the source for that use. - -WWW: http://www.caucho.com/ diff --git a/www/resin2/pkg-plist b/www/resin2/pkg-plist deleted file mode 100644 index 5b0adf7a4363..000000000000 --- a/www/resin2/pkg-plist +++ /dev/null @@ -1,525 +0,0 @@ -@comment $FreeBSD$ -%%APP_NAME%%/doc/beta.xtp -%%APP_NAME%%/doc/changes-1.xtp -%%APP_NAME%%/doc/changes.xtp -%%APP_NAME%%/doc/css/default.css -%%APP_NAME%%/doc/errata.xtp -%%APP_NAME%%/doc/examples/basic/WEB-INF/classes/Env.java -%%APP_NAME%%/doc/examples/basic/WEB-INF/classes/HelloServlet.java -%%APP_NAME%%/doc/examples/basic/com/caucho/fortune/1.html -%%APP_NAME%%/doc/examples/basic/com/caucho/fortune/2.html -%%APP_NAME%%/doc/examples/basic/com/caucho/fortune/3.html -%%APP_NAME%%/doc/examples/basic/com/caucho/fortune/4.html -%%APP_NAME%%/doc/examples/basic/com/caucho/fortune/5.html -%%APP_NAME%%/doc/examples/basic/counter.jsp -%%APP_NAME%%/doc/examples/basic/data/fortune/1.html -%%APP_NAME%%/doc/examples/basic/data/fortune/2.html -%%APP_NAME%%/doc/examples/basic/data/fortune/3.html -%%APP_NAME%%/doc/examples/basic/data/fortune/4.html -%%APP_NAME%%/doc/examples/basic/data/fortune/5.html -%%APP_NAME%%/doc/examples/basic/dir.jsp -%%APP_NAME%%/doc/examples/basic/dummy.jsp -%%APP_NAME%%/doc/examples/basic/env.jsp -%%APP_NAME%%/doc/examples/basic/file.jsp -%%APP_NAME%%/doc/examples/basic/form.html -%%APP_NAME%%/doc/examples/basic/form.jsp -%%APP_NAME%%/doc/examples/basic/hello.jsp -%%APP_NAME%%/doc/examples/basic/quote.jsp -%%APP_NAME%%/doc/examples/basic/quote_error.jsp -%%APP_NAME%%/doc/examples/basic/session.jsp -%%APP_NAME%%/doc/examples/basic/stats.jsp -%%APP_NAME%%/doc/examples/index.xtp -%%APP_NAME%%/doc/examples/login/WEB-INF/classes/test/TestAuthenticator.java -%%APP_NAME%%/doc/examples/login/WEB-INF/web.xml -%%APP_NAME%%/doc/examples/login/error.html -%%APP_NAME%%/doc/examples/login/index.jsp -%%APP_NAME%%/doc/examples/login/login.html -%%APP_NAME%%/doc/examples/login/login.jsp -%%APP_NAME%%/doc/examples/login/protected.jsp -%%APP_NAME%%/doc/examples/navigation/WEB-INF/scripts/Navigation.js -%%APP_NAME%%/doc/examples/navigation/WEB-INF/scripts/fancy_header.js -%%APP_NAME%%/doc/examples/navigation/WEB-INF/scripts/header.js -%%APP_NAME%%/doc/examples/navigation/article1.jsp -%%APP_NAME%%/doc/examples/navigation/article2.jsp -%%APP_NAME%%/doc/examples/navigation/child1.jsp -%%APP_NAME%%/doc/examples/navigation/child2.jsp -%%APP_NAME%%/doc/examples/navigation/conclusion.jsp -%%APP_NAME%%/doc/examples/navigation/navigation.jsp -%%APP_NAME%%/doc/examples/navigation/toc.xml -%%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp/Guest.java -%%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp/GuestBook.java -%%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp/GuestJsp.java -%%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp/GuestXtp.java -%%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp/RSS.java -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/caucho_form.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/default.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/defaultcopy.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/form.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/formatting.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/guestbook.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/header.xsl -%%APP_NAME%%/doc/examples/templates/WEB-INF/xsl/rss.xsl -%%APP_NAME%%/doc/examples/templates/add.jsp -%%APP_NAME%%/doc/examples/templates/add.xtp -%%APP_NAME%%/doc/examples/templates/admin.jsp -%%APP_NAME%%/doc/examples/templates/admin.xtp -%%APP_NAME%%/doc/examples/templates/guestbook.jsp -%%APP_NAME%%/doc/examples/templates/guestbook.xtp -%%APP_NAME%%/doc/examples/templates/guestbook_bean.jsp -%%APP_NAME%%/doc/examples/templates/guestbook_inc.jsp -%%APP_NAME%%/doc/examples/templates/list.jsp -%%APP_NAME%%/doc/examples/templates/login.jsp -%%APP_NAME%%/doc/examples/templates/login.xtp -%%APP_NAME%%/doc/examples/templates/loginold.jsp -%%APP_NAME%%/doc/examples/templates/rss.xtp -%%APP_NAME%%/doc/examples/templates/simple-format.xsl -%%APP_NAME%%/doc/examples/tictactoe/WEB-INF/scripts/score.js -%%APP_NAME%%/doc/examples/tictactoe/error.jsp -%%APP_NAME%%/doc/examples/tictactoe/tictactoe.jsp -%%APP_NAME%%/doc/examples/toc.xml -%%APP_NAME%%/doc/examples/tutorial/WEB-INF/classes/servlet/trivial/HelloServlet.java -%%APP_NAME%%/doc/examples/tutorial/WEB-INF/web.xml -%%APP_NAME%%/doc/examples/view_source.jsp -%%APP_NAME%%/doc/examples/xsl/WEB-INF/classes/xsl/Dispatch.java -%%APP_NAME%%/doc/examples/xsl/WEB-INF/scripts/Navigation.js -%%APP_NAME%%/doc/examples/xsl/WEB-INF/web.xml -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/basic.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/content.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/copy.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/counter.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/default.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/header.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/plain.xsl -%%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl/verify.xsl -%%APP_NAME%%/doc/examples/xsl/basic.xtp -%%APP_NAME%%/doc/examples/xsl/counter.xtp -%%APP_NAME%%/doc/examples/xsl/data/fortune/1.html -%%APP_NAME%%/doc/examples/xsl/data/fortune/2.html -%%APP_NAME%%/doc/examples/xsl/data/fortune/3.html -%%APP_NAME%%/doc/examples/xsl/data/fortune/4.html -%%APP_NAME%%/doc/examples/xsl/data/fortune/5.html -%%APP_NAME%%/doc/examples/xsl/good-doc.xtp -%%APP_NAME%%/doc/examples/xsl/index.xml -%%APP_NAME%%/doc/examples/xsl/navigation.xtp -%%APP_NAME%%/doc/examples/xsl/toc.xml -%%APP_NAME%%/doc/examples/xsl/vary.xml -%%APP_NAME%%/doc/examples/xsl/vary.xtp -%%APP_NAME%%/doc/examples/xsl/verify-bad.xtp -%%APP_NAME%%/doc/examples/xsl/verify-ok.xtp -%%APP_NAME%%/doc/faq/classloader.xtp -%%APP_NAME%%/doc/faq/config.xtp -%%APP_NAME%%/doc/faq/debug.xtp -%%APP_NAME%%/doc/faq/index.xtp -%%APP_NAME%%/doc/faq/install.xtp -%%APP_NAME%%/doc/faq/misc.xtp -%%APP_NAME%%/doc/faq/servlet.xtp -%%APP_NAME%%/doc/faq/ssl.xtp -%%APP_NAME%%/doc/faq/toc.xml -%%APP_NAME%%/doc/features.xtp -%%APP_NAME%%/doc/future.xtp -%%APP_NAME%%/doc/images/2020media.gif -%%APP_NAME%%/doc/images/C5.gif -%%APP_NAME%%/doc/images/altlinuxlogo.gif -%%APP_NAME%%/doc/images/anonymous-caching.gif -%%APP_NAME%%/doc/images/apache_srun.gif -%%APP_NAME%%/doc/images/appserver.gif -%%APP_NAME%%/doc/images/ascendim logo.gif -%%APP_NAME%%/doc/images/av.gif -%%APP_NAME%%/doc/images/background.gif -%%APP_NAME%%/doc/images/backup.gif -%%APP_NAME%%/doc/images/balance.gif -%%APP_NAME%%/doc/images/ball8.gif -%%APP_NAME%%/doc/images/bean.gif -%%APP_NAME%%/doc/images/bean1.gif -%%APP_NAME%%/doc/images/beantree.gif -%%APP_NAME%%/doc/images/bloomfield-nutrition.gif -%%APP_NAME%%/doc/images/brave.gif -%%APP_NAME%%/doc/images/caucho.gif -%%APP_NAME%%/doc/images/comics.gif -%%APP_NAME%%/doc/images/compiler.gif -%%APP_NAME%%/doc/images/comsquared.gif -%%APP_NAME%%/doc/images/cwi.gif -%%APP_NAME%%/doc/images/dilbert.gif -%%APP_NAME%%/doc/images/dual-sticky-sessions.gif -%%APP_NAME%%/doc/images/e-gate.gif -%%APP_NAME%%/doc/images/ecornell.gif -%%APP_NAME%%/doc/images/edensoftlogo.gif -%%APP_NAME%%/doc/images/efectelogo.gif -%%APP_NAME%%/doc/images/fatwirelogo.gif -%%APP_NAME%%/doc/images/file.gif -%%APP_NAME%%/doc/images/filter.gif -%%APP_NAME%%/doc/images/finatec.gif -%%APP_NAME%%/doc/images/folder.gif -%%APP_NAME%%/doc/images/halfcom.gif -%%APP_NAME%%/doc/images/hbleed.gif -%%APP_NAME%%/doc/images/head_dilbert.gif -%%APP_NAME%%/doc/images/httpd.gif -%%APP_NAME%%/doc/images/idetixlogo.gif -%%APP_NAME%%/doc/images/iis_srun.gif -%%APP_NAME%%/doc/images/inktomi.gif -%%APP_NAME%%/doc/images/intramart1.gif -%%APP_NAME%%/doc/images/iwon.gif -%%APP_NAME%%/doc/images/jahialogo.gif -%%APP_NAME%%/doc/images/javanet.gif -%%APP_NAME%%/doc/images/jdbc-sessions.gif -%%APP_NAME%%/doc/images/jndi_tree.gif -%%APP_NAME%%/doc/images/jsp.gif -%%APP_NAME%%/doc/images/jsp_log.gif -%%APP_NAME%%/doc/images/jsp_perf.gif -%%APP_NAME%%/doc/images/keycommerce.gif -%%APP_NAME%%/doc/images/kibu.gif -%%APP_NAME%%/doc/images/klopotek.gif -%%APP_NAME%%/doc/images/klopotekcBiZZ.gif -%%APP_NAME%%/doc/images/left_background.gif -%%APP_NAME%%/doc/images/logo.gif -%%APP_NAME%%/doc/images/logo2.gif -%%APP_NAME%%/doc/images/logo60.gif -%%APP_NAME%%/doc/images/mini.gif -%%APP_NAME%%/doc/images/miniusa.gif -%%APP_NAME%%/doc/images/multipage.gif -%%APP_NAME%%/doc/images/neteverything.gif -%%APP_NAME%%/doc/images/netregistry.gif -%%APP_NAME%%/doc/images/new.gif -%%APP_NAME%%/doc/images/openpath.gif -%%APP_NAME%%/doc/images/petsmart.gif -%%APP_NAME%%/doc/images/pixel.gif -%%APP_NAME%%/doc/images/proosto.gif -%%APP_NAME%%/doc/images/r950.gif -%%APP_NAME%%/doc/images/realsecure.gif -%%APP_NAME%%/doc/images/resin_powered.gif -%%APP_NAME%%/doc/images/resinlogoamber.gif -%%APP_NAME%%/doc/images/resinlogoblue.gif -%%APP_NAME%%/doc/images/resinlogogrey.gif -%%APP_NAME%%/doc/images/salesforce.gif -%%APP_NAME%%/doc/images/same_srun.gif -%%APP_NAME%%/doc/images/samlogo.gif -%%APP_NAME%%/doc/images/script.gif -%%APP_NAME%%/doc/images/servlets.gif -%%APP_NAME%%/doc/images/smallnew.gif -%%APP_NAME%%/doc/images/snoopy.gif -%%APP_NAME%%/doc/images/snoopy2.gif -%%APP_NAME%%/doc/images/snoopy3.gif -%%APP_NAME%%/doc/images/srunc.gif -%%APP_NAME%%/doc/images/sticky-sessions.gif -%%APP_NAME%%/doc/images/style.gif -%%APP_NAME%%/doc/images/subpage-cache.gif -%%APP_NAME%%/doc/images/tangosollogo.gif -%%APP_NAME%%/doc/images/template.gif -%%APP_NAME%%/doc/images/tolerance.gif -%%APP_NAME%%/doc/images/torchconcepts.gif -%%APP_NAME%%/doc/images/ustobe.gif -%%APP_NAME%%/doc/images/viewsliplogo.gif -%%APP_NAME%%/doc/images/webcollagelogo.gif -%%APP_NAME%%/doc/images/webserver.gif -%%APP_NAME%%/doc/images/website_srun.gif -%%APP_NAME%%/doc/images/xslt-perf.gif -%%APP_NAME%%/doc/images/xtp.gif -%%APP_NAME%%/doc/index.xtp -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/basic/HelloServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/basic/InitServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/basic/MappingServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/basic/URLServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/database/InitDatabaseServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/database/QueryServlet.java -%%APP_NAME%%/doc/java_tut/WEB-INF/sql/default.sql -%%APP_NAME%%/doc/java_tut/WEB-INF/web.xml -%%APP_NAME%%/doc/java_tut/add_page.xtp -%%APP_NAME%%/doc/java_tut/bean.xtp -%%APP_NAME%%/doc/java_tut/cache.xtp -%%APP_NAME%%/doc/java_tut/conf-basic.xtp -%%APP_NAME%%/doc/java_tut/conf-dir.xtp -%%APP_NAME%%/doc/java_tut/conf-servlet.xtp -%%APP_NAME%%/doc/java_tut/conf.xtp -%%APP_NAME%%/doc/java_tut/db-config.xtp -%%APP_NAME%%/doc/java_tut/db_form.xtp -%%APP_NAME%%/doc/java_tut/debug.xtp -%%APP_NAME%%/doc/java_tut/filter-vary.xtp -%%APP_NAME%%/doc/java_tut/form.xtp -%%APP_NAME%%/doc/java_tut/hardcore.xtp -%%APP_NAME%%/doc/java_tut/images/same_srun.gif -%%APP_NAME%%/doc/java_tut/images/srunc.gif -%%APP_NAME%%/doc/java_tut/index.xtp -%%APP_NAME%%/doc/java_tut/isp.xtp -%%APP_NAME%%/doc/java_tut/javadoc/allclasses-frame.html -%%APP_NAME%%/doc/java_tut/javadoc/allclasses-noframe.html -%%APP_NAME%%/doc/java_tut/javadoc/constant-values.html -%%APP_NAME%%/doc/java_tut/javadoc/deprecated-list.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/HelloServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/InitServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/MappingServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/URLServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/package-frame.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/package-summary.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic/package-tree.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/InitDatabaseServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/QueryServlet.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/package-frame.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/package-summary.html -%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/package-tree.html -%%APP_NAME%%/doc/java_tut/javadoc/help-doc.html -%%APP_NAME%%/doc/java_tut/javadoc/index-all.html -%%APP_NAME%%/doc/java_tut/javadoc/index.html -%%APP_NAME%%/doc/java_tut/javadoc/overview-frame.html -%%APP_NAME%%/doc/java_tut/javadoc/overview-summary.html -%%APP_NAME%%/doc/java_tut/javadoc/overview-tree.html -%%APP_NAME%%/doc/java_tut/javadoc/package-list -%%APP_NAME%%/doc/java_tut/javadoc/resources/inherit.gif -%%APP_NAME%%/doc/java_tut/javadoc/stylesheet.css -%%APP_NAME%%/doc/java_tut/jndi-appconfig.xtp -%%APP_NAME%%/doc/java_tut/linux-boot.xtp -%%APP_NAME%%/doc/java_tut/linux-init.xtp -%%APP_NAME%%/doc/java_tut/mail_form.xtp -%%APP_NAME%%/doc/java_tut/multipart.xtp -%%APP_NAME%%/doc/java_tut/parse_error.xtp -%%APP_NAME%%/doc/java_tut/plugin-dispatch.xtp -%%APP_NAME%%/doc/java_tut/req_headers.xtp -%%APP_NAME%%/doc/java_tut/req_url.xtp -%%APP_NAME%%/doc/java_tut/run-at.xtp -%%APP_NAME%%/doc/java_tut/run_error.xtp -%%APP_NAME%%/doc/java_tut/servlets.xtp -%%APP_NAME%%/doc/java_tut/tag-attribute.xtp -%%APP_NAME%%/doc/java_tut/tag-connection.xtp -%%APP_NAME%%/doc/java_tut/tag-hello.xtp -%%APP_NAME%%/doc/java_tut/tag-mail.xtp -%%APP_NAME%%/doc/java_tut/tag-xsl.xtp -%%APP_NAME%%/doc/java_tut/tcp-sessions.xtp -%%APP_NAME%%/doc/java_tut/toc.xml -%%APP_NAME%%/doc/java_tut/tuning.xtp -%%APP_NAME%%/doc/java_tut/war-dir.xtp -%%APP_NAME%%/doc/java_tut/xsl-filter.xtp -%%APP_NAME%%/doc/java_tut/xtp-copy.xtp -%%APP_NAME%%/doc/java_tut/xtp-format.xtp -%%APP_NAME%%/doc/java_tut/xtp-jsp-stylescript.xtp -%%APP_NAME%%/doc/java_tut/xtp-jsp.xtp -%%APP_NAME%%/doc/java_tut/xtp-page.xtp -%%APP_NAME%%/doc/java_tut/xtp-strict.xtp -%%APP_NAME%%/doc/ref/admin.xtp -%%APP_NAME%%/doc/ref/app-config.xtp -%%APP_NAME%%/doc/ref/atp.xtp -%%APP_NAME%%/doc/ref/auth-config.xtp -%%APP_NAME%%/doc/ref/balance.xtp -%%APP_NAME%%/doc/ref/basic-config.xtp -%%APP_NAME%%/doc/ref/bnf.xtp -%%APP_NAME%%/doc/ref/burlap.xtp -%%APP_NAME%%/doc/ref/caching.xtp -%%APP_NAME%%/doc/ref/changes.xtp -%%APP_NAME%%/doc/ref/config-index.xtp -%%APP_NAME%%/doc/ref/config-sum.xtp -%%APP_NAME%%/doc/ref/config.xtp -%%APP_NAME%%/doc/ref/contents.xtp -%%APP_NAME%%/doc/ref/cse-apache-unix.xtp -%%APP_NAME%%/doc/ref/cse-apache-win.xtp -%%APP_NAME%%/doc/ref/cse-iis.xtp -%%APP_NAME%%/doc/ref/cse-netscape.xtp -%%APP_NAME%%/doc/ref/cse-oreilly-website.xtp -%%APP_NAME%%/doc/ref/db-config.xtp -%%APP_NAME%%/doc/ref/ejb-ias.xtp -%%APP_NAME%%/doc/ref/ejb-jboss.xtp -%%APP_NAME%%/doc/ref/ejb-jonas.xtp -%%APP_NAME%%/doc/ref/ejb-orion.xtp -%%APP_NAME%%/doc/ref/ejb-weblogic.xtp -%%APP_NAME%%/doc/ref/ejb.xtp -%%APP_NAME%%/doc/ref/errata.xtp -%%APP_NAME%%/doc/ref/faq.xtp -%%APP_NAME%%/doc/ref/file-config.xtp -%%APP_NAME%%/doc/ref/filesystems.xtp -%%APP_NAME%%/doc/ref/filter-config.xtp -%%APP_NAME%%/doc/ref/filter-library.xtp -%%APP_NAME%%/doc/ref/filter.xtp -%%APP_NAME%%/doc/ref/glossary.xtp -%%APP_NAME%%/doc/ref/hessian.xtp -%%APP_NAME%%/doc/ref/http-config.xtp -%%APP_NAME%%/doc/ref/httpd.xtp -%%APP_NAME%%/doc/ref/ide-jbuilder.xtp -%%APP_NAME%%/doc/ref/ide-kawa.xtp -%%APP_NAME%%/doc/ref/ide.xtp -%%APP_NAME%%/doc/ref/index.xtp -%%APP_NAME%%/doc/ref/javascript.xtp -%%APP_NAME%%/doc/ref/jms.xtp -%%APP_NAME%%/doc/ref/jmx.xtp -%%APP_NAME%%/doc/ref/jndi.xtp -%%APP_NAME%%/doc/ref/jsp/jsp-el.xtp -%%APP_NAME%%/doc/ref/jsp-actions.xtp -%%APP_NAME%%/doc/ref/jsp-applications.xtp -%%APP_NAME%%/doc/ref/jsp-directives.xtp -%%APP_NAME%%/doc/ref/jsp-variables.xtp -%%APP_NAME%%/doc/ref/jsp.xtp -%%APP_NAME%%/doc/ref/jspapp.xtp -%%APP_NAME%%/doc/ref/jtp.xtp -%%APP_NAME%%/doc/ref/log-config.xtp -%%APP_NAME%%/doc/ref/macos-x.xtp -%%APP_NAME%%/doc/ref/page_context.xtp -%%APP_NAME%%/doc/ref/port-config.xtp -%%APP_NAME%%/doc/ref/raw-socket.xtp -%%APP_NAME%%/doc/ref/resin-config.xtp -%%APP_NAME%%/doc/ref/security.xtp -%%APP_NAME%%/doc/ref/servlet-config.xtp -%%APP_NAME%%/doc/ref/servlet-library.xtp -%%APP_NAME%%/doc/ref/servlet.xtp -%%APP_NAME%%/doc/ref/servletcontext.xtp -%%APP_NAME%%/doc/ref/sessions.xtp -%%APP_NAME%%/doc/ref/srun-other.xtp -%%APP_NAME%%/doc/ref/ssl-quick.xml -%%APP_NAME%%/doc/ref/ssl-quick.xtp -%%APP_NAME%%/doc/ref/ssl.xml -%%APP_NAME%%/doc/ref/ssl.xtp -%%APP_NAME%%/doc/ref/starting.xtp -%%APP_NAME%%/doc/ref/static.xtp -%%APP_NAME%%/doc/ref/stylescript.xtp -%%APP_NAME%%/doc/ref/taglib.xtp -%%APP_NAME%%/doc/ref/toc.xml -%%APP_NAME%%/doc/ref/topics.xtp -%%APP_NAME%%/doc/ref/trouble.xtp -%%APP_NAME%%/doc/ref/velocity.xtp -%%APP_NAME%%/doc/ref/virtual-host.xtp -%%APP_NAME%%/doc/ref/visual-age.xtp -%%APP_NAME%%/doc/ref/war-dir.xtp -%%APP_NAME%%/doc/ref/webdav.xtp -%%APP_NAME%%/doc/ref/xml/attributes.xtp -%%APP_NAME%%/doc/ref/xml/elements.xtp -%%APP_NAME%%/doc/ref/xml/get_elements.xtp -%%APP_NAME%%/doc/ref/xml/html.xtp -%%APP_NAME%%/doc/ref/xml/index.xtp -%%APP_NAME%%/doc/ref/xml/intro.xtp -%%APP_NAME%%/doc/ref/xml/parsing.xtp -%%APP_NAME%%/doc/ref/xml/sax.xtp -%%APP_NAME%%/doc/ref/xml/text.xtp -%%APP_NAME%%/doc/ref/xml/vfs.xtp -%%APP_NAME%%/doc/ref/xml.xtp -%%APP_NAME%%/doc/ref/xpath-fun.xtp -%%APP_NAME%%/doc/ref/xpath.xtp -%%APP_NAME%%/doc/ref/xsl/apply-templates.xtp -%%APP_NAME%%/doc/ref/xsl/attribute.xtp -%%APP_NAME%%/doc/ref/xsl/boxes.xtp -%%APP_NAME%%/doc/ref/xsl/command-line.xtp -%%APP_NAME%%/doc/ref/xsl/copy.xtp -%%APP_NAME%%/doc/ref/xsl/filter-attribute.xtp -%%APP_NAME%%/doc/ref/xsl/filter.xtp -%%APP_NAME%%/doc/ref/xsl/hello.xtp -%%APP_NAME%%/doc/ref/xsl/if-attribute.xtp -%%APP_NAME%%/doc/ref/xsl/if-xpath-attribute.xtp -%%APP_NAME%%/doc/ref/xsl/if.xtp -%%APP_NAME%%/doc/ref/xsl/index.xtp -%%APP_NAME%%/doc/ref/xsl/modes.xtp -%%APP_NAME%%/doc/ref/xsl/ref.xtp -%%APP_NAME%%/doc/ref/xsl/short-attribute.xtp -%%APP_NAME%%/doc/ref/xsl/value-of.xtp -%%APP_NAME%%/doc/ref/xsl/xpath-find.xtp -%%APP_NAME%%/doc/ref/xsl/xpath-select.xtp -%%APP_NAME%%/doc/ref/xsl/xpath.xtp -%%APP_NAME%%/doc/ref/xsl/xsl-api.xtp -%%APP_NAME%%/doc/ref/xsl/xsl-boxes.xtp -%%APP_NAME%%/doc/ref/xsl/xsl.xtp -%%APP_NAME%%/doc/ref/xsl.xtp -%%APP_NAME%%/doc/ref/xslt-lite-eg.xtp -%%APP_NAME%%/doc/ref/xslt-lite.xtp -%%APP_NAME%%/doc/ref/xtp-index.xtp -%%APP_NAME%%/doc/ref/xtp-intro.xtp -%%APP_NAME%%/doc/ref/xtp-jsp.xtp -%%APP_NAME%%/doc/ref/xtp.xtp -%%APP_NAME%%/doc/toc.xml -%%APP_NAME%%/lib/dom.jar -%%APP_NAME%%/lib/jaxp.jar -%%APP_NAME%%/lib/jmx.jar -%%APP_NAME%%/lib/jsdk23.jar -%%APP_NAME%%/lib/jta_101.jar -%%APP_NAME%%/lib/resin.jar -%%APP_NAME%%/lib/sax.jar -%%APP_NAME%%/lib/webutil.jar -%%APP_NAME%%/xsl/caucho/comment.xsl -%%APP_NAME%%/xsl/caucho/contents.xsl -%%APP_NAME%%/xsl/caucho/control.xsl -%%APP_NAME%%/xsl/caucho/debug.xsl -%%APP_NAME%%/xsl/caucho/defaultcopy.xsl -%%APP_NAME%%/xsl/caucho/format.xsl -%%APP_NAME%%/xsl/caucho/newstyle.xsl -%%APP_NAME%%/xsl/caucho/weblog.xsl -%%APP_NAME%%/xsl/caucho_default.xsl -%%APP_NAME%%/xsl/caucho_header.xsl -%%APP_NAME%%/xsl/caucho_subpage.xsl -%%APP_NAME%%/xsl/default.xsl -%%APP_NAME%%/xsl/doc_header.xsl -%%APP_NAME%%/xsl/header.xsl -%%APP_NAME%%/xsl/js/caucho/defaultcopy.xsl -%%APP_NAME%%/xsl/js/caucho/format.xsl -%%APP_NAME%%/xsl/js/caucho/weblog.xsl -%%APP_NAME%%/xsl/js_header.xsl -%%APP_NAME%%/xsl/new_doc_header.xsl -%%APP_NAME%%/xsl/search.xsl -%%APP_NAME%%/xsl/subpage.xsl -%%APP_NAME%%/libexec/libresin.so -etc/rc.d/%%APP_NAME%%.sh -sbin/%%APP_NAME%%ctl -%%MOD_DIR%%/mod_caucho.so -%%APACHE%%@exec %%APXS%% -e -a -n caucho %f -%%APACHE%%@unexec %%APXS%% -e -A -n caucho %f -@dirrm %%APP_NAME%%/doc/css -@dirrm %%APP_NAME%%/doc/examples/basic/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/examples/basic/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/basic/com/caucho/fortune -@dirrm %%APP_NAME%%/doc/examples/basic/com/caucho -@dirrm %%APP_NAME%%/doc/examples/basic/com -@dirrm %%APP_NAME%%/doc/examples/basic/data/fortune -@dirrm %%APP_NAME%%/doc/examples/basic/data -@dirrm %%APP_NAME%%/doc/examples/basic -@dirrm %%APP_NAME%%/doc/examples/login/WEB-INF/classes/test -@dirrm %%APP_NAME%%/doc/examples/login/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/examples/login/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/login -@dirrm %%APP_NAME%%/doc/examples/navigation/WEB-INF/scripts -@dirrm %%APP_NAME%%/doc/examples/navigation/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/navigation -@dirrm %%APP_NAME%%/doc/examples/templates/WEB-INF/classes/jsp -@dirrm %%APP_NAME%%/doc/examples/templates/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/examples/templates/WEB-INF/xsl -@dirrm %%APP_NAME%%/doc/examples/templates/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/templates -@dirrm %%APP_NAME%%/doc/examples/tictactoe/WEB-INF/scripts -@dirrm %%APP_NAME%%/doc/examples/tictactoe/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/tictactoe -@dirrm %%APP_NAME%%/doc/examples/tutorial/WEB-INF/classes/servlet/trivial -@dirrm %%APP_NAME%%/doc/examples/tutorial/WEB-INF/classes/servlet -@dirrm %%APP_NAME%%/doc/examples/tutorial/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/examples/tutorial/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/tutorial -@dirrm %%APP_NAME%%/doc/examples/xsl/WEB-INF/classes/xsl -@dirrm %%APP_NAME%%/doc/examples/xsl/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/examples/xsl/WEB-INF/scripts -@dirrm %%APP_NAME%%/doc/examples/xsl/WEB-INF/xsl -@dirrm %%APP_NAME%%/doc/examples/xsl/WEB-INF -@dirrm %%APP_NAME%%/doc/examples/xsl/data/fortune -@dirrm %%APP_NAME%%/doc/examples/xsl/data -@dirrm %%APP_NAME%%/doc/examples/xsl -@dirrm %%APP_NAME%%/doc/examples -@dirrm %%APP_NAME%%/doc/faq -@dirrm %%APP_NAME%%/doc/images -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/basic -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet/database -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/classes/example/servlet -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/classes/example -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/classes -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF/sql -@dirrm %%APP_NAME%%/doc/java_tut/WEB-INF -@dirrm %%APP_NAME%%/doc/java_tut/images -@dirrm %%APP_NAME%%/doc/java_tut/javadoc/example/servlet/basic -@dirrm %%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database -@dirrm %%APP_NAME%%/doc/java_tut/javadoc/example/servlet -@dirrm %%APP_NAME%%/doc/java_tut/javadoc/example -@dirrm %%APP_NAME%%/doc/java_tut/javadoc/resources -@dirrm %%APP_NAME%%/doc/java_tut/javadoc -@dirrm %%APP_NAME%%/doc/java_tut -@dirrm %%APP_NAME%%/doc/ref/jsp -@dirrm %%APP_NAME%%/doc/ref/xml -@dirrm %%APP_NAME%%/doc/ref/xsl -@dirrm %%APP_NAME%%/doc/ref -@dirrm %%APP_NAME%%/doc -@dirrm %%APP_NAME%%/lib -@dirrm %%APP_NAME%%/xsl/caucho -@dirrm %%APP_NAME%%/xsl/js/caucho -@dirrm %%APP_NAME%%/xsl/js -@dirrm %%APP_NAME%%/xsl -@dirrm %%APP_NAME%%/libexec -@dirrm %%APP_NAME%% -@unexec if cmp -s %D/etc/%%APP_NAME%%.xml %D/etc/%%APP_NAME%%.xml-dist; then rm -f %D/etc/%%APP_NAME%%.xml; else echo If permanently deleting this package, %D/etc/%%APP_NAME%%.xml must be removed manually; fi -etc/%%APP_NAME%%.xml-dist -@exec if test -f %B/%%APP_NAME%%.xml ; then echo Keeping %B/%%APP_NAME%%.xml intact from previous installation; else cp %F %B/%%APP_NAME%%.xml; fi |