[packages] php5: Add support for using the system timezone database
authormhei <mhei@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Oct 2011 19:23:51 +0000 (19:23 +0000)
committermhei <mhei@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Oct 2011 19:23:51 +0000 (19:23 +0000)
commit9fa6d05c3238387ae4faffe3f9413e47b6d22b81
treeef38c58751a94dc0a104d7d999e0c838e90f3ef4
parent6afaef31c077a9ac489e92034a1202fee253af54
[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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28491 3c298f89-4303-0410-b956-a3cf2f4a3e73
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