- use new service functions
- introduce uci config
- rename initscript
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29265 3c298f89-4303-0410-b956-a3cf2f4a3e73
instead select such options when module is enabled. Should fix the problem
described in #9839, backport to backfire TBD.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28510 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
When using CONFIGURE_LIBS the php binary itself depends on these libs,
so the opkg depends also reflected this. But in this case it was
required to install those libs even when they were never planned to use.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27839 3c298f89-4303-0410-b956-a3cf2f4a3e73
This fix work around the membar_producer link error which
can be seen on backfire for brcm-2.4.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27834 3c298f89-4303-0410-b956-a3cf2f4a3e73
Php5's configure script seems to be a little bit buggy as
it disables dynamic library support during cross-compiling.
See also http://www.apachefriends.org/f/viewtopic.php?f=6&t=32367
For now, fix this by preventing the configure script overriding
the previously detected value.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27763 3c298f89-4303-0410-b956-a3cf2f4a3e73
The attached patch was accepted upstream, see
http://bugs.php.net/bug.php?id=54895 for details.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26965 3c298f89-4303-0410-b956-a3cf2f4a3e73
- use standard variables for configure
- use standard macros for build (prevents a second configure/compile
run when both php5-cli and php5-cgi packages are selected)
- construct PKG_CONFIG_DEPENDS before including packages.mk (fixes#9196)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26825 3c298f89-4303-0410-b956-a3cf2f4a3e73
The APC patch adds the APC extension to the source tree. However,
when it was selected nothing happens since the extension wasn't
'registered'. This is what a 'buildconf' run usually does.
This however needs version 2.13 of autoconf. So instead of
requiring this (additional) autoconf version on the build system
the files changed are included in an additional patch.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26824 3c298f89-4303-0410-b956-a3cf2f4a3e73
The build fails since the php module is statically disabled. This patch
adds the required magic.
This should also finally close#7758.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26341 3c298f89-4303-0410-b956-a3cf2f4a3e73
The binaries are already dependent on sqlite3 and pthread, not only the
corresponding php modules.
This closes#7724.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25674 3c298f89-4303-0410-b956-a3cf2f4a3e73
- Introduce /etc/php5 which is scanned for additional configuration files.
So it is possible that a installed modules is automatically enabled
without the need to modify the php.ini.
- Remove unsupported config option: --disable-ttf
- Add support for SimpleXML module, closes#7758.
- Add support for PCNTL module.
- Modularize System V stuff.
- Rename BuildPlugin to BuildModule which IMHO fits better to the
commonly used terminology of "PHP module".
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25673 3c298f89-4303-0410-b956-a3cf2f4a3e73
currently the init.d script of fastcgi-php do not use the standard
rc.common methods. The attached patch fixes that.
Signed-off-by: Alexander Sulfrian <alexander@sulfrian.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23618 3c298f89-4303-0410-b956-a3cf2f4a3e73
Also add the required package dependencies. See also ticket #7237 for
reference.
A simple test case is the following php script:
<?php
$db = new SQLite3("test.db");
?>
It hangs and triggers the max execution time without this patch.
Signed-off-by: Michael Heimpold <mhei at heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23585 3c298f89-4303-0410-b956-a3cf2f4a3e73
- sync with upstream php.ini
- EXIF extension moved out of core
- enable more extensions
- optional linking against libxml2
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19306 3c298f89-4303-0410-b956-a3cf2f4a3e73