mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
New port:
A version of 'traceroute' that shows the AS network number of each hop. PR: 2778 Submitted by: Chris Dabrowski < chris@vader.org>
This commit is contained in:
parent
3b1eb2b2df
commit
915850fa63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6471
20
net/traceroute/Makefile
Normal file
20
net/traceroute/Makefile
Normal file
@ -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>
|
1
net/traceroute/distinfo
Normal file
1
net/traceroute/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (traceroute_961230.tar.Z) = a65d6fc4c24e41aaf5062eae49c464e1
|
89
net/traceroute/files/patch-aa
Normal file
89
net/traceroute/files/patch-aa
Normal file
@ -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)
|
1
net/traceroute/pkg-comment
Normal file
1
net/traceroute/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A version of 'traceroute' that shows the AS network number of each hop.
|
5
net/traceroute/pkg-descr
Normal file
5
net/traceroute/pkg-descr
Normal file
@ -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
|
2
net/traceroute/pkg-plist
Normal file
2
net/traceroute/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
sbin/traceroute
|
||||
man/man8/traceroute.8.gz
|
Loading…
Reference in New Issue
Block a user