* [Buildroot] [PATCH] php: bump to version 5.5.6
@ 2013-12-08 18:55 Gustavo Zacarias
2013-12-08 19:12 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2013-12-08 18:55 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/php/Config.ext | 14 +++-----------
package/php/php.mk | 14 ++------------
2 files changed, 5 insertions(+), 23 deletions(-)
diff --git a/package/php/Config.ext b/package/php/Config.ext
index 23d2306..ff41b42 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -91,17 +91,6 @@ config BR2_PACKAGE_PHP_EXT_DBA_INI
endif
-config BR2_PACKAGE_PHP_EXT_SQLITE
- bool "SQLite"
- help
- Legacy SQLite2 support
-
-config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
- bool "sqlite UTF8 support"
- depends on BR2_PACKAGE_PHP_EXT_SQLITE
- help
- UTF8 support for sqlite
-
config BR2_PACKAGE_PHP_EXT_MYSQL
bool "Mysql"
depends on BR2_INSTALL_LIBSTDCPP
@@ -227,6 +216,7 @@ config BR2_PACKAGE_PHP_EXT_FTP
config BR2_PACKAGE_PHP_EXT_SNMP
bool "SNMP"
+ depends on BR2_USE_MMU # netsnmp fork()
select BR2_PACKAGE_NETSNMP
select BR2_PACKAGE_NETSNMP_ENABLE_MIBS
help
@@ -234,6 +224,7 @@ config BR2_PACKAGE_PHP_EXT_SNMP
config BR2_PACKAGE_PHP_EXT_SOCKETS
bool "sockets"
+ depends on BR2_INET_IPV6
help
Sockets support
@@ -241,6 +232,7 @@ comment "Process Control"
config BR2_PACKAGE_PHP_EXT_PCNTL
bool "PCNTL"
+ depends on BR2_USE_MMU # fork()
help
Process control support
diff --git a/package/php/php.mk b/package/php/php.mk
index 3e284f2..8b4a727 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -4,12 +4,13 @@
#
################################################################################
-PHP_VERSION = 5.3.27
+PHP_VERSION = 5.5.6
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
PHP_SITE = http://www.php.net/distributions
PHP_INSTALL_STAGING = YES
PHP_INSTALL_STAGING_OPT = INSTALL_ROOT=$(STAGING_DIR) install
PHP_INSTALL_TARGET_OPT = INSTALL_ROOT=$(TARGET_DIR) install
+PHP_DEPENDENCIES = host-pkgconf
PHP_LICENSE = PHP
PHP_LICENSE_FILES = LICENSE
PHP_CONF_OPT = --mandir=/usr/share/man \
@@ -125,17 +126,6 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_READLINE),y)
PHP_DEPENDENCIES += readline
endif
-### Legacy sqlite2 support
-ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
- PHP_CONF_OPT += --with-sqlite
-ifneq ($(BR2_LARGEFILE),y)
- PHP_CFLAGS += -DSQLITE_DISABLE_LFS
-endif
-ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE_UTF8),y)
- PHP_CONF_OPT += --enable-sqlite-utf8
-endif
-endif
-
### Native MySQL extensions
ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQL),y)
PHP_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
--
1.8.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] php: bump to version 5.5.6
2013-12-08 18:55 [Buildroot] [PATCH] php: bump to version 5.5.6 Gustavo Zacarias
@ 2013-12-08 19:12 ` Thomas Petazzoni
2013-12-08 19:25 ` Gustavo Zacarias
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-12-08 19:12 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Sun, 8 Dec 2013 15:55:34 -0300, Gustavo Zacarias wrote:
> -config BR2_PACKAGE_PHP_EXT_SQLITE
> - bool "SQLite"
> - help
> - Legacy SQLite2 support
> -
> -config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
> - bool "sqlite UTF8 support"
> - depends on BR2_PACKAGE_PHP_EXT_SQLITE
> - help
> - UTF8 support for sqlite
Config.in.legacy maybe?
> config BR2_PACKAGE_PHP_EXT_MYSQL
> bool "Mysql"
> depends on BR2_INSTALL_LIBSTDCPP
> @@ -227,6 +216,7 @@ config BR2_PACKAGE_PHP_EXT_FTP
>
> config BR2_PACKAGE_PHP_EXT_SNMP
> bool "SNMP"
> + depends on BR2_USE_MMU # netsnmp fork()
> select BR2_PACKAGE_NETSNMP
> select BR2_PACKAGE_NETSNMP_ENABLE_MIBS
> help
> @@ -234,6 +224,7 @@ config BR2_PACKAGE_PHP_EXT_SNMP
>
> config BR2_PACKAGE_PHP_EXT_SOCKETS
> bool "sockets"
> + depends on BR2_INET_IPV6
> help
> Sockets support
New comment ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] php: bump to version 5.5.6
2013-12-08 19:12 ` Thomas Petazzoni
@ 2013-12-08 19:25 ` Gustavo Zacarias
2013-12-08 20:52 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2013-12-08 19:25 UTC (permalink / raw)
To: buildroot
On 12/08/2013 04:12 PM, Thomas Petazzoni wrote:
>> -config BR2_PACKAGE_PHP_EXT_SQLITE
>> - bool "SQLite"
>> - help
>> - Legacy SQLite2 support
>> -
>> -config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
>> - bool "sqlite UTF8 support"
>> - depends on BR2_PACKAGE_PHP_EXT_SQLITE
>> - help
>> - UTF8 support for sqlite
>
> Config.in.legacy maybe?
That's a language extension/construct that's been thrown out.
Unfortunately there are other builtins that aren't options that suffer
the same fate, so anyone migrating code from an older php series will
have to check/adapt their code as usual, i don't see much point in just
warning the user for a rarely used extension.
I think it'll just give the impression that everything else is the same
and it's not.
They'll have to read http://www.php.net/migration55 and
http://www.php.net/migration54 and check their code anyway (where it's
already mentioned).
>> config BR2_PACKAGE_PHP_EXT_SOCKETS
>> bool "sockets"
>> + depends on BR2_INET_IPV6
>> help
>> Sockets support
>
> New comment ?
True, i'll fix it in v2.
Regards.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] php: bump to version 5.5.6
2013-12-08 19:25 ` Gustavo Zacarias
@ 2013-12-08 20:52 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-12-08 20:52 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Sun, 08 Dec 2013 16:25:08 -0300, Gustavo Zacarias wrote:
> That's a language extension/construct that's been thrown out.
> Unfortunately there are other builtins that aren't options that suffer
> the same fate, so anyone migrating code from an older php series will
> have to check/adapt their code as usual, i don't see much point in just
> warning the user for a rarely used extension.
> I think it'll just give the impression that everything else is the same
> and it's not.
> They'll have to read http://www.php.net/migration55 and
> http://www.php.net/migration54 and check their code anyway (where it's
> already mentioned).
Ok, true, I understand the idea.
> > New comment ?
>
> True, i'll fix it in v2.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-08 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-08 18:55 [Buildroot] [PATCH] php: bump to version 5.5.6 Gustavo Zacarias
2013-12-08 19:12 ` Thomas Petazzoni
2013-12-08 19:25 ` Gustavo Zacarias
2013-12-08 20:52 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox