aboutsummaryrefslogtreecommitdiff
path: root/net/ntraceroute
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-06-13 22:44:38 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-06-13 22:44:38 +0000
commit2d16069f0358c1e7e34cdcdbe1fc7062b0a52a2f (patch)
tree3f3c173f964cd1f1a9f2d7e3f287236f71269e29 /net/ntraceroute
parent21344878d485ab7992f474bdda305572c6eaa739 (diff)
Notes
Diffstat (limited to 'net/ntraceroute')
-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
4 files changed, 52 insertions, 0 deletions
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile
new file mode 100644
index 000000000000..ad4530f94658
--- /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 000000000000..b6dd300224f1
--- /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 000000000000..d507de7a19c5
--- /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 000000000000..85a5f29bbbe2
--- /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.