From owner-freebsd-ports Thu Nov 12 04:50:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA04295 for freebsd-ports-outgoing; Thu, 12 Nov 1998 04:50:00 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA04287 for ; Thu, 12 Nov 1998 04:49:57 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA17891; Thu, 12 Nov 1998 04:50:01 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA04122; Thu, 12 Nov 1998 04:46:14 -0800 (PST) (envelope-from nobody) Message-Id: <199811121246.EAA04122@hub.freebsd.org> Date: Thu, 12 Nov 1998 04:46:14 -0800 (PST) From: Karl.Dietz@triplan.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/8664: new port: dnsutl - converter DNS -> REV / hosts / netgroup / ... Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8664 >Category: ports >Synopsis: new port: dnsutl - converter DNS -> REV / hosts / netgroup / ... >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 12 04:50:00 PST 1998 >Last-Modified: >Originator: Karl Dietz >Organization: TRIPLAN Ing. GmbH >Release: 3.0-RELEASE >Environment: FreeBSD hermes.triplan.com 3.0-RELEASE FreeBSD 3.0-RELEASE 1: Tue Nov 10 00:50:41 CET 1998 root@hermes.triplan.com:/usr/src/sys/compile/HERMES i386 >Description: These dns tools have proven quite usefull for me, so I wanted to share them with others. But I ran into a problem while building. (this is my first port) The manpages do not build because some bin/roffpp is missing. So if someone had a look at it, probably fixed it and committed, I'd be quite happy. Karl >How-To-Repeat: cd /usr/ports/net/dnsutl >Fix: extract this sharfile # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dnsutl # dnsutl/Makefile # dnsutl/files # dnsutl/files/md5 # dnsutl/pkg # dnsutl/pkg/PLIST # dnsutl/pkg/DESCR # dnsutl/pkg/COMMENT # dnsutl/patches # dnsutl/patches/patch-aa # echo c - dnsutl mkdir -p dnsutl > /dev/null 2>&1 echo x - dnsutl/Makefile sed 's/^X//' >dnsutl/Makefile << 'END-of-dnsutl/Makefile' X# Ports collection makefile for: dnsutl X# Version required: 1.3 X# Date created: Nov 05, 1998 X# Whom: Karl Dietz (Karl.Dietz@triplan.com) X# X# $Id: Makefile,v 1.4 1998/08/20 22:06:00 obrien Exp $ X# X XDISTNAME= dnsutl.1.3 XPKGNAME= dnsutl-1.3 XCATEGORIES= net XMASTER_SITES= http://www.tip.net.au/~millerp/ X XMAINTAINER= Karl.Dietz@triplan.com X XHAS_CONFIGURE= yes XCONFIGURE_PARAM= --prefix=${PREFIX} XCONFIGURE_ENV= LIBS=-lcompat X XINSTALL_TARGET= sure install-bin X X#MAN1= dns-bootp.1 dns-ethers.1 dns-hosts.1 dns-rev.1 \ X# dns-bootprms.1 dns-filter.1 dns-ng.1 X X.include END-of-dnsutl/Makefile echo c - dnsutl/files mkdir -p dnsutl/files > /dev/null 2>&1 echo x - dnsutl/files/md5 sed 's/^X//' >dnsutl/files/md5 << 'END-of-dnsutl/files/md5' XMD5 (dnsutl.1.3.tar.gz) = cb4f366221517a3fdfe7584f0c568d37 END-of-dnsutl/files/md5 echo c - dnsutl/pkg mkdir -p dnsutl/pkg > /dev/null 2>&1 echo x - dnsutl/pkg/PLIST sed 's/^X//' >dnsutl/pkg/PLIST << 'END-of-dnsutl/pkg/PLIST' Xbin/dns-bootp Xbin/dns-bootparams Xbin/dns-ethers Xbin/dns-filter Xbin/dns-hosts Xbin/dns-ng Xbin/dns-rev END-of-dnsutl/pkg/PLIST echo x - dnsutl/pkg/DESCR sed 's/^X//' >dnsutl/pkg/DESCR << 'END-of-dnsutl/pkg/DESCR' X The dnsutl package is a bunch of programs I wrote to make X using DNS easier. These include: X X dns-rev X Take the forward DNS mapping and generate the X reverse mapping. X X dns-hosts X Take the forward DNS mapping and generate the X /etc/hosts file. X X dns-ng X Take the forward DNS mapping and generate the X /etc/netgroup file. X X All of these programs are both faster than shell scripts, X and more robust when faced with all the peculiar semantics X of DNS resource files. END-of-dnsutl/pkg/DESCR echo x - dnsutl/pkg/COMMENT sed 's/^X//' >dnsutl/pkg/COMMENT << 'END-of-dnsutl/pkg/COMMENT' XThis is a bunch of programs to make using DNS easier. END-of-dnsutl/pkg/COMMENT echo c - dnsutl/patches mkdir -p dnsutl/patches > /dev/null 2>&1 echo x - dnsutl/patches/patch-aa sed 's/^X//' >dnsutl/patches/patch-aa << 'END-of-dnsutl/patches/patch-aa' X*** Makefile.in.orig Thu Nov 12 10:57:05 1998 X--- Makefile.in Thu Nov 12 11:10:12 1998 X*************** X*** 99,105 **** X # You should not need to alter anything below this point. X #------------------------------------------------------------ X X! all: bin/dns-hosts bin/dns-ng bin/dns-rev X X common/ansi.o: common/ansi.c common/ac/stddef.h common/config.h \ X common/ac/stdlib.h common/ac/string.h common/main.h X--- 99,106 ---- X # You should not need to alter anything below this point. X #------------------------------------------------------------ X X! all: bin/dns-bootp bin/dns-bootparams bin/dns-ethers bin/dns-filter \ X! bin/dns-hosts bin/dns-ng bin/dns-rev X X common/ansi.o: common/ansi.c common/ac/stddef.h common/config.h \ X common/ac/stdlib.h common/ac/string.h common/main.h X*************** X*** 584,589 **** X--- 585,622 ---- X -mkdir bin X @touch .bin X X+ dns_bootp_files = dns-bootp/main.o dns-bootp/filter.o X+ X+ bin/dns-bootp: $(dns_bootp_files) common/lib.a .bin X+ $(CC) $(LDFLAGS) -o bin/dns-bootp $(dns_bootp_files) common/lib.a $(LIBS) X+ X+ $(bindir)/dns-bootp: bin/dns-bootp X+ $(INSTALL_PROGRAM) bin/dns-bootp $(bindir)/dns-bootp X+ X+ dns_bootparams_files = dns-bootparams/main.o dns-bootparams/filter.o X+ X+ bin/dns-bootparams: $(dns_bootparams_files) common/lib.a .bin X+ $(CC) $(LDFLAGS) -o bin/dns-bootparams $(dns_bootparams_files) common/lib.a $(LIBS) X+ X+ $(bindir)/dns-bootparams: bin/dns-bootparams X+ $(INSTALL_PROGRAM) bin/dns-bootparams $(bindir)/dns-bootparams X+ X+ dns_ethers_files = dns-ethers/main.o dns-ethers/ethers.o X+ X+ bin/dns-ethers: $(dns_ethers_files) common/lib.a .bin X+ $(CC) $(LDFLAGS) -o bin/dns-ethers $(dns_ethers_files) common/lib.a $(LIBS) X+ X+ $(bindir)/dns-ethers: bin/dns-ethers X+ $(INSTALL_PROGRAM) bin/dns-ethers $(bindir)/dns-ethers X+ X+ dns_filter_files = dns-filter/main.o dns-filter/filter.o X+ X+ bin/dns-filter: $(dns_filter_files) common/lib.a .bin X+ $(CC) $(LDFLAGS) -o bin/dns-filter $(dns_filter_files) common/lib.a $(LIBS) X+ X+ $(bindir)/dns-filter: bin/dns-filter X+ $(INSTALL_PROGRAM) bin/dns-filter $(bindir)/dns-filter X+ X dns_hosts_files = dns-hosts/hosts.o dns-hosts/main.o X X bin/dns-hosts: $(dns_hosts_files) common/lib.a .bin X*************** X*** 609,614 **** X--- 642,649 ---- X $(bindir)/dns-rev: bin/dns-rev X $(INSTALL_PROGRAM) bin/dns-rev $(bindir)/dns-rev X X+ X+ X Txt2cObj = common/ansi.o common/arglex.o common/error.o common/mem.o \ X txt2c/main.o txt2c/txt2c.o X X*************** X*** 651,657 **** X distclean: clean X rm -f Makefile common/config.h config.status X X! install-bin: $(bindir)/dns-hosts $(bindir)/dns-ng $(bindir)/dns-rev X X install-man: $(mandir)/man1/dns-bootp.1 $(mandir)/man1/dns-bootprms.1 \ X $(mandir)/man1/dns-ethers.1 $(mandir)/man1/dns-filter.1 \ X--- 686,694 ---- X distclean: clean X rm -f Makefile common/config.h config.status X X! install-bin: $(bindir)/dns-hosts $(bindir)/dns-ng $(bindir)/dns-rev \ X! $(bindir)/dns-ethers $(bindir)/dns-bootp \ X! $(bindir)/dns-bootparams $(bindir)/dns-filter X X install-man: $(mandir)/man1/dns-bootp.1 $(mandir)/man1/dns-bootprms.1 \ X $(mandir)/man1/dns-ethers.1 $(mandir)/man1/dns-filter.1 \ END-of-dnsutl/patches/patch-aa exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message