summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorscottr <scottr@pkgsrc.org>2010-03-21 06:50:13 +0000
committerscottr <scottr@pkgsrc.org>2010-03-21 06:50:13 +0000
commit611c7bebbfa61915c7aac2d5be9f93f7ab2dcdbc (patch)
tree5d233ab887a6ff2b1dbb3ed3dc534fa3d56f0bf3 /security
parenta049ea17505aa58fb931c9aa5740c15c6d2f0c17 (diff)
downloadpkgsrc-611c7bebbfa61915c7aac2d5be9f93f7ab2dcdbc.tar.gz
Work around a bug described in security/39313.
Diffstat (limited to 'security')
-rw-r--r--security/pam-dbm/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/pam-dbm/Makefile b/security/pam-dbm/Makefile
index f5e5d142341..1288426aebe 100644
--- a/security/pam-dbm/Makefile
+++ b/security/pam-dbm/Makefile
@@ -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 @@ BDB_ACCEPTED= db1
.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