summaryrefslogtreecommitdiff
path: root/news/nntpcache/files/patch-src-authinfo_pam.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-30 10:14:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-30 10:14:36 +0000
commit2002767acb35541647029b8cfc513f97031e4a20 (patch)
tree59731e236647a910bb9f8b00a170046d33800936 /news/nntpcache/files/patch-src-authinfo_pam.c
parentUse autoconf 2.53 for lang/ruby_static-devel and unbreak it. (diff)
Updated with new Option, some cleanups.
>Number: 30849 news/nntpcache fails compiling authinfo_pam.c, add radius & ldap auth mechanisms. The fix is to place a #ifndef __FreeBSD__ .. #endif arround <security/pam_misc.h> in authinfo_pam.c. The attached patch corrects this problem, and adds additional authentication functionality to the nntpcache port (RADIUS, LDAP[v1,v2]). files/patch-src-authinfo_pam.ext removed due to a post-configure target is added to the Makefile that recreates the authinfo_[pam,radius,ldap].ext files. PR: 30849 Submitted by: hetzels@westbend.net
Diffstat (limited to 'news/nntpcache/files/patch-src-authinfo_pam.c')
-rw-r--r--news/nntpcache/files/patch-src-authinfo_pam.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/news/nntpcache/files/patch-src-authinfo_pam.c b/news/nntpcache/files/patch-src-authinfo_pam.c
new file mode 100644
index 000000000000..0c71400c31f8
--- /dev/null
+++ b/news/nntpcache/files/patch-src-authinfo_pam.c
@@ -0,0 +1,12 @@
+--- src/authinfo_pam.c.orig Sun Jun 11 14:32:55 2000
++++ src/authinfo_pam.c Wed Sep 26 11:27:09 2001
+@@ -15,7 +15,9 @@
+ #include "authinfo_pam.h"
+
+ #include <security/pam_appl.h>
++#ifndef __FreeBSD__
+ #include <security/pam_misc.h>
++#endif
+
+ /*
+ * pam authenticator.