From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 20 Apr 2026 18:52:18 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wErr8-00EPcB-1z for lore@lore.pengutronix.de; Mon, 20 Apr 2026 18:52:18 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wErr8-0006OK-F6; Mon, 20 Apr 2026 18:52:18 +0200 Received: from mail.ela-soft.com ([213.23.49.162]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1wErqr-0006OA-Qr for ptxdist@pengutronix.de; Mon, 20 Apr 2026 18:52:02 +0200 Received: from tupai.ela-bln.local (tupai.ela-bln.local [10.0.1.140]) by mail.ela-soft.com (mailsystem) with ESMTP id EA68425D55 for ; Mon, 20 Apr 2026 18:52:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ela-soft.com; s=2021; t=1776703921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7+KN8Ljwv0k/xtSQkOqhpw+WJgQmAxzU+5sNhcS3qnQ=; b=OqCkkpBtwIItir5lxjcCql6RmyA4TtQELDGL/JVZvveu7M0GNAuHRs3sPLxViBU9kfDF0m u8IvQZUFiNuP9tIVdkiEHRnYW4xCVunZx31iVglY5Khn64/mVHUnOgwm3SZCYFyy3YGFoK Jkc2JByESG4bWQY2f0Hd/sFsp4VgF3HyFtg3xgPdNA6Bvd2AgcVr4X35q6NxuaV3n6STZr emFqTQgjJ3ATo0dVFp+fNNFPH9znna77gJuWoctG8uOUy4cQ9nJXMCKy36Un2ebip2ZMKk zYrz0l1Q0T9FdzjRQWl/AOkzuDU5Uxv2lJvgd9cj0bKVzuDRAesSaQy/ZLAI8g== Received: by tupai.ela-bln.local (Postfix, from userid 1000) id DC19F34046F; Mon, 20 Apr 2026 18:52:00 +0200 (CEST) From: Andreas Helmcke To: ptxdist@pengutronix.de Date: Mon, 20 Apr 2026 18:50:59 +0200 Message-ID: <20260420165058.310171-2-ahelmcke@ela-soft.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260418182311.11653-9-ahelmcke@ela-soft.com> References: <20260418182311.11653-9-ahelmcke@ela-soft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-102.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2] php8: Version bump 8.3.8 -> 8.5.5 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Upgrade to latest stable version. Link: https://www.php.net/ChangeLog-8.php#8.5.5 - added option to build with openssl Signed-off-by: Andreas Helmcke --- v2: added option to build with openssl rules/php8.in | 7 +++++++ rules/php8.make | 32 ++++++++++---------------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/rules/php8.in b/rules/php8.in index 68d64bd83..7c16b2fcb 100644 --- a/rules/php8.in +++ b/rules/php8.in @@ -5,6 +5,7 @@ menuconfig PHP8 tristate prompt "php8 " select GLIBC_M + select OPENSSL if PHP8_OPENSSL help PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used general-purpose scripting language that is especially suited for web @@ -72,4 +73,10 @@ config PHP8_SAPI_CLI help Build command line interface (CLI) version of PHP +config PHP8_OPENSSL + bool + prompt "openssl" + help + Build with openssl support + endif diff --git a/rules/php8.make b/rules/php8.make index 01925bf93..36c4ce4a5 100644 --- a/rules/php8.make +++ b/rules/php8.make @@ -18,8 +18,8 @@ PACKAGES-$(PTXCONF_PHP8) += php8 # # Paths and names # -PHP8_VERSION := 8.3.8 -PHP8_MD5 := 3a731ebd24cd36c70148416703ba2f0e +PHP8_VERSION := 8.5.5 +PHP8_MD5 := 75841bde77d44ec53584fec41dde43a4 PHP8 := php-$(PHP8_VERSION) PHP8_SUFFIX := tar.xz PHP8_SOURCE := $(SRCDIR)/$(PHP8).$(PHP8_SUFFIX) @@ -48,10 +48,8 @@ PHP8_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --disable-rpath \ --disable-re2c-cgoto \ - --disable-gcc-global-regs \ --without-apxs2 \ --$(call ptx/endis, PTXCONF_PHP8_SAPI_CLI)-cli \ - --without-pear \ --disable-embed \ --disable-fpm \ --without-fpm-user \ @@ -66,6 +64,7 @@ PHP8_CONF_OPT := \ --disable-phpdbg-debug \ --disable-phpdbg-readline \ --$(call ptx/endis, PTXCONF_PHP8_SAPI_CGI)-cgi \ + --enable-system-glob \ --without-valgrind \ --disable-gcov \ --disable-debug \ @@ -88,9 +87,10 @@ PHP8_CONF_OPT := \ --disable-undefined-sanitizer \ --disable-all \ --without-libxml \ - --without-openssl \ - --without-kerberos \ + --$(call ptx/wwo, PTXCONF_PHP8_OPENSSL)-openssl \ --without-system-ciphers \ + --without-openssl-legacy-provider \ + --without-openssl-argon2 \ --without-external-pcre \ --without-pcre-jit \ --without-sqlite3 \ @@ -122,7 +122,7 @@ PHP8_CONF_OPT := \ --disable-fileinfo \ --$(call ptx/endis, PTXCONF_PHP8_FILTER)-filter \ --disable-ftp \ - --without-openssl-dir \ + --with-ftp-ssl \ --disable-gd \ --without-external-gd \ --without-avif \ @@ -135,8 +135,6 @@ PHP8_CONF_OPT := \ --without-gmp \ --without-mhash \ --without-iconv \ - --without-imap \ - --without-imap-ssl \ --disable-intl \ --without-ldap \ --without-ldap-sasl \ @@ -144,20 +142,10 @@ PHP8_CONF_OPT := \ --disable-mbregex \ --without-mysqli \ --without-mysql-sock \ - --without-oci8 \ - --without-odbcver \ - --without-adabas \ - --without-sapdb \ - --without-solid \ --without-ibm-db2 \ - --without-empress \ - --without-empress-bcs \ --without-custom-odbc \ --without-iodbc \ - --without-esoob \ --without-unixODBC \ - --without-dbmaker \ - --disable-opcache \ --disable-huge-code-pages \ --disable-opcache-jit \ --without-capstone \ @@ -166,15 +154,12 @@ PHP8_CONF_OPT := \ --without-pdo-dblib \ --without-pdo-firebird \ --without-pdo-mysql \ - --without-zlib-dir \ - --without-pdo-oci \ --without-pdo-odbc \ --without-pdo-pgsql \ --without-pdo-sqlite \ --without-pgsql \ --disable-phar \ --disable-posix \ - --without-pspell \ --without-libedit \ --without-readline \ --$(call ptx/endis, PTXCONF_PHP8_SESSION)-session \ @@ -192,6 +177,7 @@ PHP8_CONF_OPT := \ --disable-sysvshm \ --without-tidy \ --disable-tokenizer \ + --without-external-uriparser \ --disable-xml \ --without-expat \ --disable-xmlreader \ @@ -200,9 +186,11 @@ PHP8_CONF_OPT := \ --disable-zend-test \ --without-zip \ --disable-mysqlnd \ + --with-mysqlnd-ssl \ --disable-mysqlnd-compression-support \ --without-pear \ --disable-fiber-asm \ + --disable-gcc-global-regs \ --disable-zend-signals \ --disable-zend-max-execution-timers -- 2.51.0