all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32303] [PATCH] gnu: Patch duplicity with --ignore-mdc-error.
@ 2018-07-29 15:41 Christopher Baines
  2018-08-04  7:49 ` bug#32303: " Christopher Baines
  2018-08-07 16:56 ` [bug#32303] " Leo Famulari
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Baines @ 2018-07-29 15:41 UTC (permalink / raw)
  To: 32303

Modify the package to patch gnu.py with an unreleased upstream change to fix
duplicity working with recent releases of GnuPG. This change make the package
build again.

* gnu/packages/backup.scm (duplicity)[arguments]: Patch gnu.py within the
patch-source phase.
---
 gnu/packages/backup.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 9884f58fc..0733d9c34 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -105,6 +105,15 @@
              (substitute* "duplicity/gpginterface.py"
                (("self.call = 'gpg'")
                 (string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
+
+             ;; This matches up with an unreleased upstream fix, it should be
+             ;; removed when the package is updated
+             ;; https://bazaar.launchpad.net/~duplicity-team/duplicity/0.8-series/revision/1308
+             (substitute* "duplicity/gpg.py"
+               (("--no-secmem-warning'\\)")
+                "--no-secmem-warning')
+        gnupg.options.extra_args.append('--ignore-mdc-error')"))
+
              (substitute* '("testing/functional/__init__.py"
                             "testing/overrides/bin/lftp")
                (("/bin/sh") (which "sh")))
-- 
2.18.0

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

end of thread, other threads:[~2018-09-06 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-29 15:41 [bug#32303] [PATCH] gnu: Patch duplicity with --ignore-mdc-error Christopher Baines
2018-08-04  7:49 ` bug#32303: " Christopher Baines
2018-08-07 16:56 ` [bug#32303] " Leo Famulari
2018-08-19 19:46   ` Christopher Baines
2018-08-22 21:05     ` Leo Famulari
2018-09-06 17:26       ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.