aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--net/Makefile1
-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
11 files changed, 95 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
diff --git a/net/Makefile b/net/Makefile
index 743c45670f32..a1b5b632b08a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -75,6 +75,7 @@
SUBDIR += gatekeeper
SUBDIR += generic-nqs
SUBDIR += ggsd
+ SUBDIR += ghtool
SUBDIR += gicq
SUBDIR += gkrellm_snmp
SUBDIR += gnet
diff --git a/net/ghtool/Makefile b/net/ghtool/Makefile
new file mode 100644
index 000000000000..94d4feda10e9
--- /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 000000000000..1bf4b13546ca
--- /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 000000000000..111745d590f9
--- /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 000000000000..b8f7345dad15
--- /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 000000000000..eee25483706d
--- /dev/null
+++ b/net/ghtool/pkg-plist
@@ -0,0 +1 @@
+bin/gh