summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-02 20:52:09 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-02 20:52:09 +0000
commitc25940a3615e299e8af83a148f272bdd36e27a67 (patch)
treed9e9598e0a8343ebafc26210911eee984183f7ac /www/ap-auth-ldap
parentf2c9f0713c5a4f1dbae24752206bff493ddcc0a8 (diff)
downloadpkgsrc-c25940a3615e299e8af83a148f272bdd36e27a67.tar.gz
Fix errno.
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r--www/ap-auth-ldap/distinfo3
-rw-r--r--www/ap-auth-ldap/patches/patch-aa12
2 files changed, 14 insertions, 1 deletions
diff --git a/www/ap-auth-ldap/distinfo b/www/ap-auth-ldap/distinfo
index e06a120fb10..0e163eb5c20 100644
--- a/www/ap-auth-ldap/distinfo
+++ b/www/ap-auth-ldap/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:08:27 wiz Exp $
+$NetBSD: distinfo,v 1.5 2006/01/02 20:52:09 joerg Exp $
SHA1 (auth_ldap-1.6.0.tar.gz) = d08c611f779db538a0a782d6512e307c0cdaf4a9
RMD160 (auth_ldap-1.6.0.tar.gz) = 1f5fc8c0f3b8c25c4d4daf20392f22fe6c679646
Size (auth_ldap-1.6.0.tar.gz) = 79296 bytes
+SHA1 (patch-aa) = bc9afa9ee7dbd5fc23c0b8200147a5d8075fc811
diff --git a/www/ap-auth-ldap/patches/patch-aa b/www/ap-auth-ldap/patches/patch-aa
new file mode 100644
index 00000000000..028cac4296b
--- /dev/null
+++ b/www/ap-auth-ldap/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/01/02 20:52:09 joerg Exp $
+
+--- auth_ldap.c.orig 2006-01-02 20:47:58.000000000 +0000
++++ auth_ldap.c
+@@ -169,7 +169,6 @@ auth_ldap_connect_to_server(request_rec
+ "{%d} LDAP OP: init", (int)getpid());
+
+ if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
+- extern int errno;
+ auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
+ return 0;
+ }