aboutsummaryrefslogtreecommitdiff
path: root/sysutils/zsd
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-06 16:37:42 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-06 16:37:42 +0000
commitc470a1dc3c5443db6f0edd30837bdfc054a48290 (patch)
tree880c59ac90f72936e5ebd8a3e93a264e6d1b5311 /sysutils/zsd
parente1586c8a1bb777cac812c6fd3c84ceb34ad079b7 (diff)
downloadports-c470a1dc3c5443db6f0edd30837bdfc054a48290.tar.gz
ports-c470a1dc3c5443db6f0edd30837bdfc054a48290.zip
Notes
Diffstat (limited to 'sysutils/zsd')
-rw-r--r--sysutils/zsd/Makefile26
-rw-r--r--sysutils/zsd/distinfo2
-rw-r--r--sysutils/zsd/pkg-descr11
3 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/zsd/Makefile b/sysutils/zsd/Makefile
new file mode 100644
index 000000000000..15206e93d890
--- /dev/null
+++ b/sysutils/zsd/Makefile
@@ -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>
diff --git a/sysutils/zsd/distinfo b/sysutils/zsd/distinfo
new file mode 100644
index 000000000000..73cf4ca2cb85
--- /dev/null
+++ b/sysutils/zsd/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zsd-2013-10-08-f7cd2b3.tar.gz) = e4deddc71afc7f9708a12bdcde54f3317774624541f28159f708d5c657fcfe03
+SIZE (zsd-2013-10-08-f7cd2b3.tar.gz) = 6462
diff --git a/sysutils/zsd/pkg-descr b/sysutils/zsd/pkg-descr
new file mode 100644
index 000000000000..a371e92a83a0
--- /dev/null
+++ b/sysutils/zsd/pkg-descr
@@ -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/