Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2021 07:21:07 GMT
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9beb8b4824a1 - main - dns/p5-DNS-nsdiff: New port
Message-ID:  <202108170721.17H7L7vt063978@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by matthew:

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

commit 9beb8b4824a1a0f74c92820cda6b4167f3220640
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2021-08-17 07:17:55 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2021-08-17 07:20:18 +0000

    dns/p5-DNS-nsdiff: New port
    
    Create an "nsupdate" script from DNS zone file differences
---
 dns/Makefile                |  1 +
 dns/p5-DNS-nsdiff/Makefile  | 21 +++++++++++++++++++++
 dns/p5-DNS-nsdiff/distinfo  |  3 +++
 dns/p5-DNS-nsdiff/pkg-descr | 13 +++++++++++++
 dns/p5-DNS-nsdiff/pkg-plist |  8 ++++++++
 5 files changed, 46 insertions(+)

diff --git a/dns/Makefile b/dns/Makefile
index 0b1edb92b9c8..3902cd11bec8 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -129,6 +129,7 @@
     SUBDIR += p5-DNS-Ldns
     SUBDIR += p5-DNS-Zone
     SUBDIR += p5-DNS-ZoneParse
+    SUBDIR += p5-DNS-nsdiff
     SUBDIR += p5-DSC
     SUBDIR += p5-Data-Validate-Domain
     SUBDIR += p5-IO-Async-Resolver-DNS
diff --git a/dns/p5-DNS-nsdiff/Makefile b/dns/p5-DNS-nsdiff/Makefile
new file mode 100644
index 000000000000..3ac8f8a9bc48
--- /dev/null
+++ b/dns/p5-DNS-nsdiff/Makefile
@@ -0,0 +1,21 @@
+# Created by: Matthew Seaman
+
+PORTNAME=	DNS-nsdiff
+PORTVERSION=	1.82
+CATEGORIES=	dns perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Create an "nsupdate" script from DNS zone file differences
+
+LICENSE=	CC0-1.0
+
+RUN_DEPENDS=	nsupdate:dns/bind-tools \
+		named-compilezone:dns/bind916
+
+NO_ARCH=	yes
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>
diff --git a/dns/p5-DNS-nsdiff/distinfo b/dns/p5-DNS-nsdiff/distinfo
new file mode 100644
index 000000000000..da81a5139b0d
--- /dev/null
+++ b/dns/p5-DNS-nsdiff/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629123185
+SHA256 (DNS-nsdiff-1.82.tar.gz) = 9e37c68be73179a5e52f946c472930c1401b27fbd3a5bde9199070fd6926d418
+SIZE (DNS-nsdiff-1.82.tar.gz) = 12506
diff --git a/dns/p5-DNS-nsdiff/pkg-descr b/dns/p5-DNS-nsdiff/pkg-descr
new file mode 100644
index 000000000000..bf3586765ef2
--- /dev/null
+++ b/dns/p5-DNS-nsdiff/pkg-descr
@@ -0,0 +1,13 @@
+create an "nsupdate" script from DNS zone file differences
+
+The nsdiff program examines the old and new versions of a DNS zone,
+and outputs the differences as a script for use by BIND's nsupdate
+program. It provides a bridge between static zone files and dynamic
+updates.
+
+The nspatch script is a wrapper around nsdiff | nsupdate that checks
+and reports errors in a manner suitable for running from cron.
+
+The nsvi script makes it easy to edit a dynamic zone.
+
+WWW: https://dotat.at/prog/nsdiff/
diff --git a/dns/p5-DNS-nsdiff/pkg-plist b/dns/p5-DNS-nsdiff/pkg-plist
new file mode 100644
index 000000000000..5d3f574cc472
--- /dev/null
+++ b/dns/p5-DNS-nsdiff/pkg-plist
@@ -0,0 +1,8 @@
+bin/nsdiff
+bin/nspatch
+bin/nsvi
+%%SITE_PERL%%/DNS/nsdiff.pm
+%%PERL5_MAN1%%/nsdiff.1.gz
+%%PERL5_MAN1%%/nspatch.1.gz
+%%PERL5_MAN1%%/nsvi.1.gz
+%%PERL5_MAN3%%/DNS::nsdiff.3pm.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108170721.17H7L7vt063978>