diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-10-31 18:23:24 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-10-31 18:23:24 +0000 |
commit | 0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (patch) | |
tree | 335a814656ef5809f020993e8ba3b72da213075a /www | |
parent | e9aa56d93387933b66cdc1e0971a4b537947b927 (diff) | |
download | pkgsrc-0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81.tar.gz |
move php4-imap patches into php4/patches and use USE_PHP_EXT_PATCHES
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/distinfo | 5 | ||||
-rw-r--r-- | www/php4/patches/patch-aj | 28 | ||||
-rw-r--r-- | www/php4/patches/patch-ak | 27 |
3 files changed, 59 insertions, 1 deletions
diff --git a/www/php4/distinfo b/www/php4/distinfo index 4989d9eee3f..8eeb9b7a4c3 100644 --- a/www/php4/distinfo +++ b/www/php4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.32 2004/09/28 12:41:13 jdolecek Exp $ +$NetBSD: distinfo,v 1.33 2004/10/31 18:23:24 jdolecek Exp $ SHA1 (php-4.3.9.tar.bz2) = 9995ce1f0b84a6d3c230552446dbcd91dbf426b0 Size (php-4.3.9.tar.bz2) = 4001681 bytes @@ -6,3 +6,6 @@ SHA1 (patch-aa) = feb064407950d0fc732b7240e65cac84420d2407 SHA1 (patch-ab) = fd09b2a1f56d50859f2ee632f7feab28e624fe15 SHA1 (patch-ag) = 1ded1d7f4daac6806f41864c783f16d3403315e4 SHA1 (patch-ah) = 0ac37bd35c4594cb58f1ea85ef811154b644a931 +SHA1 (patch-ai) = 0b9c1c9fb75a64026f2fb3cbd44cc19e0a1f186c +SHA1 (patch-aj) = 132b5b5b802f1795deda9487db5f22cfe9edce5d +SHA1 (patch-ak) = bd2aac1a91ed77208b45747c9d11e87731c6b46f diff --git a/www/php4/patches/patch-aj b/www/php4/patches/patch-aj new file mode 100644 index 00000000000..33836fe0a87 --- /dev/null +++ b/www/php4/patches/patch-aj @@ -0,0 +1,28 @@ +$NetBSD: patch-aj,v 1.8 2004/10/31 18:23:24 jdolecek Exp $ + +--- ext/imap/config.m4.orig 2004-01-17 01:01:06.000000000 +0100 ++++ ext/imap/config.m4 2004-10-31 18:49:03.000000000 +0100 +@@ -54,6 +54,14 @@ + ]) + ]) + ++dsl Must be before --with-kerberos, affects the check ++PHP_ARG_WITH(imap-linkage,use IMAP c-client linkage, ++[ --with-imap-linkage Use IMAP c-client linkage to determine supported items.]) ++ ++if test "$PHP_IMAP_LINKAGE" != "no"; then ++ AC_DEFINE(HAVE_IMAP_LINKAGE, 1, [ ]) ++fi ++ + AC_DEFUN(PHP_IMAP_KRB_CHK, [ + AC_ARG_WITH(kerberos, + [ --with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install dir.],[ +@@ -90,7 +98,7 @@ + PHP_ADD_LIBRARY(k5crypto, 1, IMAP_SHARED_LIBADD) + PHP_ADD_LIBRARY(com_err, 1, IMAP_SHARED_LIBADD) + PHP_ADD_INCLUDE($PHP_KERBEROS_DIR/include) +- else ++ elif test "$PHP_IMAP_LINKAGE" != "yes"; then + AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [ + AC_MSG_ERROR([This c-client library is built with Kerberos support. + diff --git a/www/php4/patches/patch-ak b/www/php4/patches/patch-ak new file mode 100644 index 00000000000..57571907c5a --- /dev/null +++ b/www/php4/patches/patch-ak @@ -0,0 +1,27 @@ +$NetBSD: patch-ak,v 1.3 2004/10/31 18:23:24 jdolecek Exp $ + +--- ext/imap/php_imap.c.orig 2004-08-12 21:32:59.000000000 +0200 ++++ ext/imap/php_imap.c 2004-10-31 18:49:03.000000000 +0100 +@@ -414,6 +414,11 @@ + + ZEND_INIT_MODULE_GLOBALS(imap, php_imap_init_globals, NULL) + ++/* ++ * Optionally use the installed c-client linkage.c to determine which drivers ++ * are authenticators are linked in. Otherwise use this fixed list. ++ */ ++#ifndef HAVE_IMAP_LINKAGE + #ifndef PHP_WIN32 + mail_link(&unixdriver); /* link in the unix driver */ + mail_link(&mhdriver); /* link in the mh driver */ +@@ -429,6 +434,10 @@ + mail_link(&tenexdriver); /* link in the tenex driver */ + mail_link(&mtxdriver); /* link in the mtx driver */ + mail_link(&dummydriver); /* link in the dummy driver */ ++#else /* HAVE_IMAP_LINKAGE */ ++ /* link in the c-client mail and auth drivers */ ++#include "linkage.c" ++#endif /* HAVE_IMAP_LINKAGE */ + + #ifndef PHP_WIN32 + auth_link(&auth_log); /* link in the log authenticator */ |