-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PORTNAME= zsd | ||
PORTVERSION= 0.0.2014.12.07 | ||
CATEGORIES= sysutils | ||
MASTER_SITES= http://www.fabiankeil.de/sourcecode/zfs-snapshot-destroyer/ | ||
DISTNAME= ${PORTNAME}-2014-12-07-c2d3662 | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= Destroys ZFS snapshots | ||
WWW= https://www.fabiankeil.de/gehacktes/zsd/ | ||
|
||
LICENSE= mit | ||
|
||
PORTSCOUT= ignore:1 | ||
|
||
USES= perl5 shebangfix | ||
SHEBANG_FILES= zsd | ||
NO_BUILD= yes | ||
NO_ARCH= yes | ||
|
||
PLIST_FILES= sbin/zsd \ | ||
share/man/man8/zsd.8.gz | ||
|
||
do-install: | ||
${INSTALL_SCRIPT} ${WRKSRC}/zsd ${STAGEDIR}${PREFIX}/sbin | ||
${INSTALL_MAN} ${WRKSRC}/zsd.8 ${STAGEDIR}${PREFIX}/share/man/man8 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (zsd-2014-12-07-c2d3662.tar.gz) = f54abb4bb97b367ab48f67919bfb82e0907c64916c872e8eea6c85b66c9f1dbe | ||
SIZE (zsd-2014-12-07-c2d3662.tar.gz) = 6953 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
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. |