From 4c4d6b63cf962b5af41ea7a1a428d1c0593219eb Mon Sep 17 00:00:00 2001 From: alek Date: Wed, 26 Jan 2005 02:40:55 +0000 Subject: [PATCH] - Replace DEINSTALL with UNMESSAGE and @unexec - Bump PKGNAME --- www/mod_auth_ldap/Makefile | 4 ++-- www/mod_auth_ldap/pkg/DEINSTALL | 27 --------------------------- www/mod_auth_ldap/pkg/PLIST | 3 ++- www/mod_auth_ldap/pkg/UNMESSAGE | 8 ++++++++ 4 files changed, 12 insertions(+), 30 deletions(-) delete mode 100644 www/mod_auth_ldap/pkg/DEINSTALL create mode 100644 www/mod_auth_ldap/pkg/UNMESSAGE diff --git a/www/mod_auth_ldap/Makefile b/www/mod_auth_ldap/Makefile index e2f775a9058..606dc62b5b0 100644 --- a/www/mod_auth_ldap/Makefile +++ b/www/mod_auth_ldap/Makefile @@ -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/ diff --git a/www/mod_auth_ldap/pkg/DEINSTALL b/www/mod_auth_ldap/pkg/DEINSTALL deleted file mode 100644 index 8cf3ae08c45..00000000000 --- a/www/mod_auth_ldap/pkg/DEINSTALL +++ /dev/null @@ -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 diff --git a/www/mod_auth_ldap/pkg/PLIST b/www/mod_auth_ldap/pkg/PLIST index 811d33274a7..3a80ca496b2 100644 --- a/www/mod_auth_ldap/pkg/PLIST +++ b/www/mod_auth_ldap/pkg/PLIST @@ -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 diff --git a/www/mod_auth_ldap/pkg/UNMESSAGE b/www/mod_auth_ldap/pkg/UNMESSAGE new file mode 100644 index 00000000000..ad853992ed7 --- /dev/null +++ b/www/mod_auth_ldap/pkg/UNMESSAGE @@ -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.