From owner-svn-ports-all@freebsd.org Tue Oct 27 15:50:17 2015 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 18784A1FAC7; Tue, 27 Oct 2015 15:50:17 +0000 (UTC) (envelope-from sunpoet@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 E64F21224; Tue, 27 Oct 2015 15:50:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9RFoGs4052350; Tue, 27 Oct 2015 15:50:16 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9RFoFRE052346; Tue, 27 Oct 2015 15:50:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510271550.t9RFoFRE052346@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 27 Oct 2015 15:50:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400268 - in head/net-mgmt/2ping: . 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.20 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: Tue, 27 Oct 2015 15:50:17 -0000 Author: sunpoet Date: Tue Oct 27 15:50:15 2015 New Revision: 400268 URL: https://svnweb.freebsd.org/changeset/ports/400268 Log: - Update to 3.0.0 - Fix LICENSE and add LICENSE_FILE - Reformat pkg-descr Changes: https://github.com/rfinnie/2ping/commits/master Added: head/net-mgmt/2ping/files/ head/net-mgmt/2ping/files/patch-twoping_crc32.py (contents, props changed) Modified: head/net-mgmt/2ping/Makefile head/net-mgmt/2ping/distinfo head/net-mgmt/2ping/pkg-descr Modified: head/net-mgmt/2ping/Makefile ============================================================================== --- head/net-mgmt/2ping/Makefile Tue Oct 27 15:50:10 2015 (r400267) +++ head/net-mgmt/2ping/Makefile Tue Oct 27 15:50:15 2015 (r400268) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= 2ping -PORTVERSION= 2.1.1 -PORTREVISION= 1 +PORTVERSION= 3.0.0 CATEGORIES= net-mgmt perl5 MASTER_SITES= http://www.finnie.org/software/2ping/ \ LOCAL/sunpoet @@ -10,20 +9,12 @@ MASTER_SITES= http://www.finnie.org/soft MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bi-directional ping utility -LICENSE= GPLv2 - -BUILD_DEPENDS= p5-Digest-CRC>=0:${PORTSDIR}/security/p5-Digest-CRC \ - p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6 -RUN_DEPENDS:= ${BUILD_DEPENDS} +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING NO_ARCH= yes -USE_PERL5= configure -USES= perl5 - -PLIST_FILES= bin/2ping \ - %%PERL5_MAN1%%/2ping.1.gz - -post-patch: - @${REINPLACE_CMD} -e 's|2ping.1p|2ping.1|' ${WRKSRC}/Makefile.PL +USE_PYTHON= autoplist concurrent distutils +USES= python .include Modified: head/net-mgmt/2ping/distinfo ============================================================================== --- head/net-mgmt/2ping/distinfo Tue Oct 27 15:50:10 2015 (r400267) +++ head/net-mgmt/2ping/distinfo Tue Oct 27 15:50:15 2015 (r400268) @@ -1,2 +1,2 @@ -SHA256 (2ping-2.1.1.tar.gz) = 20fc09dbbc7fa37b90bfa415bad801697bd56c16c653cda551bfadbad3936f65 -SIZE (2ping-2.1.1.tar.gz) = 27232 +SHA256 (2ping-3.0.0.tar.gz) = 8a8f071ea87414a5a7b8503ee75529e81b04f4d6251f96f3ead2140998a10c31 +SIZE (2ping-3.0.0.tar.gz) = 37263 Added: head/net-mgmt/2ping/files/patch-twoping_crc32.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/2ping/files/patch-twoping_crc32.py Tue Oct 27 15:50:15 2015 (r400268) @@ -0,0 +1,20 @@ +--- twoping/crc32.py.orig 2015-10-25 05:57:43 UTC ++++ twoping/crc32.py +@@ -69,7 +69,7 @@ if __name__ == '__main__': + c = new() + for line in sys.stdin.readlines(): + c.update(line) +- print c.hexdigest() ++ print(c.hexdigest()) + else: + for file in files: + with open(file) as f: +@@ -77,6 +77,6 @@ if __name__ == '__main__': + for line in f.readlines(): + c.update(line) + if len(files) > 1: +- print '%s\t%s' % (c.hexdigest(), file) ++ print('%s\t%s' % (c.hexdigest(), file)) + else: +- print c.hexdigest() ++ print(c.hexdigest()) Modified: head/net-mgmt/2ping/pkg-descr ============================================================================== --- head/net-mgmt/2ping/pkg-descr Tue Oct 27 15:50:10 2015 (r400267) +++ head/net-mgmt/2ping/pkg-descr Tue Oct 27 15:50:15 2015 (r400268) @@ -1,6 +1,5 @@ -2ping is a bi-directional ping utility. It uses 3-way pings (akin to -TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a -2ping listener and a 2ping client to determine which direction packet -loss occurs. +2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN, +SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and a +2ping client to determine which direction packet loss occurs. WWW: http://www.finnie.org/software/2ping/