Date: Thu, 29 Dec 2016 13:59:21 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429913 - in head/security/chaosreader: . files Message-ID: <201612291359.uBTDxLG5025853@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612291359.uBTDxLG5025853>