From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH v2] gnu: Add mtd-utils. Date: Wed, 7 Sep 2016 09:29:46 +0300 Message-ID: <20160907062946.GB25070@macbook42.flashner.co.il> References: <20160901123357.3233-1-dannym@scratchpost.org> <20160906214941.GA28845@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhWMx-0005iw-GE for guix-devel@gnu.org; Wed, 07 Sep 2016 02:30:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhWMt-0007EK-Bu for guix-devel@gnu.org; Wed, 07 Sep 2016 02:29:59 -0400 Received: from flashner.co.il ([178.62.234.194]:58174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhWMt-0007DX-14 for guix-devel@gnu.org; Wed, 07 Sep 2016 02:29:55 -0400 Content-Disposition: inline In-Reply-To: <20160906214941.GA28845@jasmine> 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: Leo Famulari Cc: guix-devel@gnu.org --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 06, 2016 at 05:49:41PM -0400, Leo Famulari wrote: > On Thu, Sep 01, 2016 at 02:33:57PM +0200, Danny Milosavljevic wrote: > > gnu: Add mtd-utils. > >=20 > > * gnu/packages/linux.scm (mtd-utils): New variable. >=20 > Thanks for this patch! >=20 > I made some adjustments, as attached. >=20 > I imported the acl module, used #:make-flags to set PREFIX, and made a > minor adjustment to the description. >=20 > What do you think? > From dd00ffc45982b393cb458445e875188baf77175f Mon Sep 17 00:00:00 2001 > From: Danny Milosavljevic > Date: Thu, 1 Sep 2016 14:33:57 +0200 > Subject: [PATCH] gnu: Add mtd-utils. >=20 > * gnu/packages/linux.scm (mtd-utils): New variable. >=20 > Signed-off-by: Leo Famulari > --- > gnu/packages/linux.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) >=20 > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 030e35e..ed96996 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -33,6 +33,7 @@ > =20 > (define-module (gnu packages linux) > #:use-module (gnu packages) > + #:use-module (gnu packages acl) > #:use-module (gnu packages admin) > #:use-module (gnu packages algebra) > #:use-module (gnu packages attr) > @@ -2929,3 +2930,33 @@ native Linux file system, and has been part of the= Linux kernel since version > ;; The files src/key_mod/ecryptfs_key_mod_{openssl,pkcs11_helper,tsp= i}.c > ;; grant additional permission to link with OpenSSL. > (license license:gpl2+))) > + > +(define-public mtd-utils > + (package > + (name "mtd-utils") > + (version "1.5.2") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "ftp://ftp.infradead.org/pub/mtd-utils/" > + "mtd-utils-" version ".tar.bz2")) > + (sha256 > + (base32 > + "007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax"))= )) > + (inputs > + `(("acl" ,acl) > + ("libuuid" ,util-linux) > + ("lzo", lzo) > + ("zlib" ,zlib))) > + (build-system gnu-build-system) > + (arguments > + `(#:test-target "tests" > + #:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs= "out"))) > + #:phases (modify-phases %standard-phases > + (delete 'configure)))) > + (synopsis "MTD Flash Storage Utilities") > + (description "This package provides utilities for testing, partition= ing, etc > +of flash storage.") > + (home-page "http://www.linux-mtd.infradead.org/") > + ;; mkfs.ubifs/crc16.h is GPLv2 > + (license (list license:gpl2 license:mpl1.1 license:bsd-3)))) > --=20 > 2.10.0 >=20 Is the package under all three licenses or are certain parts under different licenses? I've found packages that include a mozilla license seem to have these three, or a variation of them. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXz7PaAAoJEPTB05F+rO6TcC4P/2gkk9kKQzb5sxHV6RKIK3br AAXq81CWLZpYvx9CtntI7hY5iJs6hZFDHRLUCuBcVwV130bbJCbljEYiXk0AI7Wc TIe0aJ5dgIJ+KrQJsveuS8aIEHK+uP4j6pJQ5HVZjyqxBBUmJGv0/toxCGRmneGw uJTiu5ckWkDx153Pxq9Xiq1498liwDKMZ698u70ePvgcjJYF1IY3UQA/lTqNBbUT dm1mk9316yeQiCVYmizcfgR9jhsrV9PsXCSJmi4h/2iYtbnz1t42EWqUm2v9mD9L bx9oPZpLI6dwINWMXhbcCO3k6p9dBc3BK5Xjo69S9VkCu9O2fwYmt9eYPqgLJIc4 VeoYjOe8fI8RsWveryVZ3JaLql9NU1tNto4EAEYHHVNkhn6KeJEtwynWYrpQa5YD 8McMSig1wu23UD+3eU6jQ2wdBwBxTumlcdN4S6B0T2Lt8dIrYWapFFUsvyvp1nF5 KGP/JMBZQgxbdH8LJGbsSGkSJ6rVkigkrccyZ4ZdeDkyiLezinPBMz8BHBlxB8LF BIS+hLpVOz7aZmWnueQ0+jy3/KirkmaIEGCJp5/MRMTDoROrG83e6/mj79qAYKWi dsaxMqjnJTO47g85jPuroYUZJAq8whEMoCh4e3v28gdCRv0ITIKM1fne/TyiEdvj 0yiHcDQR9oXQZLGOkKYK =AseD -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj--