Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 18:41:29 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367760 - in head/net/tcptraceroute: . files
Message-ID:  <201409091841.s89IfTNp020959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Sep  9 18:41:28 2014
New Revision: 367760
URL: http://svnweb.freebsd.org/changeset/ports/367760
QAT: https://qat.redports.org/buildarchive/r367760/

Log:
  - Update to 1.5beta7
  - Remove DEPRECATED and EXPIRATION_DATE
  - Change MASTER_SITES to github
  - Install tcptraceroute to PREFIX/bin
  - Add DOCS options and PORTDOCS
  - Use new @(user,group,perm) format in PLIST
  - Reformat pkg-desc
  
  Changes:	https://github.com/mct/tcptraceroute/blob/master/ChangeLog

Added:
  head/net/tcptraceroute/files/patch-configure   (contents, props changed)
Deleted:
  head/net/tcptraceroute/files/patch-Makefile
  head/net/tcptraceroute/files/patch-tcptraceroute.c
Modified:
  head/net/tcptraceroute/Makefile
  head/net/tcptraceroute/distinfo
  head/net/tcptraceroute/pkg-descr
  head/net/tcptraceroute/pkg-plist

Modified: head/net/tcptraceroute/Makefile
==============================================================================
--- head/net/tcptraceroute/Makefile	Tue Sep  9 18:38:29 2014	(r367759)
+++ head/net/tcptraceroute/Makefile	Tue Sep  9 18:41:28 2014	(r367760)
@@ -2,23 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	tcptraceroute
-PORTVERSION=	1.4
-PORTREVISION=	2
+PORTVERSION=	1.5beta7
 CATEGORIES=	net
-MASTER_SITES=	http://michael.toren.net/code/tcptraceroute/ \
-		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Traceroute implementation using TCP packets
 
 LICENSE=	GPLv2
 
-DEPRECATED=	Depends on expired net/libnet10
-EXPIRATION_DATE=	2014-09-30
+LIB_DEPENDS=	libnet.so:${PORTSDIR}/net/libnet
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/libnet10-config:${PORTSDIR}/net/libnet10
+OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|libnet-config|libnet10-config|' ${WRKSRC}/Makefile
+GNU_CONFIGURE=	yes
+USES=		gmake
+
+PORTDOCS=	*
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mct
+GH_COMMIT=	1ec970e
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	${PORTNAME}-${PORTVERSION}
 
 .include <bsd.port.mk>

Modified: head/net/tcptraceroute/distinfo
==============================================================================
--- head/net/tcptraceroute/distinfo	Tue Sep  9 18:38:29 2014	(r367759)
+++ head/net/tcptraceroute/distinfo	Tue Sep  9 18:41:28 2014	(r367760)
@@ -1,2 +1,2 @@
-SHA256 (tcptraceroute-1.4.tar.gz) = 1ef6c4736b55f47d3a2bb26b999cbb409953a112f637bcbec4106da2a0937bde
-SIZE (tcptraceroute-1.4.tar.gz) = 31918
+SHA256 (tcptraceroute-1.5beta7.tar.gz) = 3b27b7c67e2eb00ef800c83e496f1198b992f038de5d3d13aa530ee3b22c77bb
+SIZE (tcptraceroute-1.5beta7.tar.gz) = 119068

Added: head/net/tcptraceroute/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcptraceroute/files/patch-configure	Tue Sep  9 18:41:28 2014	(r367760)
@@ -0,0 +1,73 @@
+--- configure.orig	2006-03-28 13:00:00.000000000 +0800
++++ configure	2014-09-10 00:44:22.750008451 +0800
+@@ -3713,37 +3713,39 @@
+ 
+ fi;
+ 
+-LIBNET_CONFIG="libnet-config"	# relative, using $PATH
+-
+-# Check whether --with-libnet or --without-libnet was given.
+-if test "${with_libnet+set}" = set; then
+-  withval="$with_libnet"
+-
+-		LIBNETCC=""
+-		LIBNETLD=""
+-
+-		test -x "$withval/bin/libnet-config" &&	LIBNET_CONFIG="$withval/bin/libnet-config"
+-		test -x "$withval/libnet-config"	 &&	LIBNET_CONFIG="$withval/libnet-config"
+-
+-		test -f "$withval/libnet.h"			&&	LIBNETCC="$LIBNETCC -I$withval"
+-		test -f "$withval/include/libnet.h"	&&	LIBNETCC="$LIBNETCC -I$withval/include"
+-
+-		test -f "$withval/libnet.a"			&&	LIBNETLD="$LIBNETLD -L$withval"
+-		test -f "$withval/lib/libnet.a"		&&	LIBNETLD="$LIBNETLD -L$withval/lib"
+-
+-		if test -z "$LIBNETCC" -o -z "$LIBNETLD"
+-		then
+-			{ { echo "$as_me:$LINENO: error: No valid libnet library found in $withval" >&5
+-echo "$as_me: error: No valid libnet library found in $withval" >&2;}
+-   { (exit 1); exit 1; }; }
+-		else
+-			CPPFLAGS="$CPPFLAGS $LIBNETCC"
+-			LDFLAGS="$LDFLAGS $LIBNETLD"
+-			{ echo "$as_me:$LINENO: using libnet in $withval" >&5
+-echo "$as_me: using libnet in $withval" >&6;}
+-		fi
+-
+-fi;
++LIBNET_CONFIG="libnet11-config"	# relative, using $PATH
++CPPFLAGS="$CPPFLAGS $(${LIBNET_CONFIG} --cflags)"
++LDFLAGS="$LDFLAGS $(${LIBNET_CONFIG} --libs)"
++
++## Check whether --with-libnet or --without-libnet was given.
++#if test "${with_libnet+set}" = set; then
++#  withval="$with_libnet"
++#
++#		LIBNETCC=""
++#		LIBNETLD=""
++#
++#		test -x "$withval/bin/libnet-config" &&	LIBNET_CONFIG="$withval/bin/libnet-config"
++#		test -x "$withval/libnet-config"	 &&	LIBNET_CONFIG="$withval/libnet-config"
++#
++#		test -f "$withval/libnet.h"			&&	LIBNETCC="$LIBNETCC -I$withval"
++#		test -f "$withval/include/libnet.h"	&&	LIBNETCC="$LIBNETCC -I$withval/include"
++#
++#		test -f "$withval/libnet.a"			&&	LIBNETLD="$LIBNETLD -L$withval"
++#		test -f "$withval/lib/libnet.a"		&&	LIBNETLD="$LIBNETLD -L$withval/lib"
++#
++#		if test -z "$LIBNETCC" -o -z "$LIBNETLD"
++#		then
++#			{ { echo "$as_me:$LINENO: error: No valid libnet library found in $withval" >&5
++#echo "$as_me: error: No valid libnet library found in $withval" >&2;}
++#   { (exit 1); exit 1; }; }
++#		else
++#			CPPFLAGS="$CPPFLAGS $LIBNETCC"
++#			LDFLAGS="$LDFLAGS $LIBNETLD"
++#			{ echo "$as_me:$LINENO: using libnet in $withval" >&5
++#echo "$as_me: using libnet in $withval" >&6;}
++#		fi
++#
++#fi;
+ 
+ 
+ echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap" >&5

Modified: head/net/tcptraceroute/pkg-descr
==============================================================================
--- head/net/tcptraceroute/pkg-descr	Tue Sep  9 18:38:29 2014	(r367759)
+++ head/net/tcptraceroute/pkg-descr	Tue Sep  9 18:41:28 2014	(r367760)
@@ -1,18 +1,17 @@
 tcptraceroute is a traceroute implementation using TCP packets.
 
-The more  traditional traceroute(8)  sends out either  UDP or  ICMP ECHO
-packets with a TTL of one,  and increments the TTL until the destination
-has  been reached.  By printing  the  gateways that  generate ICMP  time
-exceeded  messages along  the  way, it  is able  to  determine the  path
-packets are taking to reach the destination.
+The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets
+with a TTL of one, and increments the TTL until the destination has been
+reached. By printing the gateways that generate ICMP time exceeded messages
+along the way, it is able to determine the path packets are taking to reach the
+destination.
 
-The problem is  that with the widespread use of  firewalls on the modern
-Internet, many of the packets that  traceroute(8) sends out end up being
-filtered,  making it  impossible to  completely  trace the  path to  the
-destination. However, in many cases, these firewalls will permit inbound
-TCP packets to specific ports that hosts sitting behind the firewall are
-listening for connections on. By sending  out TCP SYN packets instead of
-UDP  or ICMP  ECHO packets,  tcptraceroute is  able to  bypass the  most
-common firewall filters.
+The problem is that with the widespread use of firewalls on the modern Internet,
+many of the packets that traceroute(8) sends out end up being filtered, making
+it impossible to completely trace the path to the destination. However, in many
+cases, these firewalls will permit inbound TCP packets to specific ports that
+hosts sitting behind the firewall are listening for connections on. By sending
+out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able
+to bypass the most common firewall filters.
 
 WWW: https://github.com/mct/tcptraceroute

Modified: head/net/tcptraceroute/pkg-plist
==============================================================================
--- head/net/tcptraceroute/pkg-plist	Tue Sep  9 18:38:29 2014	(r367759)
+++ head/net/tcptraceroute/pkg-plist	Tue Sep  9 18:41:28 2014	(r367760)
@@ -1,4 +1,2 @@
-man/man8/tcptraceroute.8.gz
-@mode 4555
-sbin/tcptraceroute
-@mode
+@(root,wheel,4555) bin/tcptraceroute
+man/man1/tcptraceroute.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409091841.s89IfTNp020959>