Commit graph

82 commits

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