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

* Re: [PATCH] Add iPerf
  2016-10-18 16:06 [PATCH] Add iPerf Benz Schenk
@ 2016-10-18 21:37 ` Marius Bakke
  2016-10-19  0:07   ` Benz Schenk
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2016-10-18 21:37 UTC (permalink / raw)
  To: Benz Schenk, guix-devel

Benz Schenk <benz.schenk@uzh.ch> writes:

> 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.

Hi Benz,

Thanks for this patch! I think naming it "iperf" is fine, even though
the binary and manual is called iperf3. If we need iperf2 later it can
be packaged as "iperf@2".

I'm not sure about the home page: the manual and github page both list
http://software.es.net/iperf/ as the home. What is the relation between
iperf.fr and this project? Should we not go with the official source?

Other than that I'd like to make the following modifications. This can
be done before pushing, no need to send an updated patch:

* Change synopsis to "TCP, UDP and SCTP bandwidth measurement tool".
* Update license to match what's in the LICENSE file.
* Fix minor typos in the description (bandwith->bandwidth).
* Change commit message to match our current convention.
* Download the tarball from http://downloads.es.net/pub/iperf/

Are you okay with these changes (including the home page)?

Thanks again, and welcome! :)

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

* Re: [PATCH] Add iPerf
  2016-10-18 21:37 ` Marius Bakke
@ 2016-10-19  0:07   ` Benz Schenk
  2016-10-19 12:23     ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Benz Schenk @ 2016-10-19  0:07 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

On Tue, 18 Oct 2016 22:37:40 +0100
Marius Bakke <mbakke@fastmail.com> wrote:

> Benz Schenk <benz.schenk@uzh.ch> writes:
> 
> > 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.  
> 
> Hi Benz,
> 
> Thanks for this patch! I think naming it "iperf" is fine, even though
> the binary and manual is called iperf3. If we need iperf2 later it can
> be packaged as "iperf@2".
> 
> I'm not sure about the home page: the manual and github page both list
> http://software.es.net/iperf/ as the home. What is the relation between
> iperf.fr and this project? Should we not go with the official source?
> 
> Other than that I'd like to make the following modifications. This can
> be done before pushing, no need to send an updated patch:
> 
> * Change synopsis to "TCP, UDP and SCTP bandwidth measurement tool".
> * Update license to match what's in the LICENSE file.
> * Fix minor typos in the description (bandwith->bandwidth).
> * Change commit message to match our current convention.
> * Download the tarball from http://downloads.es.net/pub/iperf/
> 
> Are you okay with these changes (including the home page)?
> 
> Thanks again, and welcome! :)

Sure thing, I just need the software for uni and got this homepage from
my advisor.

Thank you

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

* Re: [PATCH] Add iPerf
  2016-10-19  0:07   ` Benz Schenk
@ 2016-10-19 12:23     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2016-10-19 12:23 UTC (permalink / raw)
  To: Benz Schenk; +Cc: guix-devel

Benz Schenk <benz.schenk@uzh.ch> writes:

> On Tue, 18 Oct 2016 22:37:40 +0100
> Marius Bakke <mbakke@fastmail.com> wrote:
>
>> Benz Schenk <benz.schenk@uzh.ch> writes:
>> 
>> > 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.  
>> 
>> Hi Benz,
>> 
>> Thanks for this patch! I think naming it "iperf" is fine, even though
>> the binary and manual is called iperf3. If we need iperf2 later it can
>> be packaged as "iperf@2".
>> 
>> I'm not sure about the home page: the manual and github page both list
>> http://software.es.net/iperf/ as the home. What is the relation between
>> iperf.fr and this project? Should we not go with the official source?
>> 
>> Other than that I'd like to make the following modifications. This can
>> be done before pushing, no need to send an updated patch:
>> 
>> * Change synopsis to "TCP, UDP and SCTP bandwidth measurement tool".
>> * Update license to match what's in the LICENSE file.
>> * Fix minor typos in the description (bandwith->bandwidth).
>> * Change commit message to match our current convention.
>> * Download the tarball from http://downloads.es.net/pub/iperf/
>> 
>> Are you okay with these changes (including the home page)?
>> 
>> Thanks again, and welcome! :)
>
> Sure thing, I just need the software for uni and got this homepage from
> my advisor.

Thanks for clarifying. I've tested this and pushed it with the mentioned
changes as b747718e230eba267ae158d03d506527bfe1a67a !

^ permalink raw reply	[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.