From 6e2da9672f79f44048d597f0f61e4646cdeade9d Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Fri, 27 Sep 2024 12:48:46 +0200 Subject: filesystems: add new category for file systems and related utilities The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988 --- filesystems/zfs-snap-diff/Makefile | 27 +++++++++++++++++++++++++++ filesystems/zfs-snap-diff/distinfo | 9 +++++++++ filesystems/zfs-snap-diff/pkg-descr | 6 ++++++ 3 files changed, 42 insertions(+) create mode 100644 filesystems/zfs-snap-diff/Makefile create mode 100644 filesystems/zfs-snap-diff/distinfo create mode 100644 filesystems/zfs-snap-diff/pkg-descr (limited to 'filesystems/zfs-snap-diff') diff --git a/filesystems/zfs-snap-diff/Makefile b/filesystems/zfs-snap-diff/Makefile new file mode 100644 index 000000000000..f0a2268c0c79 --- /dev/null +++ b/filesystems/zfs-snap-diff/Makefile @@ -0,0 +1,27 @@ +PORTNAME= zfs-snap-diff +PORTVERSION= 1.1.3 +DISTVERSIONPREFIX= v +PORTREVISION= 22 +CATEGORIES= filesystems sysutils + +MAINTAINER= ports@FreeBSD.org +COMMENT= View ZFS snapshot differences via a web browser +WWW= https://github.com/j-keck/zfs-snap-diff + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= j-keck +GH_TUPLE= BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ + j-keck:go-diff:v1.0.0:j_keck_go_diff/vendor/github.com/j-keck/go-diff \ + j-keck:plog:v0.7.0:j_keck_plog/vendor/github.com/j-keck/plog + +PLIST_FILES= bin/zfs-snap-diff + +GO_BUILDFLAGS= -ldflags="-X main.version=${DISTVERSIONPREFIX}${PORTVERSION}" + +GO_TARGET= ./cmd/zfs-snap-diff + +.include diff --git a/filesystems/zfs-snap-diff/distinfo b/filesystems/zfs-snap-diff/distinfo new file mode 100644 index 000000000000..d8811a1f5672 --- /dev/null +++ b/filesystems/zfs-snap-diff/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1630838434 +SHA256 (j-keck-zfs-snap-diff-v1.1.3_GH0.tar.gz) = 06febe95bb37463435d7d33acba51f7619c32837d13df996a8f4a11b1e4274ed +SIZE (j-keck-zfs-snap-diff-v1.1.3_GH0.tar.gz) = 7179727 +SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f +SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077 +SHA256 (j-keck-go-diff-v1.0.0_GH0.tar.gz) = 5a07596dcdee6e089b49309162c8e63bc02400652897a1f529d37f0602868dea +SIZE (j-keck-go-diff-v1.0.0_GH0.tar.gz) = 41609 +SHA256 (j-keck-plog-v0.7.0_GH0.tar.gz) = 251c06cdf08dd8a9a03cab0028a64cda8893ef092474be2a49016b3a8280384f +SIZE (j-keck-plog-v0.7.0_GH0.tar.gz) = 11649 diff --git a/filesystems/zfs-snap-diff/pkg-descr b/filesystems/zfs-snap-diff/pkg-descr new file mode 100644 index 000000000000..cf148fee69aa --- /dev/null +++ b/filesystems/zfs-snap-diff/pkg-descr @@ -0,0 +1,6 @@ +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). -- cgit v1.2.3