Commit graph

40 commits

Author SHA1 Message Date
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
jdolecek
6d7b6f5161 add a USE_PHP_EXT_PATCHES, which makes it possible to have and apply only
extension-specific patches from php5/patches/
2004-10-31 21:14:23 +00:00
grant
2042eccfef s/wip/lang/ 2004-10-30 05:46:21 +00:00
jdolecek
baa00fd7fb Import PHP 5.0.2, based on the pkgsrc-wip PHP5 package.
Some of the key features of PHP 5 include:
* The Zend Engine II with a new object model and dozens of new features.
* XML support has been completely redone in PHP 5, all extensions
  are now focused around the excellent libxml2 library
  (http://www.xmlsoft.org/).
* A new SimpleXML extension for easily accessing and manipulating
  XML as PHP objects. It can also interface with the DOM extension
  and vice-versa.
* A brand new built-in SOAP extension for interoperability with Web Services.
* A new MySQL extension named MySQLi for developers using MySQL
  4.1 and later. This new extension includes an object-oriented
  interface in addition to a traditional interface; as well as support
  for many of MySQL's new features, such as prepared statements.
* SQLite has been bundled with PHP. For more information on SQLite,
  please visit their website.
* Streams have been greatly improved, including the ability to access
  low-level socket operations on streams.
2004-10-29 20:31:54 +00:00