Commit graph

75 commits

Author SHA1 Message Date
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