Commit graph

153 commits

Author SHA1 Message Date
adrianp
d8863ebb8f Remove PEAR from the default PHP install 2007-05-05 21:45:12 +00:00
taca
8c1e7ded2b Remove first hunk which contains RCS Id only from patch-ab. 2007-04-29 12:30:18 +00:00
sborrill
2774114803 Patch to fix PHP bug #40326 (cannot open file from cwd if parent folder not
readable).
Patch will be in 5.2.2, so this patch can be removed once it has been
released.
2007-04-28 22:05:50 +00:00
ghen
186c1502a8 Fix reference to ap-php package, from PR#35927. 2007-04-08 10:49:21 +00:00
jdolecek
0f58c0d212 put back openssl extension, mistakely commented out in PHP 5.2.1 upgrade
noted by Manuel Bouyer
2007-02-25 20:05:11 +00:00
wiz
51c8ea8d62 pkglint USE_LANGUAGES cleanup. Patch from Sergey Svishchev. 2007-02-22 19:30:02 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
jdolecek
b7aa3f8697 Update PHP5 to 5.2.1. Includes several important security fixes and
large number of other fixes. Update for all users is strongly advised.
2007-02-20 20:46:19 +00:00
tron
6c3be0f84b Make "php-5.2.0" build with "curl-7.16.0". 2006-11-07 17:24:39 +00:00
tron
b359a10696 Fix non-portable "configure" shell script. 2006-11-07 16:57:46 +00:00
tron
0162ac13cc Remove non-existing master site "ftp.php.net". 2006-11-07 16:46:51 +00:00
jdolecek
6682bdefe3 Update lang/php5 to 5.2.0.
Changes since 5.1.6:

The key features of PHP 5.2.0 include:
* New memory manager for the Zend Engine with improved performance and a more
  accurate memory usage tracking.
* Input filtering extension was added and enabled by default.
* JSON extension was added and enabled by default.
* ZIP extension for creating and editing zip files was introduced.
* Hooks for tracking file upload progress were introduced.
* Introduced E_RECOVERABLE_ERROR error mode.
* Introduced DateTime and DateTimeZone objects with methods to manipulate
  date/time information.
* Upgraded bundled SQLite, PCRE libraries.
* Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows
  installations.
* Many performance improvements.
* Over 200 bug fixes.

Security Enhancements and Fixes in PHP 5.2.0:
* Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep
  track of character set encoding whenever possible.
* Added allow_url_include, set to Off by default to disallow use of URLs
  for include and require.
* Disable realpath cache when open_basedir and safe_mode are being used.
* Improved safe_mode enforcement for error_log() function.
* Fixed a possible buffer overflow in the underlying code responsible
  for htmlspecialchars() and htmlentities() functions.
* Added missing safe_mode and open_basedir checks for the cURL extension.
* Fixed overflow is str_repeat() & wordwrap() functions on 64bit machines.
* Fixed handling of long paths inside the tempnam() function.
* Fixed safe_mode/open_basedir checks for session.save_path, allowing them
  to account for extra parameters.
* Fixed ini setting overload in the ini_restore() function.

For a full list of changes in PHP 5.2.0, see the ChangeLog:
        http://www.php.net/ChangeLog-5.php#5.2.0

Also other notable extensions changes:
* filePRO extension removed (not in PECL yet, php-filepro disabled for PHP5)
* JSON added (not enabled by default, packaged in php-json)
* filter added (enabled by default)
* wddx rewritten to native libxml2, fixing several encoding bugs
2006-11-06 22:17:50 +00:00
jdolecek
bc0360c8b0 Update lang/php5 to 5.2.0.
Changes since 5.1.6:

The key features of PHP 5.2.0 include:
* New memory manager for the Zend Engine with improved performance and a more
  accurate memory usage tracking.
* Input filtering extension was added and enabled by default.
* JSON extension was added and enabled by default.
* ZIP extension for creating and editing zip files was introduced.
* Hooks for tracking file upload progress were introduced.
* Introduced E_RECOVERABLE_ERROR error mode.
* Introduced DateTime and DateTimeZone objects with methods to manipulate
  date/time information.
* Upgraded bundled SQLite, PCRE libraries.
* Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows
  installations.
* Many performance improvements.
* Over 200 bug fixes.

Security Enhancements and Fixes in PHP 5.2.0:
* Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep
  track of character set encoding whenever possible.
* Added allow_url_include, set to Off by default to disallow use of URLs
  for include and require.
* Disable realpath cache when open_basedir and safe_mode are being used.
* Improved safe_mode enforcement for error_log() function.
* Fixed a possible buffer overflow in the underlying code responsible
  for htmlspecialchars() and htmlentities() functions.
* Added missing safe_mode and open_basedir checks for the cURL extension.
* Fixed overflow is str_repeat() & wordwrap() functions on 64bit machines.
* Fixed handling of long paths inside the tempnam() function.
* Fixed safe_mode/open_basedir checks for session.save_path, allowing them
  to account for extra parameters.
* Fixed ini setting overload in the ini_restore() function.

For a full list of changes in PHP 5.2.0, see the ChangeLog:
	http://www.php.net/ChangeLog-5.php#5.2.0

Also other notable extensions changes:
* filePRO extension removed (not in PECL yet, php-filepro disabled for PHP5)
* JSON added (not enabled by default, packaged in php-json)
* filter added (enabled by default)
* wddx rewritten to native libxml2, fixing several encoding bugs
2006-11-06 22:06:35 +00:00
adrianp
b3c87defac Fix for CVE-2006-5465 from PHP CVS
http://www.hardened-php.net/advisory_132006.138.html
2006-11-04 11:19:41 +00:00
tron
116ef78ab9 Add patch to make the "php-curl" package build with version 7.16.0
and newer of the "curl" package.
2006-11-01 11:33:34 +00:00
adrianp
defbabb029 Fixes for CVE-2006-4812 and CVE-2006-4625
Bump nb
2006-10-22 13:19:19 +00:00
jdolecek
0f3f8f42e9 remove --enable-memory-limit - 8MB is too low, and this just
duplicates process resource limits, which already provide necessary
"safety net" protection against rogue scripts

bump PKGREVISION for this

adressess PR pkg/32007 by "pancake"

also remove --enable-track-vars, since that configure argument
is long gone from PHP
2006-10-20 22:10:33 +00:00
taca
bbbd433ddf Update php5 to 5.1.5.
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
24 Aug 2006, PHP 5.1.6
- Fixed memory_limit on 64bit systems. (Stefan E.)
- Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32).
  (Dmitry)
2006-08-28 12:17:10 +00:00
taca
4b0620eff7 Remove special DIST_SUBDIR processing from Makefile. 2006-08-19 16:50:44 +00:00
taca
c92675b7b2 Update php5 package to 5.1.5:
17 Aug 2006, PHP 5.1.5

- Fixed memory_limit on 64bit systems. (Stefan E.)
- Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.)
- Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
  enabled. (Stefan E., Ilia)
- Fixed bug #38322 (reading past array in sscanf() leads to arbitrary code
  execution). (Tony)
- Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus)
- Fixed bug #38112 (corrupted gif segfaults) (Pierre)
- Fixed bug #37587 (var without attribute causes segfault). (Marcus)
- Fixed bug #37576 (FastCGI env (cgi vars) table overflow). (Piotr)
- Fixed bug #37496 (FastCGI output buffer overrun). (Piotr, Dmitry)
- Fixed bug #37487 (oci_fetch_array() array-type should always default to
  OCI_BOTH). (Tony)
- Fixed bug #37416 (iterator_to_array() hides exceptions thrown in rewind()
  method). (Tony)
- Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of
  request). (Tony)
- Fixed bug #37341 ($_SERVER in included file is shortened to two entries,
  if $_ENV gets used). (Dmitry)
- Fixed bug #37313 (sigemptyset() used without including <signal.h>).
  (jdolecek)
- Fixed bug #37346 (invalid colormap format) (Pierre)
- Fixed bug #37360 (invalid gif size) (Pierre)
- Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry)
- Fixed Bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry)
- Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
  imap_body()). (Ilia)
- Fixed bug #37256 (php-fastcgi dosen't handle connection abort). (Dmitry)
2006-08-19 16:44:15 +00:00
taca
e1048af207 More fix of PLIST, now pkg_delete should always succeed. 2006-08-19 14:47:44 +00:00
taca
45a7a0ff66 Correct PLIST to fix a binary package:
- remove an extra directory.
- handle empty directories.
2006-08-17 13:17:48 +00:00
taca
af6a82c2b0 Add security fix for Secunia Advisory SA21403 from PHP's CVS repository.
Bump PKGREVISION.
2006-08-10 05:57:09 +00:00
adrianp
fa1ca9f086 Fix for CVE-2006-3011
Bump to nb2
2006-07-18 21:57:30 +00:00
jlam
c16221a4db 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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 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.
2006-07-08 22:38:58 +00:00
minskim
fc62f7d1d5 Sync DIST_SUBDIR for PHP modules with DIST_SUBDIR in Makefile. 2006-07-08 16:56:56 +00:00
minskim
d931fdee2d Change DIST_SUBDIR because the current distfile path was already used before
for a different tarball.
2006-07-08 00:53:09 +00:00
jlam
e5bd7c7b27 Note in the MESSAGE file the path to the PHP CGI binary to answer an FAQ. 2006-06-06 16:42:02 +00:00
minskim
387cf483e9 Specify explicitly where openssl can be found. 2006-06-05 17:24:06 +00:00
minskim
c5ca838e26 This package needs lex to build. Add it to USE_TOOLS. 2006-06-05 17:22:39 +00:00
jdolecek
cbcb094c62 add patch for WDDX non-ASCII serializer/deserializer problem, reported
as PHP Bug 37569 and 37571
2006-05-23 22:55:22 +00:00
reed
efb1fa7e07 Use PKGNAME_NOREV for DIST_SUBDIR (instead of just PKGNAME).
As reported by Christopher W. Richardson on tech-pkg.
2006-05-17 06:20:00 +00:00
adrianp
d4ea19b753 Tarball on php.net has changed to include the pear installation file
Modify the package to not seperately fetch the pear file from php.net
Problem found by Christopher W. Richardson on tech-pkg@
Bump PKGREVISION
2006-05-16 19:54:02 +00:00
tron
9713a2598c Get distribtion file from sub directory in derived packages, too. 2006-05-07 13:48:02 +00:00
martti
74b2d72d0c Added missing DIST_SUBDIR 2006-05-07 09:54:55 +00:00
jdolecek
9e7bf8aa4d update distinfo (part of PR pkg/33432 fix) 2006-05-07 09:41:56 +00:00
jdolecek
2f837d7164 fetch PEAR installation archive too, to avoid use of wget by PHP installation
PR: pkg/33432 by Martti Kuparinen

XXX PEAR should be moved to separate package
2006-05-07 09:29:35 +00:00
jdolecek
37eac0eca5 Update lang/php5 to 5.1.4.
Some of the key changes include:

* Disallow certain characters in session names.
* Fixed a buffer overflow inside the wordwrap() function.
* Prevent jumps to parent directory via the 2nd parameter of the
  tempnam() function.
* Enforce safe_mode for the source parameter of the copy() function.
* Fixed cross-site scripting inside the phpinfo() function.
* Fixed offset/length parameter validation inside the substr_compare()
  function.
* Fixed a heap corruption inside the session extension.
* Fixed a bug that would allow variable to survive unset().
* Fixed a number of crashes in the DOM, SOAP and PDO extensions.
* Upgraded bundled PCRE library to version 6.6
* The use of the var keyword to declare properties no longer raises
  a deprecation E_STRICT.
* FastCGI interface was completely reimplemented.
* Multitude of improvements to the SPL, SimpleXML, GD, CURL and
  Reflection extensions.
* Over 120 various bug fixes.

See release annoucement on:
	http://www.php.net/release_5_1_3.php

And ChangeLog:
	http://www.php.net/ChangeLog-5.php#5.1.3
2006-05-06 22:42:44 +00:00
jdolecek
f7d62d3deb do not require -I${PREFIX}/include/php/ext/date/lib when building
extension using php_date.h

problem reported upstream as PHP Bug 37163
2006-04-22 10:54:53 +00:00
jdolecek
706782e939 patch-as as renamed to patch-at before commit, follow rename
also here
2006-04-22 10:41:59 +00:00
jdolecek
720c00e9ec add patch to actually compile the contents of PHP WDDX module; before
it produced empty *.so and the module couldn't be actually used
2006-04-22 10:27:05 +00:00
cube
c1c69c8faa The actual patches for PHP4/5. 2006-04-14 13:48:33 +00:00
cube
1050521ede PHP4/5 security changes... They're not critical issues; secunia classes
them between "not critical" and "less critical".

Fix CVE-2006-0996, CVE-2006-1494, CVE-2006-1608, CVE-2006-1490.

See:
    http://secunia.com/advisories/19383/
    http://secunia.com/advisories/19599/

Patches were extracted from CVS.  I had to translate the one for
CVE-2006-1608 on php4 because it has not made its way to the php4.4 branch
(I don't know why;  I can confirm it fixes the issue).

While here, add PATCHDIR to the list of variables php5's Makefile.php
defines.  That way, ap-php gets patched too...
2006-04-14 13:47:29 +00:00
reed
5abef9be14 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).
2006-04-06 06:21:32 +00:00
adam
95763fcf7c Install bin/pear with correct file permissions 2006-02-17 09:48:01 +00:00
jdolecek
7475616de1 add fix to build php-xmlrpc and php5-dom successfully with 5.1.2 2006-02-06 20:12:55 +00:00
martti
d5484cd27d Updated lang/php5 to 5.1.2
* HTTP Response Splitting has been addressed in ext/session and in
  the header() function.
* Fixed format string vulnerability in ext/mysqli.
* Fixed possible cross-site scripting problems in certain error conditions.
* Hash & XMLWriter extensions added and enabled by default.
* Upgraded OCI8 extension.
* Over 85 various bug fixes.

(I haven't heard anything from the MAINTAINER but since this works fine
on my servers and as this fixes security issues I checked in this)
2006-02-06 06:39:59 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
49c1f2197b Added two missing files to the PLIST. Bumped PKGREVISION. 2006-02-02 20:31:17 +00:00
reed
e9a98b1762 Use PKGMANDIR instead of "man". 2006-01-04 17:44:24 +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
jdolecek
25442552ef patch php.ini-dist and php.ini-recommended to comment out extension_dir
and to uncomment and explicitly set upload_tmp_dir, so that this works
out of box (patches adapted from www/php4)

pointed out by Martti Kuparinen on tech-pkg@
2005-12-06 08:32:22 +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
jdolecek
08fb288d0a patch pear to use -n post-install - it cannot be done using normal
patch framework, the file is part of binary .phar archive and is
created during installation

this has been submitted as PHP bug #35544, so this may be adressed
upstream hopefully
2005-12-04 21:28:07 +00:00
jdolecek
3c04fb787d regen patch-ao with less context lines to avoid $Id$ in the original
file (using pkgdiff now)

PR: 32233 by Peter Avalos
2005-12-04 12:02:08 +00:00
jdolecek
5be23b1a37 remove no longer needed patches - pointed out by Peter Avalos
in private e-mail
2005-12-04 10:57:53 +00:00
jdolecek
94bac0eb30 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.
2005-12-03 18:53:57 +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
ed9b1b7edd PKGBASE is defined too late to be used in PKG_OPTIONS_VAR, so it cannot
be used here.
2005-11-11 07:10:06 +00:00
rillig
fb941da402 Replaced an overly complex expression with the equivalent ${PKGBASE}. 2005-11-05 17:18:28 +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
d6b8f0ce6e add inet6 to list of supported options; this effectively enables IPv6
support by default, since the USE_INET6 mapping now properly kicks in
2005-10-08 21:04:36 +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
schmonz
aa2f6e2eae Allow versions of PHP newer than 5.0.4nb1 to satisfy BUILDLINK_RECOMMENDED.
Fixes build of ap-php and PHP modules.
2005-09-09 05:49:00 +00:00
jdolecek
a30925485a Update php5 to version 5.0.5. This is maintenance release, aimed at
bug fixes only with only few and minor new features.

Full changelog available at:
        http://mirrors.inway.cz/ChangeLog-5.php#5.0.5
2005-09-08 18:49:01 +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
adrianp
cc1cb5fdce Bump BUILDLINK_RECOMMENDED to nb1 for recent security issue and fix typo
Fix suggested by salo@.
2005-09-03 14:41:05 +00:00
adrianp
273c0cdd7d Update php5 to 5.0.4nb1 to address XML_RPC security issue(s)
Fix based on work done by tron@ for the PHP 4.x branch fix
PLIST fixup to correctly remove @PREFIX@/lib/php
2005-09-03 13:37:36 +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
f4aba13736 follow PHP4 packaeg lead and add 'php5' to CATEGORIES 2005-05-09 18:36:57 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jdolecek
bcc8db8a6e Update php5 to 5.0.4. This is maintenance/bugfix release, full list of changes
available at:
	http://www.php.net/ChangeLog-5.php#5.0.4
2005-04-11 20:16:02 +00:00
jdolecek
9d3ff20720 disable sqlite extension again - there is databases/php5-sqlite for this
purpose
2005-04-08 20:58:49 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
manu
11ef7f33c4 Enable SQLite 2005-01-04 13:50:00 +00:00
jdolecek
0516b75830 use ${PKG_SYSCONFDIR} rather than hardcoding ${PREFIX}/etc
Fixes PR pkg/28718 by Amitai Schlair
2004-12-27 20:20:23 +00:00
jdolecek
820732f1a1 g/c MAINTAINER (use one from Makefile.common) 2004-12-18 16:23:04 +00:00
jdolecek
6a54a51a44 claim MAINTAINER 2004-12-18 16:04:54 +00:00
jdolecek
40b9b247d6 claim MAINTAINER 2004-12-18 16:01:07 +00:00
jdolecek
def596a99f Update php5 to 5.0.3. This maintenance release addressing several very
serious security issues, as well as bunch of non-critical bug fixes.
All PHP5 users are strongly encouraged to upgrade to this version.

Detailed change list at:
	http://www.php.net/ChangeLog-5.php#5.0.3
2004-12-17 07:53:06 +00:00
jdolecek
949ee33442 move DISTINFO_FILE setting from Makefile.common to Makefile.php,
so that it PECL extension packages could override it properly
2004-12-17 07:36:13 +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
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
3737967b46 put items only pertinent to interpreter build to new file Makefile.php
(similar to PHP4 package), and also update to use PKG_OPTIONS

this fixes environment pollution for extension modules, particularily
CONFIGURE_ARGS
2004-11-04 18:38:55 +00:00
jdolecek
b30035be67 s/PHP5_VERSION/PHP_BASE_VERS/, to match php4 package 2004-11-02 21:03:03 +00:00
jdolecek
15d24c4687 ${PREFIX}/lib/php/Net might or might not exist, so remove it using
@unuexec ${RM} -rf
2004-11-01 21:57: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
b7fe8d73e2 default to full dependance on php for anything including this buildlink 2004-11-01 19:52:58 +00:00
jdolecek
399a4e61d9 Make sure to install the _CLI_ version to ${PREFIX}/bin/php, and _CGI_
to ${PREFIX}/libexec/cgi-bin; install also couple more files same way
as PHP4

Of particular note is that CLI ignores setting of register_argc_argv
(treats as if it would be On), so it's no longer necessary to do anything
special for Pear packages to work. g/c MESSAGE warning about the Pear issue.
2004-11-01 19:46:18 +00:00
jdolecek
e0e2dcc2ef add patches necessary to build php-imap with PHP5 2004-10-31 21:14:54 +00:00