aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-10-22 11:56:14 +0800
committerlawrance <lawrance@FreeBSD.org>2006-10-22 11:56:14 +0800
commit312232d1c624f68d2a3f8508dbd3204187e525cd (patch)
tree856c7b2b15ead41b0247360a1f7d9d4f3a405dea /www
parent16e73da47a7aaaf72701c3cbeecdfa48d584e2cb (diff)
downloadfreebsd-ports-graphics-312232d1c624f68d2a3f8508dbd3204187e525cd.tar.gz
freebsd-ports-graphics-312232d1c624f68d2a3f8508dbd3204187e525cd.tar.zst
freebsd-ports-graphics-312232d1c624f68d2a3f8508dbd3204187e525cd.zip
Unbreak jakarta-tomcat3 by re-adding a file it requires from
the tomcat4 port. Approved by: portmgr (erwin)
Diffstat (limited to 'www')
-rw-r--r--www/jakarta-tomcat3/Makefile3
-rw-r--r--www/jakarta-tomcat4/files/startup.sh34
2 files changed, 35 insertions, 2 deletions
diff --git a/www/jakarta-tomcat3/Makefile b/www/jakarta-tomcat3/Makefile
index 3ffd26ae5ef..3f7814084a9 100644
--- a/www/jakarta-tomcat3/Makefile
+++ b/www/jakarta-tomcat3/Makefile
@@ -17,8 +17,7 @@ COMMENT= Open-source Java web server by Apache, stable 3.x branch
PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/jakarta-tomcat4:pre-everything
-BROKEN= Does not build
-DEPRECATED= ${BROKEN}
+DEPRECATED= Please use www/tomcat55 instead
EXPIRATION_DATE=2006-12-01
.if !defined(NOPORTDOCS)
diff --git a/www/jakarta-tomcat4/files/startup.sh b/www/jakarta-tomcat4/files/startup.sh
new file mode 100644
index 00000000000..edd373ee147
--- /dev/null
+++ b/www/jakarta-tomcat4/files/startup.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+# -*- mode: Fundamental; tab-width: 4; -*-
+# ex:ts=4
+#
+# %%APP_TITLE%% startup script.
+#
+# $FreeBSD$
+#
+
+
+# Set some variables
+MYSELF=`basename $0`
+
+case "$1" in
+ start)
+ echo -n ' '
+ truncate -s 0 %%PID_FILE%%
+ chown %%USER%%:%%GROUP%% %%PID_FILE%%
+ chmod 600 %%PID_FILE%%
+ su -f -m %%USER%% -c "exec %%CONTROL_SCRIPT%% start" >/dev/null && echo -n '%%APP_SHORTNAME%%'
+ ;;
+ stop)
+ echo -n ' '
+ chown %%USER%%:%%GROUP%% %%PID_FILE%%
+ chmod 600 %%PID_FILE%%
+ su -f -m %%USER%% -c "exec %%CONTROL_SCRIPT%% stop" >/dev/null 2>&1 ; echo -n '%%APP_SHORTNAME%%'
+ ;;
+ *)
+ echo ""
+ echo "Usage: ${MYSELF} { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac