aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2021-08-17 07:17:55 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2021-08-17 07:20:18 +0000
commit9beb8b4824a1a0f74c92820cda6b4167f3220640 (patch)
tree4a5eccc47e4c6b1696868ad8c99c0d1e63b5c3f4
parentddf7d543d9146e8e6ed928989a772ec7d9a25834 (diff)
downloadports-9beb8b4824a1a0f74c92820cda6b4167f3220640.tar.gz
ports-9beb8b4824a1a0f74c92820cda6b4167f3220640.zip
dns/p5-DNS-nsdiff: New port
Create an "nsupdate" script from DNS zone file differences
-rw-r--r--dns/Makefile1
-rw-r--r--dns/p5-DNS-nsdiff/Makefile21
-rw-r--r--dns/p5-DNS-nsdiff/distinfo3
-rw-r--r--dns/p5-DNS-nsdiff/pkg-descr13
-rw-r--r--dns/p5-DNS-nsdiff/pkg-plist8
5 files changed, 46 insertions, 0 deletions
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