Date: Thu, 31 Oct 2013 15:52:55 GMT From: Fabian Keil <fk@fabiankeil.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183531: New port: sysutils/zsd Destroys ZFS snapshots Message-ID: <201310311552.r9VFqt2i002106@oldred.freebsd.org> Resent-Message-ID: <201310311600.r9VG00FL084413@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183531 >Category: ports >Synopsis: New port: sysutils/zsd Destroys ZFS snapshots >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 31 16:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 11.0-CURRENT FreeBSD 11.0-CURRENT #608 r256776+9d32f60(fk): Thu Oct 24 14:11:37 CEST 2013 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: zsd (ZFS snapshot destroyer) is a zfs(8) wrapper to destroy snapshots on a given dataset using a more convenient interface. The number of snapshots to destroy can be specified directly, or indirectly by specifying the number of snapshots that should be kept. It goes nicely with zogftw's zogftw_snapshot_successfully_sent_hook() to grow a certain number of snapshots on new datasets while keeping the number of snapshots on old datasets constant. WWW: http://www.fabiankeil.de/gehacktes/zsd/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sysutils/zsd/ # sysutils/zsd/distinfo # sysutils/zsd/Makefile # sysutils/zsd/pkg-descr # echo c - sysutils/zsd/ mkdir -p sysutils/zsd/ > /dev/null 2>&1 echo x - sysutils/zsd/distinfo sed 's/^X//' >sysutils/zsd/distinfo << 'b96dec9a5f2a1666fcc453932689f71d' XSHA256 (zsd-2013-10-08-f7cd2b3.tar.gz) = e4deddc71afc7f9708a12bdcde54f3317774624541f28159f708d5c657fcfe03 XSIZE (zsd-2013-10-08-f7cd2b3.tar.gz) = 6462 b96dec9a5f2a1666fcc453932689f71d echo x - sysutils/zsd/Makefile sed 's/^X//' >sysutils/zsd/Makefile << 'c00c93b462e8bd79129e637771b4e1da' X# Created by: Fabian Keil <fk@fabiankeil.de> X# $FreeBSD$ X XPORTNAME= zsd XPORTVERSION= 0.0.2013.10.08 XCATEGORIES= sysutils XMASTER_SITES= http://www.fabiankeil.de/sourcecode/zfs-snapshot-destroyer/ XDISTNAME= ${PORTNAME}-2013-10-08-f7cd2b3 X XMAINTAINER= fk@fabiankeil.de XCOMMENT= Destroys ZFS snapshots X XPLIST_FILES= sbin/zsd \ X ${MAN8PREFIX}/man/man8/zsd.8.gz X XPORTSCOUT= ignore:1 X XUSES= perl5 X Xdo-build: Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/zsd ${STAGEDIR}${PREFIX}/sbin X ${INSTALL_MAN} ${WRKSRC}/zsd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 X X.include <bsd.port.mk> c00c93b462e8bd79129e637771b4e1da echo x - sysutils/zsd/pkg-descr sed 's/^X//' >sysutils/zsd/pkg-descr << 'f02f7276d0e755ced2abca550faafc0e' Xzsd (ZFS snapshot destroyer) is a zfs(8) wrapper to destroy snapshots Xon a given dataset using a more convenient interface. X XThe number of snapshots to destroy can be specified directly, or Xindirectly by specifying the number of snapshots that should be kept. X XIt goes nicely with zogftw's zogftw_snapshot_successfully_sent_hook() Xto grow a certain number of snapshots on new datasets while keeping the Xnumber of snapshots on old datasets constant. X XWWW: http://www.fabiankeil.de/gehacktes/zsd/ f02f7276d0e755ced2abca550faafc0e exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310311552.r9VFqt2i002106>