Commit graph

45 commits

Author SHA1 Message Date
jperkin
b7fb739101 php: Remove LIBTOOL_OVERRIDE=YES.
This was added 8 years ago intending to ensure pkgsrc libtool was used, except
it actually did the opposite.  By default we will try to replace any script
named "libtool" up to the override depth.  Setting LIBTOOL_OVERRIDE changes
the behaviour to instead override the list of filenames specified by the
LIBTOOL_OVERRIDE variable.  Thus we were trying to replace any file named
"YES" instead of "libtool".

Noticed by SmartOS/clang builds of php-intl which were using the supplied
broken libtool script instead of the correct pkgsrc one.
2018-02-07 16:14:36 +00:00
taca
770652bc8e Update php56 to 5.6.29 (PHP 5.6.29).
08 Dec 2016, PHP 5.6.29

- Mysqlnd:
  . Fixed bug #64526 (Add missing mysqlnd.* parameters to php.ini-*). (cmb)

- Opcache:
  . Fixed bug #73402 (Opcache segfault when using class constant to call a
    method). (Laruence)
  . Fixed bug #69090 (check cached files permissions)

- OpenSSL
  . Fixed bug #72776 (Invalid parameter in memcpy function trough
    openssl_pbkdf2). (Jakub Zelenka)

- Postgres:
  . Fixed bug #73498 (Incorrect SQL generated for pg_copy_to()). (Craig Duncan)

- SOAP:
  . Fixed bug #73452 (Segfault (Regression for #69152)). (Dmitry)

- SQLite3:
  . Fixed bug #73530 (Unsetting result set may reset other result set). (cmb)

- Standard:
  . Fixed bug #73297 (HTTP stream wrapper should ignore HTTP 100 Continue).
    (rowan dot collins at gmail dot com)

- WDDX:
  . Fixed bug #73631 (Memory leak due to invalid wddx stack processing).
    (bughunter at fosec dot vn).
2016-12-10 07:08:39 +00:00
jdolecek
ac4eee8ee0 rename EXT_CONF_DIR to PHP_EXT_CONF_DIR, adjust it so that it's overridable
in mk.conf, and adjust working in MESSAGE.module to say more clearly
what is happening

PR pkg/51456 by Joern Clausen
2016-10-18 19:09:10 +00:00
jdolecek
07ec0820af further tweak the generated ini files - they are now named according to MODNAME, but use PKGMODNAME as the base for extension file to load; this deals with modules like apcu_bc, which has extension name 'apc', but needs to be loaded after 'apcu' since it uses it's symbols 2016-07-26 08:19:45 +00:00
jdolecek
ff270679a3 fix generation of module-specific .ini file for packages which override PKGMODNAME such as php-pdflib; problem reported by Uwe Klaus 2016-07-24 14:01:55 +00:00
jdolecek
8a4398d68c Automatically enable PHP module or Zend extension when it's installed instead of requiring manual configuration of ${PKG_SYSCONFDIR}/php.ini - put a module-specific .ini file for this into ${PKG_SYSCONFDIR}/php.d 2016-07-17 15:49:44 +00:00
taca
81a6c40285 One more PHP_BASE_VERS related correction. 2015-03-16 09:21:11 +00:00
taca
8c791a3fc5 Drop php53 support. 2015-03-15 15:25:57 +00:00
jperkin
06dffb4a91 Apologies for not noticing sooner, the previous commit was incorrect as
taca has already implemented different handling for zend_extension.
2015-02-16 10:30:15 +00:00
jperkin
3bc42ceea2 Put back custom PHP_ZEND_EXTENSION MESSAGE file. 2015-02-16 10:20:24 +00:00
taca
0694353002 Re-add part of revision 1.33 slighly different way; show "zend_extension"
instead of "extension".
2015-02-15 09:00:33 +00:00
obache
eee541e27a Revert
Add support of zend modules.
proposed/discussed is required for such changes, and no package is using.
2015-02-02 12:26:20 +00:00
obache
5f2ef28387 Revert
Add experimental auto extension registory support with PHP_AUTO_REGISTER_EXT=yes
 (=no by default).
proposed/discussed was happened, but remain inconclusive and not approved.
2015-02-02 12:14:56 +00:00
obache
1cc49decde Add experimental auto extension registory support with PHP_AUTO_REGISTER_EXT=yes
(=no by default).
2014-11-02 08:51:41 +00:00
obache
af5589fce8 Add support of zend modules. 2014-11-02 06:49:28 +00:00
taca
45492d07f0 Clean up php's framework.
* Define PHP's version at one place.
* Remove obsolete description in comments.
* Add "used by www/php-fpm/Makefile" in php5[34]/Makefile.php.
* Remove commented out support for suhosin extension from php54.
* Add PHP_CHECK_INSTALLED and PHP_EXTENSION_DIR to php/phpversion.mk.

No functional should be made.
2013-07-21 17:29:47 +00:00
taca
a98fe022a1 Remove remained codes for PHP 5.2.x. 2012-08-17 15:38:19 +00:00
taca
176439945e Update of frame work for PHP and support for PHP 5.4.x.
* PHP_VERSION_DEFAULT, PHP_VERSIONS_ACCEPTED, PKG_PHP_VERSION now
  don't accept 5 any more but 52, 53, 54.
  Each value corresponding to PHP 5.2.x, 5.3.x, 5.4.x.
* PHP_PKG_PREFIX might be "php54".
* phpversion.mk defines PHP_BASE_VERS.
* phpversion.mk defines each PHP's exact version for now.

TODO:
	php{5,53,54}/Makefile.{common,php} could be arranged to some
	redundant codes.
2012-06-16 02:47:51 +00:00
obache
d74bd35143 PKG_PHP_VERSION may be 52 for some situation. 2012-05-12 11:27:46 +00:00
obache
edbcee2144 * allow to specify phpize sub directory with PHPSETUPSUBDIR.
* allow to override DIST_SUBDIR
2012-05-12 08:23:34 +00:00
obache
7e5c33ea25 Note warning about PECL_LEGACY_VERSION_SCHEME. 2012-01-27 01:55:27 +00:00
joerg
2bb5313796 Catch up with PHP 5.3 base. 2012-01-12 18:25:50 +00:00
obache
bdaf2325dc Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.

It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.

To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
2011-12-17 13:46:27 +00:00
adam
a93be2d228 Install module correctly 2011-04-13 13:23:39 +00:00
jdolecek
bd2f9ccca0 set LIBTOOL_OVERRIDE (force pkgsrc libtool) for PHP extensions 2010-03-21 11:06:05 +00:00
rillig
8a4225b4af + USE_PHP_EXT_PATCHES 2007-10-11 08:51:11 +00:00
rillig
d2f1965b99 Added variable descriptions for PHP extensions. 2007-09-20 09:32:15 +00:00
tnn
87d6a8dd42 Fix installation of php extensions on HPUX. 2007-09-07 13:26:20 +00:00
heinz
1043001008 Added support for installation of extensions to DESTDIR. 2007-06-11 17:59:23 +00:00
sketch
7d90eb7639 Make sure the do-patch target returns true, as some shells will return the
egrep exit status (which will be false if there are no patches for the module)
and stop the build.
2006-07-10 20:53:43 +00:00
joerg
337c6b1297 Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.
2006-06-02 18:27:54 +00:00
jlam
d5e3a83249 Allow a PECL PHP extension package to specify its own DISTNAME by setting
PECL_DISTNAME.
2006-06-01 17:44:21 +00:00
jdolecek
4b122787b2 automatically include extension-specific MESSAGE if it exists 2005-12-03 18:52:54 +00:00
jdolecek
7023a17405 add missing backslash for previous 2005-12-03 13:32:42 +00:00
jdolecek
0705382d0c use ${PATH_ARGS} in do-patch target, and use _PKG_SILENT/_PKG_DEBUG
to reduce output for normal runs
2005-12-03 13:16:36 +00:00
tv
8a957173eb PECL modules have a real homepage. Set the default for PECL modules to
the PECL distro site rather than PHP's default.

Bump PKGREVISION, as the HOMEPAGE is included in the binary package's +DESC.
2005-10-04 16:50:50 +00:00
abs
df25641458 revert last - thanks to wiz for poking me to find the real cause of the
breakage.
2005-09-20 10:56:38 +00:00
abs
c98b0a6e37 Set PKGNAME= rather than PKGNAME?=
Previously php-gettext would end up with a PKGNAME of php-{ver}, with
obviously breakage.
2005-09-19 23:07:10 +00:00
jdolecek
485342b9d6 allow PECL-like extensions with different MASTER_SITES or EXTRACT_SUFX 2005-06-12 15:29:48 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jdolecek
f4596f73a2 use PLIST_SRC+= so that setting PLIST_SRC setting in extension Makefile
would have an effect; fixes php4-apc
2004-12-12 09:13:56 +00:00
jdolecek
8337b0b87d don't use += for DIST_SUBDIR 2004-11-27 12:36:35 +00:00
tron
2bf59febe3 Properly define "DISTINFO" when building a bundled PHP extension. 2004-11-16 15:33:12 +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
52c1980501 new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x

convert existing php4-* packages to this framework and import as php-*
2004-10-31 19:30:29 +00:00