pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/openpam



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Apr 28 23:01:26 UTC 2020

Modified Files:
        pkgsrc/security/openpam: builtin.mk

Log Message:
security/openpam: define NO_STATIC_MODULES on NetBSD

This is a hack to work around a mistake in the NetBSD openpam build
which leaked into the public header files.  We will fix this in the
NetBSD build but it's been in the public header files for nearly a
decade now, with each individual pam module sometimes having this
workaround, so let's apply the workaround uniformly for now.

PR security/39313
PR security/55216


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/openpam/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openpam/builtin.mk
diff -u pkgsrc/security/openpam/builtin.mk:1.11 pkgsrc/security/openpam/builtin.mk:1.12
--- pkgsrc/security/openpam/builtin.mk:1.11     Mon Nov  4 21:12:56 2019
+++ pkgsrc/security/openpam/builtin.mk  Tue Apr 28 23:01:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.11 2019/11/04 21:12:56 rillig Exp $
+# $NetBSD: builtin.mk,v 1.12 2020/04/28 23:01:26 riastradh Exp $
 
 BUILTIN_PKG:=  openpam
 
@@ -59,3 +59,7 @@ USE_BUILTIN.openpam!=                                                 \
 .  endif  # PREFER.openpam
 .endif
 MAKEVARS+=             USE_BUILTIN.openpam
+
+.if !empty(USE_BUILTIN.openpam:M[yY][eE][sS])
+CPPFLAGS.NetBSD+=      -DNO_STATIC_MODULES
+.endif



Home | Main Index | Thread Index | Old Index