pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pam-ldap Try to deal with a bug described in ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8ee06a17519b
branches: trunk
changeset: 550393:8ee06a17519b
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Fri Nov 21 03:24:29 2008 +0000
description:
Try to deal with a bug described in security/39313, when the build
against recent openpam headers produce non functioning pam_ldap.so
on NetBSD 4.99.47(?) or more recent systems.
There's something really fishy in the headers...
diffstat:
security/pam-ldap/Makefile | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 6b3d622a83fa -r 8ee06a17519b security/pam-ldap/Makefile
--- a/security/pam-ldap/Makefile Fri Nov 21 02:07:31 2008 +0000
+++ b/security/pam-ldap/Makefile Fri Nov 21 03:24:29 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:44 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2008/11/21 03:24:29 ahoka Exp $
DISTNAME= pam_ldap-184
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.padl.com/pub/ \
http://www.padl.com/download/
@@ -24,6 +24,15 @@
MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q}
+# Fix (workaround?) a bug with openpam/NetBSD
+# The bug is described in PR security/39313.
+#
+.include "../../mk/bsd.prefs.mk"
+#
+.if ${OPSYS} == "NetBSD"
+CFLAGS+= -DNO_STATIC_MODULES
+.endif
+
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
INSTALL_TARGET= install install-data
Home |
Main Index |
Thread Index |
Old Index