Commit graph

196 commits

Author SHA1 Message Date
cube
0ee026e6b4 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.
2006-03-06 15:57:58 +00:00
cube
a630484f42 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.
2006-03-03 07:11:34 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
02185a8424 Allow choosing of CGI or FastCGI as SAPI for the PHP interpreter.
This is done via an option group, default is CGI. Note that the
FastCGI interpreter can still be used for normal CGI, but there
might be security issues involved in doing so.
2005-11-21 09:13:28 +00:00
rillig
67cb6ffda2 PKGBASE is defined too late to be used in PKG_OPTIONS_VAR. 2005-11-11 07:04:57 +00:00
bouyer
2fc572ef1d 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.
2005-11-08 20:33:55 +00:00
rillig
6a417285d9 Replaced ${PKGNAME:C...} with the equivalent ${PKGBASE}. 2005-11-05 17:25:39 +00:00
tv
588f2e8e9c Use --with-openssl=${BUILDLINK_PREFIX.openssl} to specify real path
so that configure won't try to run the (possibly not installed) pkg-config.
2005-11-04 21:16:30 +00:00
tron
9c44cbac33 Remove obsolete file "include/php/main/config.nw.h" from package list,
bump revision.
2005-11-02 10:48:01 +00:00
tron
bd22bf435f Remove "XML_RPC-1.4.0.tgz". It is part of PHP 4.4.1 and therefore no
longer downloaded manually.
2005-11-02 09:47:23 +00:00
jdolecek
d61df3cdc3 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
2005-11-01 23:12:15 +00:00
jdolecek
c3aaebde98 php regex is also necessary on Linux; pointed out by Ondrej Tuma
in private e-mail
2005-10-23 16:59:49 +00:00
tv
a0109ad7f7 Bring back the "ssl" option so that the builder may have the *option* to
turn it off.  It's still on by default (in PKG_SUGGESTED_OPTIONS), so
no PKGREVISION bump required.
2005-10-19 18:05:06 +00:00
jdolecek
ebc5ce969d Fix bug in mbstring extension function mb_encode_mimeheader(), which
misinterpreted some Japanese characters as ASCII.

PR: 31223 by Takahiro Kambe
2005-10-16 12:17:47 +00:00
jdolecek
6b9fd02500 use PHP-provided regex on Solaris, PHP doesn't build with system regex
there

PR: 31047 by Gilles Dauphin
2005-10-16 12:06:05 +00:00
jdolecek
bee60cd555 make it possible to switch the IPv6 support on/off via a package option,
similarily how this is done in lang/php5/Makefile.php; default depends
in USE_INET6 setting, i.e. enabled iff OS supports it
2005-10-08 21:12:53 +00:00
jdolecek
d5cda8e47c openssl is included unconditionally 2005-10-08 20:34:26 +00:00
jdolecek
74a374c9ac fix plural 2005-10-08 16:51:50 +00:00
jdolecek
e4855206f0 Unfortunately PHP has several openssl hooks, which are only enabled
when the base PHP is compiled with openssl extension (e.g. ssl://, tls://
stream support, and couple others). These don't work when SSL support
is loaded via extension.

For this reason, make openssl extension unconditionally built-in
into the main PHP package, and g/c security/php-openssl.
2005-10-08 16:49:35 +00:00
jdolecek
f2d1572c3d Add a fix to LDAP extension build to properly detect LDAP capabilities,
such as TLS support.

Patch provided by Stoned Elipot in private e-mail.
2005-10-07 21:09:27 +00:00
tron
a6bbb8d213 Add patch from Debian bug report 323585 to fix CAN-2005-3054. 2005-10-05 15:59:47 +00:00
jdolecek
74235692f3 put back XML_RPC upgrade - the fixed one is 1._4_.0, not 1.3.1 2005-09-10 09:04:01 +00:00
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