diff mbox

[1/1] gnu: cryptsetup: Update to 1.7.2.

Message ID a36e84453465faf0cc6bc95ca8ca87706fbc14f7.1475480685.git.leo@famulari.name
State New
Headers show

Commit Message

Leo Famulari Oct. 3, 2016, 7:48 a.m. UTC
* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.2.
[source]: Use kernel mirror.
[home-page]: Update URL.
---
 gnu/packages/cryptsetup.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Comments

Ludovic Courtès Oct. 4, 2016, 8:45 a.m. UTC | #1
Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.2.
> [source]: Use kernel mirror.
> [home-page]: Update URL.

LGTM, thanks!

Ludo’.
diff mbox

Patch

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 725a397..0c8efce 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -21,6 +21,7 @@ 
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages popt)
@@ -30,14 +31,15 @@ 
 (define-public cryptsetup
   (package
    (name "cryptsetup")
-   (version "1.6.1")
+   (version "1.7.2")
    (source (origin
             (method url-fetch)
-            (uri (string-append "http://cryptsetup.googlecode.com/files/cryptsetup-"
-                                version ".tar.bz2"))
+            (uri (string-append "mirror://kernel.org/linux/utils/cryptsetup/v"
+                                (version-major+minor version)
+                                "/" name "-" version ".tar.xz"))
             (sha256
              (base32
-              "170lalkhh2fa316d12i6r7jprm0yss3c949d91069sq37ik6xwxs"))))
+              "0hikwkkj692c955k29c4zixj8wp8k3z17jc6ihb4j5qcbyzmvcyv"))))
    (build-system gnu-build-system)
    (inputs
     `(("libgcrypt" ,libgcrypt)
@@ -55,4 +57,4 @@  passwords.  In contrast to existing solutions, LUKS stores all setup necessary
 setup information in the partition header, enabling the users to transport
 or migrate their data seamlessly.")
    (license license:gpl2)
-   (home-page "http://code.google.com/p/cryptsetup/")))
+   (home-page "https://gitlab.com/cryptsetup/cryptsetup")))