Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openpam security/openpam: define NO_STATIC_MO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b64592ffedea
branches:  trunk
changeset: 428543:b64592ffedea
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Apr 28 23:01:26 2020 +0000

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

diffstat:

 security/openpam/builtin.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 65011a36734e -r b64592ffedea security/openpam/builtin.mk
--- a/security/openpam/builtin.mk       Tue Apr 28 21:16:39 2020 +0000
+++ b/security/openpam/builtin.mk       Tue Apr 28 23:01:26 2020 +0000
@@ -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 @@
 .  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