From nobody Thu Nov 23 22:03:11 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SbsYq40pPz529Yw; Thu, 23 Nov 2023 22:03:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SbsYq2slVz4WZK; Thu, 23 Nov 2023 22:03:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700776991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enwUt5RTjInPbTeS7jj3+XCFABJcGUX9zZi7uWmoP6s=; b=Kq+27E9WB3nhRp6NYup2tAKQ/JC6aU5oOj3nPcq5npQPC9xFrqK5FGsk8EB2M7mSLsNSj9 1Jk2bzmD/k/kCFnNzPA2/HtytKu9GutB1YuXnpYDEOjt420WUhX/VRLOtcpVfEhPBgsAjs SMCqoJYGb25FgKI9+orwDbSVPpw6njoEimbdFO9wsKZuPrnyQnDscj4/4NvT3MXTcMSmRr 5S9Jc1gYTIq/R+LzkNBCsV3+xGxxqnuSSO1++kvczib05sjRbCZy1TF5G+A9zjw66KJvTU ky4H+CmBYHIWBpj7vJolrDjJlAkTd/BZAMRHK/7OHHTdXv3QRfRIS1hC93T6yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700776991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enwUt5RTjInPbTeS7jj3+XCFABJcGUX9zZi7uWmoP6s=; b=aLBJl0AIcz7UO/YXJ6L/l9Zijp+tbMnHjPmG3m20C9oCD+2pafJSoyLMhe+9ZnnYRsSdTQ 7iT9hyj67oatDABCSd1QieBvprpCgEHn24k4hpYUh0ciqNxPM/7VnkU5KGXvAEwZaBiJWD K0lh/gYn4IR+IGSJCe7oeb609fEbY1zY9bqmiwC02bC+FtwD1T2hVgnOOePDHh+w7fY9e7 Uana5+0KtovBZMDWh6w7YclROoXbZwZAbe9cAE2UXxzNHuUn1TMiwnObEUgfDp1QwFsYq4 ohc7nS5mQd7wSaTHW+8DDlqOn2FQGtbljAoViZVI9XZ1pZ8mhP4lSchn3Y78Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700776991; a=rsa-sha256; cv=none; b=cl+xu1ZLd3FkoeCIvH+6BiqgEJ9a23KysWphhyak5qV9NQjdvkGM9VrfuCxM1A2Sx8tmAs rOS14uTAbJtPAIhqITLrFUTIzCI63Qvd63xerwZ7QISNaoQLa5PJmhNLquvXvABJXxrnRG CARGmZ/Ba0JS87ArW1OTi55Ei5FZFzNY9I4J7QUIApDBlh1ygVv5jqBn3wiYPA9Ek2RNP3 tKDTSHNAi20WWkxRBAwsr2oFuV5KtT1HcG1L1bDYaV82u8NzmfT27gVPiwDmuG24knvYeT 6O/ACAOrCrf+ggdDWZJSg2Xmwba3hfer4nj7dbRgeM6/nF8hPhtMfQlkeKIesA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SbsYq1Hjkz4dB; Thu, 23 Nov 2023 22:03:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ANM3Bjm010991; Thu, 23 Nov 2023 22:03:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ANM3BYr010988; Thu, 23 Nov 2023 22:03:11 GMT (envelope-from git) Date: Thu, 23 Nov 2023 22:03:11 GMT Message-Id: <202311232203.3ANM3BYr010988@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 06be0d5391f4 - main - lang/php81: Update version 8.1.25=>8.1.26 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 06be0d5391f475771145a7a9d68d34b0ad5a9b85 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=06be0d5391f475771145a7a9d68d34b0ad5a9b85 commit 06be0d5391f475771145a7a9d68d34b0ad5a9b85 Author: Muhammad Moinur Rahman AuthorDate: 2023-11-23 22:01:00 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-11-23 22:02:58 +0000 lang/php81: Update version 8.1.25=>8.1.26 - Switch to system pcre - Switch to libenchant-2 for enchant extension - Remove OPTIONS for using the deprecated cclient library for imap extension - Switch to libedit for readline extension Changelog: https://www.php.net/ChangeLog-8.php#8.1.26 --- lang/php81/Makefile | 39 +++++++++++++++++---------------------- lang/php81/distinfo | 6 +++--- lang/php81/pkg-plist | 7 ------- 3 files changed, 20 insertions(+), 32 deletions(-) diff --git a/lang/php81/Makefile b/lang/php81/Makefile index 361646278fb6..fa756234327b 100644 --- a/lang/php81/Makefile +++ b/lang/php81/Makefile @@ -1,5 +1,5 @@ PORTNAME= php81 -DISTVERSION= 8.1.25 +DISTVERSION= 8.1.26 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} @@ -10,13 +10,14 @@ WWW= https://www.php.net/ LICENSE= PHP301 -USES+= compiler:c11 cpe gnome pkgconfig tar:xz +USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz CPE_PRODUCT= php PHP_VER= 81 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) +BUILD_DEPENDS= re2c>0:devel/re2c LIB_DEPENDS= libargon2.so:security/libargon2 \ libpcre2-8.so:devel/pcre2 @@ -27,19 +28,17 @@ CONFIGURE_ARGS+= --disable-all \ --with-layout=GNU \ --with-libxml \ --with-openssl \ - --with-password-argon2=${LOCALBASE} -DESTDIRNAME= INSTALL_ROOT + --with-password-argon2=${LOCALBASE} \ + --with-external-pcre=${LOCALBASE} USES+= autoreconf:build ssl USE_GNOME= libxml2 -CPPFLAGS= -I${LOCALBASE}/include - -LDFLAGS= -L${OPENSSLLIB} -lcrypto -lssl +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl # PR230207 Allow relocations against read-only segments (override lld default) -LDFLAGS_i386= -Wl,-z,notext +LDFLAGS_i386+= -Wl,-z,notext -OPTIONS_DEFINE+= CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ +OPTIONS_DEFINE+= CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ MYSQLND PHPDBG ZTS OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND OPTIONS_EXCLUDE_DragonFly= DTRACE @@ -88,6 +87,8 @@ PHPDBG_VARS= PHP_SAPI+=phpdbg ZTS_CONFIGURE_ON= --enable-zts ZTS_CONFIGURE_ENV= pthreads_working="yes" +DESTDIRNAME= INSTALL_ROOT + .if defined(PKGNAMEPREFIX) USES+= apache PLIST= ${PKGDIR}/pkg-plist.mod @@ -142,7 +143,7 @@ test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: - @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ + ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc post-install-CGI-on: @@ -228,8 +229,8 @@ DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} DB4_USES= bdb DB4_VARS= WITH_BDB_HIGHEST=yes FLATFILE_CONFIGURE_ON= --disable-flatfile -GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm +GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} INIFILE_CONFIGURE_OFF= --disable-inifile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} @@ -249,7 +250,7 @@ USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "enchant" -LIB_DEPENDS+= libenchant.so:textproc/enchant +LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 CONFIGURE_ARGS+= --with-enchant=${LOCALBASE} USES+= pkgconfig .endif @@ -329,13 +330,7 @@ USES+= iconv:translit .if ${PHP_MODNAME} == "imap" PHP_MOD_PRIO= 30 -OPTIONS_RADIO= CLIENT -OPTIONS_RADIO_CLIENT= CCLIENT PANDA -OPTIONS_DEFAULT= PANDA -CCLIENT_DESC= Uses the original but unmaintained cclient -PANDA_DESC= Uses the forked panda-cclient instead of the original cclient -PANDA_LIB_DEPENDS= libc-client.so.2010:mail/panda-cclient -PANDA_LIB_DEPENDS_OFF= libc-client4.so.9:mail/cclient +LIB_DEPENDS+= libc-client.so.2010:mail/panda-cclient CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} \ --with-imap=${LOCALBASE} @@ -442,10 +437,10 @@ OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver +MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr MYSQLND_USES_OFF= mysql -MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd USE_PHP= pdo:build .endif @@ -486,8 +481,8 @@ CONFIGURE_ARGS+= --with-pspell=${LOCALBASE} .endif .if ${PHP_MODNAME} == "readline" -CONFIGURE_ARGS+= --with-readline=/usr -USES+= readline +CONFIGURE_ARGS+= --with-libedit +USES+= libedit .endif .if ${PHP_MODNAME} == "session" diff --git a/lang/php81/distinfo b/lang/php81/distinfo index c59ba91e78d7..950c878c78d3 100644 --- a/lang/php81/distinfo +++ b/lang/php81/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698409952 -SHA256 (php-8.1.25.tar.xz) = 66fdba064aa119b1463a7969571d42f4642690275d8605ab5149bcc5107e2484 -SIZE (php-8.1.25.tar.xz) = 11888112 +TIMESTAMP = 1700690550 +SHA256 (php-8.1.26.tar.xz) = 17f87133596449327451ad4b8d9911bfaea59ff5109f3a6f2bb679f967a8ea0f +SIZE (php-8.1.26.tar.xz) = 11809448 diff --git a/lang/php81/pkg-plist b/lang/php81/pkg-plist index 84b4ca61ea36..94ef315fa1a8 100644 --- a/lang/php81/pkg-plist +++ b/lang/php81/pkg-plist @@ -162,13 +162,6 @@ include/php/ext/libxml/php_libxml.h %%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_vio.h %%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_wireprotocol.h %%MYSQLND%%include/php/ext/mysqlnd/php_mysqlnd.h -include/php/ext/pcre/pcre2lib/config.h -include/php/ext/pcre/pcre2lib/pcre2.h -include/php/ext/pcre/pcre2lib/pcre2_internal.h -include/php/ext/pcre/pcre2lib/pcre2_intmodedep.h -include/php/ext/pcre/pcre2lib/pcre2_jit_neon_inc.h -include/php/ext/pcre/pcre2lib/pcre2_jit_simd_inc.h -include/php/ext/pcre/pcre2lib/pcre2_ucp.h include/php/ext/pcre/php_pcre.h include/php/ext/spl/php_spl.h include/php/ext/spl/spl_array.h