summaryrefslogtreecommitdiffstats
path: root/package/php/Config.ext
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-21 01:17:54 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-21 13:30:52 +0200
commitaeb9350cfbd2f4675f0d095394660cc0c2cc0d7b (patch)
tree48a3dca4d60ecf863fb04e5eb322af8f6f216451 /package/php/Config.ext
parent360f0e40f0725bb1b195737a3f7b0b56ba3087b3 (diff)
downloadbuildroot-novena-aeb9350cfbd2f4675f0d095394660cc0c2cc0d7b.tar.gz
buildroot-novena-aeb9350cfbd2f4675f0d095394660cc0c2cc0d7b.zip
php: security bump to version 5.3.13 and enhance
Bump php to version 5.3.13 to solve multiple CVEs. The 5.2 series is no longer maintained. The PCRE and SPL extensions are no longer optional. Reflection is no longer optional either. Ncurses was spun out to PECL. Add a ton of new extensions and give more granular options on others (like the libxml2-based ones). The FastCGI option no longer exists, it's always on as long as CGI is. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/php/Config.ext')
-rw-r--r--package/php/Config.ext355
1 files changed, 256 insertions, 99 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index bd630eeb6..fa73bb4de 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -1,28 +1,21 @@
-menu "PHP Extensions"
+menu "Extensions"
-config BR2_PACKAGE_PHP_CONFIG
- string "PHP configuration file to use"
- default "$(PHP_DIR)/php.ini-dist"
- help
- If you want to use a different php.ini file define it here.
- Otherwise it'll just copy the default php.ini-dist from PHP.
-
-config BR2_PACKAGE_PHP_EXT_SOCKETS
- bool "socket"
+config BR2_PACKAGE_PHP_EXT_CALENDAR
+ bool "Calendar"
help
- Sockets support
+ Calendar and event support
-config BR2_PACKAGE_PHP_EXT_POSIX
- bool "posix"
- default y
+config BR2_PACKAGE_PHP_EXT_FILEINFO
+ bool "Fileinfo"
help
- POSIX support
+ File Information support
-config BR2_PACKAGE_PHP_EXT_SPL
- bool "SPL"
- default y
+config BR2_PACKAGE_PHP_EXT_READLINE
+ bool "Readline"
+ select BR2_PACKAGE_NCURSES
+ select BR2_PACKAGE_READLINE
help
- Standard PHP library support
+ Readline support
config BR2_PACKAGE_PHP_EXT_SESSION
bool "Session"
@@ -30,156 +23,320 @@ config BR2_PACKAGE_PHP_EXT_SESSION
help
Session support
+comment "Compression extensions"
+
+config BR2_PACKAGE_PHP_EXT_BZIP2
+ bool "bzip2"
+ select BR2_PACKAGE_BZIP2
+ help
+ bzip2 read/write support
+
+config BR2_PACKAGE_PHP_EXT_ZIP
+ bool "zip"
+ select BR2_PACKAGE_ZLIB
+ help
+ Zip read/write support
+
+config BR2_PACKAGE_PHP_EXT_ZLIB
+ bool "zlib"
+ select BR2_PACKAGE_ZLIB
+ default y
+ help
+ zlib support
+
+comment "Cryptography extensions"
+
+config BR2_PACKAGE_PHP_EXT_HASH
+ bool "hash"
+ help
+ HASH message digest framework
+
config BR2_PACKAGE_PHP_EXT_OPENSSL
bool "openssl"
select BR2_PACKAGE_OPENSSL
help
openssl support
-config BR2_PACKAGE_PHP_EXT_LIBXML2
- bool "xml2"
- select BR2_PACKAGE_LIBXML2
+comment "Database extensions"
+
+config BR2_PACKAGE_PHP_EXT_DBA
+ bool "DBA"
help
- libxml2 support
+ Database Abstraction Layer
-config BR2_PACKAGE_PHP_EXT_SIMPLEXML
- bool "simplexml"
- select BR2_PACKAGE_PHP_EXT_LIBXML2
+if BR2_PACKAGE_PHP_EXT_DBA
+
+config BR2_PACKAGE_PHP_EXT_DBA_CDB
+ bool "cdb"
help
- SimpleXML support
+ CDB handler
-config BR2_PACKAGE_PHP_EXT_ZLIB
- bool "zlib"
- select BR2_PACKAGE_ZLIB
- default y
- help
- zlib support
+config BR2_PACKAGE_PHP_EXT_DBA_DB4
+ bool "db4/5"
+ select BR2_PACKAGE_BERKELEYDB
+ help
+ BerkeleyDB version 4/5 handler
-config BR2_PACKAGE_PHP_EXT_EXIF
- bool "EXIF"
+config BR2_PACKAGE_PHP_EXT_DBA_FLAT
+ bool "flat"
+ default y
help
- EXIF support
+ Flat file handler
-config BR2_PACKAGE_PHP_EXT_FTP
- bool "FTP"
+config BR2_PACKAGE_PHP_EXT_DBA_INI
+ bool "ini"
+ default y
+ help
+ INI file handler
+
+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
+ select BR2_PACKAGE_MYSQL_CLIENT
+ help
+ MySQL support
+
+config BR2_PACKAGE_PHP_EXT_MYSQLI
+ bool "Mysqli"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_MYSQL_CLIENT
+ select BR2_PACKAGE_PHP_EXT_MYSQL
+ help
+ MySQL Improved extension support
+
+config BR2_PACKAGE_PHP_EXT_PDO
+ bool "PDO"
+ help
+ PHP Data Objects support
+
+if BR2_PACKAGE_PHP_EXT_PDO
+
+config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
+ bool "MySQL"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_MYSQL_CLIENT
+ help
+ PDO driver for MySQL
+
+comment "MySQL drivers require a toolchain with C++ support"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
+ bool "SQLite3"
+ select BR2_PACKAGE_SQLITE
help
- FTP Support
+ SQLite3 driver for PDO
+
+endif
+
+comment "Human language and character encoding support"
config BR2_PACKAGE_PHP_EXT_GETTEXT
- bool "gettext"
+ bool "Gettext"
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
depends on BR2_USE_WCHAR
help
- gettext support
+ Gettext support
-comment "gettext support requires a toolchain with WCHAR support"
+comment "Gettext support requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
+config BR2_PACKAGE_PHP_EXT_ICONV
+ bool "iconv"
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ help
+ iconv character set conversion support
+
+config BR2_PACKAGE_PHP_EXT_INTL
+ bool "intl"
+ select BR2_PACKAGE_ICU
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
+ help
+ Internationalization support
+
+comment "intl support requires a toolchain with C++ and WCHAR support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+
+comment "Image processing"
+
+config BR2_PACKAGE_PHP_EXT_EXIF
+ bool "EXIF"
+ help
+ EXIF support
+
+comment "Mathematical extensions"
+
+config BR2_PACKAGE_PHP_EXT_BCMATH
+ bool "BC math"
+ help
+ BCMath arbitrary precision mathematics support
+
config BR2_PACKAGE_PHP_EXT_GMP
- bool "gmp"
+ bool "GMP"
select BR2_PACKAGE_GMP
help
- GMP support
+ GNU Multiple Precision support
+
+comment "Other basic extensions"
config BR2_PACKAGE_PHP_EXT_JSON
bool "JSON"
help
JavaScript Object Serialization support
-config BR2_PACKAGE_PHP_EXT_READLINE
- bool "readline"
- depends on (BR2_PACKAGE_PHP_CLI || BR2_PACKAGE_PHP_CGI) && BR2_PACKAGE_READLINE
+config BR2_PACKAGE_PHP_EXT_TOKENIZER
+ bool "Tokenizer"
+ help
+ Tokenizer functions support
+
+comment "Other services"
+
+config BR2_PACKAGE_PHP_EXT_CURL
+ bool "cURL"
+ select BR2_PACKAGE_LIBCURL
+ help
+ cURL for URL streams
+
+config BR2_PACKAGE_PHP_EXT_FTP
+ bool "FTP"
help
- readline support
+ FTP support
-config BR2_PACKAGE_PHP_EXT_NCURSES
- bool "ncurses"
- depends on (BR2_PACKAGE_PHP_CLI || BR2_PACKAGE_PHP_CGI) && BR2_PACKAGE_NCURSES
+config BR2_PACKAGE_PHP_EXT_SNMP
+ bool "SNMP"
+ select BR2_PACKAGE_NETSNMP
help
- ncurses support
+ SNMP support
-config BR2_PACKAGE_PHP_EXT_PCRE
- bool "PCRE"
+config BR2_PACKAGE_PHP_EXT_SOCKETS
+ bool "sockets"
help
- Perl Compatible Regular Expressions support
+ Sockets support
+
+comment "Process Control"
config BR2_PACKAGE_PHP_EXT_PCNTL
bool "PCNTL"
help
- Process Control Support
+ Process control support
+
+config BR2_PACKAGE_PHP_EXT_POSIX
+ bool "Posix"
+ default y
+ help
+ POSIX.1 (IEEE 1003.1) function support
+
+config BR2_PACKAGE_PHP_EXT_SHMOP
+ bool "shmop"
+ help
+ Shared memory support
config BR2_PACKAGE_PHP_EXT_SYSVMSG
- bool "sysvmsg - System V Message queue"
+ bool "sysvmsg"
help
- System V Message queue support
+ System V message queue support
config BR2_PACKAGE_PHP_EXT_SYSVSEM
- bool "sysvsem - System V Semaphores"
+ bool "sysvsem"
help
- System V Sempahore support
+ System V semaphore support
config BR2_PACKAGE_PHP_EXT_SYSVSHM
- bool "sysvshm - System V Shared memory"
+ bool "sysvshm"
help
- System V Shared memory support
+ System V shared memory support
-config BR2_PACKAGE_PHP_EXT_ZIP
- bool "zip"
- select BR2_PACKAGE_ZLIB
+comment "Variable and Type related"
+
+config BR2_PACKAGE_PHP_EXT_CTYPE
+ bool "Ctype"
help
- Zip read/write support
+ Character type checking support
config BR2_PACKAGE_PHP_EXT_FILTER
- bool "filter"
- select BR2_PACKAGE_PHP_EXT_PCRE
+ bool "Filter"
help
Input filter support
-config BR2_PACKAGE_PHP_EXT_CALENDAR
- bool "calendar"
+comment "Web services"
+
+config BR2_PACKAGE_PHP_EXT_SOAP
+ bool "SOAP"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- Calendar and event support
+ SOAP support
-comment "Database extensions"
+config BR2_PACKAGE_PHP_EXT_XMLRPC
+ bool "XML-RPC"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ help
+ XML-RPC support
-config BR2_PACKAGE_PHP_EXT_SQLITE
- bool "SQLite"
+comment "XML manipulation"
+
+config BR2_PACKAGE_PHP_EXT_DOM
+ bool "DOM"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- Legacy SQLite2 support
+ Document Object Model support
-config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
- bool "sqlite UTF8 support"
- depends on BR2_PACKAGE_PHP_EXT_SQLITE
+config BR2_PACKAGE_PHP_EXT_LIBXML2
+ bool "libxml"
+ select BR2_PACKAGE_LIBXML2
+ help
+ libxml2 support
+
+config BR2_PACKAGE_PHP_EXT_SIMPLEXML
+ bool "SimpleXML"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- UTF8 Support for sqlite
+ SimpleXML support
-config BR2_PACKAGE_PHP_EXT_PDO
- bool "PDO"
+config BR2_PACKAGE_PHP_EXT_WDDX
+ bool "WDDX"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- PHP Data Objects support
+ WDDX support
-config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
- bool "PDO_SQLite"
- depends on BR2_PACKAGE_PHP_EXT_PDO
+config BR2_PACKAGE_PHP_EXT_XML
+ bool "XML Parser"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- SQLite driver for PDO
+ XML Parser support
-config BR2_PACKAGE_PHP_EXT_PDO_SQLITE_EXTERNAL
- bool "PDO_SQLite external"
- depends on BR2_PACKAGE_PHP_EXT_PDO_SQLITE
- select BR2_PACKAGE_SQLITE
+config BR2_PACKAGE_PHP_EXT_XMLREADER
+ bool "XMLReader"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- Use external sqlite3 library
+ XMLReader support
-config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
- bool "PDO_MySQL"
- depends on BR2_PACKAGE_PHP_EXT_PDO
- depends on BR2_INSTALL_LIBSTDCPP
- select BR2_PACKAGE_MYSQL_CLIENT
+config BR2_PACKAGE_PHP_EXT_XMLWRITER
+ bool "XMLWriter"
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
help
- PDO driver for MySQL
+ XMLWriter support
-comment "PDO_MySQL requires a toolchain with C++ support"
- depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_PHP_EXT_PDO
+config BR2_PACKAGE_PHP_EXT_XSL
+ bool "XSL"
+ select BR2_PACKAGE_PHP_EXT_DOM
+ select BR2_PACKAGE_PHP_EXT_LIBXML2
+ select BR2_PACKAGE_LIBXSLT
+ help
+ XSL transformation support
endmenu