git: df4c8d6d8a5c - main - net-mgmt/librenms: Adjust dependencies

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Sat, 28 Oct 2023 22:02:38 UTC
The branch main has been updated by dvl:

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

commit df4c8d6d8a5c06a61c8fca9fe6ddc562c464682b
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-10-28 22:01:18 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-10-28 22:01:18 +0000

    net-mgmt/librenms: Adjust dependencies
    
    No longer required:
    
    * net/pear-Net_IPv4
    * net/pear-Net_IPv6
    
    Add a missing PHP extension: zlib
---
 net-mgmt/librenms/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index d29c0ab43251..bc6c50aef790 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	librenms
 PORTVERSION=	23.10.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	LOCAL/dvl:vendor
@@ -14,9 +15,7 @@ LICENSE=	GPLv3
 IGNORE_WITH_PHP=	82
 
 # perhaps we also need python-memcache python-mysqldb
-RUN_DEPENDS+=	${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \
-		${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} \
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dotenv>0:www/py-python-dotenv@${PY_FLAVOR} \
 		bash:shells/bash \
 		dot:graphics/graphviz \
@@ -28,7 +27,7 @@ USES=		cpe php python shebangfix
 USE_GITHUB=	yes
 USE_PHP=	ctype curl dom fileinfo filter gd hash json ldap mbstring \
 		mysqli openssl pdo pdo_mysql phar posix session simplexml snmp \
-		sockets tokenizer xml xmlwriter zip
+		sockets tokenizer xml xmlwriter zip zlib
 USE_RC_SUBR=	librenms
 
 SHEBANG_FILES=	../${PORTNAME}-vendor-${PORTVERSION}/paragonie/random_compat/build-phar.sh \