From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 31 16:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA7FB7AE for ; Thu, 31 Oct 2013 16:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B2022A3D for ; Thu, 31 Oct 2013 16:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VG008F084415 for ; Thu, 31 Oct 2013 16:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9VG00FL084413; Thu, 31 Oct 2013 16:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 31 Oct 2013 16:00:00 GMT Resent-Message-Id: <201310311600.r9VG00FL084413@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fabian Keil Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 774D1370 for ; Thu, 31 Oct 2013 15:52:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 568CD2991 for ; Thu, 31 Oct 2013 15:52:56 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9VFqtC4002111 for ; Thu, 31 Oct 2013 15:52:55 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9VFqt2i002106; Thu, 31 Oct 2013 15:52:55 GMT (envelope-from nobody) Message-Id: <201310311552.r9VFqt2i002106@oldred.freebsd.org> Date: Thu, 31 Oct 2013 15:52:55 GMT From: Fabian Keil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183531: New port: sysutils/zsd Destroys ZFS snapshots X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 16:00:00 -0000 >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 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 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: