pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add a fix to LDAP extension build to properly detect L...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d84916c7fad
branches: trunk
changeset: 500414:1d84916c7fad
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Fri Oct 07 21:09:27 2005 +0000
description:
Add a fix to LDAP extension build to properly detect LDAP capabilities,
such as TLS support.
Patch provided by Stoned Elipot in private e-mail.
diffstat:
databases/php-ldap/Makefile | 5 +++--
lang/php5/distinfo | 3 ++-
lang/php5/patches/patch-am | 12 ++++++++++++
www/php4/distinfo | 3 ++-
www/php4/patches/patch-am | 12 ++++++++++++
5 files changed, 31 insertions(+), 4 deletions(-)
diffs (77 lines):
diff -r 9d4b4c098467 -r 1d84916c7fad databases/php-ldap/Makefile
--- a/databases/php-ldap/Makefile Fri Oct 07 20:31:32 2005 +0000
+++ b/databases/php-ldap/Makefile Fri Oct 07 21:09:27 2005 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:45:14 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/10/07 21:09:28 jdolecek Exp $
MODNAME= ldap
-PKGREVISION= # empty
+PKGREVISION= 1
CATEGORIES+= databases
COMMENT= PHP extension for LDAP database access
+USE_PHP_EXT_PATCHES= yes
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.openldap}
diff -r 9d4b4c098467 -r 1d84916c7fad lang/php5/distinfo
--- a/lang/php5/distinfo Fri Oct 07 20:31:32 2005 +0000
+++ b/lang/php5/distinfo Fri Oct 07 21:09:27 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/09/08 18:49:01 jdolecek Exp $
+$NetBSD: distinfo,v 1.9 2005/10/07 21:09:28 jdolecek Exp $
SHA1 (php-5.0.5.tar.bz2) = ffcc050f879265eb96f2c8dc79fa895047da9d4a
RMD160 (php-5.0.5.tar.bz2) = 6a9a892affba229770154407860cd1c2a098eaf9
@@ -6,3 +6,4 @@
SHA1 (patch-aj) = cc68ce876dc5998becbe2f1f74288b5da5bbaca3
SHA1 (patch-ak) = 0faa523103e0a9a3c01c78c2fe9a64c0a9b2fc43
SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
+SHA1 (patch-am) = 0de0be745262c1e986062c7a50261dbe58f97ac9
diff -r 9d4b4c098467 -r 1d84916c7fad lang/php5/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/php5/patches/patch-am Fri Oct 07 21:09:27 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.1 2005/10/07 21:09:28 jdolecek Exp $
+
+--- ext/ldap/config.m4.orig 2005-05-08 16:06:24.000000000 +0000
++++ ext/ldap/config.m4
+@@ -114,6 +114,7 @@ if test "$PHP_LDAP" != "no"; then
+ _SAVE_CPPFLAGS=$CPPFLAGS
+ _SAVE_LDFLAGS=$LDFLAGS
+ CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
++ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
+ AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc,
+ [AC_TRY_COMPILE([#include <ldap.h>], [ldap_set_rebind_proc(0,0,0)],
+ ac_cv_3arg_setrebindproc=yes, ac_cv_3arg_setrebindproc=no)])
diff -r 9d4b4c098467 -r 1d84916c7fad www/php4/distinfo
--- a/www/php4/distinfo Fri Oct 07 20:31:32 2005 +0000
+++ b/www/php4/distinfo Fri Oct 07 21:09:27 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.44 2005/10/05 15:59:47 tron Exp $
+$NetBSD: distinfo,v 1.45 2005/10/07 21:09:27 jdolecek Exp $
SHA1 (php-4.4.0.tar.bz2) = 5e0afe6e5f8c751f880a50ad4fa1716f0242ef37
RMD160 (php-4.4.0.tar.bz2) = 4792e78b6f2f3e3347a1ac945b48efaccedf4542
@@ -15,3 +15,4 @@
SHA1 (patch-aj) = cc68ce876dc5998becbe2f1f74288b5da5bbaca3
SHA1 (patch-ak) = 1f9fbe26c7329e1d18eec053499ee2d574b5b970
SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
+SHA1 (patch-am) = 0de0be745262c1e986062c7a50261dbe58f97ac9
diff -r 9d4b4c098467 -r 1d84916c7fad www/php4/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php4/patches/patch-am Fri Oct 07 21:09:27 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.3 2005/10/07 21:09:28 jdolecek Exp $
+
+--- ext/ldap/config.m4.orig 2005-05-08 16:06:24.000000000 +0000
++++ ext/ldap/config.m4
+@@ -114,6 +114,7 @@ if test "$PHP_LDAP" != "no"; then
+ _SAVE_CPPFLAGS=$CPPFLAGS
+ _SAVE_LDFLAGS=$LDFLAGS
+ CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
++ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
+ AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc,
+ [AC_TRY_COMPILE([#include <ldap.h>], [ldap_set_rebind_proc(0,0,0)],
+ ac_cv_3arg_setrebindproc=yes, ac_cv_3arg_setrebindproc=no)])
Home |
Main Index |
Thread Index |
Old Index