php5: Add support for using the system timezone database
authorMichael Heimpold <mhei@heimpold.de>
Wed, 19 Oct 2011 19:23:51 +0000 (19:23 +0000)
committerMichael Heimpold <mhei@heimpold.de>
Wed, 19 Oct 2011 19:23:51 +0000 (19:23 +0000)
commitc9ec68e03b4da23bf4a76518266117a015aaa20f
tree20ec29d120903e8486aeaf6b792a1737902d81b8
parenta05e522917d09f0f121857f38f46a49d83970b20
php5: Add support for using the system timezone database

Using the systems database rather than embedding a copy has several
advantages. Its easier to keep the database up-to-date and it can
be used by multiple applications. So some bytes in the firmware image
can be saved, especially when only required timezones are installed.

Additionally, it not necessary anymore to configure the timezone
explicitly via php.ini (required since PHP 5.3). Instead OpenWRTs
system-wide settings are used.

This new approach is enabled by default, however it is possible
to deselect this feature to restore PHP's original behaviour.

The patches are taken from the Debian PHP patches.

Signed-off-by: Peter Naulls <peter@chocky.org>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 28491
lang/php5/Makefile
lang/php5/patches/102-debian_patches_use_embedded_timezonedb.patch [new file with mode: 0644]
lang/php5/patches/103-debian_patches_use_embedded_timezonedb.patch [new file with mode: 0644]
lang/php5/patches/900-prevent_buildconf_force.patch