From owner-freebsd-ports-bugs@freebsd.org Sun Aug 16 17:29:59 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8CE79BB354 for ; Sun, 16 Aug 2015 17:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AC8B977 for ; Sun, 16 Aug 2015 17:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7GHTxlR043536 for ; Sun, 16 Aug 2015 17:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202366] [patch] net-mgmt/pktstat: lo0 is supported now Date: Sun, 16 Aug 2015 17:29:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@sosend.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2015 17:29:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202366 Bug ID: 202366 Summary: [patch] net-mgmt/pktstat: lo0 is supported now Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: freebsd@sosend.de Keywords: patch Dear port users! Currently pktstat is incapable to open lo0: $ sudo pktstat -i lo0 -nTtB -w 1 pktstat: unknown datalink type 0 The following patch fixes it: Index: Makefile =================================================================== --- Makefile (Revision 394397) +++ Makefile (Arbeitskopie) @@ -3,7 +3,7 @@ PORTNAME= pktstat PORTVERSION= 1.8.5 -DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= freebsd@sosend.de @@ -16,6 +16,7 @@ USE_GITHUB= yes GH_ACCOUNT= dleonard0 +GH_TAGNAME= 46935839b USES= autoreconf GNU_CONFIGURE= yes @@ -22,8 +23,4 @@ PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz -post-patch: - @${REINPLACE_CMD} '/struct arphdr/d' ${WRKSRC}/ether.c - @${REINPLACE_CMD} -e 's/IPPORT_USERRESERVED/IPPORT_RESERVED/' ${WRKSRC}/tcp.c - .include Index: distinfo =================================================================== --- distinfo (Revision 394397) +++ distinfo (Arbeitskopie) @@ -1,2 +1,2 @@ -SHA256 (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 9a365668d9c5d22484702a858ad1892ae6c7b904b5d0bc9ae075bd88a145b9cd -SIZE (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 41971 +SHA256 (dleonard0-pktstat-1.8.5-46935839b_GH0.tar.gz) = 9eb2ed137f26a20e681cd85ae1eb7b1bb8ec95a286061f1c167a4db670501835 +SIZE (dleonard0-pktstat-1.8.5-46935839b_GH0.tar.gz) = 42397 I am not sure if the usage of PORTREVISION is correct here. Cheers Martin -- You are receiving this mail because: You are the assignee for the bug.