summaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-05-23 15:48:44 +0000
committerabs <abs@pkgsrc.org>2002-05-23 15:48:44 +0000
commit21a6a78e8ddd2da32166116d413351d4fb2c1207 (patch)
treeeef6a15fb18bc6410ce76bacc218d24b4a06a81e /www/jakarta-tomcat
parentd04c24406a25d9dbcc7ba5f665f3d66cfc048d4e (diff)
downloadpkgsrc-21a6a78e8ddd2da32166116d413351d4fb2c1207.tar.gz
Add a 'flush' option to the rc.d script. Bump version to jakarta-tomcat-3.2.4nb1
If you've used tomcat this probably comes under the category of bugfix :)
Diffstat (limited to 'www/jakarta-tomcat')
-rw-r--r--www/jakarta-tomcat/Makefile3
-rw-r--r--www/jakarta-tomcat/files/tomcat.sh8
2 files changed, 8 insertions, 3 deletions
diff --git a/www/jakarta-tomcat/Makefile b/www/jakarta-tomcat/Makefile
index c15ae94fdcb..63cabb05996 100644
--- a/www/jakarta-tomcat/Makefile
+++ b/www/jakarta-tomcat/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2002/04/19 15:54:21 jwise Exp $
+# $NetBSD: Makefile,v 1.29 2002/05/23 15:48:44 abs Exp $
DISTNAME= jakarta-tomcat-3.2.4-src
PKGNAME= jakarta-tomcat-3.2.4
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/src/
diff --git a/www/jakarta-tomcat/files/tomcat.sh b/www/jakarta-tomcat/files/tomcat.sh
index 800c051ef9c..e8c15da8540 100644
--- a/www/jakarta-tomcat/files/tomcat.sh
+++ b/www/jakarta-tomcat/files/tomcat.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: tomcat.sh,v 1.6 2002/05/17 13:24:57 abs Exp $
+# $NetBSD: tomcat.sh,v 1.7 2002/05/23 15:48:45 abs Exp $
#
# PROVIDE: tomcat
# REQUIRE: DAEMON
@@ -77,8 +77,12 @@ then
$0 start
;;
+ flush)
+ cd ${PREFIX}/tomcat/work && rm -rf */*
+ ;;
+
*)
- echo 1>&2 "Usage: $0 [restart|start|stop]"
+ echo 1>&2 "Usage: $0 [restart|start|stop|flush]"
exit 1
;;
esac