Re: git: 4fec4429208a - main - lang/php80: Mark IGNORE_SSL for base

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sun, 04 Jun 2023 11:31:24 UTC

> On Jun 4, 2023, at 12:19 PM, Dima Panov <fluffy@FreeBSD.org> wrote:
> 
> Moin-moin!
> 
> 1400089 is already exists with OpenSSL 1.1.1u imported
That is a real bad luck. Currently we are testing an exp-run with OpenSSL 3.0.9 merged into base where it yielded the OSVERSION so I have used 1400089. So until we merge into the new OSVERSION we will have to bear with that. But it might drop anytime and you might lose php80 on 14 so it's better to upgrade to php81 or for now patch it locally or switch to DEFAULT_VERSIONS= ssl=openssl for that specific jail-pt-set. Sorry for the inconvenience but consider the greater good. :)

Kind regards,
Moin (with all hats off)

> On 03.06.2023 22:59, Muhammad Moinur Rahman wrote:
>> The branch main has been updated by bofh:
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=4fec4429208ad765eeb85fdab532a4b0be7b5fb4
>> commit 4fec4429208ad765eeb85fdab532a4b0be7b5fb4
>> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> AuthorDate: 2023-06-03 18:36:36 +0000
>> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> CommitDate: 2023-06-03 19:59:23 +0000
>>     lang/php80: Mark IGNORE_SSL for base
>>          Considering that OpenSSL 3.0.9 will be merged at OSVERSION 1400089 mark
>>     IGNORE_SSL for base ssl version. In case this happens later we will fix
>>     the OSVERSION.
>>          PR:             271656
>>     Sponsored by:   Bounce Experts
>> ---
>>  lang/php80/Makefile | 9 +++++++--
>>  1 file changed, 7 insertions(+), 2 deletions(-)
>> diff --git a/lang/php80/Makefile b/lang/php80/Makefile
>> index e20a3bcbd230..5c51d25e8181 100644
>> --- a/lang/php80/Makefile
>> +++ b/lang/php80/Makefile
>> @@ -35,8 +35,6 @@ CONFIGURE_ARGS+=	\
>>  		--with-password-argon2=${LOCALBASE}
>>    USES+=		autoreconf:build localbase ssl
>> -IGNORE_SSL=	openssl30 openssl31
>> -IGNORE_SSL_REASON=	Missing upstream support for openssl30 and later
>>  USE_GNOME=	libxml2
>>    LDFLAGS=	-L${OPENSSLLIB} -lcrypto -lssl
>> @@ -101,6 +99,13 @@ SHORTMODNAME=	php
>>  WARNING=	"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
>>  .endif
>>  +.include <bsd.port.options.mk>
>> +
>> +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400089 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
>> +IGNORE_SSL=	base openssl30 openssl31
>> +IGNORE_SSL_REASON=	Missing upstream support for OpenSSL 3.0.0 and later
>> +.endif
>> +
>>  .include <bsd.port.pre.mk>
>>    .if ${ARCH} == riscv64
> 
> -- 
> Sincerely,
> Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
> (desktop, kde, x11, office, ports-secteam)@FreeBSD team