summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-08-22 14:47:55 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-08-22 14:47:55 +0000
commit4083c34e4da69401f77c6cfbb15ec6413f08c0ff (patch)
treeb7e320526ded92aa1ee56699d8eb003a6e24ec03 /sysutils
parent89359824283a2ce0aaa7675ce1f96d2f723171f8 (diff)
downloadpkgsrc-4083c34e4da69401f77c6cfbb15ec6413f08c0ff.tar.gz
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile3
-rw-r--r--sysutils/py-borg/ALTERNATIVES1
-rw-r--r--sysutils/py-borg/DESCR8
-rw-r--r--sysutils/py-borg/Makefile29
-rw-r--r--sysutils/py-borg/PLIST96
-rw-r--r--sysutils/py-borg/distinfo5
6 files changed, 141 insertions, 1 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 706be7a5142..f506e84a197 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -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
diff --git a/sysutils/py-borg/ALTERNATIVES b/sysutils/py-borg/ALTERNATIVES
new file mode 100644
index 00000000000..48a3d160f39
--- /dev/null
+++ b/sysutils/py-borg/ALTERNATIVES
@@ -0,0 +1 @@
+bin/borg @PREFIX@/bin/borg@PYVERSSUFFIX@
diff --git a/sysutils/py-borg/DESCR b/sysutils/py-borg/DESCR
new file mode 100644
index 00000000000..3d6c16e53cb
--- /dev/null
+++ b/sysutils/py-borg/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-borg/Makefile b/sysutils/py-borg/Makefile
new file mode 100644
index 00000000000..3c1298f53ce
--- /dev/null
+++ b/sysutils/py-borg/Makefile
@@ -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"
diff --git a/sysutils/py-borg/PLIST b/sysutils/py-borg/PLIST
new file mode 100644
index 00000000000..e081ceeed8e
--- /dev/null
+++ b/sysutils/py-borg/PLIST
@@ -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
diff --git a/sysutils/py-borg/distinfo b/sysutils/py-borg/distinfo
new file mode 100644
index 00000000000..20805e6decc
--- /dev/null
+++ b/sysutils/py-borg/distinfo
@@ -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