Up to [cvs.NetBSD.org] / pkgsrc / www / php4
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Retire PHP 4.
Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
Change the format of BUILDLINK_ORDER to contain depth information as well, and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
Track information in a new variable BUILDLINK_ORDER that informs us of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
Aligned the last line of the buildlink3.mk files with the first line, so that they look nicer.
Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
Recursive revision bump / recommended bump for gettext ABI change.
Pullup ticket 690 - requested by Matthias Scheler security update for php4 Revisions pulled up: - pkgsrc/www/php4/Makefile 1.46, 1.47 - pkgsrc/www/php4/Makefile.common 1.49 - pkgsrc/www/php4/PLIST 1.13 - pkgsrc/www/php4/buildlink3.mk 1.7 - pkgsrc/www/php4/distinfo 1.41 Module Name: pkgsrc Committed By: tron Date: Wed Aug 17 19:58:34 UTC 2005 Modified Files: pkgsrc/www/php4: Makefile Makefile.common PLIST buildlink3.mk distinfo Log Message: Update "php4" package to version 4.4.0. The update fixes a large number of bugs discovered since the 4.3.11 release which could e.g. lead to memory corruption. Furthermore integrate version 1.4.0 of PEAR XML_RPC which contains a fix for the "PEAR XML_RPC Remote PHP Code Injection Vulnerability" security problem reported by the Hardened-PHP Project. --- Module Name: pkgsrc Committed By: tron Date: Wed Aug 17 20:58:15 UTC 2005 Modified Files: pkgsrc/www/php4: Makefile Log Message: Define "USE_TOOLS" to make "post-extract" target work on arbitrary configurations. Problem pointed out by Adrian Portelli in private e-mail.
Update "php4" package to version 4.4.0. The update fixes a large number of bugs discovered since the 4.3.11 release which could e.g. lead to memory corruption. Furthermore integrate version 1.4.0 of PEAR XML_RPC which contains a fix for the "PEAR XML_RPC Remote PHP Code Injection Vulnerability" security problem reported by the Hardened-PHP Project.
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
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.
Upgrade bundled Net_Socket to 1.0.2 and Net_SMTP to 1.2.6 on installation. These include some important bug fixes, and some other pear packages require the newer versions. Bump PKGREVISION, and BUILDLINK_RECOMMENDED.
change the buildlink3 DEPENDS to php-4.3.* instead of php>=4.3.6, so that it would not patch php 5.x
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
default to full dependency on php4 - the extension and pear modules don't really make sense standalone
bl3ify