GNU bug report logs - #27475
Add kashmir, crypto++, opendht-with-msgpack-c++-11, and some updates.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: adfeno@HIDDEN; Keywords: help patch; dated Sat, 24 Jun 2017 16:28:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added indication that bug 27475 blocks30041 Request was from Adonay Felipe Nogueira <adfeno@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) help. Request was from Adonay Felipe Nogueira <adfeno@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug submitter to 'adfeno@HIDDEN' from 'Adonay Felipe Nogueira <adfeno@HIDDEN>' Request was from Adonay Felipe Nogueira <adfeno@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 27475 <at> debbugs.gnu.org:


Received: (at 27475) by debbugs.gnu.org; 22 Nov 2017 02:16:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 21 21:16:27 2017
Received: from localhost ([127.0.0.1]:51662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eHKaG-0000uJ-Nz
	for submit <at> debbugs.gnu.org; Tue, 21 Nov 2017 21:16:26 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38746)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adfeno@HIDDEN>) id 1eHKaD-0000uA-Jm
 for 27475 <at> debbugs.gnu.org; Tue, 21 Nov 2017 21:16:14 -0500
X-Originating-IP: 181.221.159.58
Received: from adfeno-pc1 (unknown [181.221.159.58])
 (Authenticated sender: adfeno@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9B529A80CB
 for <27475 <at> debbugs.gnu.org>; Wed, 22 Nov 2017 03:16:11 +0100 (CET)
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
To: 27475 <at> debbugs.gnu.org
Subject: Re: [bug#27475] Add kashmir, crypto++, opendht-with-msgpack-c++-11,
 and some updates.
References: <8737apqrlj.fsf@HIDDEN>
 <20171011182254.101c14ce@HIDDEN>
Date: Wed, 22 Nov 2017 00:16:08 -0200
In-Reply-To: <20171011182254.101c14ce@HIDDEN> (Christopher Baines's
 message of "Wed, 11 Oct 2017 18:22:54 +0100")
Message-ID: <87h8tn3vo7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 27475
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--=-=-=
Content-Type: text/plain

Thank you very much for the feedback! ;)

Here follows an updated patch.

The "release-revision.commit" is taken from [1], I just kept 'revision
as a number when let'ing, and now in this new patch also attempted to
make it so that 'version has checks for the existance of 'revision and
'commit.

As for any other detail (including: whether the msgpack "c++-11" variant
is really needed; or if the "upcoming" packages for GNU Ring will work
if these package definitions are based on the *stable* releases and what
are the drawbacks), I'll unfortunatelly not be able to answer these, as
I'm not a developer of these packages (neither of GNU Ring).

From here on you will be reading text that deserves to be discussed in
another thread.

Some months ago I made an implicit mention of GNU Guix in the GNU Ring
discussion resources, but so far I'm not aware of GNU Ring project
making package definitions for GNU Guix.

There are lots of people interested in using GNU Ring and I was also
made aware that some people downloaded the patches I made for
Guix. Although I don't know what those people interested do or what are
their current limitations, but at least in my case, I'm not a developer
and currently have some time constraints (because I'm looking for a job
and also having to work on my Bachelor's final work).

[1] [[info:guix#Version Numbers]]


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename=0001-Update-opendht-argon2.-Add-kashmir-secp256k1-opendht.patch
Content-Transfer-Encoding: quoted-printable

From 5acce278858ee381702d3cae50235feadbbae9fe Mon Sep 17 00:00:00 2001
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
Date: Tue, 21 Nov 2017 23:35:08 -0200
Subject: [PATCH] Update opendht, argon2. Add kashmir, secp256k1,
 opendht-with-msgpack-c++-11

This adds packages that are needed for GNU Ring, but which need less
adaptations specific for it.

* gnu/packages/cpp.scm (kashmir): New package.
* gnu/packages/crypto.scm
(secp256k1): New package.
(opendht): Update to 1.4.0-5.a789ffe.
(opendht-with-msgpack-c++-11): New package.
* gnu/packages/password-utils.scm (argon2): Update to 20161029-4.1eea010.
* gnu/packages/serialization.scm (msgpack-c++-11): New package.
---
 gnu/packages/cpp.scm            |  81 +++++++++++++++++++++++++++++-
 gnu/packages/crypto.scm         |  69 +++++++++++++++++++++++++-
 gnu/packages/password-utils.scm | 106 +++++++++++++++++++++++++++---------=
----
 gnu/packages/serialization.scm  |  12 +++++
 4 files changed, 233 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 5ad9fd3..239046a 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =C2=A9 2017 Ethan R. Jones <doubleplusgood23@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,8 +22,86 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools))
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages compression))
+
+(define-public kashmir
+  (let ((release "0")
+	(revision 1)
+        (commit "2f3913f49c4ac7f9bff9224db5178f6f8f0ff3ee"))
+    (package
+      (name "kashmir")
+      (version (string-append release
+                              (if (and (defined? 'revision)
+                                       (not (zero? revision)))
+                                  (string-append "-"
+                                                 (number->string revision))
+                                  "")
+                              (if (defined? 'commit)
+                                  (string-append "."
+                                                 (string-take commit 7))
+                                  "")))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://github.com/Corvusoft/" name
+                                    "-dependency/archive/" commit ".tar.gz=
"))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                 (base32
+                  "0pwpl0m61qyrnnw9iaacg9sh9lqafqyaqmmas0swjakww1b968si"))=
))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder
+         (begin
+           (use-modules (guix build utils)
+                        (ice-9 ftw)
+                        (ice-9 regex))
+           (let ((gzip (assoc-ref %build-inputs "gzip"))
+                 (source (assoc-ref %build-inputs "source"))
+                 (tar (assoc-ref %build-inputs "tar"))
+                 (dot-symlinks-regex (make-regexp "^\\.\\.?$"))
+                 (license-text-file-regex (make-regexp "^LICENSE" regexp/i=
case)))
+             (setenv "PATH" (string-append gzip "/bin:"
+                                           tar "/bin"))
+             (mkdir-p %output)
+             (system* "tar" "-xv" "--strip-components=3D1" "-f" source "-C=
" %output)
+             (chdir %output)
+             (copy-recursively "kashmir"
+                               (string-append "include/"
+                                              ,name))
+             (for-each (lambda (license-text-file)
+                         (install-file license-text-file
+                                       (string-append "share/doc/"
+                                                      ,name))
+                         (delete-file license-text-file))
+                       (scandir "."
+                                (lambda (current-basename)
+                                  (regexp-exec license-text-file-regex
+                                               current-basename))))
+             (for-each (lambda (useless-basename)
+                         (delete-file-recursively useless-basename))
+                       (scandir "."
+                                (lambda (current-basename)
+                                  (and (not (regexp-exec dot-symlinks-regex
+                                                         current-basename))
+                                       (not (regexp-exec license-text-file=
-regex
+                                                         current-basename))
+                                       (not (string-match "^(share|include=
)$"
+                                                          current-basename=
))))))))))
+      (native-inputs
+       `(("source" ,source)
+         ("tar" ,tar)
+         ("gzip" ,gzip)))
+      (synopsis "C++ library providing I/O, MD5, SHA-1, random number stri=
ng, and UUID operations")
+      (description "The Kashmir Library provides features allowing usage of
+I/O formatting and state saving; MD5 and SHA-1 hashing; random number stre=
ams,
+and UUID generation.")
+      (home-page "https://github.com/corvusoft/kashmir-dependency")
+      (license license:boost1.0))))
=20
 (define-public libzen
   (package
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 7f02400..2b23933 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -7,6 +7,8 @@
 ;;; Copyright =C2=A9 2016, 2017 ng0 <ng0@HIDDEN>
 ;;; Copyright =C2=A9 2016, 2017 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright =C2=A9 2017 Pierre Langlois <pierre.langlois@HIDDEN>
+;;; Copyright =C2=A9 2017 Marius Bakke <mbakke@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -39,10 +41,12 @@
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages password-utils)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages search)
   #:use-module (gnu packages serialization)
@@ -56,7 +60,9 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
-  #:use-module (guix build-system perl))
+  #:use-module (guix build-system perl)
+  #:use-module (ice-9 match)
+  #:use-module (srfi srfi-1))
=20
 (define-public libsodium
   (package
@@ -112,6 +118,59 @@ communication, encryption, decryption, signatures, etc=
.")
                    license:public-domain))
     (home-page "https://www.hadrons.org/software/libmd/")))
=20
+(define-public secp256k1
+  (let ((release "0.1")
+	(revision 1)
+        (commit "0b7024185045a49a1a6a4c5615bf31c94f63d9c4"))
+    (package
+      (name "secp256k1")
+      (version (string-append release
+                              (if (and (defined? 'revision)
+                                       (not (zero? revision)))
+                                  (string-append "-"
+                                                 (number->string revision))
+                                  "")
+                              (if (defined? 'commit)
+                                  (string-append "."
+                                                 (string-take commit 7))
+                                  "")))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://github.com/bitcoin-core/" name
+                                    "/archive/" commit ".tar.gz"))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                 (base32
+                  "16xzxjc0y38k7cs6j1caipw03y8c7zycv3amb12r3jakz00b2ra6"))=
))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-before 'configure 'run-autogen
+             (lambda _
+               (zero? (system* "./autogen.sh"))
+               #t)))))
+      (inputs
+       `(("gmp" ,gmp)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("libtool" ,libtool)))
+      (home-page "https://github.com/bitcoin-core/secp256k1/")
+      (synopsis "Optimized C library for EC operations on curve secp256k1")
+      (description "Library that has the following features:
+@itemize
+@item secp256k1 ECDSA signing/verification and key generation;
+@item adding/multiplying private/public keys;
+@item serialization/parsing of private keys, public keys, signatures;
+@item constant time, constant memory access signing and pubkey generation;
+@item derandomized DSA (via RFC6979 or with a caller provided function).
+@end itemize")
+      (license license:expat
+               ;; TODO Should we list *all* the licenses found?
+               ;; license:asl2.0
+               ))))
+
 (define-public signify
   (package
     (name "signify")
@@ -205,6 +264,14 @@ be used to manage peer-to-peer network connections as =
needed for real time
 communication.")
     (license license:gpl3)))
=20
+(define-public opendht-with-msgpack-c++-11
+  (package
+    (inherit opendht)
+    (name "opendht-with-msgpack-c++-11")
+    (propagated-inputs
+     `(("msgpack-c++-11" ,msgpack-c++-11)
+       ,@(alist-delete "msgpack" (package-propagated-inputs opendht))))))
+
 (define-public encfs
   (package
     (name "encfs")
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.=
scm
index a758817..4c495d5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -13,6 +13,7 @@
 ;;; Copyright =C2=A9 2017 Jelle Licht <jlicht@HIDDEN>
 ;;; Copyright =C2=A9 2017 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright =C2=A9 2017 Nicolas Goaziou <mail@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,8 +34,10 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module ((guix build utils) #:select (install-file substitute*))
   #:use-module (guix download)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages aidc)
@@ -406,39 +409,76 @@ through the pass command.")
     (license license:gpl2+)))
=20
 (define-public argon2
-  (package
-    (name "argon2")
-    (version "20161029")
-    (source
-     (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://github.com/P-H-C/phc-winner-argon2/archive=
/"
-                       version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1rymikbysasdadm325jx69i0q19d9srqkny69jwmhswlidr4j07y"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:test-target "test"
-       #:make-flags '("CC=3Dgcc")
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'install
-           (lambda _
-             (let ((out (assoc-ref %outputs "out")))
-               (install-file "argon2" (string-append out "/bin"))
-               (install-file "libargon2.a" (string-append out "/lib"))
-               (install-file "libargon2.so" (string-append out "/lib"))
-               (copy-recursively "include"
-                                 (string-append out "/include"))))))))
-    (home-page "https://www.argon2.com/")
-    (synopsis "Password hashing library")
-    (description "Argon2 provides a key derivation function that was decla=
red
-winner of the 2015 Password Hashing Competition.")
-    (license license:cc0)))
+  (let ((release "20161029")
+	(revision 4)
+        (commit "1eea0104e7cb2a38c617cf90ffa46ce5db6aceda"))
+    (package
+      (name "argon2")
+      (version (string-append release
+                              (if (and (defined? 'revision)
+                                       (not (zero? revision)))
+                                  (string-append "-"
+                                                 (number->string revision))
+                                  "")
+                              (if (defined? 'commit)
+                                  (string-append "."
+                                                 (string-take commit 7))
+                                  "")))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://github.com/P-H-C/phc-winner-a=
rgon2/archive/"
+                                    commit ".tar.gz"))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                 (base32
+                  "0rjy1hg8l6m2d1r1lyq2z3w43smxbq38qfmzvwf0ifxka64mn8is"))=
))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:test-target "test"
+         #:make-flags '("CC=3Dgcc"
+                        "OPTTARGET=3Dno-opt")
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (add-after 'unpack 'fix-pkg-config-and-makefile
+             (lambda _
+               (substitute* "libargon2.pc"
+                 (("/usr")
+                  (assoc-ref %outputs "out"))
+                 (("@HOST_MULTIARCH@")
+                  ,(or (%current-target-system)
+                       (%current-system)))
+                 (("@UPSTREAM_VER@")
+                  ,release))
+               #t))
+           (replace 'install
+             (lambda _
+               (let ((out (assoc-ref %outputs "out")))
+                 (install-file "argon2"
+                               (string-append out
+                                              "/bin"))
+                 (install-file "libargon2.a"
+                               (string-append out
+                                              "/lib"))
+                 (install-file "libargon2.so.0"
+                               (string-append out
+                                              "/lib"))
+                 (install-file "libargon2.pc"
+                               (string-append out
+                                              "/lib/pkgconfig"))
+                 (copy-recursively "include"
+                                   (string-append out
+                                                  "/include"))
+                 (symlink (string-append out
+                                         "/lib/libargon2.so.0")
+                          (string-append out
+                                         "/lib/libargon2.so")))
+               #t)))))
+      (home-page "https://www.argon2.com/")
+      (synopsis "Password hashing library")
+      (description "Argon2 provides a key derivation function that was
+declared winner of the 2015 Password Hashing Competition.")
+      (license license:cc0))))
=20
 (define-public python-bcrypt
   (package
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 03365ad..37b1231 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -8,6 +8,7 @@
 ;;; Copyright =C2=A9 2017 Gregor Giesen <giesen@HIDDEN>
 ;;; Copyright =C2=A9 2017 Frederick M. Muriithi <fredmanglis@HIDDEN>
 ;;; Copyright =C2=A9 2017 ng0 <ng0@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +32,7 @@
   #:use-module (guix utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
@@ -137,6 +139,16 @@ such as compact binary encodings, XML, or JSON.")
 serialization.")
     (license license:boost1.0)))
=20
+(define-public msgpack-c++-11
+  (package
+    (inherit msgpack)
+    (name "msgpack-c++-11")
+    (arguments
+     (substitute-keyword-arguments (package-arguments msgpack)
+       ((#:make-flags msgpack-make-flags)
+        `(append ,msgpack-make-flags
+                 '("-DMSGPACK_CXX11=3DON")))))))
+
 (define-public libmpack
   (package
     (name "libmpack")
--=20
1.9.1


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


2017-10-11T17:22:54+0100 Christopher Baines wrote:
>
> I've just noticed that no one has taken a look at this yet! Not quite
> sure how that has happened. Here are my comments.
>
> The first general comment is that these patches don't quite apply now,
> so it would be useful to send another set which do apply cleanly.
>
> Starting with the kashmir package.
>
>
> Looks like this patch may have got caught up in the recent hash changes
> from GitHub. I had to change the sha256 before this would build.
>
> The directory structure in this package looks a little odd. The Debian
> package has kashmir-dependency/kashmir as include/kashmir, which might
> be a little more usual.
>
> guix lint also reports some issues:
>
> /home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4:
> kashmir@HIDDEN: tabulation on line 39, column 0
> + more tab issues
> /home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4:
> kashmir@HIDDEN: tabulation on line 71, column 0
> /home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4:
> kashmir@HIDDEN: line 72 is way too long (98 characters)
> /home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4:
> kashmir@HIDDEN: line 73 is way too long (176 characters)
>
>
> As for the crypto++ package.
>
> guix lint reports lots of tabs.
>
>
> I think you could get rid of this phase by adding "shared" to the
> #:make-flags.
>
> I'm not sure why the binary is has .exe in the name? Even
> the inbuilt help calls it cryptest:
>
>   Unrecognized command. Run "cryptest h" to obtain usage information.
>
> I have no idea what this does, but running it in a container fails, as
> it seems to be looking for data in the doc output:
>
>   =E2=86=92 guix environment --container --ad-hoc crypto++:bin -- cryptes=
t.exe
>   CryptoPP::Exception caught: FileStore: error opening file for reading:
>  TestData/usage.dat
>
>
> On to the opendht update.
>
>
> I'm not why this revision is being used?
>
> Also, with the msgpack-c++-11 package, I built both msgpack and
> msgpack-c++-11 and diffed the contents with diffoscope, and they are
> practically identical as far as I can see. I'm guessing there was
> supposed to be a difference?
>
>
> Last but not least, for the argon2 package, for which I don't have any
> questions or suggestions. Ignoring the tabs, I think it looks fine.
>
> I hope this helps Adonay :)

--=20
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com
  gratis).
- "WhatsApp"? Ele n=C3=A3o =C3=A9 livre. Por favor, veja formas de se comun=
icar
  instantaneamente comigo no endere=C3=A7o abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padr=C3=A3o ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#27475; Package guix-patches. Full text available.

Message received at 27475 <at> debbugs.gnu.org:


Received: (at 27475) by debbugs.gnu.org; 11 Oct 2017 17:23:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 11 13:23:02 2017
Received: from localhost ([127.0.0.1]:34434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e2Kik-0000Tb-F3
	for submit <at> debbugs.gnu.org; Wed, 11 Oct 2017 13:23:02 -0400
Received: from li622-129.members.linode.com ([212.71.249.129]:53678
 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1e2Kii-0000T1-BG
 for 27475 <at> debbugs.gnu.org; Wed, 11 Oct 2017 13:23:01 -0400
Received: by mira.cbaines.net (Postfix, from userid 113)
 id 5F103147628; Wed, 11 Oct 2017 18:22:58 +0100 (BST)
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0
Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net
 [86.27.34.15])
 by mira.cbaines.net (Postfix) with ESMTPSA id DFD56147626;
 Wed, 11 Oct 2017 18:22:57 +0100 (BST)
Date: Wed, 11 Oct 2017 18:22:54 +0100
From: Christopher Baines <mail@HIDDEN>
To: Adonay Felipe Nogueira <adfeno@HIDDEN>
Subject: Re: [bug#27475] Add kashmir, crypto++, opendht-with-msgpack-c++-11,
 and some updates.
Message-ID: <20171011182254.101c14ce@HIDDEN>
In-Reply-To: <8737apqrlj.fsf@HIDDEN>
References: <8737apqrlj.fsf@HIDDEN>
X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 boundary="Sig_/L9proWUIEjIxDDKrLilzSt7"; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 27475
Cc: 27475 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--Sig_/L9proWUIEjIxDDKrLilzSt7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sat, 24 Jun 2017 13:26:48 -0300
Adonay Felipe Nogueira <adfeno@HIDDEN> wrote:

> Here follows a series of patches, it's part of the attempt to package
> GNU Ring. However, these contributions don't need custom patches from
> Savir Faire Linux. The only doubt is in regards to the need to have a
> variant of msgpack that uses C++ 11 instead, and have a variant of
> opendht that makes use of such msgpack variant instead.

I've just noticed that no one has taken a look at this yet! Not quite
sure how that has happened. Here are my comments.

The first general comment is that these patches don't quite apply now,
so it would be useful to send another set which do apply cleanly.

Starting with the kashmir package.

> +     (source (origin
> +	      (method url-fetch)
> +	      (uri (string-append "https://github.com/Corvusoft/"
> name
> +				  "-dependency/archive/" commit
> ".tar.gz"))
> +	      (file-name (string-append name "-" version ".tar.gz"))
> +	      (sha256
> +	       (base32
> +		"11hbh3d7w74gng9qgz3hdrzvxjgil1pymk2bzxv1ajh9vp60xxs9"))))

Looks like this patch may have got caught up in the recent hash changes
from GitHub. I had to change the sha256 before this would build.

The directory structure in this package looks a little odd. The Debian
package has kashmir-dependency/kashmir as include/kashmir, which might
be a little more usual.

guix lint also reports some issues:

/home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4: kashmir@HIDDEN=
13f: tabulation on line 39, column 0
+ more tab issues
/home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4: kashmir@HIDDEN=
13f: tabulation on line 71, column 0
/home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4: kashmir@HIDDEN=
13f: line 72 is way too long (98 characters)
/home/chris/.config/guix/latest/gnu/packages/cpp.scm:36:4: kashmir@HIDDEN=
13f: line 73 is way too long (176 characters)


As for the crypto++ package.

guix lint reports lots of tabs.

> +		       (add-after 'build 'build-shared
> +				  (lambda _
> +				    ;; By default, only the static
> +				    ;; library is built.
> +				    (zero?
> +				     (system* "make" "shared"))))

I think you could get rid of this phase by adding "shared" to the
#:make-flags.

I'm not sure why the binary is has .exe in the name? Even
the inbuilt help calls it cryptest:

  Unrecognized command. Run "cryptest h" to obtain usage information.

I have no idea what this does, but running it in a container fails, as
it seems to be looking for data in the doc output:

  =E2=86=92 guix environment --container --ad-hoc crypto++:bin -- cryptest.=
exe
  CryptoPP::Exception caught: FileStore: error opening file for reading:
 TestData/usage.dat


On to the opendht update.

> +  (let ((release "1.3.3")
> +	(revision 5))

I'm not why this revision is being used?

Also, with the msgpack-c++-11 package, I built both msgpack and
msgpack-c++-11 and diffed the contents with diffoscope, and they are
practically identical as far as I can see. I'm guessing there was
supposed to be a difference?


Last but not least, for the argon2 package, for which I don't have any
questions or suggestions. Ignoring the tabs, I think it looks fine.

I hope this helps Adonay :)

--Sig_/L9proWUIEjIxDDKrLilzSt7
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlneU25fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9XfesRAAqvy1n6AW3isidhUG6c0pY1l1fTYq54+er3l4USujQDwskO60ifXhJVjV
Za5Yroy0t+jWL2WpCdl77tCNuYilT00sbi/+a/d5/RCLNRR4Sp0+DWQIKW1ZT+87
o24ArNg1+LhaQLgmSL3eezgNuuhO4qL7xWZT6uZ5CjycCkIVXjTyobRbTbyYoFO9
cqvBdOTCKyJG7g3bLaBOJs/1WR3mRwp3oOKlbY1SQ9GT/7ug43pNh3FPisVudLRS
GJkTEe8LskybO9CgOU3gPHaEWMJ7MnVJmXQghJQAScu2KSS8n0bMN9r/KdlJ/H7D
XVBQmKMzy+8gNEyb46L3nbW5ewU+KIlldGNRPR1Av/XSE4hGYtKMIj5CaTPverph
zFI5Gr6ADsc4Uq3mjD3SndRICMQJAqVnG/gqukZvCqXvdao+w30B0zTsWibdS2C0
qtv25wZob9sSTk/uctZbTTxB3V/pF4AVvGMy8Sq/bYY2lMtyqAb4V5cqk56pA34J
ZHFlBre6fvIke9SYmDD9Aq2u0nNb2Yn4FQ0nj3mgELF3e/ricdTHsHzlJlTNDfSw
N2NytqlOIRB1vY5V5iTKJCj6mg8TINjOyy0V+O640bKJ/jBZde9XaXTLgRE16aVy
UxIAgxFiqoTfLE7wrn6GI7Seu2dd5Q7LGBh/8Am2DcUu4j7KWXM=
=i3gW
-----END PGP SIGNATURE-----

--Sig_/L9proWUIEjIxDDKrLilzSt7--




Information forwarded to guix-patches@HIDDEN:
bug#27475; Package guix-patches. Full text available.
Added tag(s) patch. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 27475 <at> debbugs.gnu.org:


Received: (at 27475) by debbugs.gnu.org; 22 Jul 2017 20:59:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 22 16:59:35 2017
Received: from localhost ([127.0.0.1]:52616 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dZ1Ut-00042d-Ef
	for submit <at> debbugs.gnu.org; Sat, 22 Jul 2017 16:59:35 -0400
Received: from lb1.openmailbox.org ([5.79.108.160]:33469
 helo=mail.openmailbox.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adfeno@HIDDEN>) id 1dZ1Ur-00042V-P4
 for 27475 <at> debbugs.gnu.org; Sat, 22 Jul 2017 16:59:34 -0400
Received: by mail.openmailbox.org (Postfix, from userid 20002)
 id 4463A4E6134; Sat, 22 Jul 2017 22:59:30 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org;
 s=openmailbox; t=1500757170;
 bh=+7CqobNHsyiZr7pwTRsa+OEbY1S3gcaK5zgjRrJMLm8=;
 h=From:To:Subject:References:Date:In-Reply-To:From;
 b=G0jDxJjnK26SsMtlASqJ6WfBwwZ8Y6+HSeujsVaIQf7ld0dv5edxEHlZRLpBXz9+r
 fKT8K5rM069n4so58ZNWgTSdbH9tP/5+en0o+D4grL8N5rA+sm/wBtdYpmKI/zHsxj
 OawkLG9UT9cJ4cKCj2k5zvJwBqU0eJ3GU7kUYzEI=
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS,
 T_DKIM_INVALID autolearn=disabled version=3.4.0
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org;
 s=openmailbox; t=1500757170;
 bh=+7CqobNHsyiZr7pwTRsa+OEbY1S3gcaK5zgjRrJMLm8=;
 h=From:To:Subject:References:Date:In-Reply-To:From;
 b=G0jDxJjnK26SsMtlASqJ6WfBwwZ8Y6+HSeujsVaIQf7ld0dv5edxEHlZRLpBXz9+r
 fKT8K5rM069n4so58ZNWgTSdbH9tP/5+en0o+D4grL8N5rA+sm/wBtdYpmKI/zHsxj
 OawkLG9UT9cJ4cKCj2k5zvJwBqU0eJ3GU7kUYzEI=
To: 27475 <at> debbugs.gnu.org
Subject: Re: [bug#27475] Add kashmir, crypto++, opendht-with-msgpack-c++-11,
 and some updates.
References: <8737apqrlj.fsf@HIDDEN>
Date: Sat, 22 Jul 2017 17:59:27 -0300
In-Reply-To: <8737apqrlj.fsf@HIDDEN> (Adonay Felipe Nogueira's
 message of "Sat, 24 Jun 2017 13:26:48 -0300")
Message-ID: <87pocsur0w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: 27475
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

Strange, no comments so far?




Information forwarded to guix-patches@HIDDEN:
bug#27475; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jun 2017 16:27:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 24 12:27:31 2017
Received: from localhost ([127.0.0.1]:35859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dOnu6-0004LN-0r
	for submit <at> debbugs.gnu.org; Sat, 24 Jun 2017 12:27:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40437)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adfeno@HIDDEN>) id 1dOnty-0004Kz-IC
 for submit <at> debbugs.gnu.org; Sat, 24 Jun 2017 12:27:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dOntq-00039p-JX
 for submit <at> debbugs.gnu.org; Sat, 24 Jun 2017 12:27:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55337)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adfeno@HIDDEN>)
 id 1dOntq-00039A-Di
 for submit <at> debbugs.gnu.org; Sat, 24 Jun 2017 12:27:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59627)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dOntm-0002b7-TS
 for guix-patches@HIDDEN; Sat, 24 Jun 2017 12:27:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dOntj-0002rw-8j
 for guix-patches@HIDDEN; Sat, 24 Jun 2017 12:27:02 -0400
Received: from lb1.openmailbox.org ([5.79.108.160]:47888
 helo=mail.openmailbox.org)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <adfeno@HIDDEN>)
 id 1dOnti-0002lL-PA
 for guix-patches@HIDDEN; Sat, 24 Jun 2017 12:26:59 -0400
Received: by mail.openmailbox.org (Postfix, from userid 20002)
 id 0DA4B50B07A; Sat, 24 Jun 2017 18:26:55 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org;
 s=openmailbox; t=1498321616;
 bh=eZkD4unhYCFPWMSFPYhPrXHsqeZThLopXTCMlJL/Zpw=;
 h=From:To:Subject:Date:From;
 b=a2ztxdSz6EY2ZABXliXPtFzyXySe6bamNfgr0nNEO9l6zgibbMlyPCAq6VkCDnIuz
 vSQpN9Ycx+ChQKigkRIocHf0idED9fjHqpbsXlO+lFQgkOBKXFbCAeQFxaL6t39C5D
 xbFuRqLOMhkMvnNrAERZDUhJuFVbNiTZMMWNCb0k=
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org;
 s=openmailbox; t=1498321612;
 bh=eZkD4unhYCFPWMSFPYhPrXHsqeZThLopXTCMlJL/Zpw=;
 h=From:To:Subject:Date:From;
 b=K5QkRvjVXMLK5opF9vgQixVuM7yIEY7Xj6nF83u9nr9o15V7o+TbYGd9vl/+BVE+z
 kzDRBqLty+1ypJOCU8XXs95z6NIA+nfgEj1z472sH4Xh5O6cnjSHj0qJkzaYfyzdoB
 jqH71lLArzzgdIUZNBKFwJpxpdHXftKuuCSd63wM=
To: guix-patches@HIDDEN
Subject: Add kashmir, crypto++, opendht-with-msgpack-c++-11, and some updates.
Date: Sat, 24 Jun 2017 13:26:48 -0300
Message-ID: <8737apqrlj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.3 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.7 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Guix! :) Here follows a series of patches, it's part of
    the attempt to package GNU Ring. However, these contributions don't need
   custom patches from Savir Faire Linux. The only doubt is in regards to the
    need to have a variant of msgpack that uses C++ 11 instead, and have a variant
    of opendht that makes use of such msgpack variant instead. [...] 
 
 Content analysis details:   (1.7 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.1 URIBL_SBL_A            Contains URL's A record listed in the SBL blocklist
                             [URIs: makefile.am]
  0.6 URIBL_SBL              Contains an URL's NS IP listed in the SBL blocklist
                             [URIs: makefile.am]
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Guix! :)

Here follows a series of patches, it's part of the attempt to package
GNU Ring. However, these contributions don't need custom patches from
Savir Faire Linux. The only doubt is in regards to the need to have a
variant of msgpack that uses C++ 11 instead, and have a variant of
opendht that makes use of such msgpack variant instead.


Respectfully, Adonay.
--=20
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com
  gratis).
- "WhatsApp"? Ele n=C3=A3o =C3=A9 livre, por isso n=C3=A3o uso. Iguais a el=
e prefiro
  GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
  que est=C3=A1 no endere=C3=A7o acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas n=C3=A3o repasso. Entrego apenas em formatos favor=C3=A1veis =
ao
  /software/ livre. Favor entrar em contato em caso de d=C3=BAvida.

--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="gnu packages cpp (kashmir).patch"
Content-Transfer-Encoding: quoted-printable

From 4622ca4c1ba0ef42c1b0db1070727c072365fbf6 Mon Sep 17 00:00:00 2001
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
Date: Sat, 24 Jun 2017 11:53:49 -0300
Subject: [PATCH] gnu: Add kashmir.

* gnu/packages/cpp.scm (kashmir): New variable.
---
 gnu/packages/cpp.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++=
+++-
 1 file changed, 51 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index da19255..228be99 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =C2=A9 2017 Ethan R. Jones <doubleplusgood23@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,9 +21,58 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build utils)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools))
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages compression))
+
+(define-public kashmir
+  (let ((release "0")
+	(commit "2f3913f49c4ac7f9bff9224db5178f6f8f0ff3ee")
+	(revision 1))
+    (package
+     (name "kashmir")
+     (version (if (zero? revision)
+		  release
+		  (string-append release "-"
+				 (number->string revision)
+				 "." (string-take commit 7))))
+     (source (origin
+	      (method url-fetch)
+	      (uri (string-append "https://github.com/Corvusoft/" name
+				  "-dependency/archive/" commit ".tar.gz"))
+	      (file-name (string-append name "-" version ".tar.gz"))
+	      (sha256
+	       (base32
+		"11hbh3d7w74gng9qgz3hdrzvxjgil1pymk2bzxv1ajh9vp60xxs9"))))
+     (build-system trivial-build-system)
+     (arguments
+      `(#:modules ((guix build utils))
+	#:builder
+	(begin
+	  (use-modules (guix build utils))
+	  (let ((gzip (assoc-ref %build-inputs "gzip"))
+		(source (assoc-ref %build-inputs "source"))
+		(tar (assoc-ref %build-inputs "tar")))
+	    (setenv "PATH" (string-append gzip "/bin:"
+					  tar "/bin"))
+	    (mkdir-p %output)
+	    (system* "tar" "-xvf" source "-C" %output)
+	    (chdir %output)
+	    (for-each (lambda (file)
+			(rename-file file "kashmir-dependency"))
+		      (find-files "." "kashmir-dependency-" #:directories? #t))))))
+     (native-inputs
+      `(("source" ,source)
+	("tar" ,tar)
+	("gzip" ,gzip)))
+     (synopsis "C++ library providing I/O, MD5, SHA-1, random number strin=
g, and UUID operations")
+     (description "The Kashmir Library provides features allowing usage of=
 I/O formatting and state saving; MD5 and SHA-1 hashing; random number stre=
ams, and UUID generation.")
+     (home-page "https://github.com/corvusoft/kashmir-dependency")
+     (license license:boost1.0))))
=20
 (define-public libzen
   (package
--=20
1.9.1


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename="gnu packages crypto (crypto++).patch"
Content-Transfer-Encoding: quoted-printable

From 6e390fd37c1562188c0c40a3d4c9c8987462abd1 Mon Sep 17 00:00:00 2001
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
Date: Sat, 24 Jun 2017 13:09:46 -0300
Subject: [PATCH] gnu: Add crypto++.

* gnu/packages/crypto.scm (crypto++): New variable.
---
 gnu/packages/crypto.scm | 103 ++++++++++++++++++++++++++++++++++++++++++++=
+++-
 1 file changed, 102 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 6f02d86..4d32750 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -6,6 +6,8 @@
 ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2016 ng0 <ng0@HIDDEN>
 ;;; Copyright =C2=A9 2016, 2017 Eric Bavier <bavier@HIDDEN>
+;;; Copyright =C2=A9 2017 Marius Bakke <mbakke@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,6 +31,7 @@
   #:use-module (gnu packages attr)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages cryptsetup)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
@@ -50,9 +53,107 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
-  #:use-module (guix build-system python))
+  #:use-module (guix build-system python)
+  #:use-module (guix utils)
+  #:use-module (ice-9 match))
+
+(define-public crypto++
+  (let ((release "5.6.5")
+	(revision 1))
+    (package
+     (name "crypto++")
+     (version (if (zero? revision)
+		  release
+		  (string-append release "-"
+				 (number->string revision))))
+     (source (origin
+	      (method url-fetch)
+	      (uri (let ((numeric-version
+			  (match (string-split release #\.)
+				 ((first-digit other-digits ...)
+				  (string-append first-digit
+						 (string-concatenate
+						  other-digits))))))
+		     (string-append "https://cryptopp.com/cryptopp"
+				    numeric-version ".zip")))
+	      (sha256
+	       (base32
+		"0d1cqdz369ivi082k59025wvxzywvkizw7i0pf5h0a1izs3g8pm7"))))
+     (build-system gnu-build-system)
+     (arguments
+      `(#:make-flags
+	`(,(string-append "PREFIX=3D" (assoc-ref %outputs "out"))
+	  ,(string-append "BINDIR=3D" (assoc-ref %outputs "bin") "/bin")
+	  ,(string-append "DATADIR=3D" (assoc-ref %outputs "doc") "/share")
+	  "DISABLE_CXXFLAGS_OPTIMIZATIONS=3D1"
+	  ;; Override "/sbin/ldconfig" with simply "echo" since
+	  ;; we don't need ldconfig(8).
+	  "LDCONF=3Decho")
+	#:phases
+	(modify-phases %standard-phases
+		       (add-after 'unpack 'enter-source
+				  ;; They have made a zip-bomb.
+				  (lambda _ (chdir "..") #t))
+		       (add-after 'enter-source 'disable-optimizations
+				  (lambda _
+				    ;; XXX: The disable optimizations
+				    ;; flag above is not recognized in
+				    ;; the current version. See
+				    ;; https://github.com/weidai11/cryptopp/pull/354.
+				    ;; For now, just remove it the dirty
+				    ;; way.
+				    (substitute* "GNUmakefile"
+						 (("-march=3Dnative") ""))
+				    #t))
+		       (delete 'configure)
+		       (add-after 'build 'build-shared
+				  (lambda _
+				    ;; By default, only the static
+				    ;; library is built.
+				    (zero?
+				     (system* "make" "shared"))))
+		       (add-after 'install 'move-static-library
+				  (lambda* (#:key outputs #:allow-other-keys)
+					   (let* ((out (assoc-ref outputs "out"))
+						  (lib (string-append out "/lib"))
+						  (static (assoc-ref outputs "static"))
+						  (slib (string-append static "/lib")))
+					     (mkdir-p slib)
+					     (for-each (lambda (file)
+							 (install-file file slib)
+							 (delete-file file))
+						       (find-files lib "\\.l?a$"))
+					     #t)))
+		       (add-after 'move-static-library 'add-so-version-symlink
+				  ;; The library is named
+				  ;; MAJOR.MINOR.PATCHLEVEL. Some
+				  ;; programs expect a MAJOR.MINOR
+				  ;; symlink.
+				  (lambda* (#:key outputs #:allow-other-keys)
+					   (let ((out (assoc-ref outputs "out"))
+						 (major+minor ,(version-major+minor release)))
+					     (with-directory-excursion (string-append out "/lib")
+								       (symlink (string-append "libcryptopp.so." ,release)
+										(string-append "libcryptopp.so." major+minor))
+								       #t)))))))
+     (outputs
+      '("out" ; 6.4M shared library and headers
+	"bin" ; 6.3M cryptest.exe
+	"doc" ; 6.4M documentation and examples
+	"static")) ; 15M static library
+     (native-inputs
+      `(("unzip" ,unzip)))
+     (synopsis "C++ class library of cryptographic schemes")
+     (description "Crypto++ is a large collection of cryptograhic
+algorithms and related utilities for C++.")
+     (home-page "https://cryptopp.com")
+     ;; The compilation is licensed under Boost 1.0, while
+     ;; most individual files are in the public domain.
+     ;; Should we add two licenses?
+     (license license:boost1.0))))
=20
 (define-public libsodium
   (package
--=20
1.9.1


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename="gnu packages crypto (opendht opendht-with-msgpack-c++-11) serialization (msgpack-c++-11).patch"
Content-Transfer-Encoding: quoted-printable

From f8af42e7a9348610d5a413c0838ae22dda47da0b Mon Sep 17 00:00:00 2001
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
Date: Sat, 24 Jun 2017 12:54:16 -0300
Subject: [PATCH] gnu: Add msgpack-c++-11 and opendht variant. opendht: Upda=
te
 to 1.3.3-5.

* gnu/packages/crypto.scm (opendht): Update to 1.3.3-5.
* gnu/packages/crypto.scm (opendht-with-msgpack-c++-11): New variable.
* gnu/packages/serialization.scm (msgpack-c++-11): New variable.
---
 gnu/packages/crypto.scm        | 98 +++++++++++++++++++++-----------------=
----
 gnu/packages/serialization.scm | 12 +++++-
 2 files changed, 60 insertions(+), 50 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 6f02d86..38211be 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -6,6 +6,7 @@
 ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2016 ng0 <ng0@HIDDEN>
 ;;; Copyright =C2=A9 2016, 2017 Eric Bavier <bavier@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -117,58 +118,57 @@ OpenBSD tool of the same name.")
                                           "See base64.c in the distributio=
n for
                                            the license from IBM.")))))
=20
-
 (define-public opendht
-  (package
-    (name "opendht")
-    (version "0.6.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri
-        (string-append
-         "https://github.com/savoirfairelinux/" name
-         "/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           (delete-file-recursively "src/argon2")
-           (substitute* "src/Makefile.am"
-             (("./argon2/libargon2.la") "")
-             (("SUBDIRS =3D argon2") ""))
-           (substitute* "src/crypto.cpp"
-             (("argon2/argon2.h") "argon2.h"))
-           (substitute* "configure.ac"
-             (("src/argon2/Makefile") ""))))
-       (sha256
-        (base32
-         "09yvkmbqbym3b5md4n96qc1s9sf2n8ji404hagih45rmsj49599x"))))
-    (build-system gnu-build-system)
-    (inputs
-     `(("gnutls" ,gnutls)
-       ("nettle" ,nettle)
-       ("readline" ,readline)
-       ("argon2" ,argon2)))
-    (propagated-inputs
-     `(("msgpack" ,msgpack)))           ;included in several installed hea=
ders
-    (native-inputs
-     `(("autoconf" ,autoconf)
-       ("pkg-config" ,pkg-config)
-       ("automake" ,automake)
-       ("libtool" ,libtool)))
-    (arguments
-     `(#:configure-flags '("--disable-tools" "--disable-python")
-       #:phases (modify-phases %standard-phases
-                  (add-before 'configure 'autoconf
-                    (lambda _
-                      (zero? (system* "autoreconf" "-vfi")))))))
-    (home-page "https://github.com/savoirfairelinux/opendht/")
-    (synopsis "Distributed Hash Table (DHT) library")
-    (description "OpenDHT is a Distributed Hash Table (DHT) library.  It m=
ay
+  (let ((release "1.3.3")
+	(revision 5))
+    (package
+     (name "opendht")
+     (version (if (zero? revision)
+		  release
+		  (string-append release "-"
+				 (number->string revision))))
+     (source (origin
+	      (method url-fetch)
+	      (uri (string-append "https://github.com/savoirfairelinux/" name
+				  "/archive/" release ".tar.gz"))
+	      (file-name (string-append name "-" version ".tar.gz"))
+	      (sha256
+	       (base32
+		"07c8pj3wd7vmz505w508nlc4pssv38ca9s1asv8ydq9qvppd780b"))))
+     (build-system gnu-build-system)
+     (inputs
+      `(("gnutls" ,gnutls)
+	("nettle" ,nettle)
+	("readline" ,readline)))
+     (propagated-inputs
+      `(("argon2" ,argon2)
+	("msgpack" ,msgpack))) ; included in several installed headers
+     (native-inputs
+      `(("autoconf" ,autoconf)
+	("pkg-config" ,pkg-config)
+	("automake" ,automake)
+	("libtool" ,libtool)))
+     (arguments
+      `(#:configure-flags '("--with-argon2")
+	#:phases (modify-phases %standard-phases
+				(add-before 'configure 'autoconf
+					    (lambda _
+					      (zero?
+					       (system* "autoreconf" "-vfi")))))))
+     (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 opendht-with-msgpack-c++-11
+  (package
+   (inherit opendht)
+   (name "opendht-with-msgpack-c++-11")
+   (propagated-inputs
+    `(("msgpack-c++-11" ,msgpack-c++-11)
+      ,@(alist-delete "msgpack" (package-propagated-inputs opendht))))))
=20
 (define-public encfs
   (package
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 6a3d8f9..ad50ef5 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -5,6 +5,7 @@
 ;;; Copyright =C2=A9 2016 Marius Bakke <mbakke@HIDDEN>
 ;;; Copyright =C2=A9 2016 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright =C2=A9 2017 Corentin Bocquillon <corentin@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -88,7 +89,6 @@ arbitrary data types and reversibly turns them into diffe=
rent representations,
 such as compact binary encodings, XML, or JSON.")
     (license license:bsd-3)))
=20
-
 (define-public msgpack
   (package
     (name "msgpack")
@@ -133,6 +133,16 @@ such as compact binary encodings, XML, or JSON.")
 serialization.")
     (license license:boost1.0)))
=20
+(define-public msgpack-c++-11
+  (package
+   (inherit msgpack)
+   (name "msgpack-c++-11")
+   (arguments
+    (substitute-keyword-arguments (package-arguments msgpack)
+				  ((#:make-flags msgpack-make-flags)
+				   `(append ,msgpack-make-flags
+					    '("-DMSGPACK_CXX11=3DON")))))))
+
 (define-public libmpack
   (package
     (name "libmpack")
--=20
1.9.1


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename="gnu packages password-utils (argon2).patch"
Content-Transfer-Encoding: quoted-printable

From b61ac13661a9188394285ac83991d5eb3853d1d6 Mon Sep 17 00:00:00 2001
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
Date: Sat, 24 Jun 2017 12:02:01 -0300
Subject: [PATCH] gnu: argon2: Update to 20161029-4.9e3ae0f.

* gnu/packages/password-utils.scm (argon2): Update to 20161029-4.9e3ae0f.
---
 gnu/packages/password-utils.scm | 94 +++++++++++++++++++++++++++----------=
----
 1 file changed, 62 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.=
scm
index 9cfacdb..0c56acc 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -10,6 +10,7 @@
 ;;; Copyright =C2=A9 2017 Leo Famulari <leo@HIDDEN>
 ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur <clement@HIDDEN>
 ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright =C2=A9 2017 Adonay "adfeno" Felipe Nogueira <https://librepl=
anet.org/wiki/User:Adfeno> <adfeno@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28,6 +29,7 @@
=20
 (define-module (gnu packages password-utils)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
@@ -346,39 +348,67 @@ through the pass command.")
     (license license:gpl2+)))
=20
 (define-public argon2
-  (package
-    (name "argon2")
-    (version "20161029")
-    (source
-     (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://github.com/P-H-C/phc-winner-argon2/archive=
/"
-                       version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1rymikbysasdadm325jx69i0q19d9srqkny69jwmhswlidr4j07y"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:test-target "test"
-       #:make-flags '("CC=3Dgcc")
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'install
-           (lambda _
-             (let ((out (assoc-ref %outputs "out")))
-               (install-file "argon2" (string-append out "/bin"))
-               (install-file "libargon2.a" (string-append out "/lib"))
-               (install-file "libargon2.so" (string-append out "/lib"))
-               (copy-recursively "include"
-                                 (string-append out "/include"))))))))
-    (home-page "https://www.argon2.com/")
-    (synopsis "Password hashing library")
-    (description "Argon2 provides a key derivation function that was decla=
red
+  (let ((release "20161029")
+	(commit "9e3ae0f5e91eced6de3c28a9b61f2d91200119e3")
+	(revision 4))
+    (package
+     (name "argon2")
+     (version (if (zero? revision)
+		  release
+		  (string-append release "-"
+				 (number->string revision)
+				 "." (string-take commit 7))))
+     (source (origin
+	      (method url-fetch)
+	      (uri (string-append "https://github.com/P-H-C/phc-winner-argon2/arc=
hive/"
+				  commit ".tar.gz"))
+	      (file-name (string-append name "-" version ".tar.gz"))
+	      (modules '((guix build utils)))
+	      (snippet
+	       '(begin
+		  (substitute* "Makefile"
+			       (("ifneq \\(\\$\\(OPTTEST\\), 0\\)")
+				"ifneq (1, 0)"))))
+	      (sha256
+	       (base32
+		"122rpbrl2lbhgwj7sanbgyn81dnp3azr8ydxr5sc0rwqlyg3iqdp"))))
+     (build-system gnu-build-system)
+     (arguments
+      `(#:test-target "test"
+	#:make-flags '("CC=3Dgcc")
+	#:phases
+	(modify-phases %standard-phases
+		       (delete 'configure)
+		       (add-after 'unpack 'fix-pkg-config-and-makefile
+				  (lambda _
+				    (substitute* "libargon2.pc"
+						 (("/usr")
+						  (assoc-ref %outputs "out"))
+						 (("@HOST_MULTIARCH@")
+						  ,(or (%current-target-system)
+						       (%current-system)))
+						 (("@UPSTREAM_VER@")
+						  ,release))))
+		       (replace 'install
+				(lambda _
+				  (let ((out (assoc-ref %outputs "out")))
+				    (install-file "argon2"
+						  (string-append out "/bin"))
+				    (install-file "libargon2.a"
+						  (string-append out "/lib"))
+				    (install-file "libargon2.so.0"
+						  (string-append out "/lib"))
+				    (install-file "libargon2.pc"
+						  (string-append out "/lib/pkgconfig"))
+				    (copy-recursively "include"
+						      (string-append out "/include"))
+				    (symlink (string-append out "/lib/libargon2.so.0")
+					     (string-append out "/lib/libargon2.so"))))))))
+     (home-page "https://www.argon2.com/")
+     (synopsis "Password hashing library")
+     (description "Argon2 provides a key derivation function that was decl=
ared
 winner of the 2015 Password Hashing Competition.")
-    (license license:cc0)))
+     (license license:cc0))))
=20
 (define-public python-bcrypt
   (package
--=20
1.9.1


--=-=-=--




Acknowledgement sent to Adonay Felipe Nogueira <adfeno@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#27475; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 9 Jan 2018 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.