aboutsummaryrefslogtreecommitdiffstats
path: root/www/resin2
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-11-21 05:25:09 +0800
committerglewis <glewis@FreeBSD.org>2003-11-21 05:25:09 +0800
commit5b8da76b3546aa07ce7fff73fb14232657ba48aa (patch)
treed824b303fd80e0251f770808584a146aff82adad /www/resin2
parentab813b1eb0c1a2000ab5c6c777287c3de38f02d6 (diff)
downloadfreebsd-ports-gnome-5b8da76b3546aa07ce7fff73fb14232657ba48aa.tar.gz
freebsd-ports-gnome-5b8da76b3546aa07ce7fff73fb14232657ba48aa.tar.zst
freebsd-ports-gnome-5b8da76b3546aa07ce7fff73fb14232657ba48aa.zip
. Avoid conflict between resin2 and resin3
. Fix resin{2,3}ctl first line (perl path) . Pid file is no more created in the Makefile . New resin.sh startup script, manages pid file . pkg-[de]install and pkg-message are now generated . Do not write anything after including bsd.port.post.mk . Packages are now supported (reported by Arcadius Ahouansou) . Integration with apxs for [de]activating mod_caucho PR: 57566 Submitted by: Jean-Baptiste Quenot <jbq@caraldi.com> (maintainer)
Diffstat (limited to 'www/resin2')
-rw-r--r--www/resin2/Makefile105
-rw-r--r--www/resin2/files/install.sh48
-rw-r--r--www/resin2/files/patch-apache-Makefile.in12
-rw-r--r--www/resin2/files/patch-apache2-Makefile.in12
-rw-r--r--www/resin2/files/patch-wrapper8
-rw-r--r--www/resin2/files/pkg-deinstall (renamed from www/resin2/pkg-deinstall)25
-rw-r--r--www/resin2/files/pkg-install50
-rw-r--r--www/resin2/files/pkg-message.in4
-rw-r--r--www/resin2/files/resin.sh.in53
-rw-r--r--www/resin2/pkg-install98
-rw-r--r--www/resin2/pkg-message6
-rw-r--r--www/resin2/pkg-plist923
12 files changed, 738 insertions, 606 deletions
diff --git a/www/resin2/Makefile b/www/resin2/Makefile
index 3f3b9c3c9eeb..c3640a76a942 100644
--- a/www/resin2/Makefile
+++ b/www/resin2/Makefile
@@ -2,11 +2,14 @@
# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# Date Created: 2002-07-15 15:00:43
#
+# ex:ts=20:sw=20
+#
# $FreeBSD$
#
PORTNAME= resin
PORTVERSION= 2.1.11
+PORTREVISION= 1
CATEGORIES= www java
MASTER_SITES= http://www.caucho.com/download/
@@ -23,63 +26,111 @@ RUNASUID?= 80
GROUP?= ${RUNASUSER}
GID?= ${RUNASUID}
PORT?= 8080
-APP_HOME?= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}
+# 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}
+APP_HOME?= ${PREFIX}/${APP_NAME}
WITH_APACHE?= NO
WITH_APACHE2?= NO
+PID_FILE?= /var/run/${APP_NAME}.pid
# Other settings
APXS?= ${LOCALBASE}/sbin/apxs
MOD_DIR?= `${APXS} -q LIBEXECDIR`
+PKGINSTALL= ${WRKDIR}/pkg-install
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+PKGMESSAGE= ${WRKDIR}/pkg-message
+# We need WRKSRC and WRKDIR right now so define them "manually"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
+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 \
+ ${WRKSRC}/conf/resin.conf \
+ ${WRKSRC}/bin/wrapper.pl.in \
+ ${FILESDIR}/resin.sh.in
# Pass JAVA_HOME as determined by bsd.java.mk
CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME}
# Install the Apache plugin if needed
-.if defined(WITH_APACHE) && ($(WITH_APACHE) == yes || $(WITH_APACHE) == YES)
+.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
-.elif defined(WITH_APACHE2) && ($(WITH_APACHE2) == yes || $(WITH_APACHE2) == YES)
+# Allow apxs invocations
+PLIST_SUB+= APACHE=""
+.elif defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES)
#
# Apache 2
#
BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/apache2
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
-.include <bsd.port.pre.mk>
+PLIST_SUB+= APP_NAME=${APP_NAME}
+PLIST_SUB+= APXS=${APXS}
-# Resin does not handle installation, so proceed now
-pre-install:
- $(SED) -i -e "s|%%PREFIX%%|$(PREFIX)|g" $(WRKSRC)/src/c/plugin/apache/install.sh
- $(SED) -i -e "s|%%PREFIX%%|$(PREFIX)|g" $(WRKSRC)/src/c/plugin/apache2/install.sh
+SUBSTITUTIONS= -e "s|%%APP_HOME%%|${APP_HOME}|g" \
+ -e "s|%%APP_NAME%%|${APP_NAME}|g" \
+ -e "s|%%APXS%%|${APXS}|g" \
+ -e "s|%%FILESDIR%%|${FILESDIR}|g" \
+ -e "s|%%GROUP%%|${GROUP}|g" \
+ -e "s|%%GID%%|${GID}|g" \
+ -e "s|%%JAVA_HOME%%|${JAVA_HOME}|g" \
+ -e "s|%%PERL%%|${PERL}|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|%%RUNASUID%%|${RUNASUID}|g" \
+ -e "s|%%RUNASUSER%%|${RUNASUSER}|g" \
+ -e "s|%%WRKDIR%%|${WRKDIR}|g" \
+ -e "s|%%WRKSRC%%|${WRKSRC}|g"
+
+.include <bsd.port.pre.mk>
-# Do not change the PID file location unless you also change it in pkg-deinstall script
-PID_FILE= /var/run/resin.pid
+post-patch:
+.for FILE in ${REINPLACE_FILES}
+ @${SED} -i bak ${SUBSTITUTIONS} ${FILE}
+.endfor
+.for FILE in ${REPLACE_FILES}
+ @${SED} ${SUBSTITUTIONS} ${FILE} > ${WRKDIR}/`basename ${FILE}`
+.endfor
+ @fmt -w 80 < ${WRKDIR}/pkg-message.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} CauchoConfigFile ${PREFIX}/etc/${APP_NAME}.xml >> ${PKGMESSAGE}
+.endif
+ @${MV} ${WRKDIR}/wrapper.pl.in ${WRKSRC}/bin/wrapper.pl.in
+# Resin does not handle installation, so proceed now
post-install:
- ${TOUCH} ${PID_FILE}
- ${CHOWN} ${RUNASUID}:${GID} ${PID_FILE}
- ${MKDIR} ${APP_HOME}
- @PREFIX=${PREFIX} \
- PKGNAMEPREFIX=${PKGNAMEPREFIX} \
- PORTNAME=${PORTNAME} \
- WRKSRC=${WRKSRC} \
- RUNASUSER=${RUNASUSER} \
- RUNASUID=${RUNASUID} \
- GROUP=${GROUP} \
- GID=${GID} \
- PORT=${PORT} \
- APP_HOME=${APP_HOME} \
- JAVA_HOME=${JAVA_HOME} \
- ${SH} pkg-install ${PKGNAME} POST-INSTALL
+ @${SH} ${WRKDIR}/install.sh
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${ECHO_CMD}
+ @${ECHO_CMD} "********************************************************************************"
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} "********************************************************************************"
+ @${ECHO_CMD}
.include <bsd.port.post.mk>
-
-# ex:ts=18
diff --git a/www/resin2/files/install.sh b/www/resin2/files/install.sh
new file mode 100644
index 000000000000..36e53c1e9bac
--- /dev/null
+++ b/www/resin2/files/install.sh
@@ -0,0 +1,48 @@
+#! /bin/sh
+
+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 %%WRKSRC%%/bin/wrapper.pl %%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 doc lib xsl ; do
+ ( cd %%WRKSRC%% ; find $dir )
+ done
+}
+
+# Remove all empty dirs
+( cd %%WRKSRC%% ; find doc -type d -empty -delete )
+
+echo Installing in %%APP_HOME%%
+list | xargs tar -C %%WRKSRC%% -cf- | tar -C %%APP_HOME%% -xpf-
diff --git a/www/resin2/files/patch-apache-Makefile.in b/www/resin2/files/patch-apache-Makefile.in
new file mode 100644
index 000000000000..4b10a88f34b5
--- /dev/null
+++ b/www/resin2/files/patch-apache-Makefile.in
@@ -0,0 +1,12 @@
+--- src/c/plugin/apache/Makefile.in.orig Thu Nov 13 09:27:52 2003
++++ src/c/plugin/apache/Makefile.in Thu Nov 13 09:28:36 2003
+@@ -28,8 +28,7 @@
+ $(CC) -c $(INCLUDES) $(CFLAGS) $<
+
+ install :
+- sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \
+- -resin_home $(resin_home)
++ %%APXS%% -i -a -n caucho mod_caucho.so
+
+ clean :
+ - rm *.o *.lo *.la *.so
diff --git a/www/resin2/files/patch-apache2-Makefile.in b/www/resin2/files/patch-apache2-Makefile.in
new file mode 100644
index 000000000000..18707a7a3f77
--- /dev/null
+++ b/www/resin2/files/patch-apache2-Makefile.in
@@ -0,0 +1,12 @@
+--- src/c/plugin/apache2/Makefile.in.orig Thu Nov 13 09:28:46 2003
++++ src/c/plugin/apache2/Makefile.in Thu Nov 13 09:28:52 2003
+@@ -27,8 +27,7 @@
+ $(CC) -c $(INCLUDES) $(CFLAGS) $<
+
+ install :
+- sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \
+- -resin_home $(resin_home)
++ %%APXS%% -i -a -n caucho mod_caucho.so
+
+ clean :
+ - rm *.o *.lo *.so
diff --git a/www/resin2/files/patch-wrapper b/www/resin2/files/patch-wrapper
new file mode 100644
index 000000000000..7d3f9aadfb18
--- /dev/null
+++ b/www/resin2/files/patch-wrapper
@@ -0,0 +1,8 @@
+--- bin/wrapper.pl.in.orig Sat Oct 4 09:45:23 2003
++++ bin/wrapper.pl.in Sat Oct 4 09:45:43 2003
+@@ -1,4 +1,4 @@
+-#! @PERL@
++#! %%PERL%%
+ #
+ # Copyright(c) 1998-2002 Caucho Technology
+ #
diff --git a/www/resin2/pkg-deinstall b/www/resin2/files/pkg-deinstall
index f5ec53c59f44..4b26efbd1c37 100644
--- a/www/resin2/pkg-deinstall
+++ b/www/resin2/files/pkg-deinstall
@@ -8,24 +8,33 @@
# * 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
- PID_FILE=/var/run/resin.pid
if [ -s ${PID_FILE} ]; then
PID=`cat ${PID_FILE}`
- echo -n ">> Killing Resin process (${PID})..."
- /bin/kill ${PID} > /dev/null 2> /dev/null
- if [ $? -eq 0 ]; then
+ 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})..."
- rm ${PID_FILE} > /dev/null 2> /dev/null
- if [ $? -eq 0 ]; then
+
+ if rm ${PID_FILE} > /dev/null 2> /dev/null ; then
echo " [ DONE ]"
else
echo " [ FAILED ]"
@@ -35,8 +44,8 @@ fi
if [ "$2" = "POST-DEINSTALL" ]; then
# If the user exists, then display a message
- if pw usershow "www" 2>/dev/null 1>&2; then
- echo "To delete the www user permanently, use 'pw userdel www'"
+ if pw usershow "$RUNASUSER" 2>/dev/null 1>&2; then
+ echo "To delete the $RUNASUSER user permanently, use 'pw userdel $RUNASUSER'"
fi
fi
diff --git a/www/resin2/files/pkg-install b/www/resin2/files/pkg-install
new file mode 100644
index 000000000000..99cf5f46910a
--- /dev/null
+++ b/www/resin2/files/pkg-install
@@ -0,0 +1,50 @@
+#!/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.in b/www/resin2/files/pkg-message.in
new file mode 100644
index 000000000000..820698b9dda9
--- /dev/null
+++ b/www/resin2/files/pkg-message.in
@@ -0,0 +1,4 @@
+Resin is now installed in %%APP_HOME%%. You may want to start it using the
+startup script installed as %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh, and then point
+your web browser to the default home page at http://localhost:%%PORT%%/ to read
+the doc. Resin can be configured using %%PREFIX%%/etc/%%APP_NAME%%.xml.
diff --git a/www/resin2/files/resin.sh.in b/www/resin2/files/resin.sh.in
new file mode 100644
index 000000000000..3c44d001684c
--- /dev/null
+++ b/www/resin2/files/resin.sh.in
@@ -0,0 +1,53 @@
+#!/bin/sh
+#
+# Resin startup script.
+#
+# Borrowed from jakarta-tomcat41
+#
+# $FreeBSD$
+#
+
+# Determine PREFIX
+if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${0##*/}\$"); then
+ echo "$0: Cannot determine the PREFIX" >&2
+ exit 1
+fi
+
+# Set some variables
+MYSELF=`basename $0`
+ARGS="-conf $PREFIX/etc/%%APP_NAME%%.xml \
+-chdir \
+-name %%APP_NAME%% \
+-class com.caucho.server.http.HttpServer \
+-pid %%PID_FILE%%"
+PATH=/usr/sbin:/usr/bin:/bin
+
+export JAVA_HOME=%%JAVA_HOME%%
+export RESIN_HOME=$PREFIX/%%APP_NAME%%
+
+set -e
+
+case "$1" in
+ start)
+ echo -n ' '
+ truncate -s 0 %%PID_FILE%%
+ chown %%RUNASUSER%%:%%GROUP%% %%PID_FILE%%
+ chmod 600 %%PID_FILE%%
+ su -f -m %%RUNASUSER%% -c "exec $PREFIX/sbin/%%APP_NAME%%ctl $ARGS start" \
+ >/dev/null && echo -n '%%APP_NAME%%'
+ ;;
+
+ stop)
+ echo -n ' '
+ chown %%RUNASUSER%%:%%GROUP%% %%PID_FILE%%
+ chmod 600 %%PID_FILE%%
+ su -f -m %%RUNASUSER%% -c "exec $PREFIX/sbin/%%APP_NAME%%ctl $ARGS stop" \
+ >/dev/null 2>&1 ; echo -n '%%APP_NAME%%'
+ ;;
+ *)
+ echo ""
+ echo "Usage: ${MYSELF} { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/www/resin2/pkg-install b/www/resin2/pkg-install
deleted file mode 100644
index 34288f2aff95..000000000000
--- a/www/resin2/pkg-install
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh -e
-#
-# Checks if the 'www' user and group exist. If they don't, then
-# an attempt is made to create both.
-#
-# Borrowed to the jakarta-tomcat port
-
-# Make sure we're called during the 'make install' process
-if [ "$2" != "POST-INSTALL" ]; then
- exit 0
-fi
-
-# 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
-
-
-################################################################################
-
-sed -i -e "s|%%PORT%%|$PORT|g" $WRKSRC/conf/resin.conf
-
-# Install config file only if none is already there
-if test -e $PREFIX/etc/resin.xml && \
- ! cmp -s $WRKSRC/conf/resin.conf $PREFIX/etc/resin.xml ; then
- cat <<EOF
-
-********************************************************************************
-Kept $PREFIX/etc/resin.xml intact from previous installation, please diff
-against resin.xml-dist
-********************************************************************************
-
-EOF
-else
- install $WRKSRC/conf/resin.conf $PREFIX/etc/resin.xml
- echo Installed $PREFIX/etc/resin.xml
-fi
-
-# Install new config file with '-dist' appended
-install $WRKSRC/conf/resin.conf $PREFIX/etc/resin.xml-dist
-echo Installed $PREFIX/etc/resin.xml-dist
-
-sed -i -e "s|%%PREFIX%%|$PREFIX|g" $WRKSRC/bin/httpd.sh
-sed -i -e "s|%%PKGNAMEPREFIX%%|$PKGNAMEPREFIX|g" $WRKSRC/bin/httpd.sh
-sed -i -e "s|%%PORTNAME%%|$PORTNAME|g" $WRKSRC/bin/httpd.sh
-sed -i -e "s|%%JAVA_HOME%%|$JAVA_HOME|g" $WRKSRC/bin/httpd.sh
-install $WRKSRC/bin/httpd.sh $PREFIX/etc/rc.d/resin.sh
-echo Installed $PREFIX/etc/rc.d/resin.sh
-
-install $WRKSRC/bin/wrapper.pl $PREFIX/sbin/resinctl
-echo Installed $PREFIX/sbin/resinctl
-
-list()
-{
- for dir in doc lib webapps xsl ; do
- ( cd $WRKSRC ; find $dir )
- done
-}
-
-echo Installing in $PREFIX/resin
-list | xargs tar -C $WRKSRC -cf- | tar -C $APP_HOME -xpf-
-
-chown -R www:www $PREFIX/resin
-
-display_message()
-{
- PORT_EXPR="s#%%PORT%%#:$PORT#g"
- PREFIX_EXPR="s#%%PREFIX%%#$PREFIX#g"
- sed -e $PORT_EXPR -e $PREFIX_EXPR
-}
-
-echo
-display_message < pkg-message
-echo
-
-exit 0
diff --git a/www/resin2/pkg-message b/www/resin2/pkg-message
deleted file mode 100644
index bc9b32a88224..000000000000
--- a/www/resin2/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
-********************************************************************************
-Resin is now installed. You may want to start it using the startup script
-installed as %%PREFIX%%/etc/rc.d/resin.sh, and then point your web browser to
-the default home page at http://localhost%%PORT%%/ to read the doc. Resin can
-be configured using %%PREFIX%%/etc/resin.xml.
-********************************************************************************
diff --git a/www/resin2/pkg-plist b/www/resin2/pkg-plist
index 86d67ed4e9bb..3992967ac5e4 100644
--- a/www/resin2/pkg-plist
+++ b/www/resin2/pkg-plist
@@ -1,468 +1,457 @@
-resin/doc/beta.xtp
-resin/doc/changes-1.xtp
-resin/doc/changes.xtp
-resin/doc/errata.xtp
-resin/doc/features.xtp
-resin/doc/future.xtp
-resin/doc/index.xtp
-resin/doc/toc.xml
-resin/doc/examples/basic/WEB-INF/classes/Env.java
-resin/doc/examples/basic/WEB-INF/classes/HelloServlet.java
-resin/doc/examples/basic/counter.jsp
-resin/doc/examples/basic/dir.jsp
-resin/doc/examples/basic/dummy.jsp
-resin/doc/examples/basic/env.jsp
-resin/doc/examples/basic/file.jsp
-resin/doc/examples/basic/form.html
-resin/doc/examples/basic/form.jsp
-resin/doc/examples/basic/hello.jsp
-resin/doc/examples/basic/quote.jsp
-resin/doc/examples/basic/quote_error.jsp
-resin/doc/examples/basic/session.jsp
-resin/doc/examples/basic/stats.jsp
-resin/doc/examples/basic/com/caucho/fortune/1.html
-resin/doc/examples/basic/com/caucho/fortune/2.html
-resin/doc/examples/basic/com/caucho/fortune/3.html
-resin/doc/examples/basic/com/caucho/fortune/4.html
-resin/doc/examples/basic/com/caucho/fortune/5.html
-resin/doc/examples/basic/data/fortune/1.html
-resin/doc/examples/basic/data/fortune/2.html
-resin/doc/examples/basic/data/fortune/3.html
-resin/doc/examples/basic/data/fortune/4.html
-resin/doc/examples/basic/data/fortune/5.html
-resin/doc/examples/index.xtp
-resin/doc/examples/toc.xml
-resin/doc/examples/view_source.jsp
-resin/doc/examples/login/WEB-INF/classes/test/TestAuthenticator.java
-resin/doc/examples/login/WEB-INF/web.xml
-resin/doc/examples/login/error.html
-resin/doc/examples/login/index.jsp
-resin/doc/examples/login/login.html
-resin/doc/examples/login/login.jsp
-resin/doc/examples/login/protected.jsp
-resin/doc/examples/navigation/WEB-INF/scripts/Navigation.js
-resin/doc/examples/navigation/WEB-INF/scripts/fancy_header.js
-resin/doc/examples/navigation/WEB-INF/scripts/header.js
-resin/doc/examples/navigation/article1.jsp
-resin/doc/examples/navigation/article2.jsp
-resin/doc/examples/navigation/child1.jsp
-resin/doc/examples/navigation/child2.jsp
-resin/doc/examples/navigation/conclusion.jsp
-resin/doc/examples/navigation/navigation.jsp
-resin/doc/examples/navigation/toc.xml
-resin/doc/examples/templates/admin.jsp
-resin/doc/examples/templates/add.jsp
-resin/doc/examples/templates/add.xtp
-resin/doc/examples/templates/WEB-INF/classes/jsp/Guest.java
-resin/doc/examples/templates/WEB-INF/classes/jsp/GuestBook.java
-resin/doc/examples/templates/WEB-INF/classes/jsp/GuestJsp.java
-resin/doc/examples/templates/WEB-INF/classes/jsp/GuestXtp.java
-resin/doc/examples/templates/WEB-INF/classes/jsp/RSS.java
-resin/doc/examples/templates/WEB-INF/xsl/caucho_form.xsl
-resin/doc/examples/templates/WEB-INF/xsl/default.xsl
-resin/doc/examples/templates/WEB-INF/xsl/defaultcopy.xsl
-resin/doc/examples/templates/WEB-INF/xsl/form.xsl
-resin/doc/examples/templates/WEB-INF/xsl/formatting.xsl
-resin/doc/examples/templates/WEB-INF/xsl/guestbook.xsl
-resin/doc/examples/templates/WEB-INF/xsl/header.xsl
-resin/doc/examples/templates/WEB-INF/xsl/rss.xsl
-resin/doc/examples/templates/admin.xtp
-resin/doc/examples/templates/guestbook.jsp
-resin/doc/examples/templates/guestbook.xtp
-resin/doc/examples/templates/guestbook_bean.jsp
-resin/doc/examples/templates/guestbook_inc.jsp
-resin/doc/examples/templates/list.jsp
-resin/doc/examples/templates/login.jsp
-resin/doc/examples/templates/login.xtp
-resin/doc/examples/templates/loginold.jsp
-resin/doc/examples/templates/rss.xtp
-resin/doc/examples/templates/simple-format.xsl
-resin/doc/examples/tictactoe/WEB-INF/scripts/score.js
-resin/doc/examples/tictactoe/error.jsp
-resin/doc/examples/tictactoe/tictactoe.jsp
-resin/doc/examples/tutorial/WEB-INF/classes/servlet/trivial/HelloServlet.java
-resin/doc/examples/tutorial/WEB-INF/web.xml
-resin/doc/examples/xsl/WEB-INF/classes/xsl/Dispatch.java
-resin/doc/examples/xsl/WEB-INF/web.xml
-resin/doc/examples/xsl/WEB-INF/scripts/Navigation.js
-resin/doc/examples/xsl/WEB-INF/xsl/basic.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/content.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/copy.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/counter.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/default.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/header.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/plain.xsl
-resin/doc/examples/xsl/WEB-INF/xsl/verify.xsl
-resin/doc/examples/xsl/basic.xtp
-resin/doc/examples/xsl/counter.xtp
-resin/doc/examples/xsl/good-doc.xtp
-resin/doc/examples/xsl/index.xml
-resin/doc/examples/xsl/navigation.xtp
-resin/doc/examples/xsl/toc.xml
-resin/doc/examples/xsl/vary.xml
-resin/doc/examples/xsl/vary.xtp
-resin/doc/examples/xsl/verify-bad.xtp
-resin/doc/examples/xsl/verify-ok.xtp
-resin/doc/examples/xsl/data/fortune/1.html
-resin/doc/examples/xsl/data/fortune/2.html
-resin/doc/examples/xsl/data/fortune/3.html
-resin/doc/examples/xsl/data/fortune/4.html
-resin/doc/examples/xsl/data/fortune/5.html
-resin/doc/images/apache_srun.gif
-resin/doc/images/appserver.gif
-resin/doc/images/background.gif
-resin/doc/images/backup.gif
-resin/doc/images/ball8.gif
-resin/doc/images/bean.gif
-resin/doc/images/bean1.gif
-resin/doc/images/caucho.gif
-resin/doc/images/compiler.gif
-resin/doc/images/file.gif
-resin/doc/images/folder.gif
-resin/doc/images/hbleed.gif
-resin/doc/images/httpd.gif
-resin/doc/images/iis_srun.gif
-resin/doc/images/jndi_tree.gif
-resin/doc/images/jsp.gif
-resin/doc/images/logo.gif
-resin/doc/images/pixel.gif
-resin/doc/images/resin_powered.gif
-resin/doc/images/same_srun.gif
-resin/doc/images/script.gif
-resin/doc/images/srunc.gif
-resin/doc/images/sticky-sessions.gif
-resin/doc/images/style.gif
-resin/doc/images/webserver.gif
-resin/doc/images/website_srun.gif
-resin/doc/images/caucho-blue.gif
-resin/doc/images/left_background.gif
-resin/doc/java_tut/WEB-INF/classes/example/servlet/basic/HelloServlet.java
-resin/doc/java_tut/WEB-INF/classes/example/servlet/basic/InitServlet.java
-resin/doc/java_tut/WEB-INF/classes/example/servlet/basic/MappingServlet.java
-resin/doc/java_tut/WEB-INF/classes/example/servlet/basic/URLServlet.java
-resin/doc/java_tut/WEB-INF/classes/example/servlet/database/InitDatabaseServlet.java
-resin/doc/java_tut/WEB-INF/classes/example/servlet/database/QueryServlet.java
-resin/doc/java_tut/WEB-INF/web.xml
-resin/doc/java_tut/WEB-INF/sql/default.sql
-resin/doc/java_tut/add_page.xtp
-resin/doc/java_tut/bean.xtp
-resin/doc/java_tut/cache.xtp
-resin/doc/java_tut/conf-basic.xtp
-resin/doc/java_tut/conf-dir.xtp
-resin/doc/java_tut/conf-servlet.xtp
-resin/doc/java_tut/conf.xtp
-resin/doc/java_tut/db-config.xtp
-resin/doc/java_tut/db_form.xtp
-resin/doc/java_tut/debug.xtp
-resin/doc/java_tut/filter-vary.xtp
-resin/doc/java_tut/form.xtp
-resin/doc/java_tut/hardcore.xtp
-resin/doc/java_tut/index.xtp
-resin/doc/java_tut/isp.xtp
-resin/doc/java_tut/linux-boot.xtp
-resin/doc/java_tut/linux-init.xtp
-resin/doc/java_tut/mail_form.xtp
-resin/doc/java_tut/multipart.xtp
-resin/doc/java_tut/parse_error.xtp
-resin/doc/java_tut/req_headers.xtp
-resin/doc/java_tut/plugin-dispatch.xtp
-resin/doc/java_tut/req_url.xtp
-resin/doc/java_tut/run-at.xtp
-resin/doc/java_tut/run_error.xtp
-resin/doc/java_tut/servlets.xtp
-resin/doc/java_tut/tag-attribute.xtp
-resin/doc/java_tut/tag-connection.xtp
-resin/doc/java_tut/tag-hello.xtp
-resin/doc/java_tut/tag-mail.xtp
-resin/doc/java_tut/tag-xsl.xtp
-resin/doc/java_tut/tcp-sessions.xtp
-resin/doc/java_tut/toc.xml
-resin/doc/java_tut/tuning.xtp
-resin/doc/java_tut/war-dir.xtp
-resin/doc/java_tut/xsl-filter.xtp
-resin/doc/java_tut/xtp-copy.xtp
-resin/doc/java_tut/xtp-format.xtp
-resin/doc/java_tut/xtp-jsp-stylescript.xtp
-resin/doc/java_tut/xtp-jsp.xtp
-resin/doc/java_tut/xtp-page.xtp
-resin/doc/java_tut/xtp-strict.xtp
-resin/doc/java_tut/javadoc/constant-values.html
-resin/doc/java_tut/javadoc/resources/inherit.gif
-resin/doc/java_tut/javadoc/overview-tree.html
-resin/doc/java_tut/javadoc/index-all.html
-resin/doc/java_tut/javadoc/deprecated-list.html
-resin/doc/java_tut/javadoc/allclasses-frame.html
-resin/doc/java_tut/javadoc/allclasses-noframe.html
-resin/doc/java_tut/javadoc/index.html
-resin/doc/java_tut/javadoc/packages.html
-resin/doc/java_tut/javadoc/overview-summary.html
-resin/doc/java_tut/javadoc/overview-frame.html
-resin/doc/java_tut/javadoc/example/servlet/basic/package-frame.html
-resin/doc/java_tut/javadoc/example/servlet/basic/package-summary.html
-resin/doc/java_tut/javadoc/example/servlet/basic/package-tree.html
-resin/doc/java_tut/javadoc/example/servlet/basic/HelloServlet.html
-resin/doc/java_tut/javadoc/example/servlet/basic/InitServlet.html
-resin/doc/java_tut/javadoc/example/servlet/basic/MappingServlet.html
-resin/doc/java_tut/javadoc/example/servlet/basic/URLServlet.html
-resin/doc/java_tut/javadoc/example/servlet/database/package-frame.html
-resin/doc/java_tut/javadoc/example/servlet/database/package-summary.html
-resin/doc/java_tut/javadoc/example/servlet/database/package-tree.html
-resin/doc/java_tut/javadoc/example/servlet/database/InitDatabaseServlet.html
-resin/doc/java_tut/javadoc/example/servlet/database/QueryServlet.html
-resin/doc/java_tut/javadoc/serialized-form.html
-resin/doc/java_tut/javadoc/package-list
-resin/doc/java_tut/javadoc/help-doc.html
-resin/doc/java_tut/javadoc/stylesheet.css
-resin/doc/java_tut/images/same_srun.gif
-resin/doc/java_tut/images/srunc.gif
-resin/doc/ref/jsp/jsp-el.xtp
-resin/doc/ref/admin.xtp
-resin/doc/ref/app-config.xtp
-resin/doc/ref/atp.xtp
-resin/doc/ref/auth-config.xtp
-resin/doc/ref/balance.xtp
-resin/doc/ref/basic-config.xtp
-resin/doc/ref/bnf.xtp
-resin/doc/ref/burlap.xtp
-resin/doc/ref/caching.xtp
-resin/doc/ref/changes.xtp
-resin/doc/ref/config-index.xtp
-resin/doc/ref/config-sum.xtp
-resin/doc/ref/config.xtp
-resin/doc/ref/contents.xtp
-resin/doc/ref/cse-apache-unix.xtp
-resin/doc/ref/cse-apache-win.xtp
-resin/doc/ref/cse-iis.xtp
-resin/doc/ref/cse-netscape.xtp
-resin/doc/ref/cse-oreilly-website.xtp
-resin/doc/ref/db-config.xtp
-resin/doc/ref/xml/attributes.xtp
-resin/doc/ref/xml/elements.xtp
-resin/doc/ref/xml/get_elements.xtp
-resin/doc/ref/xml/html.xtp
-resin/doc/ref/xml/index.xtp
-resin/doc/ref/xml/intro.xtp
-resin/doc/ref/xml/parsing.xtp
-resin/doc/ref/xml/sax.xtp
-resin/doc/ref/xml/text.xtp
-resin/doc/ref/xml/vfs.xtp
-resin/doc/ref/ejb-ias.xtp
-resin/doc/ref/ejb-jboss.xtp
-resin/doc/ref/ejb-jonas.xtp
-resin/doc/ref/ejb-orion.xtp
-resin/doc/ref/ejb-weblogic.xtp
-resin/doc/ref/ejb.xtp
-resin/doc/ref/errata.xtp
-resin/doc/ref/faq.xtp
-resin/doc/ref/file-config.xtp
-resin/doc/ref/filesystems.xtp
-resin/doc/ref/filter-config.xtp
-resin/doc/ref/filter-library.xtp
-resin/doc/ref/filter.xtp
-resin/doc/ref/glossary.xtp
-resin/doc/ref/hessian.xtp
-resin/doc/ref/http-config.xtp
-resin/doc/ref/httpd.xtp
-resin/doc/ref/ide-jbuilder.xtp
-resin/doc/ref/ide-kawa.xtp
-resin/doc/ref/ide.xtp
-resin/doc/ref/index.xtp
-resin/doc/ref/javascript.xtp
-resin/doc/ref/jms.xtp
-resin/doc/ref/jmx.xtp
-resin/doc/ref/jndi.xtp
-resin/doc/ref/jsp-actions.xtp
-resin/doc/ref/jsp-applications.xtp
-resin/doc/ref/jsp-directives.xtp
-resin/doc/ref/jsp-variables.xtp
-resin/doc/ref/jsp.xtp
-resin/doc/ref/jspapp.xtp
-resin/doc/ref/jtp.xtp
-resin/doc/ref/log-config.xtp
-resin/doc/ref/macos-x.xtp
-resin/doc/ref/page_context.xtp
-resin/doc/ref/port-config.xtp
-resin/doc/ref/raw-socket.xtp
-resin/doc/ref/resin-config.xtp
-resin/doc/ref/security.xtp
-resin/doc/ref/servlet-config.xtp
-resin/doc/ref/servlet-library.xtp
-resin/doc/ref/servlet.xtp
-resin/doc/ref/servletcontext.xtp
-resin/doc/ref/sessions.xtp
-resin/doc/ref/xsl/apply-templates.xtp
-resin/doc/ref/xsl/attribute.xtp
-resin/doc/ref/xsl/boxes.xtp
-resin/doc/ref/xsl/command-line.xtp
-resin/doc/ref/xsl/copy.xtp
-resin/doc/ref/xsl/filter-attribute.xtp
-resin/doc/ref/xsl/filter.xtp
-resin/doc/ref/xsl/hello.xtp
-resin/doc/ref/xsl/if-attribute.xtp
-resin/doc/ref/xsl/if-xpath-attribute.xtp
-resin/doc/ref/xsl/if.xtp
-resin/doc/ref/xsl/index.xtp
-resin/doc/ref/xsl/modes.xtp
-resin/doc/ref/xsl/ref.xtp
-resin/doc/ref/xsl/short-attribute.xtp
-resin/doc/ref/xsl/value-of.xtp
-resin/doc/ref/xsl/xpath-find.xtp
-resin/doc/ref/xsl/xpath-select.xtp
-resin/doc/ref/xsl/xpath.xtp
-resin/doc/ref/xsl/xsl-api.xtp
-resin/doc/ref/xsl/xsl.xtp
-resin/doc/ref/xsl/xsl-boxes.xtp
-resin/doc/ref/srun-other.xtp
-resin/doc/ref/ssl-quick.xml
-resin/doc/ref/ssl-quick.xtp
-resin/doc/ref/ssl.xml
-resin/doc/ref/ssl.xtp
-resin/doc/ref/starting.xtp
-resin/doc/ref/static.xtp
-resin/doc/ref/stylescript.xtp
-resin/doc/ref/taglib.xtp
-resin/doc/ref/toc.xml
-resin/doc/ref/topics.xtp
-resin/doc/ref/trouble.xtp
-resin/doc/ref/velocity.xtp
-resin/doc/ref/virtual-host.xtp
-resin/doc/ref/visual-age.xtp
-resin/doc/ref/war-dir.xtp
-resin/doc/ref/webdav.xtp
-resin/doc/ref/xml.xtp
-resin/doc/ref/xpath-fun.xtp
-resin/doc/ref/xpath.xtp
-resin/doc/ref/xsl.xtp
-resin/doc/ref/xslt-lite-eg.xtp
-resin/doc/ref/xslt-lite.xtp
-resin/doc/ref/xtp-jsp.xtp
-resin/doc/ref/xtp-index.xtp
-resin/doc/ref/xtp-intro.xtp
-resin/doc/ref/xtp.xtp
-resin/doc/faq/classloader.xtp
-resin/doc/faq/config.xtp
-resin/doc/faq/debug.xtp
-resin/doc/faq/index.xtp
-resin/doc/faq/install.xtp
-resin/doc/faq/misc.xtp
-resin/doc/faq/servlet.xtp
-resin/doc/faq/ssl.xtp
-resin/doc/faq/toc.xml
-resin/doc/css/default.css
-resin/lib/resin.jar
-resin/lib/jsdk23.jar
-resin/lib/jdbc2_0-stdext.jar
-resin/lib/jta_101.jar
-resin/lib/jndi.jar
-resin/lib/dom.jar
-resin/lib/sax.jar
-resin/lib/jaxp.jar
-resin/lib/jmx.jar
-resin/lib/webutil.jar
-resin/lib/jdbc-mysql.jar
-resin/xsl/caucho/comment.xsl
-resin/xsl/caucho/contents.xsl
-resin/xsl/caucho/control.xsl
-resin/xsl/caucho/debug.xsl
-resin/xsl/caucho/defaultcopy.xsl
-resin/xsl/caucho/format.xsl
-resin/xsl/caucho/newstyle.xsl
-resin/xsl/caucho/weblog.xsl
-resin/xsl/caucho_default.xsl
-resin/xsl/caucho_header.xsl
-resin/xsl/caucho_subpage.xsl
-resin/xsl/default.xsl
-resin/xsl/doc_header.xsl
-resin/xsl/header.xsl
-resin/xsl/js_header.xsl
-resin/xsl/new_doc_header.xsl
-resin/xsl/search.xsl
-resin/xsl/subpage.xsl
-resin/xsl/js/caucho/defaultcopy.xsl
-resin/xsl/js/caucho/format.xsl
-resin/xsl/js/caucho/weblog.xsl
-etc/rc.d/resin.sh
-sbin/resinctl
+%%APP_NAME%%/doc/beta.xtp
+%%APP_NAME%%/doc/changes-1.xtp
+%%APP_NAME%%/doc/changes.xtp
+%%APP_NAME%%/doc/errata.xtp
+%%APP_NAME%%/doc/features.xtp
+%%APP_NAME%%/doc/future.xtp
+%%APP_NAME%%/doc/index.xtp
+%%APP_NAME%%/doc/toc.xml
+%%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/counter.jsp
+%%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/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/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/index.xtp
+%%APP_NAME%%/doc/examples/toc.xml
+%%APP_NAME%%/doc/examples/view_source.jsp
+%%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/admin.jsp
+%%APP_NAME%%/doc/examples/templates/add.jsp
+%%APP_NAME%%/doc/examples/templates/add.xtp
+%%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/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/tutorial/WEB-INF/classes/servlet/trivial/HelloServlet.java
+%%APP_NAME%%/doc/examples/tutorial/WEB-INF/web.xml
+%%APP_NAME%%/doc/examples/xsl/WEB-INF/classes/xsl/Dispatch.java
+%%APP_NAME%%/doc/examples/xsl/WEB-INF/web.xml
+%%APP_NAME%%/doc/examples/xsl/WEB-INF/scripts/Navigation.js
+%%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/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/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/images/apache_srun.gif
+%%APP_NAME%%/doc/images/appserver.gif
+%%APP_NAME%%/doc/images/background.gif
+%%APP_NAME%%/doc/images/backup.gif
+%%APP_NAME%%/doc/images/ball8.gif
+%%APP_NAME%%/doc/images/bean.gif
+%%APP_NAME%%/doc/images/bean1.gif
+%%APP_NAME%%/doc/images/caucho.gif
+%%APP_NAME%%/doc/images/compiler.gif
+%%APP_NAME%%/doc/images/file.gif
+%%APP_NAME%%/doc/images/folder.gif
+%%APP_NAME%%/doc/images/hbleed.gif
+%%APP_NAME%%/doc/images/httpd.gif
+%%APP_NAME%%/doc/images/iis_srun.gif
+%%APP_NAME%%/doc/images/jndi_tree.gif
+%%APP_NAME%%/doc/images/jsp.gif
+%%APP_NAME%%/doc/images/logo.gif
+%%APP_NAME%%/doc/images/pixel.gif
+%%APP_NAME%%/doc/images/resin_powered.gif
+%%APP_NAME%%/doc/images/same_srun.gif
+%%APP_NAME%%/doc/images/script.gif
+%%APP_NAME%%/doc/images/srunc.gif
+%%APP_NAME%%/doc/images/sticky-sessions.gif
+%%APP_NAME%%/doc/images/style.gif
+%%APP_NAME%%/doc/images/webserver.gif
+%%APP_NAME%%/doc/images/website_srun.gif
+%%APP_NAME%%/doc/images/caucho-blue.gif
+%%APP_NAME%%/doc/images/left_background.gif
+%%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/web.xml
+%%APP_NAME%%/doc/java_tut/WEB-INF/sql/default.sql
+%%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/index.xtp
+%%APP_NAME%%/doc/java_tut/isp.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/req_headers.xtp
+%%APP_NAME%%/doc/java_tut/plugin-dispatch.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/java_tut/javadoc/constant-values.html
+%%APP_NAME%%/doc/java_tut/javadoc/resources/inherit.gif
+%%APP_NAME%%/doc/java_tut/javadoc/overview-tree.html
+%%APP_NAME%%/doc/java_tut/javadoc/index-all.html
+%%APP_NAME%%/doc/java_tut/javadoc/deprecated-list.html
+%%APP_NAME%%/doc/java_tut/javadoc/allclasses-frame.html
+%%APP_NAME%%/doc/java_tut/javadoc/allclasses-noframe.html
+%%APP_NAME%%/doc/java_tut/javadoc/index.html
+%%APP_NAME%%/doc/java_tut/javadoc/packages.html
+%%APP_NAME%%/doc/java_tut/javadoc/overview-summary.html
+%%APP_NAME%%/doc/java_tut/javadoc/overview-frame.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/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/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/example/servlet/database/InitDatabaseServlet.html
+%%APP_NAME%%/doc/java_tut/javadoc/example/servlet/database/QueryServlet.html
+%%APP_NAME%%/doc/java_tut/javadoc/serialized-form.html
+%%APP_NAME%%/doc/java_tut/javadoc/package-list
+%%APP_NAME%%/doc/java_tut/javadoc/help-doc.html
+%%APP_NAME%%/doc/java_tut/javadoc/stylesheet.css
+%%APP_NAME%%/doc/java_tut/images/same_srun.gif
+%%APP_NAME%%/doc/java_tut/images/srunc.gif
+%%APP_NAME%%/doc/ref/jsp/jsp-el.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/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/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-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/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.xtp
+%%APP_NAME%%/doc/ref/xsl/xsl-boxes.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.xtp
+%%APP_NAME%%/doc/ref/xpath-fun.xtp
+%%APP_NAME%%/doc/ref/xpath.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-jsp.xtp
+%%APP_NAME%%/doc/ref/xtp-index.xtp
+%%APP_NAME%%/doc/ref/xtp-intro.xtp
+%%APP_NAME%%/doc/ref/xtp.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/css/default.css
+%%APP_NAME%%/lib/resin.jar
+%%APP_NAME%%/lib/jsdk23.jar
+%%APP_NAME%%/lib/jdbc2_0-stdext.jar
+%%APP_NAME%%/lib/jta_101.jar
+%%APP_NAME%%/lib/jndi.jar
+%%APP_NAME%%/lib/dom.jar
+%%APP_NAME%%/lib/sax.jar
+%%APP_NAME%%/lib/jaxp.jar
+%%APP_NAME%%/lib/jmx.jar
+%%APP_NAME%%/lib/webutil.jar
+%%APP_NAME%%/lib/jdbc-mysql.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_header.xsl
+%%APP_NAME%%/xsl/new_doc_header.xsl
+%%APP_NAME%%/xsl/search.xsl
+%%APP_NAME%%/xsl/subpage.xsl
+%%APP_NAME%%/xsl/js/caucho/defaultcopy.xsl
+%%APP_NAME%%/xsl/js/caucho/format.xsl
+%%APP_NAME%%/xsl/js/caucho/weblog.xsl
+etc/rc.d/%%APP_NAME%%.sh
+sbin/%%APP_NAME%%ctl
%%MOD_DIR%%/mod_caucho.so
-@dirrm resin/doc/examples/basic/WEB-INF/classes
-@dirrm resin/doc/examples/basic/WEB-INF/tmp
-@dirrm resin/doc/examples/basic/WEB-INF
-@dirrm resin/doc/examples/basic/com/caucho/fortune
-@dirrm resin/doc/examples/basic/com/caucho
-@dirrm resin/doc/examples/basic/com
-@dirrm resin/doc/examples/basic/data/fortune
-@dirrm resin/doc/examples/basic/data
-@dirrm resin/doc/examples/basic
-@dirrm resin/doc/examples/login/WEB-INF/classes/test
-@dirrm resin/doc/examples/login/WEB-INF/classes
-@dirrm resin/doc/examples/login/WEB-INF/tmp
-@dirrm resin/doc/examples/login/WEB-INF
-@dirrm resin/doc/examples/login
-@dirrm resin/doc/examples/navigation/WEB-INF/scripts
-@dirrm resin/doc/examples/navigation/WEB-INF/tmp
-@dirrm resin/doc/examples/navigation/WEB-INF
-@dirrm resin/doc/examples/navigation
-@dirrm resin/doc/examples/templates/WEB-INF/classes/jsp
-@dirrm resin/doc/examples/templates/WEB-INF/classes
-@dirrm resin/doc/examples/templates/WEB-INF/xsl
-@dirrm resin/doc/examples/templates/WEB-INF/tmp
-@dirrm resin/doc/examples/templates/WEB-INF
-@dirrm resin/doc/examples/templates
-@dirrm resin/doc/examples/tictactoe/WEB-INF/scripts
-@dirrm resin/doc/examples/tictactoe/WEB-INF/tmp
-@dirrm resin/doc/examples/tictactoe/WEB-INF
-@dirrm resin/doc/examples/tictactoe
-@dirrm resin/doc/examples/tutorial/WEB-INF/classes/servlet/trivial
-@dirrm resin/doc/examples/tutorial/WEB-INF/classes/servlet
-@dirrm resin/doc/examples/tutorial/WEB-INF/classes
-@dirrm resin/doc/examples/tutorial/WEB-INF
-@dirrm resin/doc/examples/tutorial
-@dirrm resin/doc/examples/xsl/WEB-INF/classes/xsl
-@dirrm resin/doc/examples/xsl/WEB-INF/classes
-@dirrm resin/doc/examples/xsl/WEB-INF/scripts
-@dirrm resin/doc/examples/xsl/WEB-INF/xsl
-@dirrm resin/doc/examples/xsl/WEB-INF/tmp
-@dirrm resin/doc/examples/xsl/WEB-INF
-@dirrm resin/doc/examples/xsl/data/fortune
-@dirrm resin/doc/examples/xsl/data
-@dirrm resin/doc/examples/xsl
-@dirrm resin/doc/examples/tags/WEB-INF/tmp
-@dirrm resin/doc/examples/tags/WEB-INF
-@dirrm resin/doc/examples/tags
-@dirrm resin/doc/examples
-@dirrm resin/doc/images
-@dirrm resin/doc/java_tut/WEB-INF/classes/example/servlet/basic
-@dirrm resin/doc/java_tut/WEB-INF/classes/example/servlet/database
-@dirrm resin/doc/java_tut/WEB-INF/classes/example/servlet
-@dirrm resin/doc/java_tut/WEB-INF/classes/example
-@dirrm resin/doc/java_tut/WEB-INF/classes
-@dirrm resin/doc/java_tut/WEB-INF/sql
-@dirrm resin/doc/java_tut/WEB-INF/tmp
-@dirrm resin/doc/java_tut/WEB-INF
-@dirrm resin/doc/java_tut/javadoc/resources
-@dirrm resin/doc/java_tut/javadoc/example/servlet/basic
-@dirrm resin/doc/java_tut/javadoc/example/servlet/database
-@dirrm resin/doc/java_tut/javadoc/example/servlet
-@dirrm resin/doc/java_tut/javadoc/example
-@dirrm resin/doc/java_tut/javadoc
-@dirrm resin/doc/java_tut/images
-@dirrm resin/doc/java_tut
-@dirrm resin/doc/ref/jsp
-@dirrm resin/doc/ref/xml
-@dirrm resin/doc/ref/xsl
-@dirrm resin/doc/ref
-@dirrm resin/doc/faq
-@dirrm resin/doc/css
-@dirrm resin/doc/WEB-INF/classes
-@dirrm resin/doc/WEB-INF/lib
-@dirrm resin/doc/WEB-INF
-@dirrm resin/doc
-@dirrm resin/lib
-@dirrm resin/webapps
-@dirrm resin/xsl/caucho
-@dirrm resin/xsl/js/caucho
-@dirrm resin/xsl/js
-@dirrm resin/xsl
-@dirrm resin
-@unexec if cmp -s %D/etc/resin.xml %D/etc/resin.xml-dist; then rm -f %D/etc/resin.xml; else echo If permanently deleting this package, %%PREFIX%%/etc/resin.xml must be removed manually; fi
-etc/resin.xml-dist
+%%APACHE%%@exec %%APXS%% -e -a -n caucho %f
+%%APACHE%%@unexec %%APXS%% -e -A -n caucho %f
+@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/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/javadoc/resources
+@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
+@dirrm %%APP_NAME%%/doc/java_tut/images
+@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/faq
+@dirrm %%APP_NAME%%/doc/css
+@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%%
+@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