From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: [PATCH] gnu: Add haveged. Date: Sun, 24 Jul 2016 00:09:46 +0200 Message-ID: <20160723220946.13044-1-me@tobias.gr> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR57U-00089e-BP for guix-devel@gnu.org; Sat, 23 Jul 2016 18:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR57S-0003av-2C for guix-devel@gnu.org; Sat, 23 Jul 2016 18:10:03 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:53247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR57R-0003ao-S0 for guix-devel@gnu.org; Sat, 23 Jul 2016 18:10:01 -0400 Received: from localhost.localdomain (ptr-2hj4tbifd5uicx7of4hgfi6g4.ip6.access.telenet.be [IPv6:2a02:1810:3919:8200:ee9a:74ff:fe3f:b024]) (Authenticated sender: me@tobias.gr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C0937A80CD for ; Sun, 24 Jul 2016 00:09:59 +0200 (CEST) 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 * gnu/packages/linux.scm (haveged): New variable. --- Hullo Guix, - A package for haveged, for those who trust it. - A question about licencing, for those with more knowledge than me. Quoth Debian[1]: > Files: nist/mconf.h > Copyright: 1984, 1987, 1989, 1995 Stephen L. Moshier > License: permissive-mconf > Some software in this archive may be from the book _Methods and > Programs for Mathematical Functions_ (Prentice-Hall or Simon & > Schuster International, 1989) or from the Cephes Mathematical Library, > a commercial product. In either event, it is copyrighted by the > author. What you see here may be used freely but it comes with no > support or guarantee. > > Files: nist/packtest.c > Copyright: 1999 National Institute Of Standards & Technology > License: permissive-nist > Permission to use, copy, and modify this software without > fee is hereby granted, provided that this entire notice is > included in all copies of any software which is or includes > a copy or modification of this software and in all copies > of the supporting documentation for such software. How'd I best encode these (presumably FSDG-compliant) licences? Kind regards, T G-R [1]: http://metadata.ftp-master.debian.org/changelogs/main/h/haveged/haveged_1.9.1-4_copyright gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 70c18f2..8665c18 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2791,3 +2791,31 @@ from that to the system kernel's @file{/dev/random} machinery.") Linux kernel to retrieve and control processor features related to power saving, such as frequency and voltage scaling.") (license license:gpl2))) + +(define-public haveged + (package + (name "haveged") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.issihosts.com/haveged/haveged-" + version ".tar.gz")) + (sha256 + (base32 + "059pxlfd4l5dqhd6r3lynzfz4wby2f17294fy17pi9j2jpnn68ww")))) + (build-system gnu-build-system) + (home-page "http://www.issihosts.com/haveged") + (synopsis "Entropy source for the Linux random number generator") + (description + "haveged generates an unpredictable stream of random numbers for use by +Linux's @file{/dev/random} and @file{/dev/urandom} devices. The kernel's +standard mechanisms for filling the entropy pool may not be sufficient for +systems with high needs or limited user interaction, such as headless servers. +@command{haveged} runs as a privileged daemon, harvesting randomness from the +indirect effects of hardware events on hidden processor state using the HArdware +Volatile Entropy Gathering and Expansion (HAVEGE) algorithm. It tunes itself to +its environment and provides the same built-in test suite for the output stream +as used on certified hardware security devices.") + (license (list license:public-domain ; nist/dfft.c + license:gpl3+)))) ; everything else -- 2.9.1