aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2018-11-02 21:05:25 +0800
committer0mp <0mp@FreeBSD.org>2018-11-02 21:05:25 +0800
commitb76ab9c80cd89837f2e58bee2b22eab670805676 (patch)
treea98eb33388f84675f6ef5e050b04b169f6e39105 /sysutils
parent7f79fbd98c20926d8f3637791fab61641c1c0e18 (diff)
downloadfreebsd-ports-gnome-b76ab9c80cd89837f2e58bee2b22eab670805676.tar.gz
freebsd-ports-gnome-b76ab9c80cd89837f2e58bee2b22eab670805676.tar.zst
freebsd-ports-gnome-b76ab9c80cd89837f2e58bee2b22eab670805676.zip
sysutils/py-pyznap: Update to v1.1.0
Changelog: - pyznap now uses pv to show progress of zfs send operations. - Better error handling during zfs send over ssh. PR: 232787 Submitted by: Dries Michiels <driesm.michiels@gmail.com> (maintainer) Reviewed by: krion Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D17753
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-pyznap/Makefile11
-rw-r--r--sysutils/py-pyznap/distinfo6
-rw-r--r--sysutils/py-pyznap/files/pkg-message.in2
3 files changed, 10 insertions, 9 deletions
diff --git a/sysutils/py-pyznap/Makefile b/sysutils/py-pyznap/Makefile
index f3ec0a13b2d5..c150f4a74737 100644
--- a/sysutils/py-pyznap/Makefile
+++ b/sysutils/py-pyznap/Makefile
@@ -2,7 +2,7 @@
PORTNAME= pyznap
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.2
+DISTVERSION= 1.1.0
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +13,19 @@ 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
+ ${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.2:security/py-paramiko@${PY_FLAVOR} \
+ mbuffer:misc/mbuffer \
+ pv:sysutils/pv
USES= python:3.5+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= yboetz
NO_ARCH= yes
SUB_FILES= pkg-message
-SUB_LIST= BINDIR=${PREFIX}/bin
+SUB_LIST= BINDIR=${PREFIX}/bin ETCDIR=${PREFIX}/etc
post-patch:
${REINPLACE_CMD} -e 's|/etc/pyznap/|${PREFIX}/etc/pyznap/|g' ${WRKSRC}/${PORTNAME}/main.py
diff --git a/sysutils/py-pyznap/distinfo b/sysutils/py-pyznap/distinfo
index 3ee27f0c42b3..376780e18882 100644
--- a/sysutils/py-pyznap/distinfo
+++ b/sysutils/py-pyznap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539192943
-SHA256 (yboetz-pyznap-v1.0.2_GH0.tar.gz) = e506a3541b3af95f06cd3920269dcad11ba5b3a231591b3a51160ac0f3022002
-SIZE (yboetz-pyznap-v1.0.2_GH0.tar.gz) = 33660
+TIMESTAMP = 1540236332
+SHA256 (yboetz-pyznap-v1.1.0_GH0.tar.gz) = 70c75c89088ac353109f34ba991f67a2029a69d06dbf2b51fa641935f4a12083
+SIZE (yboetz-pyznap-v1.1.0_GH0.tar.gz) = 33985
diff --git a/sysutils/py-pyznap/files/pkg-message.in b/sysutils/py-pyznap/files/pkg-message.in
index 00d057af5651..4bc829de52bb 100644
--- a/sysutils/py-pyznap/files/pkg-message.in
+++ b/sysutils/py-pyznap/files/pkg-message.in
@@ -1,7 +1,7 @@
Now it is time to set-up the main configuration file.
First run "pyznap setup", a sample configuration will be copied
-to %%PREFIX%%/etc/pyznap/pysnap.conf.
+to %%ETCDIR%%/pyznap/pyznap.conf.
After configuring the file to your liking setup cron(8) with the
following entries: