all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31798] [PATCH] gnu: Add iozone.
@ 2018-06-12 11:23 Ricardo Wurmus
  2018-06-12 18:46 ` Leo Famulari
  2018-06-26  6:11 ` bug#31798: " Gábor Boskovits
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2018-06-12 11:23 UTC (permalink / raw)
  To: 31798; +Cc: Ricardo Wurmus

* gnu/packages/profiling.scm (iozone): New variable.
---
 gnu/packages/profiling.scm | 47 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index b2def45cc..b248af0b3 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Dave Love <fx@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -399,3 +400,49 @@ high-performance computing (HPC) applications.")
     (license license:cpl1.0)))
 
 (define-public scorep-openmpi (make-scorep openmpi))
+
+(define-public iozone
+  (package
+    (name "iozone")
+    (version "3.482")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.iozone.org/src/current/"
+                                  "iozone"
+                                  (string-map (lambda (c)
+                                                (if (char=? c #\.) #\_ c))
+                                              version)
+                                  ".tar"))
+              (sha256
+               (base32
+                "0c5fyfr3iqfb8my7dcjlhm6kkmcl4a7r6gcgqrvp3xwn7jvgwcr7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags (list "linux" "CC=gcc")
+       #:tests? #f ; none included
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir
+           (lambda _ (chdir "src/current/")))
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (bin  (string-append out "/bin"))
+                    (man1 (string-append out "/share/man/man1")))
+               (for-each (lambda (file)
+                           (install-file file bin))
+                         '("iozone" "fileop" "pit_server"))
+               (install-file "../../docs/iozone.1" man1))
+             #t)))))
+    (home-page "http://www.iozone.org")
+    (synopsis "Filesystem benchmark tool")
+    (description "IOzone is a filesystem benchmark tool.  The benchmark
+generates and measures a variety of file operations.  Iozone is useful for
+performing a broad filesystem analysis of a vendor’s computer platform.  The
+benchmark tests file I/O performance for the following operations: Read,
+write, re-read, re-write, read backwards, read strided, @code{fread},
+@code{fwrite}, random read, @code{pread}, @code{mmap}, @code{aio_read},
+@code{aio_write}.")
+    (license (license:non-copyleft
+              "http://www.iozone.org/docs/Iozone_License.txt"))))
-- 
2.17.1

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

* [bug#31798] [PATCH] gnu: Add iozone.
  2018-06-12 11:23 [bug#31798] [PATCH] gnu: Add iozone Ricardo Wurmus
@ 2018-06-12 18:46 ` Leo Famulari
  2018-06-14 12:32   ` Ricardo Wurmus
  2018-06-26  6:11 ` bug#31798: " Gábor Boskovits
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-06-12 18:46 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 31798

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

On Tue, Jun 12, 2018 at 01:23:25PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/profiling.scm (iozone): New variable.

Overall the package LGTM...

> +    (license (license:non-copyleft
> +              "http://www.iozone.org/docs/Iozone_License.txt"))))

The licensing is a little complicated:

http://metadata.ftp-master.debian.org/changelogs/non-free/i/iozone3/iozone3_429-3_copyright

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#31798] [PATCH] gnu: Add iozone.
  2018-06-12 18:46 ` Leo Famulari
@ 2018-06-14 12:32   ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2018-06-14 12:32 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 31798


Hi Leo,

> On Tue, Jun 12, 2018 at 01:23:25PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/profiling.scm (iozone): New variable.
>
> Overall the package LGTM...
>
>> +    (license (license:non-copyleft
>> +              "http://www.iozone.org/docs/Iozone_License.txt"))))
>
> The licensing is a little complicated:
>
> http://metadata.ftp-master.debian.org/changelogs/non-free/i/iozone3/iozone3_429-3_copyright

Oh, I must have misunderstood the license text:

--8<---------------cut here---------------start------------->8---
  License to freely use and distribute this software is hereby granted
  by the author, subject to the condition that this copyright notice
  remains intact.  The author retains the exclusive right to publish
  derivative works based on this work, including, but not limited to,
  revised versions of this work.
--8<---------------cut here---------------end--------------->8---

Does “exclusive right to publish derivative works” means that people
other than the author may not distribute modified variants of iozone?
So the license only permits use and distribution of unmodified copies?

Bummer :(

I assumed that this sentence would just be an assertion of the original
authors’ right to change the code as they please without having to abide
by the license themselves (in case they are no longer copyright
holders), but the word “exclusive” does seem to make this non-free.

My interpretation seems to be backed by what the author wrote, as quoted
in the Debian copyright file:

--8<---------------cut here---------------start------------->8---
    The last time I spoke with Norcott I asked him about the intent
of the license. He indicated that anyone could use it and distribute
it for free.  The idea of the later sentence was to protect Iozone
so that if someone modified it, the original author would still
have the right to publish future works that included any additions
that anyone might have made.  And, that all of the code that is
in Iozone could be used by the original author in other projects
that may or may not be freeware. Iozone's code is intended to
be freely available. It would not be in the spirit of the license
for someone to take the code out of Iozone, repackage it
into a commercial package, re-license it or patent it, and then
prevent the original author of Iozone from using his own code.
--8<---------------cut here---------------end--------------->8---

“repackage it into a commercial package” again is a confusing statement,
because Free Software can be sold.  Would the sale of a medium
containing Iozone be considered a violation of the license…?

This is confusing enough to make me want to drop the patch :-/

Thanks for bringing this to our attention!

--
Ricardo

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

* bug#31798: gnu: Add iozone.
  2018-06-12 11:23 [bug#31798] [PATCH] gnu: Add iozone Ricardo Wurmus
  2018-06-12 18:46 ` Leo Famulari
@ 2018-06-26  6:11 ` Gábor Boskovits
  1 sibling, 0 replies; 4+ messages in thread
From: Gábor Boskovits @ 2018-06-26  6:11 UTC (permalink / raw)
  To: 31798-done

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

After negative response from upstream regarding the licensing issue, I'm
closing this.

[-- Attachment #2: Type: text/html, Size: 112 bytes --]

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

end of thread, other threads:[~2018-06-26  6:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 11:23 [bug#31798] [PATCH] gnu: Add iozone Ricardo Wurmus
2018-06-12 18:46 ` Leo Famulari
2018-06-14 12:32   ` Ricardo Wurmus
2018-06-26  6:11 ` bug#31798: " Gábor Boskovits

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.