aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-07-30 00:52:16 +0800
committeritetcu <itetcu@FreeBSD.org>2006-07-30 00:52:16 +0800
commitc7988c527843bbdc939b5e77587c047644390505 (patch)
tree846eb2beee60701f74cf6a3455cc0e3c656a88c2 /net
parentfdb3b005ec9a111d47cbf1ef62d9720653620cf8 (diff)
downloadfreebsd-ports-gnome-c7988c527843bbdc939b5e77587c047644390505.tar.gz
freebsd-ports-gnome-c7988c527843bbdc939b5e77587c047644390505.tar.zst
freebsd-ports-gnome-c7988c527843bbdc939b5e77587c047644390505.zip
etrace is a configurable static port network tracing tool, similar to
traceroute, but supporting ICMP, TCP, UDP and other IP protocols. etrace has a wealth of options ranging in function from controlling output to the detailed construction of trace packets. WWW: http://www.bindshell.net/tools/etrace PR: ports/100976 Submitted by: dave.ryan at gmail.com
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/etrace/Makefile29
-rw-r--r--net/etrace/distinfo3
-rw-r--r--net/etrace/files/patch-Makefile.in11
-rw-r--r--net/etrace/pkg-descr7
-rw-r--r--net/etrace/pkg-plist8
6 files changed, 59 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 61ef748b826a..f00a1f7bed4f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -116,6 +116,7 @@
SUBDIR += entitymib
SUBDIR += erlang_xmlrpc
SUBDIR += etherboot
+ SUBDIR += etrace
SUBDIR += etunnel
SUBDIR += findmtu
SUBDIR += flowgrep
diff --git a/net/etrace/Makefile b/net/etrace/Makefile
new file mode 100644
index 000000000000..59e1c07c30d1
--- /dev/null
+++ b/net/etrace/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: etrace
+# Date created: 2006-05-07
+# Whom: dave.ryan@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= etrace
+PORTVERSION= 1.1
+PORTREVISION= 0
+CATEGORIES= net
+MASTER_SITES= http://www.bindshell.net/tools/etrace/
+DISTNAME= ${PORTNAME}.${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dave.ryan@gmail.com
+COMMENT= A configurable static port network tracing tool
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
+ ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
+
+WRKSRC= ${WRKDIR}/etrace
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-libdnet=${PREFIX}
+
+MAN8= etrace.8
+
+.include <bsd.port.mk>
diff --git a/net/etrace/distinfo b/net/etrace/distinfo
new file mode 100644
index 000000000000..94f0c7400c85
--- /dev/null
+++ b/net/etrace/distinfo
@@ -0,0 +1,3 @@
+MD5 (etrace.1.1.tgz) = 8e47908a75299e467b126b6730f88454
+SHA256 (etrace.1.1.tgz) = b4189c9ca317c659c7918f32cba6785ee987e978a17c830a3ec45bf7c7a201d4
+SIZE (etrace.1.1.tgz) = 47013
diff --git a/net/etrace/files/patch-Makefile.in b/net/etrace/files/patch-Makefile.in
new file mode 100644
index 000000000000..6429753594a3
--- /dev/null
+++ b/net/etrace/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- ./Makefile.in.orig Sat Jul 29 18:02:28 2006
++++ ./Makefile.in Sat Jul 29 18:02:54 2006
+@@ -25,7 +25,7 @@
+ mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
+ @INSTALL_PROGRAM@ etrace ${bindir}
+ @INSTALL_DATA@ etrace.8 ${mandir}/man8
+- @INSTALL_DATA@ default.profile ${datadir}/etrace/profile
++ @INSTALL_DATA@ default.profile ${datadir}/etrace/default.profile
+ @INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
+
+ clean:
diff --git a/net/etrace/pkg-descr b/net/etrace/pkg-descr
new file mode 100644
index 000000000000..06479a8bbb2e
--- /dev/null
+++ b/net/etrace/pkg-descr
@@ -0,0 +1,7 @@
+etrace is a configurable static port network tracing tool, similar to
+traceroute, but supporting ICMP, TCP, UDP and other IP protocols.
+
+etrace has a wealth of options ranging in function from controlling
+output to the detailed construction of trace packets.
+
+WWW: http://www.bindshell.net/tools/etrace
diff --git a/net/etrace/pkg-plist b/net/etrace/pkg-plist
new file mode 100644
index 000000000000..eb03aa615e92
--- /dev/null
+++ b/net/etrace/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+bin/etrace
+%%DATADIR%%/dns
+%%DATADIR%%/ike
+@unexec if cmp -s %D/share/etrace/profile %D/share/etrace/default.profile; then rm -f %D/share/etrace/profile; fi
+%%DATADIR%%/default.profile
+@exec if [ ! -f %D/share/etrace/profile ]; then cp %D/share/etrace/default.profile %D/share/etrace/profile; fi
+@unexec rm -r %D/%%DATADIR%% || echo "etrace: if you're finished with this port, clean up %D/share/etrace"