aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--net/Makefile1
-rw-r--r--net/ntraceroute/Makefile37
-rw-r--r--net/ntraceroute/distinfo2
-rw-r--r--net/ntraceroute/files/patch-traceroute.c10
-rw-r--r--net/ntraceroute/pkg-descr3
6 files changed, 53 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 3376236967f..18dcfff22c6 100644
--- a/MOVED
+++ b/MOVED
@@ -1948,7 +1948,6 @@ net/gnosamba||2011-05-02|Has expired: Upstream disapear and distfile is no more
net/merlinmon||2011-05-02|Has expired: Upstream disapear and distfile is no more available
net/msntp||2011-05-02|Has expired: Upstream disapear and distfile is no more available
net/ntalk||2011-05-02|Has expired: Upstream disapear and distfile is no more available
-net/ntraceroute||2011-05-02|Has expired: Upstream disapear and distfile is no more available
net/onion-fec||2011-05-02|Has expired: Upstream disapear and distfile is no more available
net/openverse||2011-05-02|Has expired: Upstream disapear and distfile is no more available
net/poink||2011-05-02|Has expired: Upstream disapear and distfile is no more available
diff --git a/net/Makefile b/net/Makefile
index 47cfef040be..abebf52cfc1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -441,6 +441,7 @@
SUBDIR += ntp
SUBDIR += ntp-devel
SUBDIR += ntp-rc
+ SUBDIR += ntraceroute
SUBDIR += nusoap
SUBDIR += nxproxy
SUBDIR += nxserver
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile
new file mode 100644
index 00000000000..ad4530f9465
--- /dev/null
+++ b/net/ntraceroute/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: ntraceroute
+# Date created: 25 June 2004
+# Whom: Bruce M Simpson <bms@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ntraceroute
+PORTVERSION= 6.4.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITE_SUBDIR= traceroute-nanog
+DISTNAME= traceroute.c
+EXTRACT_SUFX=
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= rpsfa@rit.edu
+COMMENT= Ubiquitous network routing analysis tool
+
+WRKSRC= ${WRKDIR}
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= .
+
+NOMAN= defined
+PLIST_FILES= sbin/${PORTNAME}
+
+do-build:
+ ${CC} -o ${WRKSRC}/${PORTNAME} -lm \
+ ${WRKSRC}/${DISTFILES}
+
+do-install:
+ ${INSTALL} ${COPY} ${STRIP} -o root -g wheel -m 04555 \
+ ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/net/ntraceroute/distinfo b/net/ntraceroute/distinfo
new file mode 100644
index 00000000000..b6dd300224f
--- /dev/null
+++ b/net/ntraceroute/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ntraceroute/traceroute.c) = 093a153bf3764de9910b2810259b0a810cbbaa54a6533d1397160a6a18492a47
+SIZE (ntraceroute/traceroute.c) = 107519
diff --git a/net/ntraceroute/files/patch-traceroute.c b/net/ntraceroute/files/patch-traceroute.c
new file mode 100644
index 00000000000..d507de7a19c
--- /dev/null
+++ b/net/ntraceroute/files/patch-traceroute.c
@@ -0,0 +1,10 @@
+--- traceroute.c 2011-06-12 18:10:52.000000000 -0400
++++ traceroute.c 2011-06-12 18:11:00.000000000 -0400
+@@ -2,6 +2,7 @@
+ /*
+ * STILL BROKEN: traceroute -g on linux (LSRR)
+ */
++#include <string.h>
+ #define TRACE_TOS 1
+ #define SPRAY
+ #define FIXT
diff --git a/net/ntraceroute/pkg-descr b/net/ntraceroute/pkg-descr
new file mode 100644
index 00000000000..85a5f29bbbe
--- /dev/null
+++ b/net/ntraceroute/pkg-descr
@@ -0,0 +1,3 @@
+This is the NANOG traceroute program. This traceroute variant offers
+features such as MPLS label decode, Path MTU discovery, AS lookup,
+and spray mode. It is maintained by a collection of volunteers.