aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/dnsutl/Makefile18
-rw-r--r--dns/dnsutl/distinfo6
-rw-r--r--dns/dnsutl/files/patch-Makefile.in56
-rw-r--r--dns/dnsutl/pkg-descr35
-rw-r--r--dns/dnsutl/pkg-plist1
5 files changed, 62 insertions, 54 deletions
diff --git a/dns/dnsutl/Makefile b/dns/dnsutl/Makefile
index ae2dc3352baf..b1bf59cefdbc 100644
--- a/dns/dnsutl/Makefile
+++ b/dns/dnsutl/Makefile
@@ -6,21 +6,21 @@
#
PORTNAME= dnsutl
-PORTVERSION= 1.7
+PORTVERSION= 1.11
CATEGORIES= dns
-MASTER_SITES= http://www.canb.auug.org.au/~millerp/dnsutl/ \
- http://www.tip.net.au/~millerp/dnsutl/ \
- http://gd.tuwien.ac.at/softeng/Aegis/dnsutl/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= stefan@fh-mainz.de
COMMENT= Programs to make using DNS easier
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= all sure
-MAN1= dns-boot-check.1 dns-bootp.1 dns-bootparams.1 dns-dhcp.1 \
- dns-ethers-import.1 dns-ethers.1 dns-filter.1 \
- dns-hosts-import.1 dns-hosts.1 dns-license.1 \
- dns-ng.1 dns-rev.1
+MAN1= dns-boot-check.1 dns-bootp.1 dns-bootparams.1 \
+ dns-conf-check.1 dns-dhcp.1 dns-ethers-import.1 \
+ dns-ethers.1 dns-filter.1 dns-hosts-import.1 \
+ dns-hosts.1 dns-license.1 dns-ng.1 dns-rev.1
.include <bsd.port.mk>
diff --git a/dns/dnsutl/distinfo b/dns/dnsutl/distinfo
index ddfdff9be4bc..87adfdbc344b 100644
--- a/dns/dnsutl/distinfo
+++ b/dns/dnsutl/distinfo
@@ -1,3 +1,3 @@
-MD5 (dnsutl-1.7.tar.gz) = 0c0e2d1c5bfb7e558a9d81f080940ea7
-SHA256 (dnsutl-1.7.tar.gz) = ba67a3aefedf2bad7e31c47a876189e8338df40043013673fcd104c1007a0671
-SIZE (dnsutl-1.7.tar.gz) = 181289
+MD5 (dnsutl-1.11.tar.gz) = 6de57b9589e6210a64703af29a1522af
+SHA256 (dnsutl-1.11.tar.gz) = e63658fc45e5b88eaff677867b2af1e973a63bdd54e7329b9cddc0a6c8459f0b
+SIZE (dnsutl-1.11.tar.gz) = 382860
diff --git a/dns/dnsutl/files/patch-Makefile.in b/dns/dnsutl/files/patch-Makefile.in
index 676db278a228..6c678599fbc8 100644
--- a/dns/dnsutl/files/patch-Makefile.in
+++ b/dns/dnsutl/files/patch-Makefile.in
@@ -1,18 +1,6 @@
---- Makefile.in.orig Mon Jul 5 15:54:45 1999
-+++ Makefile.in Sun Dec 26 14:40:21 1999
-@@ -124,6 +124,11 @@
- LIBEXT = a
-
- #
-+#
-+#
-+SOELIM = @SOELIM@
-+
-+#
- # You should not need to alter anything below this point.
- #------------------------------------------------------------
-
-@@ -644,7 +649,7 @@
+--- Makefile.in.orig Tue Aug 7 10:19:05 2007
++++ Makefile.in Tue Aug 7 10:43:51 2007
+@@ -743,7 +743,7 @@
awk -f etc/txt2c.awk man1/dns-boot-check.1 > $@
$(mandir)/man1/dns-boot-check.1: man1/dns-boot-check.1 man1/.mandir
@@ -21,7 +9,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -652,7 +657,7 @@
+@@ -751,7 +751,7 @@
awk -f etc/txt2c.awk man1/dns-bootp.1 > $@
$(mandir)/man1/dns-bootp.1: man1/dns-bootp.1 man1/.mandir
@@ -30,7 +18,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -660,7 +665,7 @@
+@@ -759,7 +759,7 @@
awk -f etc/txt2c.awk man1/dns-bootparams.1 > $@
$(mandir)/man1/dns-bootparams.1: man1/dns-bootparams.1 man1/.mandir
@@ -39,7 +27,25 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -669,7 +674,7 @@
+@@ -767,7 +767,7 @@
+ awk -f etc/txt2c.awk man1/dns-conf-check.1 > $@
+
+ $(mandir)/man1/dns-conf-check.1: man1/dns-conf-check.1 man1/.mandir
+- $(SOELIM) -Iman1 man1/dns-conf-check.1 > tmp
++ (cd man1; $(SOELIM) dns-conf-check.1) > tmp
+ $(INSTALL_DATA) tmp $@
+ @rm tmp
+
+@@ -775,7 +775,7 @@
+ awk -f etc/txt2c.awk man1/dns-dhcp.1 > $@
+
+ $(mandir)/man1/dns-dhcp.1: man1/dns-dhcp.1 man1/.mandir
+- $(SOELIM) -Iman1 man1/dns-dhcp.1 > tmp
++ (cd man1; $(SOELIM) dns-dhcp.1) > tmp
+ $(INSTALL_DATA) tmp $@
+ @rm tmp
+
+@@ -784,7 +784,7 @@
$(mandir)/man1/dns-ethers-import.1: man1/dns-ethers-import.1 \
man1/.mandir
@@ -48,7 +54,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -677,7 +682,7 @@
+@@ -792,7 +792,7 @@
awk -f etc/txt2c.awk man1/dns-ethers.1 > $@
$(mandir)/man1/dns-ethers.1: man1/dns-ethers.1 man1/.mandir
@@ -57,7 +63,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -685,7 +690,7 @@
+@@ -800,7 +800,7 @@
awk -f etc/txt2c.awk man1/dns-filter.1 > $@
$(mandir)/man1/dns-filter.1: man1/dns-filter.1 man1/.mandir
@@ -66,7 +72,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -693,7 +698,7 @@
+@@ -808,7 +808,7 @@
awk -f etc/txt2c.awk man1/dns-hosts-import.1 > $@
$(mandir)/man1/dns-hosts-import.1: man1/dns-hosts-import.1 man1/.mandir
@@ -75,7 +81,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -701,7 +706,7 @@
+@@ -816,7 +816,7 @@
awk -f etc/txt2c.awk man1/dns-hosts.1 > $@
$(mandir)/man1/dns-hosts.1: man1/dns-hosts.1 man1/.mandir
@@ -84,7 +90,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -709,7 +714,7 @@
+@@ -824,7 +824,7 @@
awk -f etc/txt2c.awk man1/dns-license.1 > $@
$(mandir)/man1/dns-license.1: man1/dns-license.1 man1/.mandir
@@ -93,7 +99,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -717,7 +722,7 @@
+@@ -832,7 +832,7 @@
awk -f etc/txt2c.awk man1/dns-ng.1 > $@
$(mandir)/man1/dns-ng.1: man1/dns-ng.1 man1/.mandir
@@ -102,7 +108,7 @@
$(INSTALL_DATA) tmp $@
@rm tmp
-@@ -725,7 +730,7 @@
+@@ -840,7 +840,7 @@
awk -f etc/txt2c.awk man1/dns-rev.1 > $@
$(mandir)/man1/dns-rev.1: man1/dns-rev.1 man1/.mandir
diff --git a/dns/dnsutl/pkg-descr b/dns/dnsutl/pkg-descr
index 1b3182d70784..aab70f87f3c7 100644
--- a/dns/dnsutl/pkg-descr
+++ b/dns/dnsutl/pkg-descr
@@ -1,20 +1,21 @@
- The dnsutl package is a bunch of programs I wrote to make
- using DNS easier. These include:
+The dnsutl package is a collection tools to make administering DNS easier.
+These include programs for:
- dns-rev
- Take the forward DNS mapping and generate the
- reverse mapping.
+ * Generating the reverse DNS mapping by using the DNS forward mapping.
+ This is useful for producing a self-consistent DNS configuration.
+ * Generating the /etc/ethers file by using a bogus record type.
+ * Generating the /etc/hosts file by using the DNS forward mapping.
+ * Generating the /etc/bootptab file by using the MAC and IP information.
+ * Generating the /etc/netgroup file by using the DNS forward mapping.
+ * Generating the Sun /etc/bootparams file by using the MAC and IP information.
+ * Checking the new-style /etc/named.conf files for self-consistency.
+ * Checking the old-style /etc/named.boot files for self-consistency.
+ * Generating the DNS forward mapping by using the /etc/hosts file.
+ This could be a first step to configuring your DNS server.
+ * Generating the /etc/dhcp.conf file by using the MAC and IP information.
- dns-hosts
- Take the forward DNS mapping and generate the
- /etc/hosts file.
+All of these programs are both faster than shell scripts, and more
+robust when faced with all the peculiar semantics of DNS resource files.
+They even understand the $include directive.
- dns-ng
- Take the forward DNS mapping and generate the
- /etc/netgroup file.
-
- All of these programs are both faster than shell scripts,
- and more robust when faced with all the peculiar semantics
- of DNS resource files.
-
-WWW: http://www.canb.auug.org.au/~millerp/dnsutl/
+WWW: http://dnsutl.sourceforge.net/
diff --git a/dns/dnsutl/pkg-plist b/dns/dnsutl/pkg-plist
index aa7aec1013d8..a287dbd06aaf 100644
--- a/dns/dnsutl/pkg-plist
+++ b/dns/dnsutl/pkg-plist
@@ -1,6 +1,7 @@
bin/dns-boot-check
bin/dns-bootp
bin/dns-bootparams
+bin/dns-conf-check
bin/dns-dhcp
bin/dns-ethers
bin/dns-ethers-import