Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 10:53:15 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366055 - in head/net-mgmt/tcptrack: . files
Message-ID:  <201408251053.s7PArFfl019487@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Aug 25 10:53:14 2014
New Revision: 366055
URL: http://svnweb.freebsd.org/changeset/ports/366055
QAT: https://qat.redports.org/buildarchive/r366055/

Log:
  net-mgmt/tcptrack: 1.3.0 -> 1.4.2
  
  - While here, fix build and add staging
  - TODO: binary still segfaults
  
  PR:		191902
  Submitted by:	pkubaj@riseup.net

Added:
  head/net-mgmt/tcptrack/files/
  head/net-mgmt/tcptrack/files/patch-IPv6Address.cc   (contents, props changed)
  head/net-mgmt/tcptrack/files/patch-headers.h   (contents, props changed)
  head/net-mgmt/tcptrack/files/patch-util.cc   (contents, props changed)
  head/net-mgmt/tcptrack/pkg-plist   (contents, props changed)
Modified:
  head/net-mgmt/tcptrack/Makefile
  head/net-mgmt/tcptrack/distinfo

Modified: head/net-mgmt/tcptrack/Makefile
==============================================================================
--- head/net-mgmt/tcptrack/Makefile	Mon Aug 25 10:20:51 2014	(r366054)
+++ head/net-mgmt/tcptrack/Makefile	Mon Aug 25 10:53:14 2014	(r366055)
@@ -2,25 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=		tcptrack
-PORTVERSION=		1.3.0
+PORTVERSION=		1.4.2
 CATEGORIES=		net-mgmt
-MASTER_SITES=		http://www.rhythm.cx/~steve/devel/tcptrack/%SUBDIR%/
-MASTER_SITE_SUBDIR=	release/${PORTVERSION}/source
+MASTER_SITES=		http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	squat@squat.no
 COMMENT=	Packet sniffer which displays TCP information like top(1)
 
 GNU_CONFIGURE=	yes
-
-NO_STAGE=	yes
-PLIST_FILES=	bin/tcptrack
-MAN1=		tcptrack.1
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
-
-.if !defined(NOPORTDOCS)
-post-install:
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+USE_GCC=	yes
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/tcptrack/distinfo
==============================================================================
--- head/net-mgmt/tcptrack/distinfo	Mon Aug 25 10:20:51 2014	(r366054)
+++ head/net-mgmt/tcptrack/distinfo	Mon Aug 25 10:53:14 2014	(r366055)
@@ -1,2 +1,2 @@
-SHA256 (tcptrack-1.3.0.tar.gz) = a46a5ba3132ebc9a7a98929dcf860cdff7966ba6f144f47ec8399c1c60c2ef2b
-SIZE (tcptrack-1.3.0.tar.gz) = 116725
+SHA256 (tcptrack-1.4.2.tar.gz) = 6607b1e1c778c49d3e8795e119065cf66eb2db28b3255dbc56b1612527107049
+SIZE (tcptrack-1.4.2.tar.gz) = 120569

Added: head/net-mgmt/tcptrack/files/patch-IPv6Address.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/tcptrack/files/patch-IPv6Address.cc	Mon Aug 25 10:53:14 2014	(r366055)
@@ -0,0 +1,11 @@
+--- src/IPv6Address.cc.orig	2010-09-28 03:35:16.000000000 +0200
++++ src/IPv6Address.cc	2014-07-18 10:19:48.000000000 +0200
+@@ -7,6 +7,8 @@
+ #include "IPv6Address.h"
+ #include "util.h"
+ 
++#define s6_addr16 __u6_addr.__u6_addr16
++
+ uint16_t IPv6Address::GetShort( int index ) const
+ {
+ 	assert(index >= 0);

Added: head/net-mgmt/tcptrack/files/patch-headers.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/tcptrack/files/patch-headers.h	Mon Aug 25 10:53:14 2014	(r366055)
@@ -0,0 +1,10 @@
+--- src/headers.h-orig	2014-07-18 09:58:12.000000000 +0200
++++ src/headers.h	2014-07-18 09:58:31.000000000 +0200
+@@ -120,7 +120,6 @@
+     #define TH_URG 0x20
+     #define TH_ECE 0x40
+     #define TH_CWR 0x80
+-    #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
+     u_short th_win; /* window */
+     u_short th_sum; /* checksum */
+     u_short th_urp; /* urgent pointer */

Added: head/net-mgmt/tcptrack/files/patch-util.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/tcptrack/files/patch-util.cc	Mon Aug 25 10:53:14 2014	(r366055)
@@ -0,0 +1,10 @@
+--- src/util.cc-orig	2014-07-18 09:55:37.000000000 +0200
++++ src/util.cc	2014-07-18 09:56:11.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include "util.h"
+ #include <stdio.h>
+ #include <cstring>
++#include <string>
+ #include "headers.h"
+ #ifdef HAVE_HASH_MAP
+ # include <hash_map>

Added: head/net-mgmt/tcptrack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/tcptrack/pkg-plist	Mon Aug 25 10:53:14 2014	(r366055)
@@ -0,0 +1,2 @@
+bin/tcptrack
+man/man1/tcptrack.1.gz



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