Patch to add dependency on net/py-b2sdk to support backup to Backblaze B2.  First class support for this platform is already built into duplicity (https://duplicity.gitlab.io/).

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/Makefile,v
retrieving revision 1.65
diff -u -p -u -r1.65 Makefile
--- Makefile    22 Apr 2023 19:08:22 -0000    1.65
+++ Makefile    25 Sep 2023 01:37:19 -0000
@@ -2,6 +2,7 @@ COMMENT =        encrypted backup using rsync

 MODPY_EGG_VERSION =    1.0.0
 DISTNAME =        duplicity-${MODPY_EGG_VERSION}
+REVISION =        1

 CATEGORIES =        sysutils

@@ -22,9 +23,13 @@ BUILD_DEPENDS =        devel/gettext,-tools

 LIB_DEPENDS =        net/librsync

+# Upgrading duplicity to >= 1.2.1 will require an upgrade
+# of b2sdk to >= 1.19.0 as well, see:
+# https://gitlab.com/duplicity/duplicity/-/issues/701
 RUN_DEPENDS =        devel/py-fasteners${MODPY_FLAVOR} \
             devel/py-future${MODPY_FLAVOR} \
             net/ncftp \
+            net/py-b2sdk${MODPY_FLAVOR}<=1.18.0 \
             security/gnupg>=2.2.23p1 \
             security/py-paramiko${MODPY_FLAVOR}


Reply via email to