aboutsummaryrefslogtreecommitdiff
path: root/net/dnsutl
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-01 11:59:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-01 11:59:36 +0000
commit4d7307bda2149c8642a6ca1f9d23d4f14ecf5331 (patch)
tree4e0d1ad58e3552a9d237a47be92312f7208d5187 /net/dnsutl
parent8db95f2dc2c43c51c76a7ebfac75139e5936f1a2 (diff)
downloadports-4d7307bda2149c8642a6ca1f9d23d4f14ecf5331.tar.gz
ports-4d7307bda2149c8642a6ca1f9d23d4f14ecf5331.zip
Notes
Diffstat (limited to 'net/dnsutl')
-rw-r--r--net/dnsutl/Makefile29
-rw-r--r--net/dnsutl/distinfo1
-rw-r--r--net/dnsutl/files/patch-aa91
-rw-r--r--net/dnsutl/pkg-comment1
-rw-r--r--net/dnsutl/pkg-descr18
-rw-r--r--net/dnsutl/pkg-plist7
6 files changed, 147 insertions, 0 deletions
diff --git a/net/dnsutl/Makefile b/net/dnsutl/Makefile
new file mode 100644
index 000000000000..47c2aadd6328
--- /dev/null
+++ b/net/dnsutl/Makefile
@@ -0,0 +1,29 @@
+# Ports collection makefile for: dnsutl
+# Version required: 1.3
+# Date created: Nov 05, 1998
+# Whom: Karl Dietz (Karl.Dietz@triplan.com)
+#
+# $Id: Makefile,v 1.4 1998/08/20 22:06:00 obrien Exp $
+#
+
+DISTNAME= dnsutl.1.3
+PKGNAME= dnsutl-1.3
+CATEGORIES= net
+MASTER_SITES= http://www.tip.net.au/~millerp/ \
+ http://gd.tuwien.ac.at/softeng/Aegis/
+
+MAINTAINER= Karl.Dietz@triplan.com
+
+HAS_CONFIGURE= yes
+CONFIGURE_PARAM= --prefix=${PREFIX}
+CONFIGURE_ENV= LIBS=-lcompat
+ALL_TARGET= all sure
+INSTALL_TARGET= install-bin
+
+MAN1= dns-bootp.1 dns-ethers.1 dns-hosts.1 dns-rev.1 \
+ dns-bootprms.1 dns-filter.1 dns-ng.1
+
+post-install:
+ cd ${WRKSRC}/man1 ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/net/dnsutl/distinfo b/net/dnsutl/distinfo
new file mode 100644
index 000000000000..277de39e576e
--- /dev/null
+++ b/net/dnsutl/distinfo
@@ -0,0 +1 @@
+MD5 (dnsutl.1.3.tar.gz) = cb4f366221517a3fdfe7584f0c568d37
diff --git a/net/dnsutl/files/patch-aa b/net/dnsutl/files/patch-aa
new file mode 100644
index 000000000000..38471ee24ee7
--- /dev/null
+++ b/net/dnsutl/files/patch-aa
@@ -0,0 +1,91 @@
+*** Makefile.in.orig Thu Nov 12 10:57:05 1998
+--- Makefile.in Thu Nov 12 11:10:12 1998
+***************
+*** 99,105 ****
+ # You should not need to alter anything below this point.
+ #------------------------------------------------------------
+
+! all: bin/dns-hosts bin/dns-ng bin/dns-rev
+
+ common/ansi.o: common/ansi.c common/ac/stddef.h common/config.h \
+ common/ac/stdlib.h common/ac/string.h common/main.h
+--- 99,106 ----
+ # You should not need to alter anything below this point.
+ #------------------------------------------------------------
+
+! all: bin/dns-bootp bin/dns-bootparams bin/dns-ethers bin/dns-filter \
+! bin/dns-hosts bin/dns-ng bin/dns-rev
+
+ common/ansi.o: common/ansi.c common/ac/stddef.h common/config.h \
+ common/ac/stdlib.h common/ac/string.h common/main.h
+***************
+*** 584,589 ****
+--- 585,622 ----
+ -mkdir bin
+ @touch .bin
+
++ dns_bootp_files = dns-bootp/main.o dns-bootp/filter.o
++
++ bin/dns-bootp: $(dns_bootp_files) common/lib.a .bin
++ $(CC) $(LDFLAGS) -o bin/dns-bootp $(dns_bootp_files) common/lib.a $(LIBS)
++
++ $(bindir)/dns-bootp: bin/dns-bootp
++ $(INSTALL_PROGRAM) bin/dns-bootp $(bindir)/dns-bootp
++
++ dns_bootparams_files = dns-bootparams/main.o dns-bootparams/filter.o
++
++ bin/dns-bootparams: $(dns_bootparams_files) common/lib.a .bin
++ $(CC) $(LDFLAGS) -o bin/dns-bootparams $(dns_bootparams_files) common/lib.a $(LIBS)
++
++ $(bindir)/dns-bootparams: bin/dns-bootparams
++ $(INSTALL_PROGRAM) bin/dns-bootparams $(bindir)/dns-bootparams
++
++ dns_ethers_files = dns-ethers/main.o dns-ethers/ethers.o
++
++ bin/dns-ethers: $(dns_ethers_files) common/lib.a .bin
++ $(CC) $(LDFLAGS) -o bin/dns-ethers $(dns_ethers_files) common/lib.a $(LIBS)
++
++ $(bindir)/dns-ethers: bin/dns-ethers
++ $(INSTALL_PROGRAM) bin/dns-ethers $(bindir)/dns-ethers
++
++ dns_filter_files = dns-filter/main.o dns-filter/filter.o
++
++ bin/dns-filter: $(dns_filter_files) common/lib.a .bin
++ $(CC) $(LDFLAGS) -o bin/dns-filter $(dns_filter_files) common/lib.a $(LIBS)
++
++ $(bindir)/dns-filter: bin/dns-filter
++ $(INSTALL_PROGRAM) bin/dns-filter $(bindir)/dns-filter
++
+ dns_hosts_files = dns-hosts/hosts.o dns-hosts/main.o
+
+ bin/dns-hosts: $(dns_hosts_files) common/lib.a .bin
+***************
+*** 609,614 ****
+--- 642,649 ----
+ $(bindir)/dns-rev: bin/dns-rev
+ $(INSTALL_PROGRAM) bin/dns-rev $(bindir)/dns-rev
+
++
++
+ Txt2cObj = common/ansi.o common/arglex.o common/error.o common/mem.o \
+ txt2c/main.o txt2c/txt2c.o
+
+***************
+*** 651,657 ****
+ distclean: clean
+ rm -f Makefile common/config.h config.status
+
+! install-bin: $(bindir)/dns-hosts $(bindir)/dns-ng $(bindir)/dns-rev
+
+ install-man: $(mandir)/man1/dns-bootp.1 $(mandir)/man1/dns-bootprms.1 \
+ $(mandir)/man1/dns-ethers.1 $(mandir)/man1/dns-filter.1 \
+--- 686,694 ----
+ distclean: clean
+ rm -f Makefile common/config.h config.status
+
+! install-bin: $(bindir)/dns-hosts $(bindir)/dns-ng $(bindir)/dns-rev \
+! $(bindir)/dns-ethers $(bindir)/dns-bootp \
+! $(bindir)/dns-bootparams $(bindir)/dns-filter
+
+ install-man: $(mandir)/man1/dns-bootp.1 $(mandir)/man1/dns-bootprms.1 \
+ $(mandir)/man1/dns-ethers.1 $(mandir)/man1/dns-filter.1 \
diff --git a/net/dnsutl/pkg-comment b/net/dnsutl/pkg-comment
new file mode 100644
index 000000000000..3305ecd821a5
--- /dev/null
+++ b/net/dnsutl/pkg-comment
@@ -0,0 +1 @@
+This is a bunch of programs to make using DNS easier.
diff --git a/net/dnsutl/pkg-descr b/net/dnsutl/pkg-descr
new file mode 100644
index 000000000000..71950e4d794d
--- /dev/null
+++ b/net/dnsutl/pkg-descr
@@ -0,0 +1,18 @@
+ The dnsutl package is a bunch of programs I wrote to make
+ using DNS easier. These include:
+
+ dns-rev
+ Take the forward DNS mapping and generate the
+ reverse mapping.
+
+ dns-hosts
+ Take the forward DNS mapping and generate the
+ /etc/hosts file.
+
+ 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.
diff --git a/net/dnsutl/pkg-plist b/net/dnsutl/pkg-plist
new file mode 100644
index 000000000000..3b36231530ba
--- /dev/null
+++ b/net/dnsutl/pkg-plist
@@ -0,0 +1,7 @@
+bin/dns-bootp
+bin/dns-bootparams
+bin/dns-ethers
+bin/dns-filter
+bin/dns-hosts
+bin/dns-ng
+bin/dns-rev