pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-auth-ldap Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f189b3cf8c3
branches:  trunk
changeset: 505323:6f189b3cf8c3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 02 20:52:09 2006 +0000

description:
Fix errno.

diffstat:

 www/ap-auth-ldap/distinfo         |   3 ++-
 www/ap-auth-ldap/patches/patch-aa |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r e98bacccecb4 -r 6f189b3cf8c3 www/ap-auth-ldap/distinfo
--- a/www/ap-auth-ldap/distinfo Mon Jan 02 20:17:48 2006 +0000
+++ b/www/ap-auth-ldap/distinfo Mon Jan 02 20:52:09 2006 +0000
@@ -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 -r e98bacccecb4 -r 6f189b3cf8c3 www/ap-auth-ldap/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-auth-ldap/patches/patch-aa Mon Jan 02 20:52:09 2006 +0000
@@ -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;
+     }



Home | Main Index | Thread Index | Old Index