diff options
author | obache <obache@pkgsrc.org> | 2012-04-07 01:53:18 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-04-07 01:53:18 +0000 |
commit | 24cbc6ceba68fe4468e8c872982dd16ee4b20646 (patch) | |
tree | 2668c4ad3c8c8d78dd9f50e001b20abfaced80a6 /security/pam-af | |
parent | 90c2238a4cae789b7f439bb61d573a9651282124 (diff) | |
download | pkgsrc-24cbc6ceba68fe4468e8c872982dd16ee4b20646.tar.gz |
Allow to build with non-native PAM on *BSD.
Diffstat (limited to 'security/pam-af')
-rw-r--r-- | security/pam-af/distinfo | 4 | ||||
-rw-r--r-- | security/pam-af/patches/patch-ab | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/security/pam-af/distinfo b/security/pam-af/distinfo index 263052ffe9f..42a3125bede 100644 --- a/security/pam-af/distinfo +++ b/security/pam-af/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2012/03/21 18:24:00 hans Exp $ +$NetBSD: distinfo,v 1.9 2012/04/07 01:53:18 obache Exp $ SHA1 (pam_af-1.0.2.tar.bz2) = e3856a33d79beafa8d4e8cb44b19cbf79a3ed422 RMD160 (pam_af-1.0.2.tar.bz2) = 0c4163d811ba83de32e9b4633780ac76c8d10d8f Size (pam_af-1.0.2.tar.bz2) = 17991 bytes SHA1 (patch-aa) = 9c8e44c7b25e268777967c742a6946abe0c80316 -SHA1 (patch-ab) = 93adab4e1a230e46f5742ecb4390ff50d96d56d5 +SHA1 (patch-ab) = 2d42056f2972a34d2ec681f3c408cfdfc7c26d67 SHA1 (patch-ad) = 0f46fecfec3b920a08e2c22c14ada368214d6a69 diff --git a/security/pam-af/patches/patch-ab b/security/pam-af/patches/patch-ab index 4c4f733b9be..6e0e3e214dd 100644 --- a/security/pam-af/patches/patch-ab +++ b/security/pam-af/patches/patch-ab @@ -1,6 +1,7 @@ -$NetBSD: patch-ab,v 1.3 2011/10/17 08:47:51 obache Exp $ +$NetBSD: patch-ab,v 1.4 2012/04/07 01:53:18 obache Exp $ * LOG_AUTHPRIV is not in Solaris, use LOG_AUTH instead. +* Allow to build with non-native PAM on *BSD. --- pam_af.c.orig 2011-08-24 07:53:32.000000000 +0000 +++ pam_af.c @@ -14,3 +15,11 @@ $NetBSD: patch-ab,v 1.3 2011/10/17 08:47:51 obache Exp $ #include <assert.h> #include <ndbm.h> +@@ -444,6 +447,6 @@ pam_sm_setcred(pamh, flags, argc, argv) + PAM_RETURN(PAM_SUCCESS); + } + +-#ifdef _USE_MODULE_ENTRY_ ++#ifdef PAM_MODULE_ENTRY + PAM_MODULE_ENTRY("pam_af"); + #endif |