Add sysutils/py-tarsnapper 0.4

A wrapper around tarsnap which does two things:

* Lets you define "backup jobs" (tarsnap invocations) in a
  config file, though on its own this has little advantage over just
  using a a shell script.
* The ability to expire old backups using a Grandfather-father-son
  backup scheme.  This feature can be used in conjunction with
  tarsnapper backup jobs, or standalone, to be applied to any existing
  set of tarsnap backup archives, regardless of how they have been
  created.

WWW: https://github.com/miracle2k/tarsnapper
This commit is contained in:
Philip Paeps 2018-11-18 17:15:44 +00:00
parent 57fa8182e5
commit 373ad6f245
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485233
4 changed files with 43 additions and 0 deletions

View File

@ -1026,6 +1026,7 @@
SUBDIR += py-stdiff
SUBDIR += py-superlance
SUBDIR += py-supervisor
SUBDIR += py-tarsnapper
SUBDIR += py-tmuxp
SUBDIR += py-uptime
SUBDIR += py-zdaemon

View File

@ -0,0 +1,28 @@
# Created by: philip@FreeBSD.org
# $FreeBSD$
PORTNAME= tarsnapper
PORTVERSION= 0.4
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= philip@FreeBSD.org
COMMENT= Tarsnap wrapper which expires backups using a gfs-scheme
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= miracle2k
GH_PROJECT= tarsnapper
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyaml>0:textproc/py-pyaml@${PY_FLAVOR} \
tarsnap>=0:sysutils/tarsnap
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1542542883
SHA256 (miracle2k-tarsnapper-0.4_GH0.tar.gz) = 94ac22c3ed72e6321596f7d229b34fd21b59a00035162c5b22f2a1ee64dc6d01
SIZE (miracle2k-tarsnapper-0.4_GH0.tar.gz) = 19204

View File

@ -0,0 +1,11 @@
A wrapper around tarsnap which does two things:
* Lets you define "backup jobs" (tarsnap invocations) in a config file,
though on it's own this has little advantage over just using a a
shell script.
* The ability to expire old backups using a Grandfather-father-son
backup scheme. This feature can be used in conjunction with tarsnapper
backup jobs, or standalone, to be applied to any existing set of
tarsnap backup archives, regardless of how they have been created.
WWW: https://github.com/miracle2k/tarsnapper