all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add iPerf
@ 2016-10-18 16:06 Benz Schenk
  2016-10-18 21:37 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Benz Schenk @ 2016-10-18 16:06 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add-iperf.patch --]
[-- Type: text/x-patch, Size: 1951 bytes --]

From 30d1c08b2163d150994fd8dfb3e901b9f4668b46 Mon Sep 17 00:00:00 2001
From: Benz Schenk <benz.schenk@uzh.ch>
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 © 2016 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -927,3 +928,25 @@ HTTPS on port 443, allowing SSH connections from inside 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)))
-- 
2.10.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-19 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 16:06 [PATCH] Add iPerf Benz Schenk
2016-10-18 21:37 ` Marius Bakke
2016-10-19  0:07   ` Benz Schenk
2016-10-19 12:23     ` Marius Bakke

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.