57 Commits

Author SHA1 Message Date
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
jow
735f7264ca [PATCH 3/4] packages/lang/php5: Upgrade APC patch
This patch upgrades the APC module patch to version 3.1.3p1 with
support for php 5.3 branch.
Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 01:20:13 +00:00
jow
b121baf46c [PATCH 2/4] packages/lang/php5: Remove uts domain patch
This patch removes the domain name patch for the new php version 5.3.1 as
it doesn't apply anymore.
Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 01:09:20 +00:00
jow
74c87930e2 [PATCH 1/4] packages/lang/php5: Update to version 5.3.1
The following patchset upgrades the php5 package to php's 5.3 stable branch.
It removes the SPL build option as this is included in php's core henceforth, likewise
for pcre module. On the other hand a new option for SysV IPC is added and a package
for sqlite3 is introduced.
As FastCGI support is now a core feature the php5-fastcgi package now depends
on the php5-cgi package, containing just a link to the binary and the startup script.
The cross-compile patch is updated to fit the new version.
Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 01:08:54 +00:00
nbd
6cb49c75dd php5: replace empty packages with simple config variables
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 00:50:23 +00:00
florian
4de5143b4e [package] get the enable/disable ipv6 configure option from the build system, do not override it locally
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 11:57:29 +00:00
jow
5ca528d933 [PATCH] Support for SPL (Standard PHP Library)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:21:57 +00:00
nbd
996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00
florian
7d688d9ab9 Add php5-exif module (#4188), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-24 15:32:47 +00:00
matteo
7379ac6bf1 enable sqlite3 in php
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-30 12:24:26 +00:00
matteo
4b2f533af1 php5: update php5: fixes an annoyng bug:
PHP Fatal error:  Balloc() allocation exceeds list boundary


git-svn-id: svn://svn.openwrt.org/openwrt/packages@11128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-12 23:37:05 +00:00
pavlov
2f35c6369e update php-apc to 3.0.16, disable pthread mutex's as they are on by default now.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 17:30:17 +00:00
pavlov
5117dd0315 bump php5 to 5.2.5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 17:14:36 +00:00
nbd
39d6903cc6 add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-14 12:30:46 +00:00
nico
13200f5d44 move php related packages in a 'PHP' submenu, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 18:18:41 +00:00
olli
f99eeb71bc php5:
* Update 5.2.3 > 5.2.4
 * Minor Makefile cleanups
 * Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 10:57:31 +00:00
pavlov
90c8b53715 update to php 5.2.3, bugfixes and security fixes... note, the binaries have changed names slightly for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 19:08:20 +00:00
pavlov
c18969e590 add option to compile APC for php5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 16:35:41 +00:00
pavlov
14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00
pavlov
2a91f86517 fixes compile for ldap module in php5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 00:52:17 +00:00
pavlov
85116048da trivial update to eliminate the fuzz on the patch and update the file signature
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 02:02:32 +00:00