Commit graph

8 commits

Author SHA1 Message Date
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
obache
f38363508f recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
taca
85ffbd9a7f Add a fix for CVE-2011-0420 (CERT: VU#210829) from PHP's repository, r306449.
Bump PKGREVISION.
2011-02-26 02:55:28 +00:00
taca
4093a8b1aa Reset PKGREVISION because of base php5/php53 version's updates. 2011-01-07 09:25:16 +00:00
obache
d99eb6b342 Bump PKGREVISION from icu shlib major bump. 2010-12-17 07:36:08 +00:00
taca
cd5e882d11 Update php-intl package to 1.1.2.
Changelog says only "* Bugfixes" but it is really fix CVE-2010-4409.
2010-12-16 03:37:28 +00:00
jdolecek
ee86ff3b58 Add php-intl package, using PECL version 1.1.1, modified to compile with
both PHP 5.3.2 and PHP 5.3.12

compile tested on Mac OS X 10.6.2 and NetBSD 5.0.1

This module is an internationalization extension, enabling PHP programmers
to perform UCA-conformant collation and date/time/number/currency formatting
in their scripts.

It tends to closely follow ICU APIs, so that people having experience
working with ICU in either C/C++ or Java could easily use the PHP
API. Also, this way ICU documentation would be useful to understand
various ICU functions.

Intl consists of several modules, each of them exposes the corresponding ICU
API:
    * Collator: provides string comparison capability with support
      for appropriate locale-sensitive sort orderings.
    * Number Formatter: allows to display number according to the
      localized format or given pattern or set of rules, and to parse
      strings into numbers.
    * Message Formatter: allows to create messages incorporating
      data (such as numbers or dates) formatted according to given
      pattern and locale rules, and parse messages extracting data
      from them.
    * Normalizer: provides a function to transform text into one
      of the Unicode normalization forms, and provides a routine to
      test if a given string is already normalized.
    * Locale: provides interaction with locale identifiers in the
      form of functions to get subtags from locale identifier; parse,
      compose, match(lookup and filter) locale identifiers.
2010-03-21 16:57:13 +00:00