[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Patch duplicity with --ignore-mdc-error.
From: |
Christopher Baines |
Subject: |
01/01: gnu: Patch duplicity with --ignore-mdc-error. |
Date: |
Sat, 4 Aug 2018 03:46:10 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit e61f092c877da5a9dc5dcdd82690bd3c191769e1
Author: Christopher Baines <address@hidden>
Date: Sat Jul 21 12:35:10 2018 +0100
gnu: Patch duplicity with --ignore-mdc-error.
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 9884f58..0733d9c 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")))