From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjuBW-0003EJ-04 for guix-patches@gnu.org; Sun, 29 Jul 2018 18:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjuBS-0004NY-S6 for guix-patches@gnu.org; Sun, 29 Jul 2018 18:29:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjuBS-0004NS-NL for guix-patches@gnu.org; Sun, 29 Jul 2018 18:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fjuBS-00032Y-ES for guix-patches@gnu.org; Sun, 29 Jul 2018 18:29:02 -0400 Subject: [bug#32299] [PATCH 1/7] gnu: Add volume-key. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180728215835.9132-1-ambrevar@gmail.com> References: <87r2k86x0p.fsf@fastmail.com> <20180728215835.9132-1-ambrevar@gmail.com> Date: Mon, 30 Jul 2018 00:28:19 +0200 Message-ID: <87sh413ce4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Pierre Neidhardt , 32299@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > * gnu/package/disk.scm (volume-key): New variable. [...] > +(define-public volume-key > + (package > + (name "volume-key") > + (version "0.3.10") 0.3.11 is out! > + (source (origin > + (method url-fetch) > + (uri (string-append "https://releases.pagure.org/volume_ke= y/volume_key-" > + version ".tar.xz")) > + (sha256 > + (base32 > + "19wqgrd0cnnjs1b1d7s9ssc957vis8vj7bls9rkwhf9ywgkrswn5"))= )) > + (build-system gnu-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("util-linux" ,util-linux) > + ("glib" ,glib) > + ("swig" ,swig) > + ("lvm2" ,lvm2) > + ("python" ,python-2))) ; Used to generate the Python bi= ndings. Are you sure lvm2 and glib are native-inputs? I.e. are they truly only needed for building, and not at runtime? Other than that LGTM! > + (inputs > + `(("cryptsetup" ,cryptsetup) > + ("nss" ,nss) > + ("gpgme" ,gpgme))) > + (arguments > + `(#:tests? #f ; Not sure how tests are supposed to pass, even when = run manually. > + #:phases > + (modify-phases %standard-phases > + (add-before 'configure 'patch-python.h-path > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((python (assoc-ref inputs "python"))) > + (substitute* "Makefile.in" > + (("/usr/include/python") (string-append python "/includ= e/python"))) > + #t)))))) > + (home-page "https://pagure.io/volume_key") > + (synopsis "Manipulate storage volume encryption keys") > + (description > + "This package provides a library for manipulating storage volume > +encryption keys and storing them separately from volumes to handle forgo= tten > +passphrases.") > + (license license:gpl2))) > --=20 > 2.18.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlteP4MACgkQoqBt8qM6 VPq8Twf7BZqKUBZfnRRdScnSm46WHctNJLhjQ08088WYdDVMlnoJJI7NNKMAItFy SrLoMwQvwcs8mLMd8CcwbvzJqM5xmvoGM+Xdxu1MmNZHaexUUE++5+X6CR2ju2pZ wQA1iG8c4itnvYai6+je7L1dBa2KT9GkpGVBdfD6DbPjDbYhQDAQTZO50QG7iAEJ lp0RGEUO/mReSKCMOOkXyBMlp3j4BlZwFRVdyypkPdwVzM28VzDaq2dYbcDfn49z DWp18Zd7CbXXt2sGQHuNi9Ik8IvPtIJ2U3RPYM5tbAaIXb6lHBli89KCXqeh2jB8 d+YfGGzmA2xapUTMh2A2sUWQKvySoA== =EAqO -----END PGP SIGNATURE----- --=-=-=--