From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLaEE-0000jl-1d for guix-patches@gnu.org; Sun, 03 Dec 2017 14:47:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLaEA-0001zN-6C for guix-patches@gnu.org; Sun, 03 Dec 2017 14:47:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLaE9-0001zE-U7 for guix-patches@gnu.org; Sun, 03 Dec 2017 14:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLaE9-0006pA-NH for guix-patches@gnu.org; Sun, 03 Dec 2017 14:47:01 -0500 Subject: [bug#29542] rng-tools: New upstream location, new releases Resent-Message-ID: References: <20171203003126.GA353@jasmine.lan> From: Tobias Geerinckx-Rice Message-ID: Date: Sun, 3 Dec 2017 20:49:09 +0100 MIME-Version: 1.0 In-Reply-To: <20171203003126.GA353@jasmine.lan> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vKewDJW2Xd7cPlp2u4HKiJslTMqx0E05g" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: leo@famulari.name, 29542@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vKewDJW2Xd7cPlp2u4HKiJslTMqx0E05g Content-Type: multipart/mixed; boundary="GexBAAuW8VUxpeNpKLRjFv7eKfnIfGtdp"; protected-headers="v1" From: Tobias Geerinckx-Rice To: leo@famulari.name, 29542@debbugs.gnu.org Message-ID: Subject: Re: [bug#29542] rng-tools: New upstream location, new releases References: <20171203003126.GA353@jasmine.lan> In-Reply-To: <20171203003126.GA353@jasmine.lan> --GexBAAuW8VUxpeNpKLRjFv7eKfnIfGtdp Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Leo, Leo Famulari wrote on 03/12/17 at 01:31: > What do you think? Hm. Looks legit, no? > From 779b3b9f3532190592d7f85921829f6691947c46 Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Sat, 2 Dec 2017 18:08:21 -0500 > Subject: [PATCH] gnu: rng-tools: Update to 6.1. >=20 > Rng-tools development appears to have moved to GitHub [0]: >=20 > "NOTE: The rng-tools project hasn't seen updates in some time, but is > still in active use. To facilitate ongoing development, the rng-tools > project is moved to here: > https://github.com/nhorman/rng-tools" >=20 > [0] > https://sourceforge.net/p/gkernel/wiki/Home/ >=20 > * gnu/packages/linux.scm (rng-tools): Update to 6.1. > [source]: Use new upstream URL. > [arguments]: Add a 'bootstrap' phase. > [native-inputs]: Add autoconf, automake, and pkg-config. > [inputs]: Add curl, libxml2, sysfsutils, and curl. s/curl/openssl/ I took a look at the recent commit[0] that added most of these: =E2=80=9CNIST has a randomness beacon available here: https://www.nist.gov/programs-projects/nist-randomness-beacon It generates entropy at a rate of 512 bits per minute. Its sent in cleartext over the internet, making it unsuitable for cryptographic function, it is useful in the generation of entropy for things like monte carlo tests or other uses where shared pools of entropy might be useful. As such, lets add the NIST beacon as an entropy source, but disable it by default so users have to know to keep it enabled.=E2=80=9D= Neat! :-) I'd be remiss if I didn't point out that it adds 166.3 MiB to the closure, though. On the one hand, that 's a 240% increase in closure size for a feature that's =E2=80=98disabled by default=E2=80=99 (but read= on). On the other hand, this is a leaf package only installed by users who want it, and I don't like removing features without better reason. I also had to add =E2=80=98--without-nistbeacon=E2=80=99 to #:configure-fla= gs so it's not *that* disabled by default... I'm in mild favour of keeping it, but suggest we add a comment above those three inputs to point those hacking the recipe in the right directi= on. > --- > gnu/packages/linux.scm | 25 +++++++++++++++++++++---- > 1 file changed, 21 insertions(+), 4 deletions(-) >=20 > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 995864f33..d1f9f5902 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -57,6 +57,7 @@ > #:use-module (gnu packages calendar) > #:use-module (gnu packages check) > #:use-module (gnu packages crypto) > + #:use-module (gnu packages curl) > #:use-module (gnu packages compression) > #:use-module (gnu packages databases) > #:use-module (gnu packages datastructures) > @@ -3489,16 +3490,32 @@ The following service daemons are also provided= : > (define-public rng-tools > (package > (name "rng-tools") > - (version "5") > + (version "6.1") > (source (origin > (method url-fetch) > (uri (string-append > - "http://downloads.sourceforge.net/sourceforge/gkernel/= " > - "rng-tools-" version ".tar.gz")) > + "https://github.com/nhorman/rng-tools/archive/v" > + version ".tar.gz")) This is still missing a =E2=80=98file-name=E2=80=99. The rest looks & builds nicely. Thanks! T G-R [0]: https://github.com/nhorman/rng-tools/commit/aefe862e187a1ef608f9826b2b4a5= bbabd5e9945 --GexBAAuW8VUxpeNpKLRjFv7eKfnIfGtdp-- --vKewDJW2Xd7cPlp2u4HKiJslTMqx0E05g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCWiRVNw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15m+MBAIgQCYBo2AhjCLLwgNTx5FJkSDluG/csPf1GX0u2 d26eAQCCpM+9dyq6puSnX+qBfPvQb516nfIpAjm097jeL68lDQ== =Uxfc -----END PGP SIGNATURE----- --vKewDJW2Xd7cPlp2u4HKiJslTMqx0E05g--