Index: sysutils/py-pyznap/Makefile =================================================================== --- sysutils/py-pyznap/Makefile (nonexistent) +++ sysutils/py-pyznap/Makefile (working copy) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= pyznap +PORTVERSION= 1.0.2 +DISTVERSIONPREFIX= v +CATEGORIES= sysutils +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= driesm.michiels@gmail.com +COMMENT= ZFS snapshot tool written in python + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configparser>3.5.0:devel/py-configparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.1:security/py-paramiko@${PY_FLAVOR} \ + mbuffer:misc/mbuffer + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +USE_GITHUB= yes +GH_ACCOUNT= yboetz + +NO_ARCH= yes +SUB_FILES= pkg-message + +post-patch: + @${REINPLACE_CMD} -e 's|/etc/pyznap/|${LOCALBASE}/etc/pyznap/|g' ${WRKSRC}/${PORTNAME}/main.py + +.include Property changes on: sysutils/py-pyznap/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-pyznap/distinfo =================================================================== --- sysutils/py-pyznap/distinfo (nonexistent) +++ sysutils/py-pyznap/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1539192943 +SHA256 (yboetz-pyznap-v1.0.2_GH0.tar.gz) = e506a3541b3af95f06cd3920269dcad11ba5b3a231591b3a51160ac0f3022002 +SIZE (yboetz-pyznap-v1.0.2_GH0.tar.gz) = 33660 Property changes on: sysutils/py-pyznap/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-pyznap/files/pkg-message.in =================================================================== --- sysutils/py-pyznap/files/pkg-message.in (nonexistent) +++ sysutils/py-pyznap/files/pkg-message.in (working copy) @@ -0,0 +1,7 @@ +Now it is time to set-up the main configuration file. +First run "pyznap setup", a sample will be copied to %%LOCALBASE%%/etc/pyznap/pysnap.conf. + +After configuring the file to your liking setup cron with the following entries: + +*/15 * * * * root %%LOCALBIN%%/pyznap snap >> /var/log/pyznap.log +0 0 * * * root %%LOCALBIN%%/pyznap send >> /var/log/pyznap.log Property changes on: sysutils/py-pyznap/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-pyznap/pkg-descr =================================================================== --- sysutils/py-pyznap/pkg-descr (nonexistent) +++ sysutils/py-pyznap/pkg-descr (working copy) @@ -0,0 +1,4 @@ +pyznap is a ZFS snapshot management tool. It automatically takes and deletes +snapshots and can send them to different remote and local backup locations. + +WWW: https://github.com/yboetz/pyznap Property changes on: sysutils/py-pyznap/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property