pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pam-dbm Work around a bug described in securi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/101d34d445c5
branches:  trunk
changeset: 573633:101d34d445c5
user:      scottr <scottr%pkgsrc.org@localhost>
date:      Sun Mar 21 06:50:13 2010 +0000

description:
Work around a bug described in security/39313.

diffstat:

 security/pam-dbm/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 73bb8432e807 -r 101d34d445c5 security/pam-dbm/Makefile
--- a/security/pam-dbm/Makefile Sun Mar 21 02:50:47 2010 +0000
+++ b/security/pam-dbm/Makefile Sun Mar 21 06:50:13 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/10/02 18:21:06 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2010/03/21 06:50:13 scottr Exp $
 #
 
 DISTNAME=              pam_dbm-0.2
@@ -20,6 +20,15 @@
 .include "../../mk/bdb.buildlink3.mk"
 .include "../../mk/pam.buildlink3.mk"
 
+# 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
+
 post-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/authtest ${DESTDIR}${PREFIX}/sbin/pam_dbm-authtest
 



Home | Main Index | Thread Index | Old Index