[packages] 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)
commit2426de50294a8e5012bab64c74477910e6de1d8a
treeef38c58751a94dc0a104d7d999e0c838e90f3ef4
parent642e94f0b2a9dbbae30edb3ba153200192d615aa
[packages] 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