git: 90c813a83913 - main - www/nextcloud: Add SYSVSEM option

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Sun, 26 Mar 2023 16:13:02 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90c813a8391354df3d1f0586b2d50d9bafa29700

commit 90c813a8391354df3d1f0586b2d50d9bafa29700
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-03-26 16:11:53 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-03-26 16:11:53 +0000

    www/nextcloud: Add SYSVSEM option
    
     * Usage of sysvsem PHP module recommended as of Nextcloud 26
    
    PR:             270412
    Reported by:    fsbruva yahoo com
---
 www/nextcloud/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile
index 6beaf92b2e9a..5ffb88730afa 100644
--- a/www/nextcloud/Makefile
+++ b/www/nextcloud/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nextcloud
 PORTVERSION=	26.0.0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://download.nextcloud.com/server/releases/
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
@@ -27,12 +28,12 @@ SUB_LIST=	NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
 		NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}
 PLIST_SUB=	${SUB_LIST}
 
-OPTIONS_DEFINE=		EXIF IMAGICK INTL LDAP PCNTL SMB SSL
+OPTIONS_DEFINE=		EXIF IMAGICK INTL LDAP PCNTL SMB SSL SYSVSEM
 OPTIONS_GROUP=		CACHING
 OPTIONS_GROUP_CACHING=	APCU OPCACHE REDIS
 OPTIONS_MULTI=		DB
 OPTIONS_MULTI_DB=	MYSQL PGSQL SQLITE
-OPTIONS_DEFAULT=	APCU EXIF INTL LDAP MYSQL OPCACHE SSL
+OPTIONS_DEFAULT=	APCU EXIF INTL LDAP MYSQL OPCACHE SSL SYSVSEM
 OPTIONS_SUB=		yes
 
 APCU_DESC=	Local data caching using APCu (recommended)
@@ -44,6 +45,7 @@ INTL_DESC=	International character support (recommended)
 OPCACHE_DESC=	Enable OPcode caching (recommended)
 PCNTL_DESC=	Long-running process control (recommended)
 REDIS_DESC=	Distributed data caching using Redis
+SYSVSEM_DESC=	Enable System V semaphore support (recommended)
 
 APCU_RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR}
 EXIF_USE=	PHP=exif
@@ -58,6 +60,7 @@ REDIS_RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}redis>=2.2.6:databases/pecl-redis@${PHP_
 SMB_RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}smbclient>=0.9.0:net/pecl-smbclient@${PHP_FLAVOR}
 SQLITE_USE=	PHP=pdo_sqlite,sqlite3
 SSL_USE=	PHP=openssl
+SYSVSEM_USE=	PHP=sysvsem
 
 .include <bsd.port.options.mk>