Hi,
Here's a diff to update duplicity the its latest release. Changelog is
available on their homepage [0].
Also, take maintainership.
I tested with the file:// and pexpect+sftp:// backends. If you use
another backend, feel free to test it.
[0]: http://www.nongnu.org/duplicity/CHANGELOG
Cheers,
Daniel
Index: Makefile
===
RCS file: /cvs/ports/sysutils/duplicity/Makefile,v
retrieving revision 1.36
diff -u -p -r1.36 Makefile
--- Makefile22 Feb 2016 18:45:53 - 1.36
+++ Makefile14 May 2016 20:23:46 -
@@ -5,13 +5,15 @@
COMMENT = encrypted backup using rsync algorithm
-MODPY_EGG_VERSION = 0.7.06
+MODPY_EGG_VERSION = 0.7.07.1
DISTNAME = duplicity-${MODPY_EGG_VERSION}
-REVISION = 0
CATEGORIES = sysutils
HOMEPAGE = http://www.nongnu.org/duplicity/
+
+MAINTAINER = Daniel Jakots
+
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=duplicity/}
# GPLv2
@@ -38,5 +40,8 @@ MODPY_ADJ_FILES = bin/duplicity bin/rdif
# Some regression tests are hanging
# TEST_DEPENDS = devel/py-mock
NO_TEST = Yes
+
+post-extract:
+ chmod 644 ${WRKSRC}/bin/*.1
.include
Index: distinfo
===
RCS file: /cvs/ports/sysutils/duplicity/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo17 Jan 2016 05:30:31 - 1.19
+++ distinfo14 May 2016 20:23:46 -
@@ -1,2 +1,2 @@
-SHA256 (duplicity-0.7.06.tar.gz) = AHVZXtuJQ5nPAPrpFUquk6B+qtwDH+3l30zFlUNsf4w=
-SIZE (duplicity-0.7.06.tar.gz) = 1417252
+SHA256 (duplicity-0.7.07.1.tar.gz) =
WUxtDnI+VvinEU1XgRxhNiLVNcr970o2Q6TUyJwZBPg=
+SIZE (duplicity-0.7.07.1.tar.gz) = 1539310
Index: patches/patch-bin_duplicity
===
RCS file: /cvs/ports/sysutils/duplicity/patches/patch-bin_duplicity,v
retrieving revision 1.7
diff -u -p -r1.7 patch-bin_duplicity
--- patches/patch-bin_duplicity 17 Jan 2016 05:30:31 - 1.7
+++ patches/patch-bin_duplicity 14 May 2016 20:23:46 -
@@ -1,7 +1,7 @@
$OpenBSD: patch-bin_duplicity,v 1.7 2016/01/17 05:30:31 shadchin Exp $
bin/duplicity.orig Mon Dec 7 17:03:39 2015
-+++ bin/duplicity Sun Dec 27 01:14:25 2015
-@@ -1257,10 +1257,12 @@ def check_resources(action):
+--- bin/duplicity.orig Tue Apr 19 13:38:57 2016
bin/duplicity Mon Apr 25 17:23:16 2016
+@@ -1262,10 +1262,12 @@ def check_resources(action):
log.ErrorCode.get_ulimit_failed)
maxopen = min([l for l in (soft, hard) if l > -1])
if maxopen < 1024:
Index: patches/patch-bin_duplicity_1
===
RCS file: /cvs/ports/sysutils/duplicity/patches/patch-bin_duplicity_1,v
retrieving revision 1.4
diff -u -p -r1.4 patch-bin_duplicity_1
--- patches/patch-bin_duplicity_1 22 Feb 2016 18:45:53 - 1.4
+++ patches/patch-bin_duplicity_1 14 May 2016 20:23:46 -
@@ -1,8 +1,8 @@
$OpenBSD: patch-bin_duplicity_1,v 1.4 2016/02/22 18:45:53 jca Exp $
Document the ssh backend change from paramiko to pexpect.
bin/duplicity.1.orig Mon Dec 7 12:03:39 2015
-+++ bin/duplicity.1Thu Dec 24 19:56:18 2015
-@@ -432,7 +432,7 @@ should be given relative to the root of the directory
+--- bin/duplicity.1.orig Tue Apr 19 13:38:57 2016
bin/duplicity.1Mon Apr 25 17:23:16 2016
+@@ -434,7 +434,7 @@ should be given relative to the root of the directory
.TP
@@ -11,7 +11,7 @@ Document the ssh backend change from par
Adds a prefix to all files, manifest files, archive files, and/or signature
files.
The same set of prefixes must be passed in on backup and restore.
-@@ -850,7 +850,6 @@ currently supports only the
+@@ -852,7 +852,6 @@ currently supports only the
or
.B -oIdentityFile
setting. If needed provide more host specific options via ssh_config file.
@@ -19,12 +19,3 @@ Document the ssh backend change from par
.TP
.BI "--ssl-cacert-file " file
-@@ -1471,7 +1470,7 @@ which aren't followed by 'foo'. However, it wouldn't
- if /home/ben/1234567 existed.
-
- .SH A NOTE ON AZURE ACCESS
--The Azure backend requires the Microsoft Azure Storage SDK for Python to be
-+The Azure backend requires the Microsoft Azure Storage SDK for Python to be
- installed on the system.
- See
- .B REQUIREMENTS
Index: pkg/PLIST
===
RCS file: /cvs/ports/sysutils/duplicity/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -r1.15 PLIST
--- pkg/PLIST 17 Jan 2016 05:30:31 - 1.15
+++ pkg/PLIST 14 May 2016 20:23:46 -
@@ -2,12 +2,12 @@
bin/duplicity
bin/rdiffdir
lib/python${MODPY_VERSION}/site-packages/duplicity/
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/PKG-INFO