pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/pam-ldap This package is still useful on SunO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebf10eb8a017
branches:  trunk
changeset: 637387:ebf10eb8a017
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Jul 28 18:23:39 2014 +0000

description:
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:

 security/pam-ldap/DEINSTALL |  6 ++++--
 security/pam-ldap/INSTALL   |  6 ++++--
 security/pam-ldap/Makefile  |  6 +++---
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r f98f44f1aab4 -r ebf10eb8a017 security/pam-ldap/DEINSTALL
--- a/security/pam-ldap/DEINSTALL       Mon Jul 28 16:12:57 2014 +0000
+++ b/security/pam-ldap/DEINSTALL       Mon Jul 28 18:23:39 2014 +0000
@@ -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 -r f98f44f1aab4 -r ebf10eb8a017 security/pam-ldap/INSTALL
--- a/security/pam-ldap/INSTALL Mon Jul 28 16:12:57 2014 +0000
+++ b/security/pam-ldap/INSTALL Mon Jul 28 18:23:39 2014 +0000
@@ -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 -r f98f44f1aab4 -r ebf10eb8a017 security/pam-ldap/Makefile
--- a/security/pam-ldap/Makefile        Mon Jul 28 16:12:57 2014 +0000
+++ b/security/pam-ldap/Makefile        Mon Jul 28 18:23:39 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index