summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/host/Makefile22
-rw-r--r--dns/host/distinfo1
-rw-r--r--dns/host/files/patch-Makefile84
-rw-r--r--dns/host/pkg-comment1
-rw-r--r--dns/host/pkg-descr1
-rw-r--r--dns/host/pkg-plist1
-rw-r--r--net/Makefile1
-rw-r--r--net/host/Makefile22
-rw-r--r--net/host/distinfo1
-rw-r--r--net/host/files/patch-Makefile84
-rw-r--r--net/host/pkg-comment1
-rw-r--r--net/host/pkg-descr1
-rw-r--r--net/host/pkg-plist1
13 files changed, 221 insertions, 0 deletions
diff --git a/dns/host/Makefile b/dns/host/Makefile
new file mode 100644
index 000000000000..1c19daad9fd5
--- /dev/null
+++ b/dns/host/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: host
+# Date created: 29 June 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= host
+PORTVERSION= 991529
+CATEGORIES= net
+MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/ \
+ ftp://ftp.nikhef.nl/pub/network/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= sobomax@FreeBSD.org
+
+NO_WRKSUBDIR= yes
+
+MAN1= host.1
+
+.include <bsd.port.mk>
diff --git a/dns/host/distinfo b/dns/host/distinfo
new file mode 100644
index 000000000000..b47bf13aa3d9
--- /dev/null
+++ b/dns/host/distinfo
@@ -0,0 +1 @@
+MD5 (host.tar.Z) = f3c5589cbe168a49581e856fe26b4808
diff --git a/dns/host/files/patch-Makefile b/dns/host/files/patch-Makefile
new file mode 100644
index 000000000000..3bd8f73f691a
--- /dev/null
+++ b/dns/host/files/patch-Makefile
@@ -0,0 +1,84 @@
+
+$FreeBSD$
+
+--- Makefile.orig Wed Mar 15 23:51:39 2000
++++ Makefile Fri Jun 29 13:42:36 2001
+@@ -5,10 +5,10 @@
+ # ----------------------------------------------------------------------
+
+ # This is where the host executable will go.
+-DESTBIN = /usr/local/bin
++DESTBIN = $(PREFIX)/bin
+
+ # This is where the host manual page will go.
+-DESTMAN = /usr/local/man
++DESTMAN = $(PREFIX)/man
+
+ BINDIR = $(DESTBIN)
+ MANDIR = $(DESTMAN)/man1
+@@ -82,16 +82,16 @@
+
+ COPTS =
+ COPTS = -O -DDEBUG
+-COPTS = -O
++COPTS =
+
+-CFLAGS = $(COPTS) $(DEFS)
++#CFLAGS = $(COPTS) $(DEFS)
+
+ # Select your favorite compiler.
+-CC = /usr/ucb/cc #if defined(solaris) && BSD
+-CC = /bin/cc -arch m68k -arch i386 #if defined(next)
+-CC = /bin/cc -Olimit 1000 #if defined(ultrix)
+-CC = /bin/cc
+-CC = cc
++CC ?= /usr/ucb/cc #if defined(solaris) && BSD
++CC ?= /bin/cc -arch m68k -arch i386 #if defined(next)
++CC ?= /bin/cc -Olimit 1000 #if defined(ultrix)
++CC ?= /bin/cc
++CC ?= cc
+
+ # ----------------------------------------------------------------------
+ # Linking definitions.
+@@ -109,8 +109,8 @@
+
+ RES = -lsocket #if defined(SCO) && default
+ RES =
+-RES = ../../res/libresolv.a
+-RES = -lresolv
++#RES = ../../res/libresolv.a
++#RES = -lresolv
+
+ COMPLIB = ../../compat/lib/lib44bsd.a
+ COMPLIB = -lnet
+@@ -130,13 +130,13 @@
+ # redefined by bind
+ CDEBUG = $(COPTS) $(CONFIGDEFS)
+ CDEFS = $(SYSDEFS) $(INCLUDES)
+-CFLAGS = $(CDEBUG) $(CDEFS)
++CFLAGS += $(CDEBUG) $(CDEFS)
+
+ # ----------------------------------------------------------------------
+ # Miscellaneous definitions.
+ # ----------------------------------------------------------------------
+
+-MAKE = make $(MFLAGS)
++MAKE += $(MFLAGS)
+
+ # This assumes the BSD install.
+ INSTALL = install -c
+@@ -183,11 +183,9 @@
+ $(PROG): $(OBJS)
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBRARIES)
+
+-install: $(PROG)
+- $(INSTALL) -m $(MODE) -o $(OWNER) -g $(GROUP) $(STRIP) $(PROG) $(BINDIR)
+-
+-man: $(MANS)
+- $(INSTALL) -m 444 host.1 $(MANDIR)
++install: $(PROG) $(MANS)
++ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)
++ $(BSD_INSTALL_MAN) host.1 $(MANDIR)
+
+ clean:
+ rm -f $(CLEANUP) *.o a.out core
diff --git a/dns/host/pkg-comment b/dns/host/pkg-comment
new file mode 100644
index 000000000000..818ac9c70f49
--- /dev/null
+++ b/dns/host/pkg-comment
@@ -0,0 +1 @@
+An utility to query DNS servers
diff --git a/dns/host/pkg-descr b/dns/host/pkg-descr
new file mode 100644
index 000000000000..d4981f617469
--- /dev/null
+++ b/dns/host/pkg-descr
@@ -0,0 +1 @@
+An utility to query DNS servers, similar to one found in the BIND distribution.
diff --git a/dns/host/pkg-plist b/dns/host/pkg-plist
new file mode 100644
index 000000000000..4440eb484e9a
--- /dev/null
+++ b/dns/host/pkg-plist
@@ -0,0 +1 @@
+bin/host
diff --git a/net/Makefile b/net/Makefile
index ab8bfa95cb0c..342349be6f96 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -129,6 +129,7 @@
SUBDIR += h2n
SUBDIR += hagelslag
SUBDIR += hesiod
+ SUBDIR += host
SUBDIR += hx
SUBDIR += icb
SUBDIR += icmpinfo
diff --git a/net/host/Makefile b/net/host/Makefile
new file mode 100644
index 000000000000..1c19daad9fd5
--- /dev/null
+++ b/net/host/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: host
+# Date created: 29 June 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= host
+PORTVERSION= 991529
+CATEGORIES= net
+MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/ \
+ ftp://ftp.nikhef.nl/pub/network/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= sobomax@FreeBSD.org
+
+NO_WRKSUBDIR= yes
+
+MAN1= host.1
+
+.include <bsd.port.mk>
diff --git a/net/host/distinfo b/net/host/distinfo
new file mode 100644
index 000000000000..b47bf13aa3d9
--- /dev/null
+++ b/net/host/distinfo
@@ -0,0 +1 @@
+MD5 (host.tar.Z) = f3c5589cbe168a49581e856fe26b4808
diff --git a/net/host/files/patch-Makefile b/net/host/files/patch-Makefile
new file mode 100644
index 000000000000..3bd8f73f691a
--- /dev/null
+++ b/net/host/files/patch-Makefile
@@ -0,0 +1,84 @@
+
+$FreeBSD$
+
+--- Makefile.orig Wed Mar 15 23:51:39 2000
++++ Makefile Fri Jun 29 13:42:36 2001
+@@ -5,10 +5,10 @@
+ # ----------------------------------------------------------------------
+
+ # This is where the host executable will go.
+-DESTBIN = /usr/local/bin
++DESTBIN = $(PREFIX)/bin
+
+ # This is where the host manual page will go.
+-DESTMAN = /usr/local/man
++DESTMAN = $(PREFIX)/man
+
+ BINDIR = $(DESTBIN)
+ MANDIR = $(DESTMAN)/man1
+@@ -82,16 +82,16 @@
+
+ COPTS =
+ COPTS = -O -DDEBUG
+-COPTS = -O
++COPTS =
+
+-CFLAGS = $(COPTS) $(DEFS)
++#CFLAGS = $(COPTS) $(DEFS)
+
+ # Select your favorite compiler.
+-CC = /usr/ucb/cc #if defined(solaris) && BSD
+-CC = /bin/cc -arch m68k -arch i386 #if defined(next)
+-CC = /bin/cc -Olimit 1000 #if defined(ultrix)
+-CC = /bin/cc
+-CC = cc
++CC ?= /usr/ucb/cc #if defined(solaris) && BSD
++CC ?= /bin/cc -arch m68k -arch i386 #if defined(next)
++CC ?= /bin/cc -Olimit 1000 #if defined(ultrix)
++CC ?= /bin/cc
++CC ?= cc
+
+ # ----------------------------------------------------------------------
+ # Linking definitions.
+@@ -109,8 +109,8 @@
+
+ RES = -lsocket #if defined(SCO) && default
+ RES =
+-RES = ../../res/libresolv.a
+-RES = -lresolv
++#RES = ../../res/libresolv.a
++#RES = -lresolv
+
+ COMPLIB = ../../compat/lib/lib44bsd.a
+ COMPLIB = -lnet
+@@ -130,13 +130,13 @@
+ # redefined by bind
+ CDEBUG = $(COPTS) $(CONFIGDEFS)
+ CDEFS = $(SYSDEFS) $(INCLUDES)
+-CFLAGS = $(CDEBUG) $(CDEFS)
++CFLAGS += $(CDEBUG) $(CDEFS)
+
+ # ----------------------------------------------------------------------
+ # Miscellaneous definitions.
+ # ----------------------------------------------------------------------
+
+-MAKE = make $(MFLAGS)
++MAKE += $(MFLAGS)
+
+ # This assumes the BSD install.
+ INSTALL = install -c
+@@ -183,11 +183,9 @@
+ $(PROG): $(OBJS)
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBRARIES)
+
+-install: $(PROG)
+- $(INSTALL) -m $(MODE) -o $(OWNER) -g $(GROUP) $(STRIP) $(PROG) $(BINDIR)
+-
+-man: $(MANS)
+- $(INSTALL) -m 444 host.1 $(MANDIR)
++install: $(PROG) $(MANS)
++ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)
++ $(BSD_INSTALL_MAN) host.1 $(MANDIR)
+
+ clean:
+ rm -f $(CLEANUP) *.o a.out core
diff --git a/net/host/pkg-comment b/net/host/pkg-comment
new file mode 100644
index 000000000000..818ac9c70f49
--- /dev/null
+++ b/net/host/pkg-comment
@@ -0,0 +1 @@
+An utility to query DNS servers
diff --git a/net/host/pkg-descr b/net/host/pkg-descr
new file mode 100644
index 000000000000..d4981f617469
--- /dev/null
+++ b/net/host/pkg-descr
@@ -0,0 +1 @@
+An utility to query DNS servers, similar to one found in the BIND distribution.
diff --git a/net/host/pkg-plist b/net/host/pkg-plist
new file mode 100644
index 000000000000..4440eb484e9a
--- /dev/null
+++ b/net/host/pkg-plist
@@ -0,0 +1 @@
+bin/host