guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: opendht: Update to 1.8.1.


From: guix-commits
Subject: 03/03: gnu: opendht: Update to 1.8.1.
Date: Thu, 10 Jan 2019 15:10:59 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit 6a6e5d84dacb4b127120ec150c52549a2bc111d6
Author: Pierre Neidhardt <address@hidden>
Date:   Wed Jan 9 21:12:44 2019 +0100

    gnu: opendht: Update to 1.8.1.
    
    * gnu/packages/crypto.scm (opendht): Update to 1.8.1.
    [source]: Remove snippet that deletes argon2, which is no longer bundled.
    [arguments]: Add "--with-argon2" to use system argon2.
    [license]: Update to GPLv3+ following the README and source headers.
---
 gnu/packages/crypto.scm | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 84b00e0..56f909e 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -11,6 +11,8 @@
 ;;; Copyright © 2018 Arun Isaac <address@hidden>
 ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;; Copyright © 2018 Nicolò Balzarotti <address@hidden>
+;;; Copyright © 2018 Tim Gesthuizen <address@hidden>
+;;; Copyright © 2019 Pierre Neidhardt <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -167,28 +169,16 @@ OpenBSD tool of the same name.")
 (define-public opendht
   (package
     (name "opendht")
-    (version "0.6.1")
+    (version "1.8.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/savoirfairelinux/opendht.git";)
                     (commit version)))
               (file-name (git-file-name name version))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  (delete-file-recursively "src/argon2")
-                  (substitute* "src/Makefile.am"
-                    (("./argon2/libargon2.la") "")
-                    (("SUBDIRS = argon2") ""))
-                  (substitute* "src/crypto.cpp"
-                    (("argon2/argon2.h") "argon2.h"))
-                  (substitute* "configure.ac"
-                    (("src/argon2/Makefile") ""))
-                  #t))
               (sha256
                (base32
-                "1akk613f18rc8kqs0cxdm34iq7wwc9kffhgp5rng09arwlw8gw3w"))))
+                "0vninb5mak27wigajslyvr05vq7wbrwqhbr4wzl2nmqcb20wmlq2"))))
     (build-system gnu-build-system)
     (inputs
      `(("gnutls" ,gnutls)
@@ -203,13 +193,15 @@ OpenBSD tool of the same name.")
        ("automake" ,automake)
        ("libtool" ,libtool)))
     (arguments
-     `(#:configure-flags '("--disable-tools" "--disable-python")))
+     `(#:configure-flags '("--disable-tools"
+                           "--disable-python"
+                           "--with-argon2")))
     (home-page "https://github.com/savoirfairelinux/opendht/";)
     (synopsis "Distributed Hash Table (DHT) library")
     (description "OpenDHT is a Distributed Hash Table (DHT) library.  It may
 be used to manage peer-to-peer network connections as needed for real time
 communication.")
-    (license license:gpl3)))
+    (license license:gpl3+)))
 
 (define-public encfs
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]