From cce9f7197c6df32cc5bdd5a36e08cb82d31bfe76 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 23 Dec 2002 21:23:56 +0000 Subject: Update security/PAM to 0.77. Changes from version 0.75 include: * Numerous bug fixes for most of the PAM modules, including several string length checks and fixes (update recommended!). * fix for legacy behavior of pam_setcred and pam_close_session in the case that pam_authenticate and pam_open_session hadn't been called * pam_unix: - don't zero out password strings during password changing function * pam_wheel: - feature: can use the module to provide wheel access to non-root accounts. * pam_limits: - added '%' domain for maxlogins limiting, now '*' and @group have the old meaning (every) and '%' the new one (all) - handle negative priority limits (which can apply to the superuser too). * pam_userdb: - require that all of typed password matches that in database * pam_access: - added the 'fieldsep=' argument, made a PAM_RHOST of "" equivalent to NULL Incidentally, cups-1.1.18 will once again do PAM authentication using pam_unix.so if built against PAM-0.77. --- security/PAM/patches/patch-ah | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 security/PAM/patches/patch-ah (limited to 'security/PAM/patches/patch-ah') diff --git a/security/PAM/patches/patch-ah b/security/PAM/patches/patch-ah new file mode 100644 index 00000000000..de584276bd5 --- /dev/null +++ b/security/PAM/patches/patch-ah @@ -0,0 +1,22 @@ +$NetBSD: patch-ah,v 1.4 2002/12/23 21:23:59 jlam Exp $ + +--- modules/Simple.Rules.orig Sun Dec 9 17:15:11 2001 ++++ modules/Simple.Rules +@@ -59,7 +59,7 @@ endif + + ifdef DYNAMIC + $(LIBSHARED): $(LIBOBJD) +- $(LD_D) -o $@ $(LIBOBJD) $(MODULE_SIMPLE_EXTRALIBS) $(NEED_LINK_LIB_C) $(LINK_PAMMODUTILS) ++ $(LD_D) $(LDFLAGS) -o $@ $(LIBOBJD) $(MODULE_SIMPLE_EXTRALIBS) $(NEED_LINK_LIB_C) $(LINK_PAMMODUTILS) + + endif + +@@ -69,7 +69,7 @@ endif + + ifdef STATIC + $(LIBSTATIC): $(LIBOBJS) +- $(LD) -r -o $@ $(LIBOBJS) $(MODULE_SIMPLE_EXTRALIBS) $(LINK_PAMMODUTILS) ++ $(LD) $(LDFLAGS) -r -o $@ $(LIBOBJS) $(MODULE_SIMPLE_EXTRALIBS) $(LINK_PAMMODUTILS) + endif + + install: all -- cgit v1.2.3