summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-12-03 18:53:57 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-12-03 18:53:57 +0000
commit94bac0eb30a8f6cbe904a333852cb564b14fc2c7 (patch)
treecbc4526767bcb5b58f0966875b76173dda29fc02 /net
parent4b122787b2db27b69066dec8d6c3059823c980b1 (diff)
downloadpkgsrc-94bac0eb30a8f6cbe904a333852cb564b14fc2c7.tar.gz
Update PHP5 to version 5.1.1. Some of the key features include:
* A complete rewrite of date handling code, with improved timezone support. * Significant performance improvements compared to PHP 5.0.X. * PDO extension is now enabled by default (separate pkg for pkgsrc) * Over 30 new functions in various extensions and built-in functionality. * Bundled libraries, PCRE and SQLite upgraded to latest versions. * Over 400 various bug fixes. * PEAR upgraded to version 1.4.5 This release also fixes various security problems discovered in 5.0.X.
Diffstat (limited to 'net')
-rw-r--r--net/php-xmlrpc/Makefile17
-rw-r--r--net/php5-soap/MESSAGE7
2 files changed, 23 insertions, 1 deletions
diff --git a/net/php-xmlrpc/Makefile b/net/php-xmlrpc/Makefile
index ae0d0cce546..e945b183b19 100644
--- a/net/php-xmlrpc/Makefile
+++ b/net/php-xmlrpc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/08 15:59:48 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2005/12/03 18:53:57 jdolecek Exp $
MODNAME= xmlrpc
CATEGORIES+= net
@@ -8,7 +8,17 @@ COMMENT= PHP extension for XML-RPC support
HOMEPAGE= http://xmlrpc-epi.sourceforge.net/
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/phpversion.mk"
+
+.if ${PKG_PHP_VERSION} == 5
+# the extension has been changed in PHP 5.1 to require libxml2; while
+# there is some "compatibility" expat configure setting, it doesn't build
+# with that
+CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_PREFIX.libxml2}
+.else
CONFIGURE_ARGS+= --with-expat-dir=${BUILDLINK_PREFIX.expat}
+.endif
.include "../../converters/libiconv/buildlink3.mk"
@@ -27,6 +37,11 @@ CONFIGURE_ARGS+= --with-iconv-dir=shared,${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-iconv-dir
.endif
+.if ${PKG_PHP_VERSION} == 5
+.include "../../textproc/libxml2/buildlink3.mk"
+.else
.include "../../textproc/expat/buildlink3.mk"
+.endif
+
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/php5-soap/MESSAGE b/net/php5-soap/MESSAGE
new file mode 100644
index 00000000000..90629178436
--- /dev/null
+++ b/net/php5-soap/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2005/12/03 18:53:57 jdolecek Exp $
+
+PHP 5.1.0 introduced some changes in SOAP extension in WSDL mode:
+* XML base64Binary values transparently base64 encoded/decoded
+* NULL values with maxOccurs="0" nillable="yes" not included in XML output
+===========================================================================