summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-ah
diff options
context:
space:
mode:
authorjlam <jlam>2002-12-23 21:23:56 +0000
committerjlam <jlam>2002-12-23 21:23:56 +0000
commitcce9f7197c6df32cc5bdd5a36e08cb82d31bfe76 (patch)
treeb8eaf075508d7f5961ef5d63906886e321213f40 /security/PAM/patches/patch-ah
parent715c36ef7dc4c86c29966fae9f082b97e4c82890 (diff)
downloadpkgsrc-cce9f7197c6df32cc5bdd5a36e08cb82d31bfe76.tar.gz
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.
Diffstat (limited to 'security/PAM/patches/patch-ah')
-rw-r--r--security/PAM/patches/patch-ah22
1 files changed, 22 insertions, 0 deletions
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