aboutsummaryrefslogtreecommitdiffstats
path: root/dns/gen6dns
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2016-05-06 17:14:24 +0800
committerse <se@FreeBSD.org>2016-05-06 17:14:24 +0800
commit275a7d357ed752898702799dbbf70cc837c015bd (patch)
tree4dd7c4f934866a520960e5ce5713fbcd004579c6 /dns/gen6dns
parent1fe660ef91117537e67ce280da1badb7acadf760 (diff)
downloadfreebsd-ports-gnome-275a7d357ed752898702799dbbf70cc837c015bd.tar.gz
freebsd-ports-gnome-275a7d357ed752898702799dbbf70cc837c015bd.tar.zst
freebsd-ports-gnome-275a7d357ed752898702799dbbf70cc837c015bd.zip
gen6dns is a tool to generate static DNS records (AAAA and PTR) for hosts
using Stateless Address Autoconfig (SLAAC). If you have a list of hostnames, mac addresses and ipv6 subnets gen6dns generates the appropriate AAAA and PTR records for you. It supports different scopes and the generation of view (split) specific files. WWW: http://www.hznet.de/tools.html Approved by: antoine
Diffstat (limited to 'dns/gen6dns')
-rw-r--r--dns/gen6dns/Makefile24
-rw-r--r--dns/gen6dns/distinfo2
-rw-r--r--dns/gen6dns/files/patch-Makefile.in11
-rw-r--r--dns/gen6dns/pkg-descr7
4 files changed, 44 insertions, 0 deletions
diff --git a/dns/gen6dns/Makefile b/dns/gen6dns/Makefile
new file mode 100644
index 000000000000..92e0dbc4c45e
--- /dev/null
+++ b/dns/gen6dns/Makefile
@@ -0,0 +1,24 @@
+# Created by: Stefan Esser <se@freebsd.org>
+# $FreeBSD$
+
+PORTNAME= gen6dns
+PORTVERSION= 1.1
+CATEGORIES= dns
+MASTER_SITES= http://www.hznet.de/tools/
+
+MAINTAINER= se@freebsd.org
+COMMENT= Tool to generate static DNS records for IPv6 hosts using SLAAC
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/gen6dns bin/soaserial ${MAN1PREFIX}/man/man1/gen6dns.1.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gen6dns ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/soaserial ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/gen6dns.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/dns/gen6dns/distinfo b/dns/gen6dns/distinfo
new file mode 100644
index 000000000000..87f919ed6537
--- /dev/null
+++ b/dns/gen6dns/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gen6dns-1.1.tar.gz) = 8777dc50c51aa8061524891f3e5f9afde01929db924f28438aa5dd52ca752e22
+SIZE (gen6dns-1.1.tar.gz) = 1683936
diff --git a/dns/gen6dns/files/patch-Makefile.in b/dns/gen6dns/files/patch-Makefile.in
new file mode 100644
index 000000000000..96ab172af0c2
--- /dev/null
+++ b/dns/gen6dns/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2016-04-08 14:55:23 UTC
++++ Makefile.in
+@@ -18,7 +18,7 @@ CFLAGS += -g @DEFS@ -I@top_srcdir@
+ CFLAGS += -Wall #-DDBG
+ CFLAGS += -Wmissing-prototypes
+ CFLAGS += $(PROFILE) $(OPTIM)
+- # the next line is needed to work with the large volume files generated by test/gentestfiles.c
++# the next line is needed to work with the large volume files generated by test/gentestfiles.c
+ # CFLAGS += -DMAXSNET=10000 -DMAXFP=10024
+
+ LDFLAGS += $(PROFILE)
diff --git a/dns/gen6dns/pkg-descr b/dns/gen6dns/pkg-descr
new file mode 100644
index 000000000000..51a43a87addd
--- /dev/null
+++ b/dns/gen6dns/pkg-descr
@@ -0,0 +1,7 @@
+gen6dns is a tool to generate static DNS records (AAAA and PTR) for hosts
+using Stateless Address Autoconfig (SLAAC). If you have a list of hostnames,
+mac addresses and ipv6 subnets gen6dns generates the appropriate AAAA and
+PTR records for you. It supports different scopes and the generation of
+view (split) specific files.
+
+WWW: http://www.hznet.de/tools.html