summaryrefslogtreecommitdiffstats
path: root/net/ghtool
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2000-10-23 10:50:06 +0000
committerjeh <jeh@FreeBSD.org>2000-10-23 10:50:06 +0000
commit03a425dcbb0185431be5e28cce269a70c50d014e (patch)
tree6195c69f99a0dc3534135d08da48bfb533dc05dc /net/ghtool
parent17da48f8a47c33fff51d3df6c8cc7ed202ce756b (diff)
downloadFreeBSD-ports-03a425dcbb0185431be5e28cce269a70c50d014e.zip
FreeBSD-ports-03a425dcbb0185431be5e28cce269a70c50d014e.tar.gz
Add port net/ghtool
A command-line interface to the resolver library PR: 21396 Submitted by: Peter Pentchev <roam@orbitel.bg> MAINTAINER
Diffstat (limited to 'net/ghtool')
-rw-r--r--net/ghtool/Makefile33
-rw-r--r--net/ghtool/distinfo1
-rw-r--r--net/ghtool/pkg-comment1
-rw-r--r--net/ghtool/pkg-descr11
-rw-r--r--net/ghtool/pkg-plist1
5 files changed, 47 insertions, 0 deletions
diff --git a/net/ghtool/Makefile b/net/ghtool/Makefile
new file mode 100644
index 0000000..94d4fed
--- /dev/null
+++ b/net/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/net/ghtool/distinfo b/net/ghtool/distinfo
new file mode 100644
index 0000000..1bf4b13
--- /dev/null
+++ b/net/ghtool/distinfo
@@ -0,0 +1 @@
+MD5 (ghmain.c) = 063690f107086022b111648b73cad036
diff --git a/net/ghtool/pkg-comment b/net/ghtool/pkg-comment
new file mode 100644
index 0000000..111745d
--- /dev/null
+++ b/net/ghtool/pkg-comment
@@ -0,0 +1 @@
+A command-line interface to the resolver library
diff --git a/net/ghtool/pkg-descr b/net/ghtool/pkg-descr
new file mode 100644
index 0000000..b8f7345
--- /dev/null
+++ b/net/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/net/ghtool/pkg-plist b/net/ghtool/pkg-plist
new file mode 100644
index 0000000..eee2548
--- /dev/null
+++ b/net/ghtool/pkg-plist
@@ -0,0 +1 @@
+bin/gh
OpenPOWER on IntegriCloud