git: 58d4526a8b07 - main - dns/p5-Net-DNS-Paranoid: Paranoid DNS resolver

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Fri, 09 Dec 2022 08:54:48 UTC
The branch main has been updated by rodrigo:

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

commit 58d4526a8b07a07297b5ae33bbcd413d0df36665
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2022-12-09 08:41:58 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2022-12-09 08:43:18 +0000

    dns/p5-Net-DNS-Paranoid: Paranoid DNS resolver
---
 dns/Makefile                      |  1 +
 dns/p5-Net-DNS-Paranoid/Makefile  | 24 ++++++++++++++++++++++++
 dns/p5-Net-DNS-Paranoid/distinfo  |  3 +++
 dns/p5-Net-DNS-Paranoid/pkg-descr |  5 +++++
 dns/p5-Net-DNS-Paranoid/pkg-plist |  2 ++
 5 files changed, 35 insertions(+)

diff --git a/dns/Makefile b/dns/Makefile
index 02ebdd61c6df..9e6280c31504 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -145,6 +145,7 @@
     SUBDIR += p5-Net-DNS-Codes
     SUBDIR += p5-Net-DNS-Lite
     SUBDIR += p5-Net-DNS-Match
+    SUBDIR += p5-Net-DNS-Paranoid
     SUBDIR += p5-Net-DNS-RR-SRV-Helper
     SUBDIR += p5-Net-DNS-Resolver-Mock
     SUBDIR += p5-Net-DNS-Resolver-Programmable
diff --git a/dns/p5-Net-DNS-Paranoid/Makefile b/dns/p5-Net-DNS-Paranoid/Makefile
new file mode 100644
index 000000000000..b042a4b728d6
--- /dev/null
+++ b/dns/p5-Net-DNS-Paranoid/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	Net-DNS-Paranoid
+PORTVERSION=	0.08
+CATEGORIES=	dns perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	rodrigo@FreeBSD.org
+COMMENT=	Paranoid DNS resolver
+WWW=		https://metacpan.org/release/Net-DNS-Paranoid
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_ART10=	${WRKSRC}/LICENSE
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	p5-Class-Accessor-Lite>=0.05:devel/p5-Class-Accessor-Lite \
+				p5-Net-DNS>=1.35:dns/p5-Net-DNS
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/dns/p5-Net-DNS-Paranoid/distinfo b/dns/p5-Net-DNS-Paranoid/distinfo
new file mode 100644
index 000000000000..735a6a2332f9
--- /dev/null
+++ b/dns/p5-Net-DNS-Paranoid/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670539527
+SHA256 (Net-DNS-Paranoid-0.08.tar.gz) = db359ba7c490405456db465e4d7ecb9622326d9b00e59a7914dbbb2bd554784a
+SIZE (Net-DNS-Paranoid-0.08.tar.gz) = 13268
diff --git a/dns/p5-Net-DNS-Paranoid/pkg-descr b/dns/p5-Net-DNS-Paranoid/pkg-descr
new file mode 100644
index 000000000000..ac0cc6cd02ba
--- /dev/null
+++ b/dns/p5-Net-DNS-Paranoid/pkg-descr
@@ -0,0 +1,5 @@
+Paranoid DNS resolver is a wraper around
+Net::DNS who perform paranoid checks to
+ensure the address you are trying to resolve
+isn't a local one or part of the blacklisted
+block.
diff --git a/dns/p5-Net-DNS-Paranoid/pkg-plist b/dns/p5-Net-DNS-Paranoid/pkg-plist
new file mode 100644
index 000000000000..014add9aadd3
--- /dev/null
+++ b/dns/p5-Net-DNS-Paranoid/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Net/DNS/Paranoid.pm
+%%PERL5_MAN3%%/Net::DNS::Paranoid.3.gz