Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -1258,6 +1258,7 @@ SUBDIR += zetaback SUBDIR += zfs-periodic SUBDIR += zfs-replicate + SUBDIR += zfs-snap-diff SUBDIR += zfs-snapshot-clean SUBDIR += zfs-snapshot-mgmt SUBDIR += zfs-stats Index: head/sysutils/zfs-snap-diff/Makefile =================================================================== --- head/sysutils/zfs-snap-diff/Makefile +++ head/sysutils/zfs-snap-diff/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= zfs-snap-diff +PORTVERSION= 0.0.9 +CATEGORIES= sysutils + +MAINTAINER= ben.lavery@hashbang0.com +COMMENT= View ZFS snapshot differences via a web browser + +LICENSE= APACHE20 MIT +LICENSE_COMB= multi +LICENSE_FILE_APACHE20= ${WRKSRC}/src/github.com/sergi/go-diff/LICENSE.txt +LICENSE_FILE_MIT= ${WRKSRC}/src/github.com/j-keck/${PORTNAME}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= j-keck:DEFAULT \ + sergi:go_diff +GH_PROJECT= go-diff:go_diff +GH_TAGNAME= f7fcaad:go_diff +GH_SUBDIR= src/github.com/j-keck/zfs-snap-diff \ + src/github.com/sergi/go-diff:go_diff + +USES= go + +PLIST_FILES= bin/zfs-snap-diff + +STRIP= # stripping can break go binaries + +.include Index: head/sysutils/zfs-snap-diff/distinfo =================================================================== --- head/sysutils/zfs-snap-diff/distinfo +++ head/sysutils/zfs-snap-diff/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1477939831 +SHA256 (j-keck-zfs-snap-diff-0.0.9_GH0.tar.gz) = 4c836f1bb8e18e3ff891e83cd65bde4ab956e5621cf861fb127b865efbf0267f +SIZE (j-keck-zfs-snap-diff-0.0.9_GH0.tar.gz) = 1407591 +SHA256 (sergi-go-diff-f7fcaad_GH0.tar.gz) = 408b47b66a03a0409e4f9ffea743c429bbb65644a4c290e4087a7f92d86b9d48 +SIZE (sergi-go-diff-f7fcaad_GH0.tar.gz) = 40236 Index: head/sysutils/zfs-snap-diff/pkg-descr =================================================================== --- head/sysutils/zfs-snap-diff/pkg-descr +++ head/sysutils/zfs-snap-diff/pkg-descr @@ -0,0 +1,8 @@ +With zfs-snap-diff you can explore file differences and restore changes from +older file versions in different zfs snapshots. You can restore the whole file +from an older version, or select single changes to revert in the 'diff' view. + +zfs-snap-diff has a web frontend, so it can run on your local work machine or +on your remote file / backup server (no Xserver necessary). + +WWW: https://github.com/j-keck/zfs-snap-diff