From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benz Schenk Subject: [PATCH] Add iPerf Date: Tue, 18 Oct 2016 18:06:46 +0200 Message-ID: <20161018180646.48bbb60d@gondolin.arda> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/qCodrVTw5EG=LQz/laxwU=X" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwWun-0008HP-Il for guix-devel@gnu.org; Tue, 18 Oct 2016 12:06:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwWuj-0000dp-G9 for guix-devel@gnu.org; Tue, 18 Oct 2016 12:06:57 -0400 Received: from idmx02.uzh.ch ([130.60.205.98]:36264) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwWuj-0000aS-9c for guix-devel@gnu.org; Tue, 18 Oct 2016 12:06:53 -0400 Received: from idsmtp02.uzh.ch ([130.60.206.121]:45311) by idmx02.uzh.ch with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bwWuf-0000p9-J9 for guix-devel@gnu.org; Tue, 18 Oct 2016 18:06:50 +0200 Received: from 77-56-36-162.dclient.hispeed.ch ([77.56.36.162] helo=gondolin.arda) by idsmtp02.uzh.ch with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bwWud-0004eK-Lm for guix-devel@gnu.org; Tue, 18 Oct 2016 18:06:47 +0200 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --MP_/qCodrVTw5EG=LQz/laxwU=X Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi This is my first patch, it's really straight-forward. But I'm not quite sure about the naming because there's iperf, iperf2 and iperf3 which are different projects. The original iperf is abandoned and iperf2 is backwards compatible and still gets bug fixes and iperf3, which this patch is for, is in active development and adds a lot of new features but also lacks some of the options of previous versions. Thus it's often referred to as iperf3, which is also the name of the binary, so I'm not sure wheter the package should better be called iperf3 or iperf. Thanks for your feedback Benz --MP_/qCodrVTw5EG=LQz/laxwU=X Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=add-iperf.patch =46rom 30d1c08b2163d150994fd8dfb3e901b9f4668b46 Mon Sep 17 00:00:00 2001 From: Benz Schenk Date: Tue, 18 Oct 2016 17:28:23 +0200 Subject: [PATCH] add iperf --- gnu/packages/networking.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 4b77aad..459893c 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2016 Eric Bavier ;;; Copyright =C2=A9 2016 ng0 ;;; Copyright =C2=A9 2016 Arun Isaac +;;; Copyright =C2=A9 2016 Benz Schenk ;;; ;;; This file is part of GNU Guix. ;;; @@ -927,3 +928,25 @@ HTTPS on port 443, allowing SSH connections from insid= e corporate firewalls that block port 22.") (license (list license:bsd-2 ; tls.[ch] license:gpl2+)))) ; everything else + +(define-public iperf + (package + (name "iperf") + (version "3.1.3") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/esnet/" name + "/archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lzmwqs5cqbr23gkvr835dnmghk2ws0rnfic5lra22n8zw6gck73"))= )) + (build-system gnu-build-system) + (synopsis "Actively measure the maximum bandwith on IP networks") + (description + "iPerf is a tool to measure achievable bandwith on IP networks. It +supports tuning of verious parameters related to timing, buffers and +protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports +the bandwith, loss, and other parameters.") + (home-page "http://iperf.fr") + (license license:expat))) --=20 2.10.1 --MP_/qCodrVTw5EG=LQz/laxwU=X--