head 1.23; access; symbols pkgsrc-2013Q2:1.23.0.8 pkgsrc-2013Q2-base:1.23 pkgsrc-2012Q4:1.23.0.6 pkgsrc-2012Q4-base:1.23 pkgsrc-2011Q4:1.23.0.4 pkgsrc-2011Q4-base:1.23 pkgsrc-2011Q2:1.23.0.2 pkgsrc-2011Q2-base:1.23 pkgsrc-2009Q4:1.22.0.34 pkgsrc-2009Q4-base:1.22 pkgsrc-2009Q3:1.22.0.32 pkgsrc-2009Q3-base:1.22 pkgsrc-2009Q2:1.22.0.30 pkgsrc-2009Q2-base:1.22 pkgsrc-2009Q1:1.22.0.28 pkgsrc-2009Q1-base:1.22 pkgsrc-2008Q4:1.22.0.26 pkgsrc-2008Q4-base:1.22 pkgsrc-2008Q3:1.22.0.24 pkgsrc-2008Q3-base:1.22 cube-native-xorg:1.22.0.22 cube-native-xorg-base:1.22 pkgsrc-2008Q2:1.22.0.20 pkgsrc-2008Q2-base:1.22 cwrapper:1.22.0.18 pkgsrc-2008Q1:1.22.0.16 pkgsrc-2008Q1-base:1.22 pkgsrc-2007Q4:1.22.0.14 pkgsrc-2007Q4-base:1.22 pkgsrc-2007Q3:1.22.0.12 pkgsrc-2007Q3-base:1.22 pkgsrc-2007Q2:1.22.0.10 pkgsrc-2007Q2-base:1.22 pkgsrc-2007Q1:1.22.0.8 pkgsrc-2007Q1-base:1.22 pkgsrc-2006Q4:1.22.0.6 pkgsrc-2006Q4-base:1.22 pkgsrc-2006Q3:1.22.0.4 pkgsrc-2006Q3-base:1.22 pkgsrc-2006Q2:1.22.0.2 pkgsrc-2006Q2-base:1.22 pkgsrc-2006Q1:1.21.0.2 pkgsrc-2006Q1-base:1.21 pkgsrc-2005Q4:1.20.0.2 pkgsrc-2005Q4-base:1.20 pkgsrc-2005Q3:1.17.0.4 pkgsrc-2005Q3-base:1.17 pkgsrc-2005Q2:1.17.0.2 pkgsrc-2005Q2-base:1.17 pkgsrc-2005Q1:1.16.0.4 pkgsrc-2005Q1-base:1.16 pkgsrc-2004Q4:1.16.0.2 pkgsrc-2004Q4-base:1.16 pkgsrc-2004Q3:1.15.0.4 pkgsrc-2004Q3-base:1.15 pkgsrc-2004Q2:1.15.0.2 pkgsrc-2004Q2-base:1.15 pkgsrc-2004Q1:1.14.0.4 pkgsrc-2004Q1-base:1.14 pkgsrc-2003Q4:1.14.0.2 pkgsrc-2003Q4-base:1.14 netbsd-1-6-1:1.11.0.2 netbsd-1-6-1-base:1.11 buildlink2-base:1.9 netbsd-1-5-PATCH001:1.6 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.23 date 2010.02.10.18.08.33; author joerg; state dead; branches; next 1.22; 1.22 date 2006.05.11.06.50.39; author minskim; state Exp; branches; next 1.21; 1.21 date 2006.03.03.07.11.34; author cube; state dead; branches; next 1.20; 1.20 date 2005.11.08.20.33.55; author bouyer; state Exp; branches 1.20.2.1; next 1.19; 1.19 date 2005.11.01.23.12.15; author jdolecek; state dead; branches; next 1.18; 1.18 date 2005.10.05.15.59.47; author tron; state Exp; branches; next 1.17; 1.17 date 2005.04.11.20.03.58; author jdolecek; state dead; branches 1.17.4.1; next 1.16; 1.16 date 2004.09.28.12.41.13; author jdolecek; state Exp; branches 1.16.4.1; next 1.15; 1.15 date 2004.04.20.19.19.23; author jdolecek; state Exp; branches; next 1.14; 1.14 date 2003.11.08.06.58.10; author jdolecek; state Exp; branches; next 1.13; 1.13 date 2003.09.01.10.17.38; author cjep; state Exp; branches; next 1.12; 1.12 date 2003.08.31.19.56.07; author jdolecek; state Exp; branches; next 1.11; 1.11 date 2003.02.03.23.53.25; author jlam; state Exp; branches; next 1.10; 1.10 date 2002.10.02.23.48.07; author wiz; state Exp; branches; next 1.9; 1.9 date 2001.12.31.23.54.25; author jlam; state dead; branches; next 1.8; 1.8 date 2001.10.16.04.54.24; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.05.14.14.12.29; author jlam; state Exp; branches; next 1.6; 1.6 date 2001.05.01.17.56.46; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.03.13.21.34.03; author jlam; state Exp; branches; next 1.4; 1.4 date 2001.02.12.04.14.28; author jlam; state Exp; branches; next 1.3; 1.3 date 2001.01.15.16.32.28; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.12.25.21.03.47; author jlam; state Exp; branches; next 1.1; 1.1 date 2000.12.17.09.19.32; author jlam; state Exp; branches 1.1.1.1; next ; 1.20.2.1 date 2006.03.16.12.36.33; author salo; state dead; branches; next ; 1.17.4.1 date 2005.10.05.20.39.15; author salo; state Exp; branches; next 1.17.4.2; 1.17.4.2 date 2005.11.04.08.07.02; author salo; state dead; branches; next 1.17.4.3; 1.17.4.3 date 2005.11.15.12.05.22; author salo; state Exp; branches; next ; 1.16.4.1 date 2005.04.22.14.17.33; author salo; state dead; branches; next ; 1.1.1.1 date 2000.12.17.09.19.32; author jlam; state Exp; branches; next ; desc @@ 1.23 log @Retire PHP 4. @ text @$NetBSD: patch-ab,v 1.22 2006/05/11 06:50:39 minskim Exp $ --- acinclude.m4.orig 2005-12-19 14:29:11.000000000 -0800 +++ acinclude.m4 @@@@ -1195,10 +1195,6 @@@@ AC_DEFUN([PHP_SHARED_MODULE],[ install_modules="install-modules" case $host_alias in - *darwin*[)] - suffix=so - link_cmd='ifelse($4,,[$(CC)],[$(CXX)]) -dynamic -flat_namespace -bundle -undefined suppress $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o [$]@@ $(EXTRA_LDFLAGS) $($2) $(translit($1,a-z_-,A-Z__)_SHARED_LIBADD)' - ;; *netware*[)] suffix=nlm link_cmd='$(LIBTOOL) --mode=link ifelse($4,,[$(CC)],[$(CXX)]) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o [$]@@ -shared -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $($2) ifelse($1, php4lib, , -L$(top_builddir)/netware -lphp4lib) $(translit(ifelse($1, php4lib, $1, m4_substr($1, 3)),a-z_-,A-Z__)_SHARED_LIBADD)' @ 1.22 log @Libtoolize link commands on Darwin. Previously, pakcages providing php-* modules failed on Darwin because gcc was used to link them. Thanks to John Klos for testing. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.21 log @Update to version 4.4.2. Ok'd by jdolecek@@. This is a bug fix release, which addresses some security problems too. The major points that this release corrects are: * Prevent header injection by limiting each header to a single line. * Possible XSS inside error reporting functionality. * Missing safe_mode/open_basedir checks into cURL extension. * Apache 2 regression with sub-request handling on non-Linux systems. * key() and current() regression related to references. This release also fixes about 30 other defects. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $ d3 13 a15 13 --- ext/standard/basic_functions.c.orig Tue Nov 8 18:08:58 2005 +++ ext/standard/basic_functions.c Tue Nov 8 18:08:28 2005 @@@@ -802,8 +802,8 @@@@ PHP_FE(prev, first_arg_force_ref) PHP_FE(next, first_arg_force_ref) PHP_FE(reset, first_arg_force_ref) - PHP_FE(current, NULL) - PHP_FE(key, NULL) + PHP_FE(current, first_arg_force_ref) + PHP_FE(key, first_arg_force_ref) PHP_FE(min, NULL) PHP_FE(max, NULL) PHP_FE(in_array, NULL) @ 1.20 log @php 4.4.1 has a bug which cause squirrelmail's sort function to misbehave: (endless loop): http://bugs.php.net/bug.php?id=35067 Pull in a patch from the php CVS repository to fix this, as suggested a squirrelmail mailing list: http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.3&r2=1.543.2.51.2.4&ty=u OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers. Bump pkgrevision. @ text @d1 1 a1 1 $NetBSD: $ @ 1.20.2.1 log @Pullup ticket 1223 - requested by Quentin Garnier security update for php4 Patch provided by the submitter. Module Name: pkgsrc Committed By: cube Date: Fri Mar 3 07:11:34 UTC 2006 Modified Files: pkgsrc/www/php4: Makefile Makefile.common PLIST distinfo Added Files: pkgsrc/www/php4/patches: patch-ao patch-ap Removed Files: pkgsrc/www/php4/patches: patch-ab patch-am patch-an Log Message: Update to version 4.4.2. Ok'd by jdolecek@@. This is a bug fix release, which addresses some security problems too. The major points that this release corrects are: * Prevent header injection by limiting each header to a single line. * Possible XSS inside error reporting functionality. * Missing safe_mode/open_basedir checks into cURL extension. * Apache 2 regression with sub-request handling on non-Linux systems. * key() and current() regression related to references. This release also fixes about 30 other defects. --- Module Name: pkgsrc Committed By: cube Date: Mon Mar 6 15:57:58 UTC 2006 Modified Files: pkgsrc/www/php4: distinfo pkgsrc/www/php4/patches: patch-ao Log Message: Increase memory limit when installing PEAR packages. This allows the installation to go through on NetBSD/sparc64 (well, at least mine). Failure reported by Joel Carnat. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $ @ 1.19 log @Update php to 4.4.1. Besides incorporating XML_RPC-1.4.0 and fopen wrappers security fix, this fixes serious security problems regarding overwriting of the GLOBALS array. All users of PHP 4.3 and 4.4 sare encouradged to update to this version. The --with-regex=system bug with re_magic has been fixed too, so re-enabling use of --with-regex=system for all operating systems again @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.18 2005/10/05 15:59:47 tron Exp $ d3 13 a15 13 --- main/fopen_wrappers.c.orig 2005-02-02 23:44:07.000000000 +0000 +++ main/fopen_wrappers.c 2005-10-05 16:52:55.000000000 +0100 @@@@ -120,8 +120,8 @@@@ /* Handler for basedirs that end with a / */ resolved_basedir_len = strlen(resolved_basedir); if (basedir[strlen(basedir) - 1] == PHP_DIR_SEPARATOR) { - if (resolved_basedir[resolved_basedir_len - 1] == '/') { - resolved_basedir[resolved_basedir_len - 1] = PHP_DIR_SEPARATOR; + if (resolved_basedir[resolved_basedir_len - 1] != PHP_DIR_SEPARATOR) { + resolved_basedir[resolved_basedir_len] = PHP_DIR_SEPARATOR; resolved_basedir[++resolved_basedir_len] = '\0'; } } @ 1.18 log @Add patch from Debian bug report 323585 to fix CAN-2005-3054. @ text @d1 1 a1 1 $NetBSD$ @ 1.17 log @doesn't appear to be needed anymore @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.16 2004/09/28 12:41:13 jdolecek Exp $ d3 13 a15 39 --- scripts/phpize.in.orig 2004-06-19 22:37:55.000000000 +0200 +++ scripts/phpize.in 2004-09-28 11:35:45.000000000 +0200 @@@@ -54,18 +54,25 @@@@ touch install-sh mkinstalldirs missing -aclocal || exit 1 -autoconf || exit 1 -autoheader || exit 1 -test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool" -if test ! -x "$builddir/build/shtool"; then - echo "shtool at '$builddir/build/shtool' not executable. " - echo "Make sure that the file exists and is executable and then rerun this script. " - echo - exit 1 +if [ -z "$ACLOCAL" ]; then ACLOCAL=aclocal; fi +if [ -z "$AUTOCONF" ]; then AUTOCONF=autoconf; fi +if [ -z "$AUTOHEADER" ]; then AUTOHEADER=autoheader; fi +if [ -z "$LIBTOOLIZE" ]; then + test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool" + if test ! -x "$builddir/build/shtool"; then + echo "shtool at '$builddir/build/shtool' not executable. " + echo "Make sure that the file exists and is executable and then rerun this script. " + echo + exit 1 + fi + + LIBTOOLIZE=`$builddir/build/shtool path glibtoolize libtoolize`; fi -libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` -$libtoolize -f -c || exit 1 + +$ACLOCAL || exit 1 +$AUTOCONF || exit 1 +$AUTOHEADER || exit 1 +$LIBTOOLIZE -f -c || exit 1 # dumping API NOs: PHP_API_VERSION=`egrep '#define PHP_API_VERSION' $includedir/main/php.h|sed 's/#define PHP_API_VERSION//'` @ 1.17.4.1 log @Pullup ticket 806 - requested by Matthias Scheler security fix for php4 Revisions pulled up: - pkgsrc/www/php4/Makefile 1.53 - pkgsrc/www/php4/distinfo 1.44 - pkgsrc/www/php4/patches/patch-ab 1.18 Module Name: pkgsrc Committed By: tron Date: Wed Oct 5 15:59:47 UTC 2005 Modified Files: pkgsrc/www/php4: Makefile distinfo Added Files: pkgsrc/www/php4/patches: patch-ab Log Message: Add patch from Debian bug report 323585 to fix CAN-2005-3054. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.18 2005/10/05 15:59:47 tron Exp $ d3 39 a41 13 --- main/fopen_wrappers.c.orig 2005-02-02 23:44:07.000000000 +0000 +++ main/fopen_wrappers.c 2005-10-05 16:52:55.000000000 +0100 @@@@ -120,8 +120,8 @@@@ /* Handler for basedirs that end with a / */ resolved_basedir_len = strlen(resolved_basedir); if (basedir[strlen(basedir) - 1] == PHP_DIR_SEPARATOR) { - if (resolved_basedir[resolved_basedir_len - 1] == '/') { - resolved_basedir[resolved_basedir_len - 1] = PHP_DIR_SEPARATOR; + if (resolved_basedir[resolved_basedir_len - 1] != PHP_DIR_SEPARATOR) { + resolved_basedir[resolved_basedir_len] = PHP_DIR_SEPARATOR; resolved_basedir[++resolved_basedir_len] = '\0'; } } @ 1.17.4.2 log @Pullup ticket 890 - requested by Takahiro Kambe security update for php4 Revisions pulled up: - pkgsrc/www/php4/Makefile 1.55, 1.56 - pkgsrc/www/php4/Makefile.common 1.50 - pkgsrc/www/php4/PLIST 1.14 - pkgsrc/www/php4/distinfo 1.47, 1.48 - pkgsrc/www/php4/patches/patch-ab removed Module Name: pkgsrc Committed By: jdolecek Date: Tue Nov 1 23:12:15 UTC 2005 Modified Files: pkgsrc/www/php4: Makefile Makefile.common Makefile.php distinfo Removed Files: pkgsrc/www/php4/patches: patch-ab Log Message: Update php to 4.4.1. Besides incorporating XML_RPC-1.4.0 and fopen wrappers security fix, this fixes serious security problems regarding overwriting of the GLOBALS array. All users of PHP 4.3 and 4.4 sare encouradged to update to this version. The --with-regex=system bug with re_magic has been fixed too, so re-enabling use of --with-regex=system for all operating systems again --- Module Name: pkgsrc Committed By: tron Date: Wed Nov 2 09:47:23 UTC 2005 Modified Files: pkgsrc/www/php4: distinfo Log Message: Remove "XML_RPC-1.4.0.tgz". It is part of PHP 4.4.1 and therefore no longer downloaded manually. --- Module Name: pkgsrc Committed By: tron Date: Wed Nov 2 10:48:01 UTC 2005 Modified Files: pkgsrc/www/php4: Makefile PLIST Log Message: Remove obsolete file "include/php/main/config.nw.h" from package list, bump revision. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.17.4.1 2005/10/05 20:39:15 salo Exp $ @ 1.17.4.3 log @Pullup ticket 908 - requested by Manuel Bouyer php4 bugfix Revisions pulled up: - pkgsrc/www/php4/Makefile 1.57 - pkgsrc/www/php4/distinfo 1.49 - pkgsrc/www/php4/patches/patch-ab 1.20 - pkgsrc/www/ap-php/Makefile 1.6 Module Name: pkgsrc Committed By: bouyer Date: Tue Nov 8 20:33:55 UTC 2005 Modified Files: pkgsrc/www/ap-php: Makefile pkgsrc/www/php4: Makefile distinfo Added Files: pkgsrc/www/php4/patches: patch-ab Log Message: php 4.4.1 has a bug which cause squirrelmail's sort function to misbehave: (endless loop): http://bugs.php.net/bug.php?id=35067 Pull in a patch from the php CVS repository to fix this, as suggested a squirrelmail mailing list: http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.3&r2=1.543.2.51.2.4&ty=u OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers. Bump pkgrevision. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $ d3 13 a15 13 --- ext/standard/basic_functions.c.orig Tue Nov 8 18:08:58 2005 +++ ext/standard/basic_functions.c Tue Nov 8 18:08:28 2005 @@@@ -802,8 +802,8 @@@@ PHP_FE(prev, first_arg_force_ref) PHP_FE(next, first_arg_force_ref) PHP_FE(reset, first_arg_force_ref) - PHP_FE(current, NULL) - PHP_FE(key, NULL) + PHP_FE(current, first_arg_force_ref) + PHP_FE(key, first_arg_force_ref) PHP_FE(min, NULL) PHP_FE(max, NULL) PHP_FE(in_array, NULL) @ 1.16 log @Update php4 package to bug-fix release 4.3.9. Changes since 4.3.8: * fixes to GPC input processing * bundled GD extension synced with 2.0.28, re-introducing write support for GIF (patent expiration worldwide) * Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory exhaustion * Fixed strip_tags() to correctly handle '\0' characters. * Rewritten UNIX and Windows install help files. * Fixed a file-descriptor leak with phpinfo() and other 'special' URLs. * Fixed possible crash inside php_shutdown_config(). * Fixed isset crashes on arrays. * Fixed imagecreatefromstring() crashes with external GD library. * Fixed fgetcsv() parsing of strings ending with escaped enclosures. * Fixed overflow in array_slice(), array_splice(), substr(), substr_replace(), strspn(), strcspn(). * Fixed '\0' in Authenticate header passed via safe_mode. * Allow bundled GD to compile against freetype 2.1.2. All in all this release fixes over 50 bugs that have been discovered and resolved since the 4.3.8 release. @ text @d1 1 a1 1 $NetBSD$ @ 1.16.4.1 log @Pullup ticket 457 - requested by Takahiro Kambe security update for php4 Revisions pulled up: - pkgsrc/graphics/php-gd/Makefile 1.7 - pkgsrc/mail/php-imap/Makefile 1.5-1.7 - pkgsrc/net/pear-Net_SMTP/Makefile 1.3 - pkgsrc/net/pear-Net_SMTP/buildlink3.mk removed - pkgsrc/net/pear-Net_SMTP/builtin.mk removed - pkgsrc/net/pear-Net_SMTP/distinfo 1.2 - pkgsrc/net/pear-Net_Socket/Makefile 1.4 - pkgsrc/net/pear-Net_Socket/buildlink3.mk removed - pkgsrc/net/pear-Net_Socket/builtin.mk removed - pkgsrc/www/php-curl/Makefile 1.5 - pkgsrc/www/php4/Makefile 1.42 - pkgsrc/www/php4/Makefile.common 1.47 - pkgsrc/www/php4/PLIST 1.12 - pkgsrc/www/php4/buildlink3.mk 1.6 - pkgsrc/www/php4/distinfo 1.39-1.40 - pkgsrc/www/php4/patches/patch-ab removed - pkgsrc/www/php4/patches/patch-aj 1.9 - pkgsrc/www/php4/patches/patch-ak 1.4 - pkgsrc/www/php4/patches/patch-am removed - pkgsrc/www/pear-HTML_Common/Makefile 1.9 - pkgsrc/www/pear-HTTP_Request/Makefile 1.4 Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:02:57 UTC 2005 Modified Files: pkgsrc/doc: CHANGES pkgsrc/graphics/php-gd: Makefile pkgsrc/www/php-curl: Makefile pkgsrc/www/php4: Makefile Makefile.common PLIST buildlink3.mk distinfo pkgsrc/www/php4/patches: patch-aj Removed Files: pkgsrc/www/php4/patches: patch-am Log Message: Update php4 to 4.3.11. This is a maintenance release that in addition to over 70 non-critical bug fixes addresses several security issues inside the exif and fbsql extensions as well as the unserialize(), swf_definepoly() and getimagesize() functions. All Users of PHP are strongly encouraged to upgrade to this release. Bugfix release * Crash in bzopen() if supplied path to non-existent file. * DOM crashing when attribute appended to Document. * unserialize() float problem on non-English locales. * Crash in msg_send() when non-string is stored without being serialized. * Possible infinite loop in imap_mail_compose(). * Fixed crash in chunk_split(), when chunklen > strlen. * session_set_save_handler crashes PHP when supplied non-existent object ref. * Memory leak in zend_language_scanner.c. * Compile failures of zend_strtod.c. * Fixed crash in overloaded objects & overload() function. * cURL functions bypass open_basedir. PHP4 also doesn't bundle PEAR Net_Socket and Net_SMTP anymore now. --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:03:58 UTC 2005 Removed Files: pkgsrc/www/php4/patches: patch-ab Log Message: doesn't appear to be needed anymore --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:06:36 UTC 2005 Modified Files: pkgsrc/net/pear-Net_SMTP: distinfo Log Message: regen with RMD160 hash --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:08:43 UTC 2005 Modified Files: pkgsrc/net/pear-Net_SMTP: Makefile pkgsrc/net/pear-Net_Socket: Makefile pkgsrc/www/pear-HTML_Common: Makefile pkgsrc/www/pear-HTTP_Request: Makefile Removed Files: pkgsrc/net/pear-Net_SMTP: buildlink3.mk builtin.mk pkgsrc/net/pear-Net_Socket: buildlink3.mk builtin.mk Log Message: Net_Socket and Net_SMTP were unbundled from PHP4 in 4.3.11, g/c the related conditionals and buildlink logic, and convert to standard DEPENDS --- Module Name: pkgsrc Committed By: kim Date: Fri Apr 15 22:38:16 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: I'm not sure why I need to set PHP_OPENSSL for OpenSSL to be found, but now the package builds again. --- Module Name: pkgsrc Committed By: jdolecek Date: Sat Apr 16 07:37:31 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: g/c LIBS setting --- Module Name: pkgsrc Committed By: kim Date: Wed Apr 20 12:03:25 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: Explain setting PHP_OPENSSL (from Stoned Elipot) --- Module Name: pkgsrc Committed By: salo Date: Thu Apr 21 23:47:47 UTC 2005 Modified Files: pkgsrc/www/php4: distinfo pkgsrc/www/php4/patches: patch-ak Log Message: Apply cleanly after update to 4.3.11 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.16 2004/09/28 12:41:13 jdolecek Exp $ @ 1.15 log @Update PHP4 package and all PHP4 modules to version 4.3.6. Changes are bug-fixes mostly, but also synchronizes bundled GD with GD 2.0.22 and updates PCRE to version 4.5. Several NetBSD patches were integrated too, so future pkgsrc updates would be even more smooth. Full list of changes since PHP 4.3.4 is available at: http://www.php.net/ChangeLog-4.php#4.3.6 http://www.php.net/ChangeLog-4.php#4.3.5 @ text @d3 2 a4 2 --- scripts/phpize.in.orig 2003-11-14 04:21:15.000000000 +0100 +++ scripts/phpize.in 2004-04-02 20:23:49.000000000 +0200 d12 2 a13 2 -test -x $builddir/build/shtool || chmod +x $builddir/build/shtool -if test ! -x $builddir/build/shtool; then d22 2 a23 2 + test -x $builddir/build/shtool || chmod +x $builddir/build/shtool + if test ! -x $builddir/build/shtool; then @ 1.14 log @Update PHP to 4.3.4 From release announcemenet: After a lengthy QA process, PHP 4.3.4 is finally out! This is a medium size maintenance release, with a fair number of bug fixes. All users are encouraged to upgrade to 4.3.4. Bugfix release PHP 4.3.4 contains, among others, following important fixes, additions and improvements: * Fixed disk_total_space() and disk_free_space() under FreeBSD. * Fixed FastCGI support on Win32. * Fixed FastCGI being unable to bind to a specific IP. * Fixed several bugs in mail() implementation on win32. * Fixed crashes in a number of functions. * Fixed compile failure on MacOSX 10.3 Panther. * Over 60 various bug fixes! For full list of changes in PHP 4.3.4, see ChangeLog: http://www.php.net/ChangeLog-4.php#4.3.4 @ text @d3 3 a5 3 --- scripts/phpize.in.orig 2003-08-27 19:57:32.000000000 +0200 +++ scripts/phpize.in 2003-11-07 21:44:48.000000000 +0100 @@@@ -54,11 +54,15 @@@@ d12 6 a17 2 -libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` -$libtoolize -f -c || exit 1 d21 13 a33 1 +if [ -z "$LIBTOOLIZE" ]; then LIBTOOLIZE=`$builddir/build/shtool path glibtoolize libtoolize`; fi @ 1.13 log @Add NetBSD RCS tags @ text @d2 4 a5 3 --- scripts/phpize.in.orig 2003-08-30 22:28:44.000000000 +0200 +++ scripts/phpize.in 2003-08-30 22:29:39.000000000 +0200 @@@@ -54,10 +54,15 @@@@ d12 2 a13 1 -libtoolize -f -c || exit 1 d17 1 a17 1 +if [ -z "$LIBTOOLIZE" ]; then LIBTOOLIZE=libtoolize; fi @ 1.12 log @Update PHP to final 4.3.3 Some highlights of changes since 4.2.3: * PCRE updated to 4.3, GD to 2.0.15 * improved Apache2 support * much improved stream & URL wrapper support, output compression support * added CLI (Command Line Interface) SAPI * debug_backtrace() backported from ZendEngine2 * faster build system * huge number of other bug fixes and improvements Packaging changes: * 'pcre', 'xml', and 'session' modules folded back into main package - 'pcre' and 'xml' is required by PEAR, and 'session' is just too essential to be separate * 'gd' module now uses bundled PHP GD library, which is better integrated * PHP modules use shared distinfo when possible to ease future PHP updates * ${PREFIX}/bin/php is now CLI version, ${PREFIX}/libexec/cgi-big/php remains CGI version @ text @d1 1 @ 1.11 log @Bump PKGREVISION of www/php4 to 1. This fixes a problem reported on tech-pkg@@ where the incorrect libtoolize was being invoked. We now pass in the path to libtoolize via the environment, much like how the other GNU auto* tools are found in pkgsrc. @ text @d1 3 a3 5 $NetBSD$ --- pear/scripts/phpize.in.orig Wed Apr 17 06:35:59 2002 +++ pear/scripts/phpize.in @@@@ -25,7 +25,12 @@@@ sed \ d7 4 a10 4 -aclocal -autoconf -autoheader -libtoolize -f -c d16 7 a22 4 +$ACLOCAL +$AUTOCONF +$AUTOHEADER +$LIBTOOLIZE -f -c @ 1.10 log @Make modules use automake.mk. Bump PKGREVISION for phpize change. @ text @d3 1 a3 1 --- pear/scripts/phpize.in.orig Wed Jan 10 02:01:59 2001 d5 1 a5 1 @@@@ -25,7 +25,11 @@@@ sed \ d12 1 d16 1 d21 1 a21 1 libtoolize -f -c @ 1.9 log @Update www/php4 to 4.1.0. Major changes from version 4.0.6 include: - Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE variables. Like the other new variables, this variable is also available regardless of the context. - Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to type - these variables are also available regardless of the scope, and there's no need to import them using the 'global' statement. Other relevant changes include: - Bug fixes to prevent crashes on unexpected input. - Huge performance improvements, especially in thread-safe code. - Introduced extension version numbers. - Added support for single dimensional SafeArrays and Enumerations. Added an is_enum() function to check if a component implements an enumeration. - Improved speed of the serializer/deserializer. - Floating point numbers are better detected when converting from strings. - Added import_request_variables(), to allow users to safely import form variables to the global scope - Add config option (always_populate_raw_post_data) which when enabled will always populate $HTTP_RAW_POST_DATA regardless of the post mime type - Added getmygid() and safe_mode_gid ini directive to allow safe mode to do a gid check instead of a uid check. - Assigning to a string offset beyond the end of the string now automatically increases the string length by padding it with spaces, and performs the assignment. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2001/10/16 04:54:24 jlam Exp $ d3 17 a19 12 --- Zend/zend_alloc.c.orig Tue Jun 19 14:04:53 2001 +++ Zend/zend_alloc.c @@@@ -446,6 +446,9 @@@@ for (i=1; isize); +#endif REMOVE_POINTER_FROM_LIST(ptr); free(ptr); } @ 1.8 log @Update ap-php and php to 4.0.6. Changes from version 4.0.5 include: - Bug fixes (memory leaks and other errors) - Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value when register_globals is on. (Andrei) - Added is_callable() function that can be used to find out whether its argument is a valid callable construct. (Andrei) - Added pg_last_notice() function. (Rasmus from suggestion by Dirk@@rackspace.com) - Added support to getimagesize to return dimensions of BMP and PSD files. (Derick) - Added Japanese multibyte string functions support. (Rui) - Added key_exists() to check if a given key or index exists in an array or object. (David Croft) - Added -C command-line option to avoid chdir to the script's directory. (Stig) - printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus) - Modified get_parent_class() and get_class_methods() to accept a class name as well as a class instance. (Andrei, Zend Engine) - Added array_map() function that applies a callback to the elements of given arrays and returns the result. It can also be used with a null callback to transpose arrays. (Andrei) - Added array_filter(), which allows filtering of array elements via the specified callback. (Andrei) @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Update php4 and modules to 4.0.5. Changes from version 4.0.4.1nb1 include many general bugfixes, important fixes to the pgsql module to support PostgreSQL transactions correctly, speedups, and a zlib output compressor. @ text @d3 12 a14 37 --- configure.orig Mon Apr 30 09:47:59 2001 +++ configure @@@@ -6392,6 +6392,7 @@@@ cat > conftest.$ac_ext < #include #include int main() { @@@@ -43649,6 +43650,7 @@@@ fi +if false; then echo $ac_n "checking for pam_start in -lpam""... $ac_c" 1>&6 echo "configure:43654: checking for pam_start in -lpam" >&5 ac_lib_var=`echo pam'_'pam_start | sed 'y%./+-%__p_%'` @@@@ -43693,6 +43695,8 @@@@ else echo "$ac_t""no" 1>&6 fi + +fi # if false for ac_func in getcwd getwd @@@@ -51503,9 +51507,6 @@@@ $SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh SHARED_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool' - else - PHP_COMPILE='$(COMPILE) -c $< && touch $@@' - CXX_PHP_COMPILE='$(CXX_COMPILE) -c $< && touch $@@' fi fi @ 1.6 log @Add support for building the mcrypt module as a separate package. @ text @d3 1 a3 1 --- configure.orig Thu Jan 11 13:39:29 2001 d5 1 a5 1 @@@@ -6336,6 +6336,7 @@@@ d7 1 a7 1 #line 6338 "configure" d13 1 a13 27 @@@@ -23088,12 +23089,7 @@@@ LIBS=$old_LIBS LDFLAGS="$old_LDFLAGS" - if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then - cat >> confdefs.h <<\EOF -#define HAVE_LIBMCRYPT22 1 -EOF - - elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then + if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then case "ltdl" in c|c_r|pthread*) ;; @@@@ -23110,6 +23106,11 @@@@ #define HAVE_LIBMCRYPT24 1 EOF + elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then + cat >> confdefs.h <<\EOF +#define HAVE_LIBMCRYPT22 1 +EOF + else { echo "configure: error: Sorry" 1>&2; exit 1; } fi @@@@ -40176,6 +40177,7 @@@@ d19 1 a19 1 echo "configure:40181: checking for pam_start in -lpam" >&5 d21 1 a21 1 @@@@ -40220,6 +40222,8 @@@@ d30 1 a30 1 @@@@ -47325,9 +47329,6 @@@@ @ 1.5 log @Include before including in thest for IPv6 support. Fix suggested in pkg/12199 by Olaf Seibert . @ text @d13 26 @ 1.4 log @Link c-client object files directly into PHP4 IMAP shared module. This gets php4-imap working on my Apache 1.3.17 + mod_ssl 2.8.0 + PHP4 installation. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2001/01/15 16:32:28 jlam Exp $ d5 9 a13 1 @@@@ -40176,6 +40176,7 @@@@ d21 1 a21 1 @@@@ -40220,6 +40221,8 @@@@ d30 1 a30 1 @@@@ -47325,9 +47328,6 @@@@ @ 1.3 log @Update to version 4.0.4pl1. Changes from version 4.0.4: * Make NetBSD PHP extensions_dir equal the compiled-in default for PHP4. * Install the PEAR PHP4 script repository and tools. * Use the source's install target instead of homegrown one. - Fixed the various pdf_open_*() functions (Daniel) - Fixed a bug that could cause invalid INI entries to be used under certain circumstances (Zeev) - Fixed a bug in the Apache module that could cause invalid INI values to propogate to different virtual hosts, if one or more of the virtual hosts was configured with engine=Off (Zeev) - Fixed possible crash bugs in the session module (Sascha) - Fixed the ODBC module to build properly with Solid 3.0 and OpenLink (Dan Kalowsky) - Fixed possible corruption of line number information in PHP scripts (Zeev, Zend Engine) - Fixed a few possible crashes in functions that use user-defined callbacks (Zeev, Zend Engine) @ text @d1 1 a1 1 $NetBSD$ a4 9 @@@@ -18750,7 +18750,7 @@@@ ln -s "$IMAP_DIR/lib/c-client.a" "$IMAP_DIR/lib/libc-client.a" >/dev/null 2>&1 fi - for lib in imap c-client4 c-client; do + for lib in imapuw imap c-client4 c-client; do IMAP_LIB=$lib str="$IMAP_DIR/lib/lib$lib.*" @ 1.2 log @Update php4 to the latest stable release 4.0.4. Relevant changes from version 4.0.3 include many bugfixes (including one bad interaction with mod_perl which caused segfaults) and additions of several new functions. Several new PHP modules were also added to the main distribution, including new database extensions and OpenSSL, and some bugs with improperly closing database connections was fixed. @ text @d3 1 a3 1 --- configure.orig Wed Dec 20 02:44:27 2000 d5 1 a5 1 @@@@ -18746,7 +18746,7 @@@@ d14 1 a14 1 @@@@ -40172,6 +40172,7 @@@@ d20 1 a20 1 echo "configure:40177: checking for pam_start in -lpam" >&5 d22 1 a22 1 @@@@ -40216,6 +40217,8 @@@@ d31 1 a31 1 @@@@ -47326,9 +47329,6 @@@@ @ 1.1 log @Initial revision @ text @d3 37 a39 11 --- ext/standard/config.m4.orig Wed Nov 1 12:20:14 2000 +++ ext/standard/config.m4 Wed Nov 1 12:20:36 2000 @@@@ -120,10 +120,6 @@@@ main() { AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL,1,[ ])]) -AC_CHECK_LIB(pam, pam_start, [ - EXTRA_LIBS="$EXTRA_LIBS -lpam" - AC_DEFINE(HAVE_LIBPAM,1,[ ]) ], []) - AC_CHECK_FUNCS(getcwd getwd) a40 1 AC_CRYPT_CAP @ 1.1.1.1 log @Create a php4 package upon which both HTTP/PHP4 servers and PHP4 extension modules depend. Move most of the guts of the ap-php4 package into this one. @ text @@