From 9aaf2467093688d9797d12dee135dead545c3fa6 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 17 Jun 1999 10:00:30 +0000 Subject: import of domtools 'domtools' is a set of DNS information extraction utilities. The commands in the 'domtools' package allow you to traverse DNS domain hierarchies, list all hosts (or subdomains) within a given domain, convert host name to IP address and vice-versa, convert a normal IP address to the "in-addr.arpa." format and vice-versa, and more. These commands can be used manually, or included as building blocks for higher level DNS tools. They generate output that is easily computer parsable. --- dns/domtools/Makefile | 25 ++++++++++++++ dns/domtools/distinfo | 1 + dns/domtools/files/patch-aa | 46 ++++++++++++++++++++++++++ dns/domtools/pkg-comment | 1 + dns/domtools/pkg-descr | 15 +++++++++ dns/domtools/pkg-plist | 79 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 167 insertions(+) create mode 100644 dns/domtools/Makefile create mode 100644 dns/domtools/distinfo create mode 100644 dns/domtools/files/patch-aa create mode 100644 dns/domtools/pkg-comment create mode 100644 dns/domtools/pkg-descr create mode 100644 dns/domtools/pkg-plist (limited to 'dns/domtools') diff --git a/dns/domtools/Makefile b/dns/domtools/Makefile new file mode 100644 index 000000000000..5a7f14988f2c --- /dev/null +++ b/dns/domtools/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: domtools +# Version required: 1.4.0 +# Date created: 12 Jun 1999 +# Whom: alexp +# +# $Id: Makefile,v 1.1.1.1 1999/06/12 04:45:52 jmg Exp $ +# + +DISTNAME= domtools1.4.0 +PKGNAME= domtools-1.4.0 +CATEGORIES= net +MASTER_SITES= http://www.domtools.com/pub/ + +MAINTAINER= veers@disturbed.net + +WRKSRC= ${WRKDIR}/domtools1.4.0/ + +USE_PERL5= YES + +NO_BUILD= YES + +post-install: + ${MKDIR} ${PREFIX}/domtools/lib/zonecache + +.include diff --git a/dns/domtools/distinfo b/dns/domtools/distinfo new file mode 100644 index 000000000000..5f351c0af4a7 --- /dev/null +++ b/dns/domtools/distinfo @@ -0,0 +1 @@ +MD5 (domtools1.4.0.tar.gz) = 4075410e4556d24dc19854afedecc635 diff --git a/dns/domtools/files/patch-aa b/dns/domtools/files/patch-aa new file mode 100644 index 000000000000..65b15ed2ec9d --- /dev/null +++ b/dns/domtools/files/patch-aa @@ -0,0 +1,46 @@ +--- ../domtools.orig/Makefile Thu Mar 18 11:48:08 1999 ++++ Makefile Sat Jun 12 22:31:17 1999 +@@ -35,12 +35,12 @@ + # This directory is created, below, if it doesn't exist. + # "bin" will put it in $LDEST/bin. + # "bin/domtools" (my favorite) puts it in $LDEST/bin/domtools. +-DOMBIN=bin/domtools ++DOMBIN=domtools/bin + #DOMBIN=bin + + # Library sub-directory under $LDEST where other files such as awk scripts should go. + # This directory is created, below, if it doesn't exist. +-DOMLIB=lib/domtools ++DOMLIB=domtools/lib + + # Do you want a world-writable Zone Cache directory, or not? + # Good points: speeds up the axfr tool substantially. +@@ -103,7 +103,7 @@ + #OWNER= pab + + # Group for installing Domtools directories and files. +-GROUP= bin ++GROUP= wheel + #GROUP= staff + #GROUP= oper + #GROUP= user +@@ -118,7 +118,7 @@ + # BSD-style installation command that creates missing parent dirs with "-d dir". + # You specify use Gnu Install here if you have it. + # First line is for BSD or SunOS; second is for SysV like Solaris 2. +-INSTALL=install ++INSTALL=/usr/bin/install + #INSTALL=/usr/ucb/install + #INSTALL=/usr/local/gnu/bin/install + #INSTALL=/stor/gnu/aix/bin/install +@@ -148,8 +148,8 @@ + # Regardless of the name, it _must_ be a gnu-based awk. + # If you don't have gawk, get it and install it; or hosttbl,networktbl,netmasktbl + # tools won't work right. Gawk is much better than awk or nawk anyway. +-GAWKPROG=gawk # many systems +-#GAWKPROG=awk # BSDI, Linux ++#GAWKPROG=gawk # many systems ++GAWKPROG=/usr/bin/awk # BSDI, Linux + #GAWKPROG=/usr/local/bin/awk + + #--------------------------------------------------------------------------------------- diff --git a/dns/domtools/pkg-comment b/dns/domtools/pkg-comment new file mode 100644 index 000000000000..7321467d4845 --- /dev/null +++ b/dns/domtools/pkg-comment @@ -0,0 +1 @@ +a set of utilities for extracting information from DNS records. diff --git a/dns/domtools/pkg-descr b/dns/domtools/pkg-descr new file mode 100644 index 000000000000..8296755f3b2e --- /dev/null +++ b/dns/domtools/pkg-descr @@ -0,0 +1,15 @@ +'domtools' is a set of DNS information extraction utilities. + +The commands in the 'domtools' package allow you to traverse DNS domain +hierarchies, list all hosts (or subdomains) within a given domain, +convert host name to IP address and vice-versa, convert a normal IP address +to the "in-addr.arpa." format and vice-versa, and more. These commands can be +used manually, or included as building blocks for higher level DNS tools. +They generate output that is easily computer parsable. + + + +See also the net/dlint port. + +-- Alex Perel + diff --git a/dns/domtools/pkg-plist b/dns/domtools/pkg-plist new file mode 100644 index 000000000000..e8f5f79c3ebc --- /dev/null +++ b/dns/domtools/pkg-plist @@ -0,0 +1,79 @@ +domtools/bin/address +domtools/bin/addr2net +domtools/bin/addr2mask +domtools/bin/axfr +domtools/bin/basedomain +domtools/bin/check1101 +domtools/bin/domsort +domtools/bin/f2iaddr +domtools/bin/gw +domtools/bin/hinfo +domtools/bin/hosts +domtools/bin/hosttbl +domtools/bin/i2faddr +domtools/bin/ipsort +domtools/bin/isequal +domtools/bin/issubdom +domtools/bin/makestatic +domtools/bin/netkillzeros +domtools/bin/netmask +domtools/bin/network +domtools/bin/netname +domtools/bin/netwithzeros +domtools/bin/nsap +domtools/bin/ns +domtools/bin/nsroot +domtools/bin/ptr +domtools/bin/root +domtools/bin/soa +domtools/bin/subdom +domtools/bin/subdom2 +domtools/bin/subzone +domtools/bin/txt +domtools/bin/type +domtools/bin/zone +domtools/bin/any +domtools/bin/wks +domtools/bin/mx +domtools/bin/networktbl +domtools/bin/netmasktbl +domtools/bin/uinfo +domtools/bin/cachebuild +domtools/bin/localad +domtools/bin/localdom +domtools/bin/subnetmask +domtools/bin/siteinfo +domtools/bin/cname +domtools/bin/rndarg +domtools/bin/soalist +domtools/bin/digparse +domtools/bin/gensubnetlist +domtools/lib/basedomain.awk +domtools/lib/domsort.awk +domtools/lib/f2iaddr.awk +domtools/lib/hosttbl.awk +domtools/lib/i2faddr.awk +domtools/lib/ipsort.awk +domtools/lib/netkillzeros.awk +domtools/lib/netwithzeros.awk +domtools/lib/subdom.awk +domtools/lib/subzone.awk +domtools/lib/type.awk +domtools/lib/hosttbl.footer +domtools/lib/hosttbl.header +domtools/lib/hosttbl.perl +domtools/lib/networktbl.footer +domtools/lib/networktbl.header +domtools/lib/networktbl.awk +domtools/lib/netmasktbl.footer +domtools/lib/netmasktbl.header +domtools/lib/netmasktbl.awk +domtools/lib/README +domtools/lib/MANUAL +domtools/lib/HOWTOUSE +domtools/lib/COPYRIGHT +@exec /bin/mkdir %B/zonecache +@dirrm domtools/bin +@dirrm domtools/lib/zonecache +@dirrm domtools/lib +@dirrm domtools -- cgit v1.2.3