New port: sysutils/zsm

A console program that manages ZFS snapshots.

- Manage multiple sets of rolling snapshots.
- Configure a custom schedule via the config file.
- Run in background by adding it to crontab.

Technically, most of the functionality is in zsm-lib,
and zsm is just a thin console interface.

WWW: https://zsm.rtfd.io/

PR:		234280
Submitted by:	Matthias Lindvall <mattias.lindvall@gmail.com>
This commit is contained in:
Kurt Jaeger 2019-01-03 19:25:10 +00:00
parent 20487ac665
commit ed3a4ba6e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489204
4 changed files with 41 additions and 0 deletions

View File

@ -1481,6 +1481,7 @@
SUBDIR += zrep
SUBDIR += zrepl
SUBDIR += zsd
SUBDIR += zsm
SUBDIR += zxfer
.include <bsd.port.subdir.mk>

27
sysutils/zsm/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= zsm
PORTVERSION= 0.2.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
MAINTAINER= mattias.lindvall@gmail.com
COMMENT= ZFS Snapshot Manager
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pid>=2.2.0:devel/py-pid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zsm-lib>=0.2.0:devel/py-zsm-lib@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.4:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>

3
sysutils/zsm/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1545507449
SHA256 (zsm-0.2.0.tar.gz) = 098d8ca87f8e92560b2b69ef5aff6835428bd64da599d01493946f311cf15a53
SIZE (zsm-0.2.0.tar.gz) = 4760

10
sysutils/zsm/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
A console program that manages ZFS snapshots.
- Manage multiple sets of rolling snapshots.
- Configure a custom schedule via the config file.
- Run in background by adding it to crontab.
Technically, most of the functionality is in zsm-lib,
and zsm is just a thin console interface.
WWW: https://zsm.rtfd.io/