svn commit: r413469 - in head/archivers: . py-borgbackup
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sat Apr 16 17:43:12 UTC 2016
Author: rakuco
Date: Sat Apr 16 17:43:11 2016
New Revision: 413469
URL: https://svnweb.freebsd.org/changeset/ports/413469
Log:
New port: archivers/py-borgbackup.
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.
WWW: https://pypi.python.org/pypi/borgbackup
Note: NO_PACKAGE=yes had to be set because this port only works with Python 3
and depends on other Python ports which are currently only built with Python
2.7 by default. Discussed in the freebsd-python mailing list:
https://lists.freebsd.org/pipermail/freebsd-python/2016-April/010144.html
PR: 207715
Submitted by: José GarcÃa Juanino <jjuanino at gmail.com>
Added:
head/archivers/py-borgbackup/
head/archivers/py-borgbackup/Makefile (contents, props changed)
head/archivers/py-borgbackup/distinfo (contents, props changed)
head/archivers/py-borgbackup/pkg-descr (contents, props changed)
Modified:
head/archivers/Makefile
Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile Sat Apr 16 17:42:09 2016 (r413468)
+++ head/archivers/Makefile Sat Apr 16 17:43:11 2016 (r413469)
@@ -162,6 +162,7 @@
SUBDIR += ppunpack
SUBDIR += pxz
SUBDIR += py-attic
+ SUBDIR += py-borgbackup
SUBDIR += py-bz2file
SUBDIR += py-libarchive-c
SUBDIR += py-librtfcomp
Added: head/archivers/py-borgbackup/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/py-borgbackup/Makefile Sat Apr 16 17:43:11 2016 (r413469)
@@ -0,0 +1,44 @@
+# Created by: José García Juanino <jjuanino at gmail.com>
+# $FreeBSD$
+
+PORTNAME= borgbackup
+PORTVERSION= 1.0.1
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jjuanino at gmail.com
+COMMENT= Deduplicating backup program
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:${PORTSDIR}/devel/py-setuptools_scm
+LIB_DEPENDS= liblz4.so:${PORTSDIR}/archivers/liblz4
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:${PORTSDIR}/devel/py-msgpack-python
+
+OPTIONS_DEFINE= FUSE
+FUSE_DESC= Support to mount locally borg backup files
+OPTIONS_DEFAULT=
+
+FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:${PORTSDIR}/devel/py-llfuse
+
+USES= python:3.4+
+USE_PYTHON= autoplist distutils
+USE_OPENSSL= yes
+
+# Leave py3 only ports as manual port builds.
+# See https://lists.freebsd.org/pipermail/freebsd-python/2016-April/010151.html
+NO_PACKAGE= yes
+
+.include <bsd.port.pre.mk>
+
+# borg requires openssl>=1.0.0
+.if ${OSVERSION} < 1000015
+WITH_OPENSSL_PORT=yes
+.endif
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/*.so
+
+.include <bsd.port.post.mk>
Added: head/archivers/py-borgbackup/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/py-borgbackup/distinfo Sat Apr 16 17:43:11 2016 (r413469)
@@ -0,0 +1,2 @@
+SHA256 (borgbackup-1.0.1.tar.gz) = 58a2c2e649207c8e15223f6380d238124b0f1b45fd83990a40df5b678cd41fba
+SIZE (borgbackup-1.0.1.tar.gz) = 413316
Added: head/archivers/py-borgbackup/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/py-borgbackup/pkg-descr Sat Apr 16 17:43:11 2016 (r413469)
@@ -0,0 +1,11 @@
+[excerpt from borgbackup web site]
+
+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.
+
+WWW: https://pypi.python.org/pypi/borgbackup
More information about the svn-ports-head
mailing list