Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 16:37:42 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343124 - in head/sysutils: . zsd
Message-ID:  <201402061637.s16GbgC9020111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Feb  6 16:37:42 2014
New Revision: 343124
URL: http://svnweb.freebsd.org/changeset/ports/343124
QAT: https://qat.redports.org/buildarchive/r343124/

Log:
  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/
  
  PR:		ports/183531
  Submitted by:	Fabian Keil <fk@fabiankeil.de>

Added:
  head/sysutils/zsd/
  head/sysutils/zsd/Makefile   (contents, props changed)
  head/sysutils/zsd/distinfo   (contents, props changed)
  head/sysutils/zsd/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Thu Feb  6 16:34:40 2014	(r343123)
+++ head/sysutils/Makefile	Thu Feb  6 16:37:42 2014	(r343124)
@@ -1072,6 +1072,7 @@
     SUBDIR += zisofs-tools
     SUBDIR += zogftw
     SUBDIR += zrep
+    SUBDIR += zsd
     SUBDIR += zxfer
 
 .include <bsd.port.subdir.mk>

Added: head/sysutils/zsd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zsd/Makefile	Thu Feb  6 16:37:42 2014	(r343124)
@@ -0,0 +1,26 @@
+# Created by: Fabian Keil <fk@fabiankeil.de>
+# $FreeBSD$
+
+PORTNAME=	zsd
+PORTVERSION=	0.0.2013.10.08
+CATEGORIES=	sysutils
+MASTER_SITES=	http://www.fabiankeil.de/sourcecode/zfs-snapshot-destroyer/
+DISTNAME=	${PORTNAME}-2013-10-08-f7cd2b3
+
+MAINTAINER=	fk@fabiankeil.de
+COMMENT=	Destroys ZFS snapshots
+
+PLIST_FILES=	sbin/zsd \
+		man/man8/zsd.8.gz
+
+PORTSCOUT=	ignore:1
+
+USES=		perl5 shebangfix
+SHEBANG_FILES=	zsd
+NO_BUILD=	yes
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/zsd ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/zsd.8 ${STAGEDIR}${MANPREFIX}/man/man8
+
+.include <bsd.port.mk>

Added: head/sysutils/zsd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zsd/distinfo	Thu Feb  6 16:37:42 2014	(r343124)
@@ -0,0 +1,2 @@
+SHA256 (zsd-2013-10-08-f7cd2b3.tar.gz) = e4deddc71afc7f9708a12bdcde54f3317774624541f28159f708d5c657fcfe03
+SIZE (zsd-2013-10-08-f7cd2b3.tar.gz) = 6462

Added: head/sysutils/zsd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zsd/pkg-descr	Thu Feb  6 16:37:42 2014	(r343124)
@@ -0,0 +1,11 @@
+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/



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