unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33243] [PATCH 0/1] Update libgcrypt
@ 2018-11-02 17:12 Björn Höfling
  2018-11-02 17:31 ` [bug#33243] [PATCH 1/1] gnu: libgcrypt: Update to 1.8.4 Björn Höfling
  2018-11-02 20:31 ` [bug#33243] [PATCH 0/1] Update libgcrypt Leo Famulari
  0 siblings, 2 replies; 8+ messages in thread
From: Björn Höfling @ 2018-11-02 17:12 UTC (permalink / raw)
  To: 33243

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

This patch updates libgcrypt to 1.8.4.

The reproducibility problem was fixed upstream and thus the patch was
removed from package definition.

I applied this on core-updates-next, was that the right branch?

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 1/1] gnu: libgcrypt: Update to 1.8.4.
  2018-11-02 17:12 [bug#33243] [PATCH 0/1] Update libgcrypt Björn Höfling
@ 2018-11-02 17:31 ` Björn Höfling
  2018-11-02 20:31 ` [bug#33243] [PATCH 0/1] Update libgcrypt Leo Famulari
  1 sibling, 0 replies; 8+ messages in thread
From: Björn Höfling @ 2018-11-02 17:31 UTC (permalink / raw)
  To: 33243

[-- Attachment #1: Type: text/plain, Size: 3768 bytes --]


Update libgcrypt and remove reproducibility patch, it is now built-in.
See https://dev.gnupg.org/T4102

* gnu/packages/gnupg.scm (libgcrypt): Update to 1.8.4.
[source]: Remove patch.
* gnu/packages/patches/libgcrypt-make-yat2m-reproducible.patch: Delete file.
* gnu/local.mk(dist_patch_DATA): Remove it.
---
 gnu/local.mk                                  |  1 -
 gnu/packages/gnupg.scm                        |  7 ++--
 .../libgcrypt-make-yat2m-reproducible.patch   | 32 -------------------
 3 files changed, 3 insertions(+), 37 deletions(-)
 delete mode 100644 gnu/packages/patches/libgcrypt-make-yat2m-reproducible.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 4ba49e86a..ce45c64ec 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -885,7 +885,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/libevent-2.1-skip-failing-test.patch	\
   %D%/packages/patches/libexif-CVE-2016-6328.patch		\
   %D%/packages/patches/libexif-CVE-2017-7544.patch		\
-  %D%/packages/patches/libgcrypt-make-yat2m-reproducible.patch	\
   %D%/packages/patches/libgit2-mtime-0.patch			\
   %D%/packages/patches/libgdata-fix-tests.patch			\
   %D%/packages/patches/libgdata-glib-duplicate-tests.patch	\
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 3d6727bbd..0b8d3e578 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -97,16 +98,14 @@ Daemon and possibly more in the future.")
 (define-public libgcrypt
   (package
     (name "libgcrypt")
-    (version "1.8.3")
+    (version "1.8.4")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
                                  version ".tar.bz2"))
              (sha256
               (base32
-               "0z5gs1khzyknyfjr19k8gk4q148s6q987ya85cpn0iv70fz91v36"))
-             (patches
-              (search-patches "libgcrypt-make-yat2m-reproducible.patch"))))
+               "09r27ywj9zplq6n9qw3mn7zmvf6y2jdmwx5d1kg8yqkj0qx18f7n"))))
     (build-system gnu-build-system)
     (propagated-inputs
      `(("libgpg-error-host" ,libgpg-error)))
diff --git a/gnu/packages/patches/libgcrypt-make-yat2m-reproducible.patch b/gnu/packages/patches/libgcrypt-make-yat2m-reproducible.patch
deleted file mode 100644
index 3056f0baa..000000000
--- a/gnu/packages/patches/libgcrypt-make-yat2m-reproducible.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Make yat2m in libgcrypt respect SOURCE_DATE_EPOCH, making
-the build reproducible.
-
-This was already fixed upstream in GnuPG:
-https://dev.gnupg.org/rG139de02b93773615bdd95e04a7f0c1ad73b4f6fb
-
-and in libgpg-error:
-https://dev.gnupg.org/rE5494a5728418938d2e42158bb646b07124184e64
-
-
---- a/doc/yat2m.c 2017-11-23 19:16:58.000000000 +0100
-+++ b/doc/yat2m.c 2017-08-28 12:22:54.000000000 +0200
-@@ -1475,6 +1484,7 @@
- main (int argc, char **argv)
- {
-   int last_argc = -1;
-+  const char *s;
- 
-   opt_source = "GNU";
-   opt_release = "";
-@@ -1608,6 +1618,11 @@
-   if (argc > 1)
-     die ("usage: " PGM " [OPTION] [FILE] (try --help for more information)\n");
- 
-+  /* Take care of supplied timestamp for reproducible builds.  See
-+   * https://reproducible-builds.org/specs/source-date-epoch/  */
-+  if (!opt_date && (s = getenv ("SOURCE_DATE_EPOCH")) && *s)
-+    opt_date = s;
-+
-   /* Start processing. */
-   if (argc && strcmp (*argv, "-"))
-     {
-- 
2.19.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 0/1] Update libgcrypt
  2018-11-02 17:12 [bug#33243] [PATCH 0/1] Update libgcrypt Björn Höfling
  2018-11-02 17:31 ` [bug#33243] [PATCH 1/1] gnu: libgcrypt: Update to 1.8.4 Björn Höfling
@ 2018-11-02 20:31 ` Leo Famulari
  2018-11-06  6:45   ` Björn Höfling
  1 sibling, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-11-02 20:31 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33243

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

On Fri, Nov 02, 2018 at 06:12:07PM +0100, Björn Höfling wrote:
> This patch updates libgcrypt to 1.8.4.
> 
> The reproducibility problem was fixed upstream and thus the patch was
> removed from package definition.
> 
> I applied this on core-updates-next, was that the right branch?

Yes, that's the right branch, thank you!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 0/1] Update libgcrypt
  2018-11-02 20:31 ` [bug#33243] [PATCH 0/1] Update libgcrypt Leo Famulari
@ 2018-11-06  6:45   ` Björn Höfling
  2018-11-14 11:13     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Björn Höfling @ 2018-11-06  6:45 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 33243

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

On Fri, 2 Nov 2018 16:31:55 -0400
Leo Famulari <leo@famulari.name> wrote:

> On Fri, Nov 02, 2018 at 06:12:07PM +0100, Björn Höfling wrote:
> > This patch updates libgcrypt to 1.8.4.
> > 
> > The reproducibility problem was fixed upstream and thus the patch
> > was removed from package definition.
> > 
> > I applied this on core-updates-next, was that the right branch?  
> 
> Yes, that's the right branch, thank you!

Just to be sure: I applied locally, someone with commit rights need to
commit it.

I also built gnupg successfully as a test.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 0/1] Update libgcrypt
  2018-11-06  6:45   ` Björn Höfling
@ 2018-11-14 11:13     ` Ludovic Courtès
  2018-11-14 17:40       ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-11-14 11:13 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33243

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

Hello Björn,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

> On Fri, 2 Nov 2018 16:31:55 -0400
> Leo Famulari <leo@famulari.name> wrote:
>
>> On Fri, Nov 02, 2018 at 06:12:07PM +0100, Björn Höfling wrote:
>> > This patch updates libgcrypt to 1.8.4.
>> > 
>> > The reproducibility problem was fixed upstream and thus the patch
>> > was removed from package definition.
>> > 
>> > I applied this on core-updates-next, was that the right branch?  
>> 
>> Yes, that's the right branch, thank you!
>
> Just to be sure: I applied locally, someone with commit rights need to
> commit it.

I think you could be that person.  :-)

Could you create an account on Savannah, upload the OpenPGP key you’ll
use to sign commits there (via the web UI), and reply to this message
signed with the same key and giving me your account name?

Thanks in advance!

Ludo’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 0/1] Update libgcrypt
  2018-11-14 11:13     ` Ludovic Courtès
@ 2018-11-14 17:40       ` Leo Famulari
       [not found]         ` <20181116101358.65629d8c@alma-ubu>
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-11-14 17:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33243

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

On Wed, Nov 14, 2018 at 12:13:29PM +0100, Ludovic Courtès wrote:
> I think you could be that person.  :-)
> 
> Could you create an account on Savannah, upload the OpenPGP key you’ll
> use to sign commits there (via the web UI), and reply to this message
> signed with the same key and giving me your account name?
> 
> Thanks in advance!

Great! Please also make sure to read the HACKING file in our Git repo.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33243: [PATCH 0/1] Update libgcrypt
       [not found]           ` <87y39t1ib5.fsf@gnu.org>
@ 2018-11-18 12:03             ` Björn Höfling
  2018-11-18 22:34               ` [bug#33243] " Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Björn Höfling @ 2018-11-18 12:03 UTC (permalink / raw)
  To: Ludovic Courtès, 33243-done; +Cc: Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

On Fri, 16 Nov 2018 10:29:50 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Hello!
> 
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:
> 
> > On Wed, 14 Nov 2018 12:40:29 -0500
> > Leo Famulari <leo@famulari.name> wrote:
> >  
> >> On Wed, Nov 14, 2018 at 12:13:29PM +0100, Ludovic Courtès wrote:  
> >> > I think you could be that person.  :-)

Pushed under core-updates-next:

02d83c247931045cf899433223e1b1a51f605a9f

First push to Guix. Is everything fine?

Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#33243] [PATCH 0/1] Update libgcrypt
  2018-11-18 12:03             ` bug#33243: " Björn Höfling
@ 2018-11-18 22:34               ` Leo Famulari
  0 siblings, 0 replies; 8+ messages in thread
From: Leo Famulari @ 2018-11-18 22:34 UTC (permalink / raw)
  To: Björn Höfling; +Cc: Ricardo Wurmus, 33243-done

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

On Sun, Nov 18, 2018 at 01:03:25PM +0100, Björn Höfling wrote:
> Pushed under core-updates-next:
> 
> 02d83c247931045cf899433223e1b1a51f605a9f
> 
> First push to Guix. Is everything fine?

It looks good to me, thank you!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-18 22:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-02 17:12 [bug#33243] [PATCH 0/1] Update libgcrypt Björn Höfling
2018-11-02 17:31 ` [bug#33243] [PATCH 1/1] gnu: libgcrypt: Update to 1.8.4 Björn Höfling
2018-11-02 20:31 ` [bug#33243] [PATCH 0/1] Update libgcrypt Leo Famulari
2018-11-06  6:45   ` Björn Höfling
2018-11-14 11:13     ` Ludovic Courtès
2018-11-14 17:40       ` Leo Famulari
     [not found]         ` <20181116101358.65629d8c@alma-ubu>
     [not found]           ` <87y39t1ib5.fsf@gnu.org>
2018-11-18 12:03             ` bug#33243: " Björn Höfling
2018-11-18 22:34               ` [bug#33243] " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).