summaryrefslogtreecommitdiff
path: root/dns/ghtool
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-23 10:50:06 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-23 10:50:06 +0000
commit3a268dec05d174ffb1e37decf9067af01ea577ba (patch)
tree6ca1b0ac401dcea46f18ec7b4e4838f887d3a2f0 /dns/ghtool
parentRetire wpeople - it has been dead for a quite long time. (diff)
Add port net/ghtool
A command-line interface to the resolver library PR: 21396 Submitted by: Peter Pentchev <roam@orbitel.bg> MAINTAINER
Notes
Notes: svn path=/head/; revision=34129
Diffstat (limited to 'dns/ghtool')
-rw-r--r--dns/ghtool/Makefile33
-rw-r--r--dns/ghtool/distinfo1
-rw-r--r--dns/ghtool/pkg-comment1
-rw-r--r--dns/ghtool/pkg-descr11
-rw-r--r--dns/ghtool/pkg-plist1
5 files changed, 47 insertions, 0 deletions
diff --git a/dns/ghtool/Makefile b/dns/ghtool/Makefile
new file mode 100644
index 000000000000..94d4feda10e9
--- /dev/null
+++ b/dns/ghtool/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ghtool
+# Date created: 19 September 2000
+# Whom: roam@orbitel.bg
+#
+# $FreeBSD$
+#
+
+PORTNAME= ghtool
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=gh-tool
+DISTNAME= ghmain.c
+EXTRACT_SUFX=
+
+MAINTAINER= roam@orbitel.bg
+
+WRKSRC= ${WRKDIR}
+
+TGT= gh
+SRC= gh.c
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKSRC}/${SRC}
+
+do-build:
+ ${CC} ${CFLAGS} -o ${WRKSRC}/${TGT} ${WRKSRC}/${SRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${TGT} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/dns/ghtool/distinfo b/dns/ghtool/distinfo
new file mode 100644
index 000000000000..1bf4b13546ca
--- /dev/null
+++ b/dns/ghtool/distinfo
@@ -0,0 +1 @@
+MD5 (ghmain.c) = 063690f107086022b111648b73cad036
diff --git a/dns/ghtool/pkg-comment b/dns/ghtool/pkg-comment
new file mode 100644
index 000000000000..111745d590f9
--- /dev/null
+++ b/dns/ghtool/pkg-comment
@@ -0,0 +1 @@
+A command-line interface to the resolver library
diff --git a/dns/ghtool/pkg-descr b/dns/ghtool/pkg-descr
new file mode 100644
index 000000000000..b8f7345dad15
--- /dev/null
+++ b/dns/ghtool/pkg-descr
@@ -0,0 +1,11 @@
+To quote from the SourceForge project 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.
+
+WWW: http://www.sourceforge.net/projects/gh-tool/
+Author: Ally Kendall <aminorex@users.sourceforge.net>
+
+Maintainer: Peter Pentchev <roam@orbitel.bg>
diff --git a/dns/ghtool/pkg-plist b/dns/ghtool/pkg-plist
new file mode 100644
index 000000000000..eee25483706d
--- /dev/null
+++ b/dns/ghtool/pkg-plist
@@ -0,0 +1 @@
+bin/gh