Add a package for py-borg, aka Borg Backup. It is a successor of

sysutils/py-attic, which is no longer being developed upstream.

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.
This commit is contained in:
bsiegert 2015-08-22 14:47:55 +00:00
parent 3a14af8a4e
commit fdf0b425b8
6 changed files with 141 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.637 2015/07/31 09:03:29 youri Exp $
# $NetBSD: Makefile,v 1.638 2015/08/22 14:47:55 bsiegert Exp $
#
COMMENT= System utilities
@ -403,6 +403,7 @@ SUBDIR+= pv
SUBDIR+= pwgen
SUBDIR+= py-attic
SUBDIR+= py-augeas
SUBDIR+= py-borg
SUBDIR+= py-collectd
SUBDIR+= py-dbus
SUBDIR+= py-gnome-menus

View file

@ -0,0 +1 @@
bin/borg @PREFIX@/bin/borg@PYVERSSUFFIX@

8
sysutils/py-borg/DESCR Normal file
View file

@ -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.

29
sysutils/py-borg/Makefile Normal file
View file

@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.1 2015/08/22 14:47:55 bsiegert Exp $
GITHUB_PROJECT= borg
DISTNAME= 0.24.0
PKGNAME= ${PYPKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=borgbackup/}
DIST_SUBDIR= ${GITHUB_PROJECT}
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= ${MASTER_SITE_GITHUB:=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}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
cd ${DESTDIR}${PREFIX}/bin && mv borg borg${PYVERSSUFFIX}
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

96
sysutils/py-borg/PLIST Normal file
View file

@ -0,0 +1,96 @@
@comment $NetBSD: PLIST,v 1.1 2015/08/22 14:47:55 bsiegert Exp $
bin/borg${PYVERSSUFFIX}
${PYSITELIB}/borg/__init__.py
${PYSITELIB}/borg/__main__.py
${PYSITELIB}/borg/__init__.pyc
${PYSITELIB}/borg/__init__.pyo
${PYSITELIB}/borg/__main__.pyc
${PYSITELIB}/borg/__main__.pyo
${PYSITELIB}/borg/_version.pyc
${PYSITELIB}/borg/_version.pyo
${PYSITELIB}/borg/archive.pyc
${PYSITELIB}/borg/archive.pyo
${PYSITELIB}/borg/archiver.pyc
${PYSITELIB}/borg/archiver.pyo
${PYSITELIB}/borg/cache.pyc
${PYSITELIB}/borg/cache.pyo
${PYSITELIB}/borg/fuse.pyc
${PYSITELIB}/borg/fuse.pyo
${PYSITELIB}/borg/helpers.pyc
${PYSITELIB}/borg/helpers.pyo
${PYSITELIB}/borg/key.pyc
${PYSITELIB}/borg/key.pyo
${PYSITELIB}/borg/locking.pyc
${PYSITELIB}/borg/locking.pyo
${PYSITELIB}/borg/lrucache.pyc
${PYSITELIB}/borg/lrucache.pyo
${PYSITELIB}/borg/platform.pyc
${PYSITELIB}/borg/platform.pyo
${PYSITELIB}/borg/remote.pyc
${PYSITELIB}/borg/remote.pyo
${PYSITELIB}/borg/repository.pyc
${PYSITELIB}/borg/repository.pyo
${PYSITELIB}/borg/xattr.pyc
${PYSITELIB}/borg/xattr.pyo
${PYSITELIB}/borg/_version.py
${PYSITELIB}/borg/archive.py
${PYSITELIB}/borg/archiver.py
${PYSITELIB}/borg/cache.py
${PYSITELIB}/borg/chunker.so
${PYSITELIB}/borg/crypto.so
${PYSITELIB}/borg/fuse.py
${PYSITELIB}/borg/hashindex.so
${PYSITELIB}/borg/helpers.py
${PYSITELIB}/borg/key.py
${PYSITELIB}/borg/locking.py
${PYSITELIB}/borg/lrucache.py
${PYSITELIB}/borg/platform.py
${PYSITELIB}/borg/platform_darwin.so
${PYSITELIB}/borg/remote.py
${PYSITELIB}/borg/repository.py
${PYSITELIB}/borg/testsuite/__init__.py
${PYSITELIB}/borg/testsuite/__init__.pyc
${PYSITELIB}/borg/testsuite/__init__.pyo
${PYSITELIB}/borg/testsuite/archive.pyc
${PYSITELIB}/borg/testsuite/archive.pyo
${PYSITELIB}/borg/testsuite/archiver.pyc
${PYSITELIB}/borg/testsuite/archiver.pyo
${PYSITELIB}/borg/testsuite/chunker.pyc
${PYSITELIB}/borg/testsuite/chunker.pyo
${PYSITELIB}/borg/testsuite/crypto.pyc
${PYSITELIB}/borg/testsuite/crypto.pyo
${PYSITELIB}/borg/testsuite/hashindex.pyc
${PYSITELIB}/borg/testsuite/hashindex.pyo
${PYSITELIB}/borg/testsuite/helpers.pyc
${PYSITELIB}/borg/testsuite/helpers.pyo
${PYSITELIB}/borg/testsuite/key.pyc
${PYSITELIB}/borg/testsuite/key.pyo
${PYSITELIB}/borg/testsuite/locking.pyc
${PYSITELIB}/borg/testsuite/locking.pyo
${PYSITELIB}/borg/testsuite/lrucache.pyc
${PYSITELIB}/borg/testsuite/lrucache.pyo
${PYSITELIB}/borg/testsuite/platform.pyc
${PYSITELIB}/borg/testsuite/platform.pyo
${PYSITELIB}/borg/testsuite/repository.pyc
${PYSITELIB}/borg/testsuite/repository.pyo
${PYSITELIB}/borg/testsuite/xattr.pyc
${PYSITELIB}/borg/testsuite/xattr.pyo
${PYSITELIB}/borg/testsuite/archive.py
${PYSITELIB}/borg/testsuite/archiver.py
${PYSITELIB}/borg/testsuite/chunker.py
${PYSITELIB}/borg/testsuite/crypto.py
${PYSITELIB}/borg/testsuite/hashindex.py
${PYSITELIB}/borg/testsuite/helpers.py
${PYSITELIB}/borg/testsuite/key.py
${PYSITELIB}/borg/testsuite/locking.py
${PYSITELIB}/borg/testsuite/lrucache.py
${PYSITELIB}/borg/testsuite/platform.py
${PYSITELIB}/borg/testsuite/repository.py
${PYSITELIB}/borg/testsuite/xattr.py
${PYSITELIB}/borg/xattr.py
${PYSITELIB}/borgbackup-${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/borgbackup-${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/borgbackup-${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/borgbackup-${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/borgbackup-${EGG_INFODIR}/requires.txt
${PYSITELIB}/borgbackup-${EGG_INFODIR}/top_level.txt

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/08/22 14:47:55 bsiegert Exp $
SHA1 (borg/0.24.0.tar.gz) = d811bc6f9a4b93afc19877969fffc885a70f0d3d
RMD160 (borg/0.24.0.tar.gz) = ef3f1ff7ffc3b56412c292fae00b19992d490444
Size (borg/0.24.0.tar.gz) = 123557 bytes