Commit graph

171 commits

Author SHA1 Message Date
jdolecek
e8523e4c18 PHP 4.4.0 already comes with XML_RPC 1.3.1, so it's not necessary to update
it separately
2005-09-10 08:58:55 +00:00
jlam
2b2a2f2f15 Move some options that only apply to the PHP CGI package from Makefile.php
(shared with ap-php) into the php package Makefile.
2005-09-04 20:13:59 +00:00
tron
1b1e46acc1 Use "${GZCAT}" instead of "{GZIP_CMD} -cd". 2005-08-18 07:47:50 +00:00
tron
90c2aefac5 Use per distribution file site list for "XML_RPC-1.4.0.tgz". 2005-08-17 21:13:53 +00:00
tron
025c806a70 Define "USE_TOOLS" to make "post-extract" target work on arbitrary
configurations. Problem pointed out by Adrian Portelli in
private e-mail.
2005-08-17 20:58:15 +00:00
tron
a3b83c67cd 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.
2005-08-17 19:58:34 +00:00
jdolecek
0ef8398d93 g/c the UPGRADE_PKG code - it's no longer used, and the empty 'for'
list causes problems with some (e.g. Irix) shells
2005-06-12 08:18:28 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jdolecek
4f26e9ed5f do not define MASTER_SITES and EXTRACT_SUFX if PECL_VERSION is set,
so that lang/php/ext.php need not use = assignment and extensions
would be able to use different setting
2005-05-07 18:50:24 +00:00
salo
4d23ef4c14 Apply cleanly after update to 4.3.11 2005-04-21 23:47:46 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jdolecek
b3827f017c doesn't appear to be needed anymore 2005-04-11 20:03:58 +00:00
jdolecek
ddc89cd2e3 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.
2005-04-11 20:02:56 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
grant
11560e3b7f fix an incorrect test for __ppc__, unbreaking this package on Darwin. 2004-12-19 03:50:44 +00:00
jdolecek
40b9b247d6 claim MAINTAINER 2004-12-18 16:01:07 +00:00
jdolecek
3f96adcd1d php4 4.3.10 already ships with Net_SMTP-1.2.6, so don't bother trying
to update
2004-12-17 07:40:45 +00:00
tron
495c57ae45 Update "php" package to version 4.3.10. Changes since version 4.3.9:
- Added the %F modifier to *printf to render a non-locale-aware representation
  of a float with the . as decimal separator. (Derick)
- Fixed a bug in addslashes() handling of the '\0' character. (Ilia)
- Backported Marcus' foreach() speedup patch from PHP 5.x. (Derick)
- Fixed potential problems with unserializing invalid serialize data. (Marcus)
- Fixed bug #31034 (Problem with non-existing iconv header file). (Derick)
- Fixed bug #31024 (Crash in fgetcsv() with negative length). (Ilia)
- Fixed bug #31019 (Logic error mssql library checking). (Frank)
- Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia)
- Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag). (Ilia)
- Fixed bug #30826 (Certain reference relations cannot be unserialized
  properly). (Ilia)
- Fixed bug #30750 (Meaningful error message when upload directory is not
  accessible). (Ilia)
- Fixed bug #30739 (imagefill does not set back alphablending mode). (Pierre)
- Fixed bug #30672 (Problem handling exif data in jpeg images at unusual
  places). (Marcus)
- Fixed bug #30658 (Ensure that temporary files created by GD are removed).
  (Ilia)
- Fixed bug #30654 (oci8 persistent connection is deleted from hash
  if there was exclusive connection with the same credentials). (Tony)
- Fixed bug #30613 (Prevent infinite recursion in url redirection). (Ilia)
- Fixed bug #30587 (array_multisort doesn't separate zvals before
  changing them). (Tony)
- Fixed bug #30475 (curl_getinfo() may crash in some situations). (Ilia)
- Fixed bug #30442 (segfault when parsing ?getvariable[][ ). (Tony)
- Fixed bug #30388 (rename across filesystems loses ownership and
  permission info). (Tony)
- Fixed bug #30282 (segfault when using unknown/unsupported
  session.save_handler and/or session.serialize_handler). (Tony)
- Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
  (Ilia)
- Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia)
- Fixed bug #30229 (imagerectangle and imagefilledrectangle do work well
  with alpha channel, corners are drawn twice). (Pierre)
- Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
  (Ilia)
- Fixed bug #30133 (get_current_user() crashes on Windows). (Edin)
- Fixed bug #30057 (did not detect IPV6 on FreeBSD 4.1). (Wez)
- Fixed bug #30027 (Possible crash inside ftp_get()).
  (cfield at affinitysolutions dot com)
- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler)
- Fixed bug #29418 (double free when openssl_csr_new fails).
  (Kamesh Jayachandran).
- Fixed bug #28598 (Lost support for MS Symbol fonts). (Pierre)
- Fixed bug #28325 (Circular references not properly serialized). (Moriyoshi)
- Fixed bug #28228 (NULL decimal separator is not being handled correctly).
  (Ilia)
- Fixed bug #27469 (serialize() objects of incomplete class). (Dmitry)
2004-12-17 00:36:09 +00:00
jdolecek
d6011f0e21 s,ap-php4,ap-php 2004-12-16 17:42:14 +00:00
jdolecek
9b81fff133 completely ignore system php.ini for all pear-related operations; this
is necessary to avoid being subject to e.g. open_basedir or safe_mode settings
2004-12-12 11:03:33 +00:00
jdolecek
1c217a3f54 abort do-install if pear upgrade fails 2004-12-12 09:42:21 +00:00
jdolecek
4415500b12 update the PLIST for the updated Net_SMTP - the newer version installs
some extra docs and tests
2004-12-12 09:21:45 +00:00
jlam
3a5599d7c8 When apache2 is built with the "worker" MPM, the PHP4 configure script
creates its own compiler wrapper script.  This "meta_ccld" script
isn't recognized by the installed libtool script as a compiler, and
libtool gets confused as to which compiler tag to use.  Rather than
inserting "--tag=CC" into the Makefiles, we patch the configure script
to not make the wrapper script, and instead, to simply append the
appropriate pthreads CFLAGS to the normal CFLAGS variable subsituted
into Makefiles.  This fixes PR pkg/28485.
2004-12-09 14:50:23 +00:00
jdolecek
45205bcc3c 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.
2004-11-27 14:00:08 +00:00
jdolecek
030aad031a merge extension module handling for PHP4 and PHP5 into lang/php/ext.mk,
g/c no longer needed Makefile.module

add support for building extensions off PECL; version for PECL packages
is built as ${PHP_BASE_VERS}.${PECL_VERSION}, i.e. PECL pkg version 1.0
would become php-pkg-4.3.9.1.0 or php-pkg-5.0.2.1.0 respectively
2004-11-06 18:24:40 +00:00
jdolecek
cc35f4ca5e share MESSAGE.module and PLIST.module between php4 and php5 packages, moving
them to lang/php/
2004-11-05 21:40:25 +00:00
jdolecek
7b5228a60f use shared pear package support framework for both php4 & php5; based on
the former php4 version
2004-11-01 19:55:57 +00:00
jdolecek
4e5e307a89 follow rename of php4-* packages to php-* 2004-11-01 19:50:45 +00:00
jdolecek
0ed49ace1f move php4-imap patches into php4/patches and use USE_PHP_EXT_PATCHES 2004-10-31 18:23:24 +00:00
jdolecek
e9aa56d933 change the buildlink3 DEPENDS to php-4.3.* instead of php>=4.3.6, so that
it would not patch php 5.x
2004-10-31 18:20:02 +00:00
jdolecek
6389d55e7e move php4-mysql patch into php4/patches and use USE_PHP_EXT_PATCHES 2004-10-31 17:45:44 +00:00
jdolecek
1ba83c747d add a USE_PHP_EXT_PATCHES, which makes it possible to have and apply only
extension-specific patches from php4/patches/
2004-10-31 17:43:02 +00:00
tv
c487cb967a 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.
2004-10-03 00:12:51 +00:00
jdolecek
5e5544ddbe 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.
2004-09-28 12:41:13 +00:00
wiz
c85130d403 AUTOMAKE_REQD should only be set to 1.4 in the few cases where needed,
otherwise the default is better (and the variable doesn't need to be set).
Remove a few cases where it was set unnecessarily.
2004-09-04 23:40:43 +00:00
kim
76e857fe6e phpize calls automake-1.9, so up AUTOMAKE_REQD to match 2004-09-04 23:29:42 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
jdolecek
7122e3effd Update php4 to 4.3.8.
This is security fix release, fixing several important security
issues. From the ChangeLog:

* Fixed strip_tags() to correctly handle '\0' characters.
* Improved stability during startup when memory_limit is used.
* Replace alloca() with emalloc() for better stack protection.
* Added missing safe_mode checks inside ftok and itpc.
* Fixed bug #28963 Fixed address allocation routine in IMAP extension.
* Fixed bug #28632 Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL.

Note: package update also includes extra patches from PHP CVS not
present in stock PHP 4.3.8 release - compilation fix for
mssql extension and Zend engine memory-use-after-free fix.
2004-07-14 08:03:16 +00:00
jdolecek
a4d88eab37 BUILDLINK_DEPMETHOD.php defaults to full now, so no longer need to override
it for pear packages
2004-07-14 07:06:05 +00:00
jdolecek
50574eddac default to full dependency on php4 - the extension and pear modules don't really
make sense standalone
2004-07-14 06:57:46 +00:00
jdolecek
3dcf7bef4c move the PKGREVISION out of Makefile.common and into Makefile.php,
so that it affects only the core iterpreter packages (php4 and ap-php4);
individual php4-* modules have their own PKGREVISION
2004-07-13 12:34:33 +00:00
jdolecek
2a2f467af2 fix a memory-use-after-free bug in the Zend engine constant code
bump php4 PKGREVISION
2004-07-13 12:22:29 +00:00
jdolecek
e20e6ce14e Update php4 package to 4.3.7.
Change list from release notes:

* Synchronized bundled GD library with GD 2.0.23.
* Fixed a bug that prevented compilation of GD extensions against
  FreeType 2.1.0-2.1.2.
* Fixed thread safety issue with informix connection id.
* Fixed incorrect resolving of relative paths by glob() in windows.
* Fixed mapping of Greek letters to html entities.
* Fixed a bug that caused an on shutdown crash when using PHP with Apache
  2.0.49.
* Fixed a number of crashes inside pgsql, cpdf and gd extensions.

All in all this release fixes over 30 bugs that have been discovered
and resolved since the 4.3.6 release.
2004-07-06 19:52:01 +00:00
wiz
c5d42f3194 Remove trailing tab after PKGREVISION value, which made
lintpkgsrc complain. Closes PR 25648.
2004-05-20 21:12:14 +00:00
junyoung
f206e5abbd Bump PKGREVISION for apache2 crash fix. 2004-05-19 13:11:40 +00:00
cjones
0c2db9f78f Changes to this file didn't go through with the last commit; don't know why. 2004-05-18 18:32:28 +00:00
cjones
ea386960f0 Added this patch from FreeBSD
(ports/lang/php4/files/patch-ext::pcre::php_pcre.c).  Fixes a bug
(described at http://bugs.php.net/bug.php?id=27810) which causes
apache2 to dump core on receiving SIGHUP.

This is supposedly fixed in the next release of PHP.
2004-05-18 18:30:39 +00:00
jdolecek
563b461fa1 fix synopsis for php4-iconv; pointed out by Lubomir Sedlacik
in private e-mail
2004-05-14 21:10:54 +00:00