- Replace DEINSTALL with UNMESSAGE and @unexec

- Bump PKGNAME
This commit is contained in:
alek 2005-01-26 02:40:55 +00:00
parent b4a541da24
commit 4c4d6b63cf
4 changed files with 12 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2003/05/22 14:16:22 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2005/01/26 02:40:55 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 LDAP authentication module"
VERSION= 1.6.0
DISTNAME= auth_ldap-${VERSION}
PKGNAME= mod_auth_ldap-${VERSION}
PKGNAME= mod_auth_ldap-${VERSION}p0
CATEGORIES= www
HOMEPAGE= http://www.rudedog.org/auth_ldap/

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/07/19 22:41:25 naddy Exp $
#
# mod_auth_ldap de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`apxs -q SYSCONFDIR`/httpd.conf
MODULE=/usr/lib/apache/modules/auth_ldap.so
rm -f ${MODULE}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| remove the line: LoadModule auth_ldap_module"
echo "|"
echo "| Do not do this if you plan on re-installing the $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/04 23:09:01 henning Exp $
@comment $OpenBSD: PLIST,v 1.2 2005/01/26 02:40:55 alek Exp $
lib/auth_ldap.so
sbin/mod_auth_ldap-enable
@unexec rm -f /usr/lib/apache/modules/auth_ldap.so

View File

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