summaryrefslogtreecommitdiff
path: root/databases/nss_ldap
diff options
context:
space:
mode:
authordrochner <drochner>2006-09-21 18:06:18 +0000
committerdrochner <drochner>2006-09-21 18:06:18 +0000
commit484e4d0d0549defeb92e30f2800709997c60555b (patch)
tree4ab11a9fdd5e50d93c7b03f4822712200a641ed3 /databases/nss_ldap
parent8e340c37f0d4f240b1f34dcd12622abe72e39069 (diff)
downloadpkgsrc-484e4d0d0549defeb92e30f2800709997c60555b.tar.gz
add INSTALL/DEINSTALL scripts to create a symlink /usr/lib/nss_XXX.so.0
so that the nss plugin is found by programs, addresses PR pkg/34285 by Frank Kruchio, bump PKGREVISIONs
Diffstat (limited to 'databases/nss_ldap')
-rw-r--r--databases/nss_ldap/DEINSTALL7
-rw-r--r--databases/nss_ldap/INSTALL7
-rw-r--r--databases/nss_ldap/Makefile4
3 files changed, 16 insertions, 2 deletions
diff --git a/databases/nss_ldap/DEINSTALL b/databases/nss_ldap/DEINSTALL
new file mode 100644
index 00000000000..865eb762915
--- /dev/null
+++ b/databases/nss_ldap/DEINSTALL
@@ -0,0 +1,7 @@
+# $NetBSD: DEINSTALL,v 1.1 2006/09/21 18:06:18 drochner Exp $
+
+case ${STAGE} in
+POST-DEINSTALL)
+ rm -f /usr/lib/nss_ldap.so.0
+ ;;
+esac
diff --git a/databases/nss_ldap/INSTALL b/databases/nss_ldap/INSTALL
new file mode 100644
index 00000000000..75b25fe2432
--- /dev/null
+++ b/databases/nss_ldap/INSTALL
@@ -0,0 +1,7 @@
+# $NetBSD: INSTALL,v 1.1 2006/09/21 18:06:18 drochner Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ln -sf ${PREFIX}/lib/nss_ldap.so.1 /usr/lib/nss_ldap.so.0
+ ;;
+esac
diff --git a/databases/nss_ldap/Makefile b/databases/nss_ldap/Makefile
index 5fd5f7bd0bc..fae78c2fd58 100644
--- a/databases/nss_ldap/Makefile
+++ b/databases/nss_ldap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/08/10 11:53:08 hira Exp $
+# $NetBSD: Makefile,v 1.14 2006/09/21 18:06:18 drochner Exp $
#
DISTNAME= nss_ldap-240
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= databases
MASTER_SITES= http://www.padl.com/download/