git: fd4268a39c5a - main - dns/pear-Net_DNS2: upgrade to 1.5.2

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 15 May 2022 09:29:52 UTC
The branch main has been updated by thierry:

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

commit fd4268a39c5ae8566683f2393772a31bc387dfe7
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-05-11 15:18:30 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-15 09:29:47 +0000

    dns/pear-Net_DNS2: upgrade to 1.5.2
    
    Version 1.5.0 produces errors when used with PHP-8:
    
    PHP Fatal error:  Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in /usr/local/share/pear/Net/DNS2/Cache/File.
    
    It has been fixed in 1.5.2.
    
    PR:             263924
    Approved by:    sunpoet (maintainer)
---
 dns/pear-Net_DNS2/Makefile | 7 ++++++-
 dns/pear-Net_DNS2/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dns/pear-Net_DNS2/Makefile b/dns/pear-Net_DNS2/Makefile
index 53a98723488b..484418800a0c 100644
--- a/dns/pear-Net_DNS2/Makefile
+++ b/dns/pear-Net_DNS2/Makefile
@@ -1,7 +1,7 @@
 # Created by: Wen Heping <wen@FreeBSD.org>
 
 PORTNAME=	Net_DNS2
-PORTVERSION=	1.5.0
+PORTVERSION=	1.5.2
 CATEGORIES=	dns net pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -12,6 +12,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		pear
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	mikepultz
+GH_PROJECT=	netdns2
+GH_TAGNAME=	1284c4b
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/dns/pear-Net_DNS2/distinfo b/dns/pear-Net_DNS2/distinfo
index 5b71ad1f1e28..ced40261125e 100644
--- a/dns/pear-Net_DNS2/distinfo
+++ b/dns/pear-Net_DNS2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620438069
-SHA256 (PEAR/Net_DNS2-1.5.0.tgz) = 6b2157757aa7d388694ffb3e224da63580e7a3382b6473b3e51ad4d8f2dde3ff
-SIZE (PEAR/Net_DNS2-1.5.0.tgz) = 81188
+TIMESTAMP = 1652448061
+SHA256 (PEAR/mikepultz-netdns2-1.5.2-1284c4b_GH0.tar.gz) = 8abce64d4f295c306a36e416246cd8ec4103682591e47f6c4a5fcc12a140596f
+SIZE (PEAR/mikepultz-netdns2-1.5.2-1284c4b_GH0.tar.gz) = 84384