FreeBSD Bugzilla – Attachment 83073 Details for
Bug 118738
[new port] Request for addition of tcptraceroute-devel port (version 1.5beta7)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.91 KB, created by
josh.carroll
on 2007-12-16 02:40:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
josh.carroll
Created:
2007-12-16 02:40:01 UTC
Size:
5.91 KB
patch
obsolete
># 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: ># ># tcptraceroute-devel ># tcptraceroute-devel/files ># tcptraceroute-devel/files/patch-configure ># tcptraceroute-devel/Makefile ># tcptraceroute-devel/distinfo ># tcptraceroute-devel/pkg-descr ># tcptraceroute-devel/pkg-plist ># >echo c - tcptraceroute-devel >mkdir -p tcptraceroute-devel > /dev/null 2>&1 >echo c - tcptraceroute-devel/files >mkdir -p tcptraceroute-devel/files > /dev/null 2>&1 >echo x - tcptraceroute-devel/files/patch-configure >sed 's/^X//' >tcptraceroute-devel/files/patch-configure << 'END-of-tcptraceroute-devel/files/patch-configure' >X--- configure.old 2006-03-28 20:49:55.000000000 -0500 >X+++ configure 2007-12-13 13:57:42.000000000 -0500 >X@@ -3713,38 +3713,11 @@ >X >X fi; >X >X-LIBNET_CONFIG="libnet-config" # relative, using $PATH >X- >X-# Check whether --with-libnet or --without-libnet was given. >X-if test "${with_libnet+set}" = set; then >X- withval="$with_libnet" >X- >X- LIBNETCC="" >X- LIBNETLD="" >X- >X- test -x "$withval/bin/libnet-config" && LIBNET_CONFIG="$withval/bin/libnet-config" >X- test -x "$withval/libnet-config" && LIBNET_CONFIG="$withval/libnet-config" >X- >X- test -f "$withval/libnet.h" && LIBNETCC="$LIBNETCC -I$withval" >X- test -f "$withval/include/libnet.h" && LIBNETCC="$LIBNETCC -I$withval/include" >X- >X- test -f "$withval/libnet.a" && LIBNETLD="$LIBNETLD -L$withval" >X- test -f "$withval/lib/libnet.a" && LIBNETLD="$LIBNETLD -L$withval/lib" >X- >X- if test -z "$LIBNETCC" -o -z "$LIBNETLD" >X- then >X- { { echo "$as_me:$LINENO: error: No valid libnet library found in $withval" >&5 >X-echo "$as_me: error: No valid libnet library found in $withval" >&2;} >X- { (exit 1); exit 1; }; } >X- else >X- CPPFLAGS="$CPPFLAGS $LIBNETCC" >X- LDFLAGS="$LDFLAGS $LIBNETLD" >X- { echo "$as_me:$LINENO: using libnet in $withval" >&5 >X-echo "$as_me: using libnet in $withval" >&6;} >X- fi >X- >X-fi; >X- >X+LIBNET_CONFIG="libnet11-config" # relative, using $PATH >X+LIBNETCC=`$LIBNET_CONFIG --cflags` >X+LIBNETLD=`$LIBNET_CONFIG --libs` >X+CPPFLAGS="$CPPFLAGS $LIBNETCC" >X+LDFLAGS="$LDFLAGS $LIBNETLD" >X >X echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap" >&5 >X echo $ECHO_N "checking for pcap_open_live in -lpcap... $ECHO_C" >&6 >END-of-tcptraceroute-devel/files/patch-configure >echo x - tcptraceroute-devel/Makefile >sed 's/^X//' >tcptraceroute-devel/Makefile << 'END-of-tcptraceroute-devel/Makefile' >X# New ports collection makefile for: tcptraceroute-devel >X# Date created: 12 December 2007 >X# Whom: josh.carroll@gmail.com >X# >X# $FreeBSD$ >X# >X >XPORTNAME= tcptraceroute >XPORTVERSION= 1.5beta7 >XCATEGORIES= net >XMASTER_SITES= http://michael.toren.net/code/tcptraceroute/ \ >X http://pflog.net/tcptraceroute/ >X >XMAINTAINER= josh.carroll@gmail.com >XCOMMENT= A traceroute implementation using TCP packets >X >XBUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet >X >XCONFLICTS= tcptraceroute-1.4* >X >XUSE_GMAKE=yes >XGNU_CONFIGURE= yes >X >XMAN1= tcptraceroute.1 >X >XLIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config >X >XCONFIGURE_ARGS= --with-libpcap=/usr --bindir=${PREFIX}/sbin >XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >X >XINSTALL_TARGET= install-exec-am install-man >X >Xpost-install: >X @${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/tcptraceroute.1.html ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/tcptraceroute.lsm ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/examples.txt ${DOCSDIR} >X.endif >X >X.include <bsd.port.mk> >END-of-tcptraceroute-devel/Makefile >echo x - tcptraceroute-devel/distinfo >sed 's/^X//' >tcptraceroute-devel/distinfo << 'END-of-tcptraceroute-devel/distinfo' >XMD5 (tcptraceroute-1.5beta7.tar.gz) = 65d1001509f971ea986fcbc2dd009643 >XSHA256 (tcptraceroute-1.5beta7.tar.gz) = aed5b163ed4886f04242b46005a6cb4876ef38ad72001a94facb62a99dc99c57 >XSIZE (tcptraceroute-1.5beta7.tar.gz) = 119119 >END-of-tcptraceroute-devel/distinfo >echo x - tcptraceroute-devel/pkg-descr >sed 's/^X//' >tcptraceroute-devel/pkg-descr << 'END-of-tcptraceroute-devel/pkg-descr' >Xtcptraceroute is a traceroute implementation using TCP packets. >X >XThe more traditional traceroute(8) sends out either UDP or ICMP ECHO >Xpackets with a TTL of one, and increments the TTL until the destination >Xhas been reached. By printing the gateways that generate ICMP time >Xexceeded messages along the way, it is able to determine the path >Xpackets are taking to reach the destination. >X >XThe problem is that with the widespread use of firewalls on the modern >XInternet, many of the packets that traceroute(8) sends out end up being >Xfiltered, making it impossible to completely trace the path to the >Xdestination. However, in many cases, these firewalls will permit inbound >XTCP packets to specific ports that hosts sitting behind the firewall are >Xlistening for connections on. By sending out TCP SYN packets instead of >XUDP or ICMP ECHO packets, tcptraceroute is able to bypass the most >Xcommon firewall filters. >X >XWWW: http://michael.toren.net/code/tcptraceroute/ >END-of-tcptraceroute-devel/pkg-descr >echo x - tcptraceroute-devel/pkg-plist >sed 's/^X//' >tcptraceroute-devel/pkg-plist << 'END-of-tcptraceroute-devel/pkg-plist' >Xsbin/tcptraceroute >X%%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.1.html >X%%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.lsm >X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >X%%PORTDOCS%%%%DOCSDIR%%/COPYING >X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >X%%PORTDOCS%%%%DOCSDIR%%/NEWS >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/examples.txt >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >END-of-tcptraceroute-devel/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 118738
: 83073