diff options
author | wiz <wiz@pkgsrc.org> | 2003-05-16 17:30:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-05-16 17:30:58 +0000 |
commit | b2fde2b3902d0c52f82b7cfe7a9e5d318c666a8b (patch) | |
tree | 5f040e39f7c68e90b99e22eacddce0c165f460bd /security/PAM | |
parent | 50bf3409c83fa9bc188bb407e6a63305ab41b738 (diff) | |
download | pkgsrc-b2fde2b3902d0c52f82b7cfe7a9e5d318c666a8b.tar.gz |
Don't reference an include file that has not been installed yet
and uses the correct HAVE_GETSPNAM.
From Jeremy C. Reed in PR 21413.
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/distinfo | 4 | ||||
-rw-r--r-- | security/PAM/patches/patch-ar | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/security/PAM/distinfo b/security/PAM/distinfo index faeb9ae7fa3..d1c07ca7c71 100644 --- a/security/PAM/distinfo +++ b/security/PAM/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2003/02/09 16:16:56 dmcmahill Exp $ +$NetBSD: distinfo,v 1.8 2003/05/16 17:30:58 wiz Exp $ SHA1 (Linux-PAM-0.77.tar.gz) = 58dff29aec3c0b6a9e9b53af6fb643056ce0f304 Size (Linux-PAM-0.77.tar.gz) = 442569 bytes @@ -19,6 +19,6 @@ SHA1 (patch-an) = 46e85fc6db95eda99ed664e7d4282a49d95437c4 SHA1 (patch-ao) = da8c42c2afa2c66fee4e8f453970d1a4b3a0f285 SHA1 (patch-ap) = 0a923b67a909dde6f72129b0c853088f9d48bd91 SHA1 (patch-aq) = 91587c5b9c6587221708247decb0e82f665ae2bf -SHA1 (patch-ar) = b7428fcc1f561892510acce57fc91e0dafb044fc +SHA1 (patch-ar) = b8072ebbc1a38c26d44c0e087a2b8b93f1eb7768 SHA1 (patch-as) = e4fdfef53c097985c2aa8ff8225fed1caa812c10 SHA1 (patch-at) = 9a4dff60d5ce77a1a0792cd98e847ce946b49765 diff --git a/security/PAM/patches/patch-ar b/security/PAM/patches/patch-ar index a891f0bcf8d..ac6cbc8a53c 100644 --- a/security/PAM/patches/patch-ar +++ b/security/PAM/patches/patch-ar @@ -1,4 +1,4 @@ -$NetBSD: patch-ar,v 1.3 2002/12/23 21:24:00 jlam Exp $ +$NetBSD: patch-ar,v 1.4 2003/05/16 17:30:59 wiz Exp $ --- modules/pam_unix/support.c.orig Mon Sep 23 13:33:22 2002 +++ modules/pam_unix/support.c @@ -6,7 +6,7 @@ $NetBSD: patch-ar,v 1.3 2002/12/23 21:24:00 jlam Exp $ #define _BSD_SOURCE -+#include <security/_pam_aconf.h> ++#include "../../_pam_aconf.h" + #include <stdlib.h> #include <unistd.h> @@ -63,7 +63,7 @@ $NetBSD: patch-ar,v 1.3 2002/12/23 21:24:00 jlam Exp $ pwd = getpwnam(name); /* Get password file entry... */ if (pwd != NULL) { -+#ifdef GETSPNAM ++#ifdef HAVE_GETSPNAM if (strcmp( pwd->pw_passwd, "*NP*" ) == 0) { /* NIS+ */ uid_t save_euid, save_uid; |