diff options
author | jase <jase@FreeBSD.org> | 2012-08-16 00:47:35 +0800 |
---|---|---|
committer | jase <jase@FreeBSD.org> | 2012-08-16 00:47:35 +0800 |
commit | 95a2f0e80058f7d4a017a074fb0f28538ab030d3 (patch) | |
tree | c6174629ff312f4d5eb9cc782c680b800ee3269b /sysutils | |
parent | 6ecd95fb2c3d18e71f7bcd16a5e0644486334324 (diff) | |
download | freebsd-ports-gnome-95a2f0e80058f7d4a017a074fb0f28538ab030d3.tar.gz freebsd-ports-gnome-95a2f0e80058f7d4a017a074fb0f28538ab030d3.tar.zst freebsd-ports-gnome-95a2f0e80058f7d4a017a074fb0f28538ab030d3.zip |
- Add temporary patch to fix resuming encrypted backups.
PR: ports/170114
Submitted by: William Orr <will@worrbase.com>
Obtained from: https://answers.launchpad.net/duplicity/+question/183711
Approved by: flo (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/duplicity/Makefile | 2 | ||||
-rw-r--r-- | sysutils/duplicity/files/patch-bin-duplicity | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/duplicity/Makefile b/sysutils/duplicity/Makefile index 43ae4acf52f0..842caf934095 100644 --- a/sysutils/duplicity/Makefile +++ b/sysutils/duplicity/Makefile @@ -7,7 +7,7 @@ PORTNAME= duplicity PORTVERSION= 0.6.19 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://launchpad.net/duplicity/0.6-series/${PORTVERSION}/+download/ diff --git a/sysutils/duplicity/files/patch-bin-duplicity b/sysutils/duplicity/files/patch-bin-duplicity new file mode 100644 index 000000000000..05ad6e5a6bb9 --- /dev/null +++ b/sysutils/duplicity/files/patch-bin-duplicity @@ -0,0 +1,11 @@ +--- bin/duplicity.orig 2012-05-22 15:58:53.000000000 +0100 ++++ bin/duplicity 2012-08-12 14:32:01.920372871 +0100 +@@ -321,6 +321,8 @@ + + # Settings are same, let's check passphrase itself if we are encrypted + if globals.encryption: ++ if not globals.gpg_profile.passphrase: ++ globals.gpg_profile.passphrase = get_passphrase(1, "verify") + fileobj = restore_get_enc_fileobj(globals.backend, vol1_filename, + manifest.volume_info_dict[1]) + fileobj.close() |