From owner-svn-ports-all@freebsd.org Thu Dec 29 13:59:22 2016 Return-Path: Delivered-To: svn-ports-all@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 46706C89FF5; Thu, 29 Dec 2016 13:59:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 211691B1D; Thu, 29 Dec 2016 13:59:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBTDxL7Z025856; Thu, 29 Dec 2016 13:59:21 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBTDxLG5025853; Thu, 29 Dec 2016 13:59:21 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612291359.uBTDxLG5025853@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 29 Dec 2016 13:59:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429913 - in head/security/chaosreader: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2016 13:59:22 -0000 Author: amdmi3 Date: Thu Dec 29 13:59:20 2016 New Revision: 429913 URL: https://svnweb.freebsd.org/changeset/ports/429913 Log: - Update to 0.96 - Project has moved to github, update MASTER_SITES - Drop sshkeydata binary (it's deprecated) - Add LICENSE - Add dependencies: dns/p5-Net-DNS - Set architecture neutral - Take maintainership PR: 215644 Submitted by: dbaio@bsd.com.br Modified: head/security/chaosreader/Makefile head/security/chaosreader/distinfo head/security/chaosreader/files/patch-chaosreader Modified: head/security/chaosreader/Makefile ============================================================================== --- head/security/chaosreader/Makefile Thu Dec 29 13:54:09 2016 (r429912) +++ head/security/chaosreader/Makefile Thu Dec 29 13:59:20 2016 (r429913) @@ -2,30 +2,30 @@ # $FreeBSD$ PORTNAME= chaosreader -PORTVERSION= 0.94 -PORTREVISION= 1 +PORTVERSION= 0.96 CATEGORIES= security -MASTER_SITES= SF -DISTFILES= ${PORTNAME}${PORTVERSION} sshkeydata0.20 -EXTRACT_ONLY= -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dbaio@bsd.com.br COMMENT= Tool to extract data from tcpdump logs +LICENSE= GPLv3+ + +RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS + NO_BUILD= yes USES= perl5 shebangfix USE_PERL5= run +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= brendangregg +GH_PROJECT= Chaosreader +GH_TAGNAME= 027a5e24abf399f4c1ebf199c0cd95d5888bebec -NO_WRKSUBDIR= yes -PLIST_FILES= bin/${PORTNAME} bin/sshkeydata -SHEBANG_FILES= chaosreader sshkeydata - -post-extract: - @${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION} ${WRKSRC}/${PORTNAME} - @${CP} ${DISTDIR}/sshkeydata0.20 ${WRKSRC}/sshkeydata +PLIST_FILES= bin/${PORTNAME} +SHEBANG_FILES= chaosreader do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/sshkeydata ${STAGEDIR}${PREFIX}/bin .include Modified: head/security/chaosreader/distinfo ============================================================================== --- head/security/chaosreader/distinfo Thu Dec 29 13:54:09 2016 (r429912) +++ head/security/chaosreader/distinfo Thu Dec 29 13:59:20 2016 (r429913) @@ -1,4 +1,3 @@ -SHA256 (chaosreader0.94) = e84e2044aec3371ea5505d7d7db2c746d62ee1d24c970b90775e25c3625ab982 -SIZE (chaosreader0.94) = 185986 -SHA256 (sshkeydata0.20) = 324b6b7b4110dbfbb9ca93309853b651d290018b4d0d3fe68ae3078fca27e36d -SIZE (sshkeydata0.20) = 11341 +TIMESTAMP = 1482846482 +SHA256 (brendangregg-Chaosreader-0.96-027a5e24abf399f4c1ebf199c0cd95d5888bebec_GH0.tar.gz) = dfe81ad7143315e472aeb3e3c37ebaf23a612e1bca7f28cf58162673376cc5c3 +SIZE (brendangregg-Chaosreader-0.96-027a5e24abf399f4c1ebf199c0cd95d5888bebec_GH0.tar.gz) = 99157 Modified: head/security/chaosreader/files/patch-chaosreader ============================================================================== --- head/security/chaosreader/files/patch-chaosreader Thu Dec 29 13:54:09 2016 (r429912) +++ head/security/chaosreader/files/patch-chaosreader Thu Dec 29 13:59:20 2016 (r429913) @@ -1,9 +1,9 @@ ---- chaosreader.orig 2010-07-23 11:18:46.000000000 +0300 -+++ chaosreader 2010-07-23 11:21:34.000000000 +0300 -@@ -4028,7 +4028,11 @@ - ### This causes the replay program to pause +--- chaosreader.orig 2014-06-15 19:30:11 UTC ++++ chaosreader +@@ -4275,7 +4275,11 @@ END print REPLAY "ms($timediff1);\n"; } + $duration = 0.01 if $duration == 0; # avoid divide by 0, - $speed = sprintf("%.2f",$bytes / (1024 * $duration)); + if ( $duration > 0 ) { + $speed = sprintf("%.2f",$bytes / (1024 * $duration));