77 Commits

Author SHA1 Message Date
nbd
a3b0392a1f php5: add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 19:07:37 +00:00
nbd
37731f6888 php5: use libevent2 instead of libevent
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 19:07:35 +00:00
jow
f9b782b7b5 [packages] php5: php5-mod-ftp depends on libopenssl
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-12 23:47:32 +00:00
swalker
40133cd17e [packages] php5: add support for php5 calendar module
Signed-off-by: Gerald Matzka <mgerald21@yahoo.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@31823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 01:12:45 +00:00
mhei
f102013966 [packages] php5: fix missing dependency for http module (fixes #11257)
Thanks ryzhov_al for spotting this out.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@31299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-15 19:55:55 +00:00
mhei
1070201e44 [packages] php5: build/enable shmop module
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-15 19:45:40 +00:00
mhei
ae5ae096a4 [packages] php5: upgrade to 5.3.10, fixes CVE-2012-0830
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-06 20:53:58 +00:00
acinonyx
6dd32a3202 [packages] php5: Don't fail on non-existing file removal
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 13:09:37 +00:00
mhei
eb8d4c7326 [packages] php5: update to 5.3.9
Refresh patches accordingly.



git-svn-id: svn://svn.openwrt.org/openwrt/packages@29752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 23:00:00 +00:00
mhei
1589896b6d [packages] php5: add mysqli module
Oliver, thanks for the patch (#10646)



git-svn-id: svn://svn.openwrt.org/openwrt/packages@29591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-20 20:00:45 +00:00
mhei
6201d0781d [packages] php5: introduce infrastructure for pecl packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-09 20:07:59 +00:00
mhei
19a1fcfed9 [packages] php5: fix dependency of php5-mod-zip
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-09 20:03:24 +00:00
dingo
aa5e8d5763 [patch-team] php5: add mod-zip - Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz at gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 20:51:53 +00:00
mhei
02db280d10 [packages] php5: cleanup fastcgi package
- use new service functions
- introduce uci config
- rename initscript



git-svn-id: svn://svn.openwrt.org/openwrt/packages@29265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 21:08:18 +00:00
mhei
191acad832 [packages] php5: don't hide modules which are depended from other options,
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
2011-10-21 21:12:24 +00:00
mhei
fa6babaaad [packages] php5: Introduce conditional dependencies
Thanks jow for the suggestion.



git-svn-id: svn://svn.openwrt.org/openwrt/packages@28509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 20:58:46 +00:00
mhei
34410a6dec [packages] php5: Rework/fix config var handlin when built in SDK
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 20:56:04 +00:00
mhei
9fa6d05c32 [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
2011-10-19 19:23:51 +00:00
mhei
0d4ef37862 [packages] php5: upgrade to 5.3.8 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-30 19:45:14 +00:00
mhei
a1bbc6469b [packages] php5: PECL: include support for http
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 19:43:23 +00:00
mhei
13b04fe9b7 [packages] php5: fix dependencies for apc and sqlite3 (closes #9368)
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
2011-07-30 08:21:58 +00:00
mhei
495b7fe03c [packages] php5: PECL: include support for libevent
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-30 06:38:53 +00:00
mhei
0b516de46e [packages] php5: fix compile with older gcc
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
2011-07-29 21:59:03 +00:00
mhei
57b99a087c [packages] php5: add PECL dio extension
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27 22:18:29 +00:00
mhei
84510bbd1a [packages] php5: fix cross compiling issue with -ldl
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
2011-07-24 22:21:34 +00:00
mhei
c6308bae9c [packages] php5: fix build on backfire (membar_producer link error, closes #9379)
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
2011-05-21 06:57:57 +00:00
mhei
50b4797890 [packages] php5: add gettext module
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 19:02:24 +00:00
mhei
962d5eb90a [packages] php5: fix build and package dependencies
- fix PKG_BUILD_DEPENDS (should finally close #9196)
- correct package dependency spec as suggested by jow (refs #9368)



git-svn-id: svn://svn.openwrt.org/openwrt/packages@26870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-10 21:10:16 +00:00
mhei
e7c4e98101 [packages] php5: add missing $ sign (fixes #9264)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 09:00:57 +00:00
mhei
05d26d5db1 [packages] php5: Rework and simplify makefile (#9196)
- 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
2011-05-04 18:34:27 +00:00
mhei
55671220de [packages] php5: fix APC support
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
2011-05-04 18:27:36 +00:00
mhei
e36068489e [packages] php5: whitespace fixes only
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 18:24:15 +00:00
mhei
495478d009 [packages] php5: remove obsolete patch after update to 5.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 19:30:27 +00:00
mhei
4993b49dee [packages] php5: update to 5.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 19:29:39 +00:00
mhei
62bbaa26ba [packages] php5: fix typo for package description
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 19:27:16 +00:00
mhei
6a8bf15ed7 [packages] php5: add maintainer details
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 19:23:54 +00:00
florian
aeaf1b9c3d [package] php5: Fix build when simplexml is selected (#7758)
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
2011-03-28 21:22:32 +00:00
florian
018d2eb264 [package] php5: add missing dependency on libsqlite3/libpthread (#7224)
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
2011-02-23 22:24:39 +00:00
florian
55beb6aa52 [package] php5: first steps to simplify the Makefile
- 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
2011-02-23 22:24:30 +00:00
jow
21acab845d [packages] php5: add upstream fix for "php_crypt_r.c:(.text+0x5a8): undefined reference to `membar_producer'"
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 01:36:26 +00:00
jow
d3a7097b71 [packages] make libintl and libiconv stub/full implementations switchable, use the new include/nls.mk infrastructure for it
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 18:54:24 +00:00
hauke
00116b4ac8 php5: update version to 5.3.4
* fix build with libiconv
* update apc extension


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:54:35 +00:00
jow
d67f55470f [packages] php5: don't autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 20:18:38 +00:00
florian
cfc65b7052 [package] make initscript of fastcgi-php to use /etc/rc.common
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
2010-10-24 13:20:30 +00:00
jow
9b33ba0b6b [PATCH] php5: Php's sqlite3 module needs to be explicite linked to -lpthread with uClibc.
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
2010-10-22 16:47:43 +00:00
mb
74ccdf0185 php5: Enable parallel build (patch by loswillios)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-09 16:49:03 +00:00
jow
826418ea83 [packages] php5: predefine target endianess (#4560)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-12 00:14:50 +00:00
lars
670b3b177d [packages] Add missing libtool fixups
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 00:14:01 +00:00
jow
fefbbfcbf0 [packages] php5 (#6559)
- 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
2010-01-24 01:35:17 +00:00
jow
590605dfa3 [PATCH 4/4] packages/lang/php5: Cleanup php.ini
Cleanup php.ini by removing dropped config items.
Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 01:21:11 +00:00