Skip site navigation (1)Skip section navigation (2)
Date:      19 Sep 2000 11:57:30 -0000
From:      "Peter Pentchev" <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21396: New port: net/ghtool - cmdline interface to the resolver
Message-ID:  <20000919115730.12107.qmail@ringwraith.office1>

next in thread | raw e-mail | index | archive | help

>Number:         21396
>Category:       ports
>Synopsis:       New port: net/ghtool - cmdline interface to the resolver
>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:   Tue Sep 19 05:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     "Peter Pentchev" <roam@orbitel.bg>
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Orbitel JSCo.
>Environment:

current ports tree

>Description:

gh-tool is a command-line interface to gethostby*, in libresolv/libc.
It allows one to check the local system's notion of an IP->DNS or
DNS->IP mapping, including aliases, directly, rather than digging for
mappings in DNS, which may or may not be relevant.


>How-To-Repeat:

N/A

>Fix:

# 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:
#
#	ghtool-1.0/
#	ghtool-1.0/files
#	ghtool-1.0/files/md5
#	ghtool-1.0/Makefile
#	ghtool-1.0/pkg
#	ghtool-1.0/pkg/COMMENT
#	ghtool-1.0/pkg/DESCR
#	ghtool-1.0/pkg/PLIST
#
echo c - ghtool-1.0/
mkdir -p ghtool-1.0/ > /dev/null 2>&1
echo c - ghtool-1.0/files
mkdir -p ghtool-1.0/files > /dev/null 2>&1
echo x - ghtool-1.0/files/md5
sed 's/^X//' >ghtool-1.0/files/md5 << 'END-of-ghtool-1.0/files/md5'
XMD5 (ghmain.c) = 063690f107086022b111648b73cad036
END-of-ghtool-1.0/files/md5
echo x - ghtool-1.0/Makefile
sed 's/^X//' >ghtool-1.0/Makefile << 'END-of-ghtool-1.0/Makefile'
X# New ports collection makefile for:	ghtool
X# Date created:		19 September 2000
X# Whom:			roam@orbitel.bg
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ghtool
XPORTVERSION=	1.0
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=gh-tool
XDISTNAME=	ghmain.c
XEXTRACT_SUFX=
X
XMAINTAINER=	roam@orbitel.bg
X
XWRKSRC=		${WRKDIR}
X
XTGT=		gh
XSRC=		gh.c
X
XEXTRACT_CMD=	${CP}
XEXTRACT_BEFORE_ARGS=
XEXTRACT_AFTER_ARGS=	${WRKSRC}/${SRC}
X
Xdo-build:
X		${CC} ${CFLAGS} -o ${WRKSRC}/${TGT} ${WRKSRC}/${SRC}
X
Xdo-install:
X		${INSTALL_PROGRAM} ${WRKSRC}/${TGT} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-ghtool-1.0/Makefile
echo c - ghtool-1.0/pkg
mkdir -p ghtool-1.0/pkg > /dev/null 2>&1
echo x - ghtool-1.0/pkg/COMMENT
sed 's/^X//' >ghtool-1.0/pkg/COMMENT << 'END-of-ghtool-1.0/pkg/COMMENT'
XA command-line interface to the resolver library
END-of-ghtool-1.0/pkg/COMMENT
echo x - ghtool-1.0/pkg/DESCR
sed 's/^X//' >ghtool-1.0/pkg/DESCR << 'END-of-ghtool-1.0/pkg/DESCR'
XTo quote from the SourceForge project description:
X
X   gh-tool is a command-line interface to gethostby*, in libresolv/libc.
X   It allows one to check the local system's notion of an IP->DNS or
X   DNS->IP mapping, including aliases, directly, rather than digging for
X   mappings in DNS, which may or may not be relevant.
X
XWWW:		http://www.sourceforge.net/projects/gh-tool/
XAuthor:		Ally Kendall <aminorex@users.sourceforge.net>
X
XMaintainer:	Peter Pentchev <roam@orbitel.bg>
END-of-ghtool-1.0/pkg/DESCR
echo x - ghtool-1.0/pkg/PLIST
sed 's/^X//' >ghtool-1.0/pkg/PLIST << 'END-of-ghtool-1.0/pkg/PLIST'
Xbin/gh
END-of-ghtool-1.0/pkg/PLIST
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000919115730.12107.qmail>