Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 21:21:28 GMT
From:      Aldis Berjoza <aldis@bsdroot.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151017: [patch] sysutils/zfsnap v1.4.0
Message-ID:  <201009272121.o8RLLSJr027899@www.freebsd.org>
Resent-Message-ID: <201009272130.o8RLU7oB070414@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151017
>Category:       ports
>Synopsis:       [patch] sysutils/zfsnap v1.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 21:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        
>Organization:
>Environment:
>Description:
Changelog
* Added -F flag = ability to force delete snapshots older than given time
* Changed timestamp format to make shell snapshot browsing easier
* Added -o flat for compability (to use old timestamp format)

IMPORTANT:
Since timestamp format changed you need to use use -o option with -d option in order to be able to delete old snapshots (see http://wiki.bsdroot.lv/zfsnap for more info)
Note however that you don't need -o when creating new snapshots, unless you want keep using old timestamp format

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u zfsnap.bak/Makefile zfsnap/Makefile
--- zfsnap.bak/Makefile	2010-09-28 00:10:01.001812750 +0300
+++ zfsnap/Makefile	2010-09-28 00:10:34.823245659 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zfsnap
-PORTVERSION=	1.3.2
+PORTVERSION=	1.4.0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://files.bsdroot.lv/pub/FreeBSD/distfiles/
 DISTNAME=	zfSnap-${PORTVERSION}
@@ -21,5 +21,4 @@
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/zfSnap.sh ${PREFIX}/sbin/zfSnap
 
-# vim: set ts=8 sw=8:
 .include <bsd.port.mk>
diff -u zfsnap.bak/distinfo zfsnap/distinfo
--- zfsnap.bak/distinfo	2010-09-28 00:10:00.992818260 +0300
+++ zfsnap/distinfo	2010-09-28 00:10:54.090197625 +0300
@@ -1,3 +1,3 @@
-MD5 (zfSnap-1.3.2.tar.gz) = 53d099ec0d38e554adea1358eb9f7386
-SHA256 (zfSnap-1.3.2.tar.gz) = cea95ad6be2bb83fd1b64430f6b11a6fcb49191554ad647a816391e68e0f3d28
-SIZE (zfSnap-1.3.2.tar.gz) = 2189
+MD5 (zfSnap-1.4.0.tar.gz) = 11a57715f3bab5ba0545487b46bec210
+SHA256 (zfSnap-1.4.0.tar.gz) = b723f381669f23249989aff230f189ef7cf7109395b1f0daa2883169345ec339
+SIZE (zfSnap-1.4.0.tar.gz) = 2498


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009272121.o8RLLSJr027899>