diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-07-28 11:06:22 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-07-28 14:47:52 +0200 |
commit | f356f581e17a9474bdc01dbe3907f96558101609 (patch) | |
tree | 86812776de2ef760fcbdfb7c190ea32b2f4fcf37 | |
parent | a13166294bc8ce59882672fcb3e265f1f92c5fc2 (diff) | |
download | ptxdist-f356f581e17a9474bdc01dbe3907f96558101609.tar.gz ptxdist-f356f581e17a9474bdc01dbe3907f96558101609.tar.xz |
php5: remove old package
It has been in staging for more than one year.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/cups.in | 5 | ||||
-rw-r--r-- | rules/lighttpd.in | 6 | ||||
-rw-r--r-- | rules/php5.in | 300 | ||||
-rw-r--r-- | rules/php5.make | 302 |
4 files changed, 2 insertions, 611 deletions
diff --git a/rules/cups.in b/rules/cups.in index c8f3a0ffa..6b65d0708 100644 --- a/rules/cups.in +++ b/rules/cups.in @@ -19,9 +19,6 @@ menuconfig CUPS select AVAHI if CUPS_AVAHI select AVAHI_LIBAVAHI_CLIENT if CUPS_AVAHI select PERL if CUPS_PERL && RUNTIME - select PHP5 if CUPS_PHP && RUNTIME - select PHP5_SAPI_CLI if CUPS_PHP5_CLI && RUNTIME - select PHP5_SAPI_CGI if CUPS_PHP5_CGI && RUNTIME select PYTHON if CUPS_PYTHON && CUPS_PYTHON2 && RUNTIME select PYTHON3 if CUPS_PYTHON && CUPS_PYTHON3 && RUNTIME @@ -60,7 +57,7 @@ config CUPS_PERL bool "enable Perl support for web interface" config CUPS_PHP - depends on STAGING + depends on BROKEN bool "enable PHP support for web interface" if CUPS_PHP diff --git a/rules/lighttpd.in b/rules/lighttpd.in index 3ad8524b4..1f853c7fd 100644 --- a/rules/lighttpd.in +++ b/rules/lighttpd.in @@ -18,7 +18,6 @@ menuconfig LIGHTTPD select LIBMEMCACHED if LIGHTTPD_MEMCACHED select LUA if LIGHTTPD_LUA select LUA_INSTALL_LIBLUA if LIGHTTPD_LUA - select PHP5 if LIGHTTPD_MOD_FASTCGI_PHP && RUNTIME select BUSYBOX_START_STOP_DAEMON if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS if LIGHTTPD_STARTSCRIPT @@ -147,15 +146,12 @@ if LIGHTTPD_MOD_FASTCGI config LIGHTTPD_MOD_FASTCGI_PHP bool - depends on STAGING + depends on BROKEN prompt "setup php handling with fastcgi" help Enables the necessary packages and configuration files to enable PHP support in lighttpd -comment "PHP CGI SAPI must be enabled" - depends on LIGHTTPD_MOD_FASTCGI_PHP && !PHP5_SAPI_CGI - endif config LIGHTTPD_MOD_MAGNET diff --git a/rules/php5.in b/rules/php5.in deleted file mode 100644 index f937f4e6b..000000000 --- a/rules/php5.in +++ /dev/null @@ -1,300 +0,0 @@ -## SECTION=staging -## old section: -### SECTION=scripting_languages -# php5 configuration - -menuconfig PHP5 - tristate - prompt "php5 " - select LIBCURL if PHP5_EXT_CURL - select LIBXML2 if PHP5_XML_LIBXML2 - select LIBXML2_C14N if PHP5_XML_LIBXML2 - select LIBXML2_DTD if PHP5_XML_LIBXML2 - select LIBXML2_XINCLUDE if PHP5_XML_LIBXML2 - select LIBXML2_READER if PHP5_XML_LIBXML2_READER - select LIBXML2_WRITER if PHP5_XML_LIBXML2_WRITER - select LIBXSLT if PHP5_XML_LIBXML2_XSLT - select MYSQLDB if PHP5_EXT_MYSQL - select PHP5_XML if PHP5_EXT_SOAP - select SQLITE if PHP5_EXT_SQLITE3 - select ZLIB if PHP5_EXT_ZLIB - select OPENSSL if PHP5_EXT_OPENSSL - help - STAGING: remove in ptxdist-2021.05.0 - Old version that need to be updated. Fails to build with gcc >= 9.x on - on some architectures (AArch64). - -if PHP5 - -config PHP5_INI - bool - prompt "install /etc/php5/php.ini" - default y - help - Installs (if present) the - "./projectroot/etc/php5/php.ini" file from your - workspace, otherwise a generic one from the ptxdist - directory. - -# ---------------------------------------------------------------------------- -# SAPI Modules -# ---------------------------------------------------------------------------- - -choice - prompt "SAPI Module" - default PHP5_SAPI_NONE - -config PHP5_SAPI_AOLSERVER - bool - prompt "aolserver" - depends on BROKEN - help - Use AOLserver. - -config PHP5_SAPI_APXS2FILTER - bool - # needs apache - depends on BROKEN - prompt "apxs2filter" - help - EXPERIMENTAL: Build shared Apache 2.0 Filter module. FILE is the optional - pathname to the Apache apxs tool [apxs] - -config PHP5_SAPI_APXS2 - bool - # needs apache - depends on BROKEN - prompt "apache mod_php (apxs2)" - help - Build shared Apache 2.0 Handler module. - -config PHP5_SAPI_CAUDIUM - bool - prompt "caudium" - depends on BROKEN - help - Build PHP as a Pike module for use with Caudium. - -config PHP5_SAPI_CONTINUITY - bool - prompt "continuity" - depends on BROKEN - help - Build PHP as Continuity Server module. - -config PHP5_SAPI_EMBEDDED - bool - prompt "embedded" - help - Enable building of embedded SAPI library. - -config PHP5_SAPI_ISAPI - bool - prompt "isapi" - depends on BROKEN - help - Build PHP as an ISAPI module for use with Zeus - -config PHP5_SAPI_MILTER - bool - prompt "milter" - depends on BROKEN - help - Build PHP as Milter application. - -config PHP5_SAPI_NSAPI - bool - prompt "nsapi" - depends on BROKEN - help - Build PHP as NSAPI module for Netscape/iPlanet/SunONE. - -config PHP5_SAPI_PHTTPD - bool - prompt "phttpd" - depends on BROKEN - help - Build PHP as phttpd module. - -config PHP5_SAPI_PI3WEB - bool - prompt "pi3web" - depends on BROKEN - help - Build PHP as Pi3Web module - -config PHP5_SAPI_ROXEN - bool - prompt "roxen" - depends on BROKEN - help - Build PHP as a Pike module. DIR is the base Roxen - -config PHP5_SAPI_ROXEN_ZTS - bool - prompt "roxen-zts" - depends on BROKEN - help - Build the Roxen module using Zend Thread Safety. - -config PHP5_SAPI_THTTPD - bool - prompt "thttpd" - depends on BROKEN - help - Build PHP as thttpd module - -config PHP5_SAPI_TUX - bool - prompt "tux" - depends on BROKEN - help - Build PHP as a TUX module. - -config PHP5_SAPI_WEBJAMES - bool - prompt "webjames" - depends on BROKEN - help - Build PHP as a WebJames module (RISC OS only). - -config PHP5_SAPI_CGI - bool - prompt "cgi" - help - Build CGI version of PHP. - -config PHP5_SAPI_NONE - bool - prompt "none" - select PHP5_SAPI_CLI - -endchoice - -config PHP5_SAPI_CLI - bool - prompt "cli" - help - Build CLI (commandline interface) version of PHP - -# ---------------------------------------------------------------------------- -# General Settings -# ---------------------------------------------------------------------------- - -menuconfig PHP5_XML - bool - prompt "xml support " - help - Support for XML. - -if PHP5_XML - -choice - prompt "xml library" - - config PHP5_XML_LIBXML2 - bool "libxml2" - help - Use libxml2 as xml backend. -endchoice - -if PHP5_XML_LIBXML2 - -config PHP5_XML_LIBXML2_READER - bool - prompt "xml reader support" - help - XMLReader support - -config PHP5_XML_LIBXML2_WRITER - bool - select LIBXML2_WRITER - prompt "xml writer support" - help - XMLWriter support - -config PHP5_XML_LIBXML2_DOM - bool - select LIBXML2_DOM - prompt "DOM support" - help - libxml2 DOM support - -config PHP5_XML_LIBXML2_XSLT - bool - select PHP5_XML_LIBXML2_DOM - prompt "xslt support" - help - XMLWriter support - -config PHP5_XML_LIBXML2_SIMPLEXML - bool - prompt "simple xml support" - help - simple xml support - -endif # PHP5_XML_LIBXML2 - -endif # PHP5_XML - -# ---------------------------------------------------------------------------- -# Extensions -# ---------------------------------------------------------------------------- - -menu "Extensions " - -config PHP5_EXT_CURL - bool - prompt "curl" - help - Enable CURL support for PHP. - -config PHP5_EXT_MYSQL - bool - prompt "mysql" - help - Enable MySQL database support for PHP. - -config PHP5_EXT_SOAP - bool - prompt "soap" - select PHP5_XML - help - Enable SOAP support for PHP. - -config PHP5_EXT_SOCKETS - bool - prompt "sockets" - help - Enable sockets support for PHP. - -config PHP5_EXT_SQLITE3 - bool - prompt "sqlite3" - help - Enable sqlite3 support for PHP. - -config PHP5_EXT_ZLIB - bool - prompt "zlib" - help - Enable zlib support for PHP. - -config PHP5_EXT_OPENSSL - bool - # Fails to build with OpenSSL 1.1.x - depends on BROKEN - prompt "openssl" - help - Enable openssl support for PHP. - -config PHP5_EXT_PEAR - bool - prompt "pear [BROKEN]" - depends on BROKEN - help - pear - -endmenu - -endif diff --git a/rules/php5.make b/rules/php5.make deleted file mode 100644 index f8d58887f..000000000 --- a/rules/php5.make +++ /dev/null @@ -1,302 +0,0 @@ -# -*-makefile-*- -# -# Copyright (C) 2006-2008 by Robert Schwebel -# 2009, 2012 by Marc Kleine-Budde <mkl@pengutronix.de> -# 2015 by Bruno Thomsen <bth@kamstrup.com> -# -# For further information about the PTXdist project and license conditions -# see the README file. -# - -# -# We provide this package -# -PACKAGES-$(PTXCONF_PHP5) += php5 - -# -# Paths and names -# -PHP5_VERSION := 5.6.40 -PHP5_MD5 := c7dde3afb16ce7b761abf2805125d372 -PHP5 := php-$(PHP5_VERSION) -PHP5_SUFFIX := tar.xz -PHP5_SOURCE := $(SRCDIR)/$(PHP5).$(PHP5_SUFFIX) -PHP5_DIR := $(BUILDDIR)/$(PHP5) - -# -# Note: older releases are moved to the 'museum', but the 'de.php.net' -# response with a HTML file instead of the archive. So, try the 'museum' -# URL first -# -PHP5_URL := \ - http://museum.php.net/php5/$(PHP5).$(PHP5_SUFFIX) \ - http://de.php.net/distributions/$(PHP5).$(PHP5_SUFFIX) - -# ---------------------------------------------------------------------------- -# Prepare -# ---------------------------------------------------------------------------- - -PHP5_CONF_ENV := \ - $(CROSS_ENV) \ - ac_cv_prog_cc_cross=yes \ - ac_cv_c_bigendian_php=$(call ptx/yesno, PTXCONF_ENDIAN_BIG) - -# -# autoconf -# -PHP5_AUTOCONF := \ - $(CROSS_AUTOCONF_USR) \ - --disable-phar \ - --with-config-file-path=/etc/php5 \ - --enable-opcache=no \ - --disable-fileinfo \ - --without-xmlrpc \ - --without-iconv - -# FIXME: php5 doesn't interpret "with_foo=no" correctly, so we cannot -# give --without-foo options. Should be fixed in php5's configure.in. - -# ------------ -# SAPI Modules -# ------------ - -ifdef PTXCONF_PHP5_SAPI_AOLSERVER -PHP5_AUTOCONF += --with-aolserver=FIXME -else -PHP5_AUTOCONF += --without-aolserver -endif - -ifdef PTXCONF_PHP5_SAPI_APXS2FILTER -PHP5_AUTOCONF += --with-apxs2filter=$(PTXDIST_SYSROOT_TARGET)/usr/bin/apxs -else -#PHP5_AUTOCONF += --without-apxs2filter -endif - -ifdef PTXCONF_PHP5_SAPI_APXS2 -PHP5_AUTOCONF += --with-apxs2=$(PTXDIST_SYSROOT_TARGET)/usr/bin/apxs -else -# PHP5_AUTOCONF += --without-apxs2 -endif - -ifdef PTXCONF_PHP5_SAPI_CAUDIUM -PHP5_AUTOCONF += --with-caudium -else -# PHP5_AUTOCONF += --without-caudium -endif - -ifdef PTXCONF_PHP5_SAPI_CLI -PHP5_AUTOCONF += --enable-cli -else -PHP5_AUTOCONF += --disable-cli -endif - -ifdef PTXCONF_PHP5_SAPI_CONTINUITY -PHP5_AUTOCONF += --with-continuity -else -#PHP5_AUTOCONF += --without-continuity -endif - -ifdef PTXCONF_PHP5_SAPI_EMBEDDED -PHP5_AUTOCONF += --enable-embed -else -#PHP5_AUTOCONF += --disable-embed -endif - -ifdef PTXCONF_PHP5_SAPI_ISAPI -PHP5_AUTOCONF += --with-isapi -else -#PHP5_AUTOCONF += --without-isapi -endif - -ifdef PTXCONF_PHP5_SAPI_MILTER -PHP5_AUTOCONF += --with-milter -else -#PHP5_AUTOCONF += --without-milter -endif - -ifdef PTXCONF_PHP5_SAPI_NSAPI -PHP5_AUTOCONF += --with-nsapi -else -#PHP5_AUTOCONF += --without-nsapi -endif - -ifdef PTXCONF_PHP5_SAPI_PHTTPD -PHP5_AUTOCONF += --with-phttpd -else -#PHP5_AUTOCONF += --without-phttpd -endif - -ifdef PTXCONF_PHP5_SAPI_PI3WEB -PHP5_AUTOCONF += --with-pi3web -else -#PHP5_AUTOCONF += --without-pi3web -endif - -ifdef PTXCONF_PHP5_SAPI_ROXEN -PHP5_AUTOCONF += --with-roxen -else -#PHP5_AUTOCONF += --without-roxen -endif - -ifdef PTXCONF_PHP5_SAPI_ROXEN_ZTS -PHP5_AUTOCONF += --with-roxen-zts -else -#PHP5_AUTOCONF += --without-roxen-zts -endif - -ifdef PTXCONF_PHP5_SAPI_THTTPD -PHP5_AUTOCONF += --with-thttpd -else -#PHP5_AUTOCONF += --without-thttpd -endif - -ifdef PTXCONF_PHP5_SAPI_TUX -PHP5_AUTOCONF += --with-tux -else -#PHP5_AUTOCONF += --without-tux -endif - -ifdef PTXCONF_PHP5_SAPI_CGI -PHP5_AUTOCONF += --enable-cgi -else -PHP5_AUTOCONF += --disable-cgi -endif - -# --------------- -# General Options -# --------------- - -ifdef PTXCONF_PHP5_XML -PHP5_AUTOCONF += --enable-xml -else -PHP5_AUTOCONF += --disable-xml -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2 -PHP5_AUTOCONF += \ - --enable-libxml \ - --with-libxml-dir=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --disable-libxml -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2_READER -PHP5_AUTOCONF += --enable-xmlreader -else -PHP5_AUTOCONF += --disable-xmlreader -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2_WRITER -PHP5_AUTOCONF += --enable-xmlwriter -else -PHP5_AUTOCONF += --disable-xmlwriter -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2_DOM -PHP5_AUTOCONF += --enable-dom -else -PHP5_AUTOCONF += --disable-dom -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2_XSLT -PHP5_AUTOCONF += --with-xsl=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --without-xsl -endif - -ifdef PTXCONF_PHP5_XML_LIBXML2_SIMPLEXML -PHP5_AUTOCONF += --enable-simplexml -else -PHP5_AUTOCONF += --disable-simplexml -endif - -ifdef PTXCONF_PHP5_EXT_ZLIB -PHP5_AUTOCONF += --with-zlib=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --without-zlib -endif - -ifdef PTXCONF_PHP5_EXT_OPENSSL -PHP5_AUTOCONF += --with-openssl=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --without-openssl -endif - -ifdef PTXCONF_PHP5_EXT_CURL -PHP5_AUTOCONF += \ - --with-curl=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --without-curl -endif - -ifdef PTXCONF_PHP5_EXT_MYSQL -PHP5_AUTOCONF += \ - --with-mysql=$(SYSROOT)/usr \ - --with-pdo-mysql=$(SYSROOT)/usr -else -PHP5_AUTOCONF += --without-mysql -endif - -ifdef PTXCONF_PHP5_EXT_SOAP -PHP5_AUTOCONF += --enable-soap -else -PHP5_AUTOCONF += --disable-soap -endif - -ifdef PTXCONF_PHP5_EXT_SOCKETS -PHP5_AUTOCONF += --enable-sockets -else -PHP5_AUTOCONF += --disable-sockets -endif - -ifdef PTXCONF_PHP5_EXT_SQLITE3 -PHP5_AUTOCONF += --with-sqlite3=$(PTXDIST_SYSROOT_TARGET)/usr --with-pdo-sqlite -# broken config system: sqlite3 (local copy) uses it -# but it is only linked to if used by external dependencies -PHP5_CONF_ENV += PHP_LDFLAGS="-ldl -lpthread" -else -PHP5_AUTOCONF += --without-sqlite3 --without-pdo-sqlite -endif - -ifdef PTXCONF_PHP5_EXT_PEAR -PHP5_AUTOCONF += --with-pear=FIXME -else -PHP5_AUTOCONF += --without-pear -endif - -# ---------------------------------------------------------------------------- -# Target-Install -# ---------------------------------------------------------------------------- - -$(STATEDIR)/php5.targetinstall: - @$(call targetinfo) - - @$(call install_init, php5) - @$(call install_fixup, php5,PRIORITY,optional) - @$(call install_fixup, php5,SECTION,base) - @$(call install_fixup, php5,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") - @$(call install_fixup, php5,DESCRIPTION,missing) - -ifdef PTXCONF_PHP5_SAPI_APXS2 - @$(call install_copy, php5, 0, 0, 0644, -, \ - /usr/modules/libphp5.so) -endif - -ifdef PTXCONF_PHP5_SAPI_CLI - @$(call install_copy, php5, 0, 0, 0755, $(PHP5_PKGDIR)/usr/bin/php, \ - /usr/bin/php5) -endif - -ifdef PTXCONF_PHP5_SAPI_CGI - @$(call install_copy, php5, 0, 0, 0755, -, /usr/bin/php-cgi) -endif - -ifdef PTXCONF_PHP5_INI - @$(call install_alternative, php5, 0, 0, 0644, /etc/php5/php.ini) -endif - - @$(call install_finish, php5) - - @$(call touch) - -# vim: syntax=make |