summaryrefslogtreecommitdiff
path: root/net/traceroute
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-05-17 16:21:11 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-05-17 16:21:11 +0000
commit915850fa63a21a1b02f7463b279dedcbacae55b0 (patch)
treeb58965f09462891cfb1477ea359af82297bbf288 /net/traceroute
parentDon't compress man pages during the build. (diff)
New port:
A version of 'traceroute' that shows the AS network number of each hop. PR: 2778 Submitted by: Chris Dabrowski < chris@vader.org>
Notes
Notes: svn path=/head/; revision=6471
Diffstat (limited to 'net/traceroute')
-rw-r--r--net/traceroute/Makefile20
-rw-r--r--net/traceroute/distinfo1
-rw-r--r--net/traceroute/files/patch-aa89
-rw-r--r--net/traceroute/pkg-comment1
-rw-r--r--net/traceroute/pkg-descr5
-rw-r--r--net/traceroute/pkg-plist2
6 files changed, 118 insertions, 0 deletions
diff --git a/net/traceroute/Makefile b/net/traceroute/Makefile
new file mode 100644
index 000000000000..38a49da79af8
--- /dev/null
+++ b/net/traceroute/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: traceroute
+# Version required: 961230
+# Date created: 20 February 1997
+# Whom: chris@vader.org
+#
+# $Id$
+#
+
+DISTNAME= traceroute_961230
+PKGNAME= traceroute-961230
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.nikhef.nl/pub/network/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= chris@vader.org
+
+NO_WRKSUBDIR= yes
+MAN8= traceroute.8
+
+.include <bsd.port.mk>
diff --git a/net/traceroute/distinfo b/net/traceroute/distinfo
new file mode 100644
index 000000000000..ddf3f123c9f0
--- /dev/null
+++ b/net/traceroute/distinfo
@@ -0,0 +1 @@
+MD5 (traceroute_961230.tar.Z) = a65d6fc4c24e41aaf5062eae49c464e1
diff --git a/net/traceroute/files/patch-aa b/net/traceroute/files/patch-aa
new file mode 100644
index 000000000000..f4d0c8090c9f
--- /dev/null
+++ b/net/traceroute/files/patch-aa
@@ -0,0 +1,89 @@
+--- Makefile.orig Mon Dec 30 22:36:56 1996
++++ Makefile Sun May 18 01:08:46 1997
+@@ -4,11 +4,14 @@
+ # Adapt the installation directories to your local standards.
+ # ----------------------------------------------------------------------
+
++# Installation prefix:
++PREFIX ?= /usr/local
++
+ # This is where the traceroute executable will go.
+-DESTBIN = /usr/local/etc
++DESTBIN = ${PREFIX}/sbin
+
+ # This is where the traceroute manual page will go.
+-DESTMAN = /usr/local/man
++DESTMAN = ${PREFIX}/man
+
+ BINDIR = $(DESTBIN)
+ MANDIR = $(DESTMAN)/man8
+@@ -49,13 +52,13 @@
+ # were used to build the resolver library you are linking with.
+ # ----------------------------------------------------------------------
+
+-INCL = ../include
++#INCL = ../include
+ INCL =
+
+-COMPINCL = ../compat/include
++#COMPINCL = ../compat/include
+ COMPINCL =
+
+-INCLUDES = -I$(INCL) -I$(COMPINCL)
++#INCLUDES = -I$(INCL) -I$(COMPINCL)
+ INCLUDES =
+
+ # ----------------------------------------------------------------------
+@@ -64,15 +67,15 @@
+
+ DEFS = $(CONFIGDEFS) $(SYSDEFS) $(INCLUDES)
+
+-COPTS =
++#COPTS =
+ COPTS = -O
+
+ 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
++#CC = /usr/ucb/cc #if defined(solaris) && BSD
++#CC = /bin/cc -arch m68k -arch i386 #if defined(next)
++#CC = /bin/cc
+ CC = cc
+
+ # ----------------------------------------------------------------------
+@@ -89,16 +92,16 @@
+ # With BIND 4.9.3 the getnet...() calls are in the resolver library.
+ # ----------------------------------------------------------------------
+
+-RES = -lsocket #if defined(SCO) && default
++#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
++#COMPLIB = ../compat/lib/lib44bsd.a
++#COMPLIB = -lnet
+ COMPLIB =
+
+-LIBS = -lsocket -lnsl #if defined(solaris) && not BSD
++#LIBS = -lsocket -lnsl #if defined(solaris) && not BSD
+ LIBS =
+
+ LIBRARIES = $(RES) $(COMPLIB) $(LIBS)
+@@ -152,7 +155,8 @@
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBRARIES)
+
+ install: $(PROG)
+- $(INSTALL) -m 4755 -o root -g network -s $(PROG) $(BINDIR)
++ $(INSTALL) -m 4555 -o root -g bin -s $(PROG) $(BINDIR)
++ $(INSTALL) -m 444 traceroute.8 $(MANDIR)
+
+ man: $(MANS)
+ $(INSTALL) -m 444 traceroute.8 $(MANDIR)
diff --git a/net/traceroute/pkg-comment b/net/traceroute/pkg-comment
new file mode 100644
index 000000000000..509d5254300d
--- /dev/null
+++ b/net/traceroute/pkg-comment
@@ -0,0 +1 @@
+A version of 'traceroute' that shows the AS network number of each hop.
diff --git a/net/traceroute/pkg-descr b/net/traceroute/pkg-descr
new file mode 100644
index 000000000000..8b5539b16e7b
--- /dev/null
+++ b/net/traceroute/pkg-descr
@@ -0,0 +1,5 @@
+A version of 'traceroute' that shows the AS network number of each hop.
+
+Chris Dabrowski
+chris@vader.org
+chrisd@demon.net
diff --git a/net/traceroute/pkg-plist b/net/traceroute/pkg-plist
new file mode 100644
index 000000000000..8dafa07fcb81
--- /dev/null
+++ b/net/traceroute/pkg-plist
@@ -0,0 +1,2 @@
+sbin/traceroute
+man/man8/traceroute.8.gz