GNU bug report logs -
#32299
[PATCH 1/7] gnu: Add volume-key.
Previous Next
Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>
Date: Sat, 28 Jul 2018 22:00:02 UTC
Severity: normal
Tags: patch
Done: Pierre Neidhardt <ambrevar <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32299 in the body.
You can then email your comments to 32299 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#32299
; Package
guix-patches
.
(Sat, 28 Jul 2018 22:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pierre Neidhardt <ambrevar <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 28 Jul 2018 22:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/package/disk.scm (volume-key): New variable.
---
gnu/packages/disk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index c1fc2e2c3..6d4435784 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2018 Vasile Dumitrascu <va511e <at> yahoo.com>
;;; Copyright © 2018 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2018 Rutger Helling <rhelling <at> mykolab.com>
+;;; Copyright © 2018 Pierre Neidhardt <ambrevar <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -55,7 +56,11 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages vim)
#:use-module (gnu packages w3m)
- #:use-module (gnu packages xml))
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages cryptsetup)
+ #:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages gnupg)
+ #:use-module (gnu packages swig))
(define-public parted
(package
@@ -547,3 +552,44 @@ provides a minimalistic and nice curses interface with a view on the directory
hierarchy. It ships with @code{rifle}, a file launcher that is good at
automatically finding out which program to use for what file type.")
(license license:gpl3)))
+
+(define-public volume-key
+ (package
+ (name "volume-key")
+ (version "0.3.10")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://releases.pagure.org/volume_key/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 bindings.
+ (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 "/include/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 forgotten
+passphrases.")
+ (license license:gpl2)))
--
2.18.0
Reply sent
to
Pierre Neidhardt <ambrevar <at> gmail.com>
:
You have taken responsibility.
(Sat, 28 Jul 2018 22:04:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Pierre Neidhardt <ambrevar <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 28 Jul 2018 22:04:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 32299-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sorry, wrong thread, mailer mistake.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#32299
; Package
guix-patches
.
(Sun, 29 Jul 2018 22:29:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 32299 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <ambrevar <at> gmail.com> 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_key/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 bindings.
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 "/include/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 forgotten
> +passphrases.")
> + (license license:gpl2)))
> --
> 2.18.0
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 27 Aug 2018 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 297 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.