Commit graph

138 commits

Author SHA1 Message Date
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
wiz
c64c02f949 Unused. 2004-05-04 06:31:32 +00:00
lukem
799f96b036 CGI/1.1, as documented at:
http://cgi-spec.golux.com/
mentions SCRIPT_NAME but not SCRIPT_FILENAME.
Support web servers that only supply the former, even though
PHP 4.3 wants the latter to operate as a CGI...
Fixes problem using PHP 4.3 under a variety of non-Apache web servers.
2004-04-30 00:06:42 +00:00
jlam
d15369e7d6 The option is named "PHP4_CONFIGURE_ARGS", not "PHP5_...". 2004-04-26 08:35:22 +00:00
xtraeme
72c95a606e bl3ify 2004-04-24 23:04:24 +00:00
xtraeme
24eb0477c9 bl3ify 2004-04-24 23:03:25 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
jdolecek
13f2532a2e Update PHP4 package and all PHP4 modules to version 4.3.6.
Changes are bug-fixes mostly, but also synchronizes bundled GD
with GD 2.0.22 and updates PCRE to version 4.5. Several NetBSD
patches were integrated too, so future pkgsrc updates would
be even more smooth.

Full list of changes since PHP 4.3.4 is available at:
	http://www.php.net/ChangeLog-4.php#4.3.6
	http://www.php.net/ChangeLog-4.php#4.3.5
2004-04-20 19:19:23 +00:00
jdolecek
11df7b811c don't do pear package-validate after extraction - our SHA1 checksum
check is enough
2004-04-20 18:44:35 +00:00
cube
0db9215609 Introduce USE_SSL build parameter, that pulls in OpenSSL and compiles
support for SSL/TLS connections with PHP.  It is necessary to compile SSL
support in PHP to be able to use TLS-enabled sockets.  The openssl PHP
module does not include that functionality.
2004-04-19 13:09:16 +00:00
jdolecek
b7be5da54f generate the PLIST for Pear packages using a helper PHP script, which
can use directly Pear facilities to acquire the necessary information
2004-04-03 04:39:47 +00:00
jdolecek
19c94f4186 handle also 'doc' and 'test' files, this is necessary for pear-Log 2004-04-02 21:54:49 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
kristerw
4fec4c4c45 Include ../../mk/bsd.prefs.mk to make sure that TR is defined. 2004-03-17 19:07:51 +00:00
danw
c781e5e798 don't use bmake's :tl modifier, so this will work on old NetBSD and
non-NetBSD platforms
2004-03-17 16:32:43 +00:00
jlam
cd5343713c Only create the phpize cookie file if phpize ran with no errors. 2004-03-14 20:07:06 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
jdolecek
8cb304325c remove the filestat patch, it's no longer needed
bump PKGREVISION for this change
2004-02-14 01:09:42 +00:00
jdolecek
389a704f2c update for removed patches 2004-02-14 00:46:56 +00:00
jdolecek
dff21e3211 no need to add XXXes to mkstemp() call, g/c this patch in an efford
to minimize number of PHP patches in pkgsrc
2004-02-14 00:46:26 +00:00
jdolecek
69b77bc34e g/c, gettext extension module is not built into base php 2004-02-13 20:37:27 +00:00
grant
e3d128293a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:18:32 +00:00
jdolecek
a4bdef33c9 add base PHP4 glue for PHP Pear packages
moved over from pkgsrc-wip, and based on initial work done by
Adrian Portelli of pkgsrc-wip team
2003-12-17 19:02:07 +00:00
cube
c00f2cd215 Prevent php4's Makefile.common from unconditionally overriding
EXTRACT_SUFX.  Also, set php4-apc's EXTRACT_SUFX to .tar.gz since it's the
only one available.
2003-11-16 19:06:46 +00:00
jdolecek
0d0ea1f24e Update PHP to 4.3.4
From release announcemenet:

After a lengthy QA process, PHP 4.3.4 is finally out!
This is a medium size maintenance release, with a fair number of bug fixes.
All users are encouraged to upgrade to 4.3.4.

Bugfix release

PHP 4.3.4 contains, among others, following important fixes, additions
and improvements:
* Fixed disk_total_space() and disk_free_space() under FreeBSD.
* Fixed FastCGI support on Win32.
* Fixed FastCGI being unable to bind to a specific IP.
* Fixed several bugs in mail() implementation on win32.
* Fixed crashes in a number of functions.
* Fixed compile failure on MacOSX 10.3 Panther.
* Over 60 various bug fixes!

For full list of changes in PHP 4.3.4, see ChangeLog:
	http://www.php.net/ChangeLog-4.php#4.3.4
2003-11-08 06:58:10 +00:00
jdolecek
94aa53cd0e use explicit number here rather than ${PHP_BASE_VERS}, so that packages
using the buildlink would get proper version dependency even when not
using php4/Makefile.common
2003-09-29 12:47:38 +00:00
jdolecek
54b1fac52c update comment. pointed out by Todd Vierling on tech-pkg@ 2003-09-05 19:39:52 +00:00
jdolecek
a4e9f390fe add a note that pcre, session and xml are now built into the main PHP4 package
suggested on tech-pkg@
2003-09-05 19:35:16 +00:00
jdolecek
9e0dd36642 add some missing @dirrm's
problem reported and patch provided in PR pkg/22654 by Adrian Portelli
2003-09-01 15:41:45 +00:00
cjep
b42456df51 Add NetBSD RCS tags 2003-09-01 10:17:35 +00:00
martti
08684c3d4c Removed the non-existing patch-aa 2003-09-01 10:16:49 +00:00
jdolecek
64610adcd7 remove for now; I'll confirm whether or not this patch would be necessary later 2003-09-01 08:41:31 +00:00
jdolecek
90c1c1709f Update PHP to final 4.3.3
Some highlights of changes since 4.2.3:
* PCRE updated to 4.3, GD to 2.0.15
* improved Apache2 support
* much improved stream & URL wrapper support, output compression support
* added CLI (Command Line Interface) SAPI
* debug_backtrace() backported from ZendEngine2
* faster build system
* huge number of other bug fixes and improvements

Packaging changes:
* 'pcre', 'xml', and 'session' modules folded back into main package -
  'pcre' and 'xml' is required by PEAR, and 'session' is just too essential
  to be separate
* 'gd' module now uses bundled PHP GD library, which is better integrated
* PHP modules use shared distinfo when possible to ease future PHP updates
* ${PREFIX}/bin/php is now CLI version, ${PREFIX}/libexec/cgi-big/php
  remains CGI version
2003-08-31 19:55:21 +00:00
jdolecek
bac7b53c7f include some additional information about PHP language 2003-08-31 19:00:38 +00:00