diff --git a/sysutils/py-borgbackup/ALTERNATIVES b/sysutils/py-borgbackup/ALTERNATIVES new file mode 100644 index 0000000000000..4afe1f865d475 --- /dev/null +++ b/sysutils/py-borgbackup/ALTERNATIVES @@ -0,0 +1 @@ +bin/borg @PREFIX@/bin/borg-@PYVERSSUFFIX@ diff --git a/sysutils/py-borgbackup/DESCR b/sysutils/py-borgbackup/DESCR new file mode 100644 index 0000000000000..3d6c16e53cb35 --- /dev/null +++ b/sysutils/py-borgbackup/DESCR @@ -0,0 +1,8 @@ +BorgBackup (short: Borg) is a deduplicating backup program. Optionally, +it supports compression and authenticated encryption. + +The main goal of Borg is to provide an efficient and secure way to +backup data. The data deduplication technique used makes Borg suitable +for daily backups since only changes are stored. The authenticated +encryption technique makes it suitable for backups to not fully trusted +targets. diff --git a/sysutils/py-borgbackup/Makefile b/sysutils/py-borgbackup/Makefile new file mode 100644 index 0000000000000..6119d5d498bdc --- /dev/null +++ b/sysutils/py-borgbackup/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2015/12/27 21:06:06 wiz Exp $ + +DISTNAME= borgbackup-0.29.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_PYPI:=b/borgbackup/} + +MAINTAINER= bsiegert@NetBSD.org +HOMEPAGE= https://github.com/borgbackup/borg +COMMENT= Deduplicating backup program with compression and encryption +LICENSE= modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.4.6:../../devel/py-msgpack + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +MAKE_ENV+= BORG_OPENSSL_PREFIX=${SSLBASE:Q} +MAKE_ENV+= BORG_LZ4_PREFIX=${BUILDLINK_PREFIX.lz4} +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} +FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} + +post-install: + cd ${DESTDIR}${PREFIX}/bin && mv borg borg-${PYVERSSUFFIX} + +.include "../../archivers/lz4/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../devel/py-cython/buildlink3.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/py-borgbackup/PLIST b/sysutils/py-borgbackup/PLIST new file mode 100644 index 0000000000000..e76a70a88b8ef --- /dev/null +++ b/sysutils/py-borgbackup/PLIST @@ -0,0 +1,121 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/27 21:06:06 wiz Exp $ +bin/borg-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/pbr.json +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/borg/__init__.py +${PYSITELIB}/borg/__init__.pyc +${PYSITELIB}/borg/__init__.pyo +${PYSITELIB}/borg/__main__.py +${PYSITELIB}/borg/__main__.pyc +${PYSITELIB}/borg/__main__.pyo +${PYSITELIB}/borg/_version.py +${PYSITELIB}/borg/_version.pyc +${PYSITELIB}/borg/_version.pyo +${PYSITELIB}/borg/archive.py +${PYSITELIB}/borg/archive.pyc +${PYSITELIB}/borg/archive.pyo +${PYSITELIB}/borg/archiver.py +${PYSITELIB}/borg/archiver.pyc +${PYSITELIB}/borg/archiver.pyo +${PYSITELIB}/borg/cache.py +${PYSITELIB}/borg/cache.pyc +${PYSITELIB}/borg/cache.pyo +${PYSITELIB}/borg/chunker.so +${PYSITELIB}/borg/compress.so +${PYSITELIB}/borg/crypto.so +${PYSITELIB}/borg/fuse.py +${PYSITELIB}/borg/fuse.pyc +${PYSITELIB}/borg/fuse.pyo +${PYSITELIB}/borg/hashindex.so +${PYSITELIB}/borg/helpers.py +${PYSITELIB}/borg/helpers.pyc +${PYSITELIB}/borg/helpers.pyo +${PYSITELIB}/borg/key.py +${PYSITELIB}/borg/key.pyc +${PYSITELIB}/borg/key.pyo +${PYSITELIB}/borg/locking.py +${PYSITELIB}/borg/locking.pyc +${PYSITELIB}/borg/locking.pyo +${PYSITELIB}/borg/logger.py +${PYSITELIB}/borg/logger.pyc +${PYSITELIB}/borg/logger.pyo +${PYSITELIB}/borg/lrucache.py +${PYSITELIB}/borg/lrucache.pyc +${PYSITELIB}/borg/lrucache.pyo +${PYSITELIB}/borg/platform.py +${PYSITELIB}/borg/platform.pyc +${PYSITELIB}/borg/platform.pyo +${PYSITELIB}/borg/remote.py +${PYSITELIB}/borg/remote.pyc +${PYSITELIB}/borg/remote.pyo +${PYSITELIB}/borg/repository.py +${PYSITELIB}/borg/repository.pyc +${PYSITELIB}/borg/repository.pyo +${PYSITELIB}/borg/support/__init__.py +${PYSITELIB}/borg/support/__init__.pyc +${PYSITELIB}/borg/support/__init__.pyo +${PYSITELIB}/borg/support/argparse.py +${PYSITELIB}/borg/support/argparse.pyc +${PYSITELIB}/borg/support/argparse.pyo +${PYSITELIB}/borg/testsuite/__init__.py +${PYSITELIB}/borg/testsuite/__init__.pyc +${PYSITELIB}/borg/testsuite/__init__.pyo +${PYSITELIB}/borg/testsuite/archive.py +${PYSITELIB}/borg/testsuite/archive.pyc +${PYSITELIB}/borg/testsuite/archive.pyo +${PYSITELIB}/borg/testsuite/archiver.py +${PYSITELIB}/borg/testsuite/archiver.pyc +${PYSITELIB}/borg/testsuite/archiver.pyo +${PYSITELIB}/borg/testsuite/benchmark.py +${PYSITELIB}/borg/testsuite/benchmark.pyc +${PYSITELIB}/borg/testsuite/benchmark.pyo +${PYSITELIB}/borg/testsuite/chunker.py +${PYSITELIB}/borg/testsuite/chunker.pyc +${PYSITELIB}/borg/testsuite/chunker.pyo +${PYSITELIB}/borg/testsuite/compress.py +${PYSITELIB}/borg/testsuite/compress.pyc +${PYSITELIB}/borg/testsuite/compress.pyo +${PYSITELIB}/borg/testsuite/crypto.py +${PYSITELIB}/borg/testsuite/crypto.pyc +${PYSITELIB}/borg/testsuite/crypto.pyo +${PYSITELIB}/borg/testsuite/hashindex.py +${PYSITELIB}/borg/testsuite/hashindex.pyc +${PYSITELIB}/borg/testsuite/hashindex.pyo +${PYSITELIB}/borg/testsuite/helpers.py +${PYSITELIB}/borg/testsuite/helpers.pyc +${PYSITELIB}/borg/testsuite/helpers.pyo +${PYSITELIB}/borg/testsuite/key.py +${PYSITELIB}/borg/testsuite/key.pyc +${PYSITELIB}/borg/testsuite/key.pyo +${PYSITELIB}/borg/testsuite/locking.py +${PYSITELIB}/borg/testsuite/locking.pyc +${PYSITELIB}/borg/testsuite/locking.pyo +${PYSITELIB}/borg/testsuite/logger.py +${PYSITELIB}/borg/testsuite/logger.pyc +${PYSITELIB}/borg/testsuite/logger.pyo +${PYSITELIB}/borg/testsuite/lrucache.py +${PYSITELIB}/borg/testsuite/lrucache.pyc +${PYSITELIB}/borg/testsuite/lrucache.pyo +${PYSITELIB}/borg/testsuite/platform.py +${PYSITELIB}/borg/testsuite/platform.pyc +${PYSITELIB}/borg/testsuite/platform.pyo +${PYSITELIB}/borg/testsuite/repository.py +${PYSITELIB}/borg/testsuite/repository.pyc +${PYSITELIB}/borg/testsuite/repository.pyo +${PYSITELIB}/borg/testsuite/upgrader.py +${PYSITELIB}/borg/testsuite/upgrader.pyc +${PYSITELIB}/borg/testsuite/upgrader.pyo +${PYSITELIB}/borg/testsuite/xattr.py +${PYSITELIB}/borg/testsuite/xattr.pyc +${PYSITELIB}/borg/testsuite/xattr.pyo +${PYSITELIB}/borg/upgrader.py +${PYSITELIB}/borg/upgrader.pyc +${PYSITELIB}/borg/upgrader.pyo +${PYSITELIB}/borg/xattr.py +${PYSITELIB}/borg/xattr.pyc +${PYSITELIB}/borg/xattr.pyo diff --git a/sysutils/py-borgbackup/PLIST.Darwin b/sysutils/py-borgbackup/PLIST.Darwin new file mode 100644 index 0000000000000..d7e54c7d34356 --- /dev/null +++ b/sysutils/py-borgbackup/PLIST.Darwin @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.Darwin,v 1.1 2015/12/27 21:06:06 wiz Exp $ +${PYSITELIB}/borg/platform_darwin.so diff --git a/sysutils/py-borgbackup/PLIST.FreeBSD b/sysutils/py-borgbackup/PLIST.FreeBSD new file mode 100644 index 0000000000000..b5160f3e2d003 --- /dev/null +++ b/sysutils/py-borgbackup/PLIST.FreeBSD @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.FreeBSD,v 1.1 2015/12/27 21:06:06 wiz Exp $ +${PYSITELIB}/borg/platform_freebsd.so diff --git a/sysutils/py-borgbackup/distinfo b/sysutils/py-borgbackup/distinfo new file mode 100644 index 0000000000000..b1678b9655699 --- /dev/null +++ b/sysutils/py-borgbackup/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/12/27 21:06:06 wiz Exp $ + +SHA1 (borgbackup-0.29.0.tar.gz) = 8e4575ef7ba5e459f20701e601ddf51a9c1b3998 +RMD160 (borgbackup-0.29.0.tar.gz) = 76e22d3b88cc0fc6f22c260b368eb5c5bb407e3f +SHA512 (borgbackup-0.29.0.tar.gz) = d6bceb0993640c40a0400b8f3a1b9012f305e676700a74753692fd9049c6680f7c126a11a42ae9c4f2f9ecd72c01af1ec17325650fdeb9e015c572d5fabda831 +Size (borgbackup-0.29.0.tar.gz) = 424206 bytes