1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

www/piwigo: rework dependencies

- use canonical way for sodium depend3ncy [1]
- add php-zip dependency (needed for a plugin)

Thus is tested upto php 8.1.

Noticed by:	fluffy [1]
This commit is contained in:
Alexander Leidinger 2022-09-23 09:29:42 +02:00
parent 8c48c46e3f
commit 87c5918735

View File

@ -1,9 +1,9 @@
PORTNAME= piwigo
DISTVERSION= 12.3.0
PORTREVISION= 2
PORTREVISION= 3
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
CATEGORIES= www
MASTER_SITES= https://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= netchild@FreeBSD.org
COMMENT= PHP based Web Gallery
@ -12,11 +12,13 @@ WWW= https://piwigo.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/sodium.so:security/pecl-libsodium@${PHP_FLAVOR}
USES= cpe php:web,flavors zip
USE_PHP= ctype dom exif filter gd hash iconv json mbstring mysqli \
openssl pcre pdo session simplexml spl tokenizer xml zlib
openssl pcre pdo session simplexml sodium spl tokenizer \
xml zip zlib
# sodium is needed for randomisation stuff (prefferred option),
# could be replaced by mcrypt
# zip is used by an optional plugin
NO_ARCH= yes
NO_BUILD= yes