summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2012-04-07 01:53:18 +0000
committerobache <obache>2012-04-07 01:53:18 +0000
commit1921d3943f3375ab7faa337cf8c22548578f66ba (patch)
tree2668c4ad3c8c8d78dd9f50e001b20abfaced80a6
parente77301b72bea51ae7b37ebb2134ff2e782568d99 (diff)
downloadpkgsrc-1921d3943f3375ab7faa337cf8c22548578f66ba.tar.gz
Allow to build with non-native PAM on *BSD.
-rw-r--r--security/pam-af/distinfo4
-rw-r--r--security/pam-af/patches/patch-ab11
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