Commit graph

71 commits

Author SHA1 Message Date
taca
c0935424aa Remove support for php5 (PHP 5.2.x). 2012-06-16 15:18:13 +00:00
taca
157c5b6aa6 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
73f8cd7428 PKG_PHP_VERSION may be 52 for some situation. 2012-05-12 11:27:46 +00:00
obache
f83e8accfb * allow to specify phpize sub directory with PHPSETUPSUBDIR.
* allow to override DIST_SUBDIR
2012-05-12 08:23:34 +00:00
taca
141d6aa111 Correct default value in description of PHP_VERSION_DEFAULT. 2012-05-04 16:07:51 +00:00
obache
24c3d678c4 Note warning about PECL_LEGACY_VERSION_SCHEME. 2012-01-27 01:55:27 +00:00
joerg
f67d8818e2 Catch up with PHP 5.3 base. 2012-01-12 18:25:50 +00:00
obache
9ce09e1be1 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
cheusov
8caf07b575 Do not change PHP_VERSIONS_ACCEPTED in phpversion.mk.
It is not necessary anymore. No objections in tech-pkg@.
2011-10-29 13:47:03 +00:00
taca
a0e8242b45 Make PHP's default version to 5.3.x. 2011-09-14 16:44:26 +00:00
adam
6d16fee396 Install module correctly 2011-04-13 13:23:39 +00:00
wiz
258be22740 Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.

From Aleksey Cheusov in PR 44695.
2011-03-12 14:07:13 +00:00
obache
9edbe7acd4 set TZ=UTC to generate PLIST, same as do-install. 2011-01-12 08:15:45 +00:00
obache
37a9d659cc prevent php errors/warnings from being recorded as part of generated PLIST. 2011-01-12 08:11:49 +00:00
taca
3d3161280e A little improvement of a sentence. 2010-09-23 07:38:05 +00:00
obache
db38bbcb17 Improve pear package handling
* support packages from other than default channels
* replace deprecated function usage in pear_plist.php
* generate filelist from installed registry, to support "install as" files.

tested with all pear pacakgs in pkgsrc.
2010-08-29 06:08:07 +00:00
obache
02eab048a0 Always install pear with `-n', or failed to install if extension is required
but not loaded in php.ini.
2010-08-25 06:37:20 +00:00
jdolecek
812f805f00 add support for PHP 5.2.*-only packages 2010-03-21 11:07:37 +00:00
jdolecek
bc8ab3db68 set LIBTOOL_OVERRIDE (force pkgsrc libtool) for PHP extensions 2010-03-21 11:06:05 +00:00
taca
bf060195a3 Explicitly setenv TZ=UTC when installing with pear since pear of PHP 5.3.2
check system's timezone and produce useless warnings.
2010-03-16 15:34:01 +00:00
taca
5d36ea3cc2 Prepair for importing PHP 5.3.2.
* Add "53" as PHP 5.3.x for several PHP_VERSION_* and its frends.
* Add PKG_PHP_MAJOR_VERS which currently only takes "5".
* Add "php53" to PHP_PKG_PREFIX.
* Add checking installed PHP's version against required version.
2010-03-16 15:25:36 +00:00
joerg
8920a51178 Remove PHP 4 from the list of supported versions. 2010-02-10 17:46:10 +00:00
obache
70988bb342 Use -P (--packagingroot) instead of -R (--installroot).
packaging fake root should be set with -P.
(-R is for really using there and package will be registerd as there).
2010-02-03 12:22:18 +00:00
obache
ee5af5aedd Add -n option for DESTDIR to skip dependency check,
and also move -f option here.
2010-02-03 11:44:35 +00:00
obache
88142bee1e Add "-f" flag for install to prevent installed package from installation
when "make replace" or using DESTDIR.
2009-10-31 04:51:28 +00:00
obache
23b414ef59 two more skip files. 2009-10-31 04:46:34 +00:00
joerg
9bb0d96ea9 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
abs
3b173ae359 Allow a directory to be excluded from PEAR_DIRRM by specifying PEAR_DIRRM_EXCLUDE 2009-01-19 19:55:02 +00:00
joerg
5437d6597e Add basic DESTDIR support for PEAR packages. The skip list is a band aid
and the PEAR package itself must be reviewed to not include those files.
The patch doesn't work for dependencies right now.
2008-06-12 00:20:10 +00:00
rillig
cfd60c15ff Clarified the comment that no dependency is added by this file. 2007-10-11 08:51:43 +00:00
rillig
8a4225b4af + USE_PHP_EXT_PATCHES 2007-10-11 08:51:11 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
rillig
d2f1965b99 Added variable descriptions for PHP extensions. 2007-09-20 09:32:15 +00:00
rillig
e0c07e8ed7 Added variables for "bmake show-all". 2007-09-20 09:11:07 +00:00
tnn
87d6a8dd42 Fix installation of php extensions on HPUX. 2007-09-07 13:26:20 +00:00
ghen
13ea59af42 Adjust the documented default PHP version to the actual default. 2007-08-13 14:46:30 +00:00
rillig
68d8260f82 Added the usual documentation. 2007-06-18 07:21:09 +00:00
heinz
1043001008 Added support for installation of extensions to DESTDIR. 2007-06-11 17:59:23 +00:00
adrianp
989ca1e011 Including pear.mk will now pull in lang/pear as a dependency
Fix the PHP call to include the default include path for PEAR
2007-05-05 21:32:12 +00:00
adrianp
d9a1374854 * Support v2 of the pear-* package format that is being used by some
newer pear packages.
* Fix the case where an extra slash would be appended to the file path in the
  PLIST.
* Both fixes from from Loic Hoguin and tested by Loic and myself.
2007-04-15 13:46:42 +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
tron
c27ecb6fa8 Make PHP version 5.x the default. Security updates for PHP 4.x are
simply releasted much too slow these days.
2006-05-09 10:06:34 +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
rillig
7c07d9b2cb Fixed pkglint warnings. 2005-09-28 21:46:24 +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