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
--- Makefile    22 Feb 2016 18:45:53 -0000      1.36
+++ Makefile    14 May 2016 20:23:46 -0000
@@ -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 <o...@chown.me>
+
 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 <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo    17 Jan 2016 05:30:31 -0000      1.19
+++ distinfo    14 May 2016 20:23:46 -0000
@@ -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 -0000      1.7
+++ patches/patch-bin_duplicity 14 May 2016 20:23:46 -0000
@@ -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 -0000      1.4
+++ patches/patch-bin_duplicity_1       14 May 2016 20:23:46 -0000
@@ -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.1    Thu 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.1    Mon 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 -0000      1.15
+++ pkg/PLIST   14 May 2016 20:23:46 -0000
@@ -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
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/SOURCES.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/dependency_links.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/requires.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.6-py${MODPY_VERSION}.egg-info/top_level.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/PKG-INFO
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/SOURCES.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/requires.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.7.1-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/_librsync.so
@@ -26,6 +26,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/_cf_cloudfiles.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/_cf_pyrax.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/_cf_pyrax.pyc
+lib/python${MODPY_VERSION}/site-packages/duplicity/backends/acdclibackend.py
+lib/python${MODPY_VERSION}/site-packages/duplicity/backends/acdclibackend.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/azurebackend.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/azurebackend.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/b2backend.py
@@ -52,6 +54,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/lftpbackend.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/localbackend.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/localbackend.pyc
+lib/python${MODPY_VERSION}/site-packages/duplicity/backends/mediafirebackend.py
+lib/python${MODPY_VERSION}/site-packages/duplicity/backends/mediafirebackend.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/megabackend.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/megabackend.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/backends/multibackend.py
@@ -107,6 +111,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/duplicity/filechunkio.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/globals.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/globals.pyc
+lib/python${MODPY_VERSION}/site-packages/duplicity/globmatch.py
+lib/python${MODPY_VERSION}/site-packages/duplicity/globmatch.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/gpg.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/gpg.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/gpginterface.py
@@ -140,6 +146,11 @@ lib/python${MODPY_VERSION}/site-packages
 @man man/man1/duplicity.1
 @man man/man1/rdiffdir.1
 share/locale/bg/LC_MESSAGES/duplicity.mo
+share/locale/ca/LC_MESSAGES/duplicity.mo
+share/locale/ca@valencia/
+share/locale/ca@valencia/LC_MESSAGES/
+share/locale/ca@valencia/LC_MESSAGES/duplicity.mo
+share/locale/cs/LC_MESSAGES/duplicity.mo
 share/locale/de/LC_MESSAGES/duplicity.mo
 share/locale/el/LC_MESSAGES/duplicity.mo
 share/locale/en_AU/
@@ -150,7 +161,9 @@ share/locale/en_GB/LC_MESSAGES/
 share/locale/en_GB/LC_MESSAGES/duplicity.mo
 share/locale/eo/LC_MESSAGES/duplicity.mo
 share/locale/es/LC_MESSAGES/duplicity.mo
+share/locale/fi/LC_MESSAGES/duplicity.mo
 share/locale/fr/LC_MESSAGES/duplicity.mo
+share/locale/gl/LC_MESSAGES/duplicity.mo
 share/locale/he/LC_MESSAGES/duplicity.mo
 share/locale/hu/LC_MESSAGES/duplicity.mo
 share/locale/id/LC_MESSAGES/duplicity.mo
@@ -158,6 +171,13 @@ share/locale/io/
 share/locale/io/LC_MESSAGES/
 share/locale/io/LC_MESSAGES/duplicity.mo
 share/locale/it/LC_MESSAGES/duplicity.mo
+share/locale/km/
+share/locale/km/LC_MESSAGES/
+share/locale/km/LC_MESSAGES/duplicity.mo
+share/locale/ms/
+share/locale/ms/LC_MESSAGES/
+share/locale/ms/LC_MESSAGES/duplicity.mo
+share/locale/nl/LC_MESSAGES/duplicity.mo
 share/locale/oc/
 share/locale/oc/LC_MESSAGES/
 share/locale/oc/LC_MESSAGES/duplicity.mo
@@ -175,4 +195,5 @@ share/locale/tr/LC_MESSAGES/duplicity.mo
 share/locale/ug/
 share/locale/ug/LC_MESSAGES/
 share/locale/ug/LC_MESSAGES/duplicity.mo
+share/locale/uk/LC_MESSAGES/duplicity.mo
 share/locale/zh_CN/LC_MESSAGES/duplicity.mo

Reply via email to