ports/100976: New port: net/etrace
Dave Ryan
dave.ryan at gmail.com
Fri Jul 28 12:10:09 UTC 2006
>Number: 100976
>Category: ports
>Synopsis: New port: net/etrace
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 28 12:10:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dave Ryan
>Release: 4.11p13, 5.4-RELEASE-p9, 6.0-RELEASE-p6
>Organization:
>Environment:
>Description:
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
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# etrace
# etrace/Makefile
# etrace/pkg-plist
# etrace/pkg-descr
# etrace/files
# etrace/files/patch-default.profile
# etrace/files/patch-Makefile.in
# etrace/distinfo
#
echo c - etrace
mkdir -p etrace > /dev/null 2>&1
echo x - etrace/Makefile
sed 's/^X//' >etrace/Makefile << 'END-of-etrace/Makefile'
X# New ports collection makefile for: etrace
X# Date created: 07/05/2006
X# Whom: dave.ryan at gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME= etrace
XPORTVERSION= 1.1
XPORTREVISION= 0
XCATEGORIES= net
XMASTER_SITES= http://www.bindshell.net/tools/etrace/
XDISTNAME= ${PORTNAME}.${PORTVERSION}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= dave.ryan at gmail.com
XCOMMENT= A configurable static port network tracing tool
X
XBUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
X ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
X
XWRKSRC= ${WRKDIR}/etrace
XGNU_CONFIGURE= yes
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS= --with-libdnet=${PREFIX}
X
XMAN8= etrace.8
X
X.include <bsd.port.mk>
END-of-etrace/Makefile
echo x - etrace/pkg-plist
sed 's/^X//' >etrace/pkg-plist << 'END-of-etrace/pkg-plist'
X at comment $FreeBSD$
Xbin/etrace
Xshare/etrace/dns
Xshare/etrace/ike
Xshare/etrace/default.profile
X at exec if [ ! -f %D/share/etrace/profile ]; then cp %D/share/etrace/default.profile %D/share/etrace/profile; fi
X at unexec echo "etrace: if you're finished with this port, clean up %D/share/etrace"
END-of-etrace/pkg-plist
echo x - etrace/pkg-descr
sed 's/^X//' >etrace/pkg-descr << 'END-of-etrace/pkg-descr'
Xetrace is a configurable static port network tracing tool, similar to
Xtraceroute, but supporting ICMP, TCP, UDP and other IP protocols.
X
Xetrace has a wealth of options ranging in function from controlling
Xoutput to the detailed construction of trace packets.
X
XWWW: http://www.bindshell.net/tools/etrace
END-of-etrace/pkg-descr
echo c - etrace/files
mkdir -p etrace/files > /dev/null 2>&1
echo x - etrace/files/patch-default.profile
sed 's/^X//' >etrace/files/patch-default.profile << 'END-of-etrace/files/patch-default.profile'
X--- default.profile.orig Tue Jul 11 08:22:54 2006
X+++ default.profile Tue Jul 11 19:58:15 2006
X@@ -1,21 +1,46 @@
X ##
X-## $Id: default.profile,v 1.1.1.1 2006/07/08 16:31:46 dave Exp $
X+## etrace: a configurable static port network tracing tool
X+## http://www.bindshell.net/tools/etrace
X ##
X+
X+# Note: this is a slightly annotated version of a default.profile
X+# supplied with the etrace tarball.
X+
X+# [Profile Name]
X+# -? (profile options, man etrace)
X+
X+# Profile: fast
X+# Desc: this is a sample profile designed for speed
X [fast]
X- -t 1000
X- -r 1
X- -n
X+ -t 1000
X+ -r 1
X+ -n
X
X+# Profile: auto
X+# Desc: set a number of protocol settings and a timeout
X [auto]
X- -t 1000
X- -T 80
X- -I E
X- -U 19
X+ -t 1000
X+ -T 80
X+ -I E
X+ -U 19
X
X+# Profile: auton
X+# Desc: this example shows how profile inheritence can work (use the
X+# previous auto profile with name resolution disabled)
X [auton]
X- -p auto -n
X+ -p auto
X+ -n
X
X+# Profile: dns
X+# Desc: sample use of including protocol (DNS) data content from a
X+# file
X [dns]
X- --udp 53 --data-file @dns
X+ --udp 53
X+ --data-file @dns
X+
X+# Profile: ike
X+# Desc: another sample, this time with IKE
X [ike]
X- --udp 500 --data-file @ike
X+ --udp 500
X+ --data-file @ike
X+
END-of-etrace/files/patch-default.profile
echo x - etrace/files/patch-Makefile.in
sed 's/^X//' >etrace/files/patch-Makefile.in << 'END-of-etrace/files/patch-Makefile.in'
X--- Makefile.in.orig Tue Jul 11 08:18:05 2006
X+++ Makefile.in Tue Jul 11 08:18:35 2006
X@@ -25,7 +25,7 @@
X mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
X @INSTALL_PROGRAM@ etrace ${bindir}
X @INSTALL_DATA@ etrace.8 ${mandir}/man8
X- @INSTALL_DATA@ default.profile ${datadir}/etrace/profile
X+ @INSTALL_DATA@ default.profile ${datadir}/etrace/default.profile
X @INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
X
X clean:
END-of-etrace/files/patch-Makefile.in
echo x - etrace/distinfo
sed 's/^X//' >etrace/distinfo << 'END-of-etrace/distinfo'
XMD5 (etrace.1.1.tgz) = 8e47908a75299e467b126b6730f88454
XSIZE (etrace.1.1.tgz) = 47013
END-of-etrace/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list