diff options
author | abs <abs> | 2002-05-23 15:48:44 +0000 |
---|---|---|
committer | abs <abs> | 2002-05-23 15:48:44 +0000 |
commit | c8e93769ea5888a23cb21604d5fa86ad1c982a2f (patch) | |
tree | eef6a15fb18bc6410ce76bacc218d24b4a06a81e /www/jakarta-tomcat | |
parent | f4b2f72e8a6f9c667e077d263142a40d70fc280a (diff) | |
download | pkgsrc-c8e93769ea5888a23cb21604d5fa86ad1c982a2f.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/Makefile | 3 | ||||
-rw-r--r-- | www/jakarta-tomcat/files/tomcat.sh | 8 |
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 |