diff options
author | jrm <jrm@FreeBSD.org> | 2017-01-10 03:36:36 +0800 |
---|---|---|
committer | jrm <jrm@FreeBSD.org> | 2017-01-10 03:36:36 +0800 |
commit | 00eb508f7e6126fc13c55cf4eb3d842b2db5a394 (patch) | |
tree | c45f56482caf5d2f94fcf896921ebd94344d6e05 /sysutils/zap | |
parent | 5fba149b0331c720f83bdf418d27985dafd8b0a9 (diff) | |
download | freebsd-ports-gnome-00eb508f7e6126fc13c55cf4eb3d842b2db5a394.tar.gz freebsd-ports-gnome-00eb508f7e6126fc13c55cf4eb3d842b2db5a394.tar.zst freebsd-ports-gnome-00eb508f7e6126fc13c55cf4eb3d842b2db5a394.zip |
sysutils/zap: Update to version 0.6.4.
Fix issues with replication.
- Do not require all '-r dataset' arguments to be listed first.
- Fix error checking.
If only one argument to 'zap rep' was supplied, replication would
silently fail. This required breaking the interface. Instead of
zap rep|replicate [-dLSv] [[-r dataset]... [dataset]... remote_dest]
the format is now
zap rep|replicate [-dLSv] [remote_dest [-r] dataset [[-r] dataset]...].
Fix issue with destroy.
- In 0.6.3 $zptn was updated in destroy() to be an extended regular
expression. But, when a host was not supplied as an argument, grep -E
was still being supplied with the initial $zptn value containing a
basic regular expression.
With 'zap snap', do not require all '-r dataset' arguments to be listed
first.
Reviewed by: AMDmi3
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9086
Diffstat (limited to 'sysutils/zap')
-rw-r--r-- | sysutils/zap/Makefile | 2 | ||||
-rw-r--r-- | sysutils/zap/distinfo | 6 | ||||
-rw-r--r-- | sysutils/zap/pkg-message | 23 |
3 files changed, 23 insertions, 8 deletions
diff --git a/sysutils/zap/Makefile b/sysutils/zap/Makefile index acc2b1abacc9..7cb207e309f5 100644 --- a/sysutils/zap/Makefile +++ b/sysutils/zap/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= zap -PORTVERSION= 0.6.3 +PORTVERSION= 0.6.4 CATEGORIES= sysutils MAINTAINER= jrm@FreeBSD.org diff --git a/sysutils/zap/distinfo b/sysutils/zap/distinfo index 4966be1d27ed..67c18c48fd27 100644 --- a/sysutils/zap/distinfo +++ b/sysutils/zap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1483758682 -SHA256 (Jehops-zap-0.6.3_GH0.tar.gz) = 5bcb028edf1988a30d59b8128eb84b2effbf08db7f2b2ef3fd21cdad38c1de64 -SIZE (Jehops-zap-0.6.3_GH0.tar.gz) = 6464 +TIMESTAMP = 1483853087 +SHA256 (Jehops-zap-0.6.4_GH0.tar.gz) = 7d8299720f8e6240a4dfbe7489b19207109a9ff94c18b1aef6dc9edbab75bfeb +SIZE (Jehops-zap-0.6.4_GH0.tar.gz) = 6633 diff --git a/sysutils/zap/pkg-message b/sysutils/zap/pkg-message index 23fe7def80a0..2aa4e0c32fe0 100644 --- a/sysutils/zap/pkg-message +++ b/sysutils/zap/pkg-message @@ -1,7 +1,22 @@ ============================================================= -WARNING! +Version 0.6.4 +------------- -The command line arguments and the format of zap snapshot -names changed in version 0.6.0! The name change means you -will have to manually clean up old zap snapshots. +The replication arguments have changed. When one or more +datasets and a destination are supplied, the destination now +comes before the list of datasets. + + zap rep|replicate [-dLSv] [dest [-r] dataset [[-r] + dataset]...]. + + +Version 0.6.0 +------------- + +The command line arguments have changed. Run zap without +arguments for the updated format. + +The format of zap snapshot names has changed. This means +zap snapshots generated by older zap versions must be +manually destroyed. ============================================================= |