summaryrefslogtreecommitdiff
path: root/security/pam-ldap
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-07-28 18:23:39 +0000
committerfhajny <fhajny@pkgsrc.org>2014-07-28 18:23:39 +0000
commit8815e0e6ee14cb112f8fac2b7462b8df0072b51b (patch)
tree6566e73563ffd1ccb1ce7899622790bffd000cbd /security/pam-ldap
parente7fd84cab7cd6ec98d9f7402ebfbb3aff1099fd7 (diff)
downloadpkgsrc-8815e0e6ee14cb112f8fac2b7462b8df0072b51b.tar.gz
This package is still useful on SunOS, as it provides more functionality
compared to the one shipped with the platform. Enable for SunOS, but disable the INSTALL/DEINSTALL symlinks. Bump PKGREVISION.
Diffstat (limited to 'security/pam-ldap')
-rw-r--r--security/pam-ldap/DEINSTALL6
-rw-r--r--security/pam-ldap/INSTALL6
-rw-r--r--security/pam-ldap/Makefile6
3 files changed, 11 insertions, 7 deletions
diff --git a/security/pam-ldap/DEINSTALL b/security/pam-ldap/DEINSTALL
index 4da6b011aea..ce46738ea8a 100644
--- a/security/pam-ldap/DEINSTALL
+++ b/security/pam-ldap/DEINSTALL
@@ -1,7 +1,9 @@
-# $NetBSD: DEINSTALL,v 1.1 2014/05/29 19:59:39 tron Exp $
+# $NetBSD: DEINSTALL,v 1.2 2014/07/28 18:23:39 fhajny Exp $
case ${STAGE} in
POST-DEINSTALL)
- rm -f /usr/lib/security/pam_ldap.so
+ if test "`uname -s`" != "SunOS"; then
+ rm -f /usr/lib/security/pam_ldap.so
+ fi
;;
esac
diff --git a/security/pam-ldap/INSTALL b/security/pam-ldap/INSTALL
index ac2d387db74..bdd87a56684 100644
--- a/security/pam-ldap/INSTALL
+++ b/security/pam-ldap/INSTALL
@@ -1,7 +1,9 @@
-# $NetBSD: INSTALL,v 1.1 2014/05/29 19:59:39 tron Exp $
+# $NetBSD: INSTALL,v 1.2 2014/07/28 18:23:39 fhajny Exp $
case ${STAGE} in
POST-INSTALL)
- ln -sf ${PREFIX}/lib/security/pam_ldap.so /usr/lib/security/pam_ldap.so
+ if test "`uname -s`" != "SunOS"; then
+ ln -sf ${PREFIX}/lib/security/pam_ldap.so /usr/lib/security/pam_ldap.so
+ fi
;;
esac
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index 99d33b837bc..6864a79da7f 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2014/06/02 10:22:17 tron Exp $
+# $NetBSD: Makefile,v 1.43 2014/07/28 18:23:39 fhajny Exp $
DISTNAME= pam_ldap-186
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= ftp://ftp.padl.com/pub/ \
http://www.padl.com/download/
@@ -12,7 +12,7 @@ HOMEPAGE= http://www.padl.com/pam_ldap.html
COMMENT= Pluggable authentication module for LDAP directories
LICENSE= gnu-lgpl-v2
-ONLY_FOR_PLATFORM= NetBSD-[3-9]*-* FreeBSD-*-*
+ONLY_FOR_PLATFORM= NetBSD-[3-9]*-* FreeBSD-*-* SunOS-*-*
USE_LIBTOOL= yes
USE_TOOLS+= gmake