- Replace DEINSTALL script with @unexec and UNMESSAGE

- Trim empty lines
- Bump PKGNAME
This commit is contained in:
alek 2005-01-26 02:31:14 +00:00
parent ea5f371d50
commit b4a541da24
5 changed files with 13 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2004/10/12 20:53:06 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2005/01/26 02:31:14 alek Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
@ -8,7 +8,7 @@ COMMENT= "Apache-Tomcat AJP Connector"
V= 1.2.6
DISTNAME= jakarta-tomcat-connectors-jk-${V}-src
PKGNAME= mod_jk-${V}
PKGNAME= mod_jk-${V}p0
CATEGORIES= www
HOMEPAGE= http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/

View File

@ -1,25 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2004/10/12 20:53:06 naddy Exp $
#
# mod_jk de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
CONF=`apxs -q SYSCONFDIR`/httpd.conf
rm -f /usr/lib/apache/modules/mod_jk.so
echo
echo "To completely deinstall the $1 package you"
echo "need to perform these steps as root:"
echo
echo " edit ${CONF}"
echo " and remove the lines"
echo " 'LoadModule jk_module'"
echo
echo "Do not do this if you plan on re-installing mod_jk"
echo "package at some future time."
echo
exit 0

View File

@ -1,4 +1,3 @@
To finish the install, you need to enable the mod_jk
module using the following command as root:
@ -10,4 +9,3 @@ you should fully stop and then start the server.
Please see ${DOCDIR}/README.OpenBSD
for more information.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2004/10/12 20:53:06 naddy Exp $
@comment $OpenBSD: PLIST,v 1.4 2005/01/26 02:31:15 alek Exp $
lib/mod_jk.so
sbin/mod_jk-enable
share/doc/mod_jk/
@ -57,3 +57,4 @@ share/doc/mod_jk/style.css
share/examples/mod_jk/
share/examples/mod_jk/mod_jk.conf
share/examples/mod_jk/workers.properties
@unexec rm -f /usr/lib/apache/modules/mod_jk.so

9
www/mod_jk/pkg/UNMESSAGE Normal file
View File

@ -0,0 +1,9 @@
To completely deinstall the mod_jk package you
need to perform these steps as root:
edit /var/www/conf/httpd.conf
and remove the lines
'LoadModule jk_module'
Do not do this if you plan on re-installing mod_jk
package at some future time.