aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/Makefile1
-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
5 files changed, 45 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 94abb6ad16a6..6458b8926fe8 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -62,6 +62,7 @@
SUBDIR += fpdns
SUBDIR += gdnsd
SUBDIR += gdnsd2
+ SUBDIR += gen6dns
SUBDIR += getdns
SUBDIR += ghtool
SUBDIR += hesiod
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