notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Current status

The server has been repaired, with a new power supply, for $23. I am waiting for lower COVID rates before visiting the datacenter to return it.
Port details
zfstools OpenSolaris-compatible auto snapshotting for ZFS
0.3.6_1 sysutils on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3.6_1Version of this port present on the latest quarterly branch.
Maintainer: bdrewery@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-05-15 01:36:35
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
People watching this port, also watch:: sudo, subversion, beadm, rsync, atop
Also Listed In: ruby
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/zfstools-0.3.6_1/catalog.mk
  2. /usr/local/share/licenses/zfstools-0.3.6_1/LICENSE
  3. /usr/local/share/licenses/zfstools-0.3.6_1/BSD2CLAUSE
  4. share/doc/zfstools/README.md
  5. lib/ruby/site_ruby/2.7/zfstools.rb
  6. lib/ruby/site_ruby/2.7/zfstools/dataset.rb
  7. lib/ruby/site_ruby/2.7/zfstools/features.rb
  8. lib/ruby/site_ruby/2.7/zfstools/pool.rb
  9. lib/ruby/site_ruby/2.7/zfstools/snapshot.rb
  10. sbin/zfs-auto-snapshot
  11. sbin/zfs-cleanup-snapshots
  12. sbin/zfs-snapshot-mysql
  13. @owner
  14. @group
  15. @mode
Collapse this list.
Dependency lines:
  • zfstools>0:sysutils/zfstools
To install the port: cd /usr/ports/sysutils/zfstools/ && make install clean
To add the package: pkg install zfstools
PKGNAME: zfstools
Flavors: there is no flavor information for this port.
distinfo:
Packages: (move your mouse over the cells for more information)
zfstools
ABIlatestquarterly
FreeBSD:11:aarch640.3.6_10.3.6_1
FreeBSD:11:amd640.3.6_10.3.6_1
FreeBSD:11:armv60.3.60.3.6_1
FreeBSD:11:i3860.3.6_10.3.6_1
FreeBSD:11:mips0.3.60.3.6_1
FreeBSD:11:mips64--
FreeBSD:12:aarch640.3.6_10.3.6_1
FreeBSD:12:amd640.3.6_10.3.6_1
FreeBSD:12:armv60.3.6_10.3.6_1
FreeBSD:12:armv70.3.6_10.3.6_1
FreeBSD:12:i3860.3.6_10.3.6_1
FreeBSD:12:mips0.3.6_10.3.6_1
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.3.6_1
FreeBSD:13:aarch640.3.6_10.3.6_1
FreeBSD:13:amd640.3.6_10.3.6_1
FreeBSD:13:armv60.3.6_10.3.6_1
FreeBSD:13:armv70.3.6_10.3.6_1
FreeBSD:13:i3860.3.6_10.3.6_1
FreeBSD:13:mips0.3.6_1-
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.3.6_10.3.6_1
FreeBSD:14:aarch640.3.6_1-
FreeBSD:14:amd640.3.6_1-
FreeBSD:14:armv60.3.6_1-
FreeBSD:14:armv70.3.6_1-
FreeBSD:14:i3860.3.6_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.3.6_1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby27 : lang/ruby27
Runtime dependencies:
  1. ruby27 : lang/ruby27
Patch dependencies:
  1. ruby27 : lang/ruby27
Extract dependencies:
  1. ruby27 : lang/ruby27
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://mirror.shatow.net/freebsd/zfstools/
  2. https://codeload.github.com/bdrewery/zfstools/tar.gz/v0.3.6?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-02-04
    Affects: users of sysutils/zfstools
    Author: bdrewery@FreeBSD.org
    Reason: 
      The zfstools package has dropped the 'rubygem-' prefix and now installs
      its binary files to PREFIX/sbin instead of PREFIX/bin.
    
    

Number of commits found: 27

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.3.6_1
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.3.6_1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
14 Aug 2019 12:16:13
Original commit files touched by this commit Revision:508909  0.3.6_1
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
25 Feb 2017 19:47:43
Original commit files touched by this commit Revision:434837  0.3.6_1
feld search for other commits by this committer
sysutils/zfstools: Add SHEBANGFIX

Approved by:	maintainer timeout
Differential Revision:	https://reviews.freebsd.org/D9473
02 Dec 2016 09:21:59
Original commit files touched by this commit Revision:427548  0.3.6
mat search for other commits by this committer
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
28 Sep 2015 17:09:33
Original commit files touched by this commit Revision:398124  0.3.6
bdrewery search for other commits by this committer
Update to 0.3.6.

Changes:
  - Restore snapshotting of volumes.
15 Sep 2015 15:56:16
Original commit files touched by this commit Revision:396993  0.3.5
bdrewery search for other commits by this committer
- Update to 0.3.5

Changes:
 - Optimize coalescing of snapshots on a system with a DB.
 - Avoid division by zero when creating snapshots. [1]

PR:		203115
14 Sep 2015 21:51:52
Original commit files touched by this commit Revision:396938  0.3.4
bdrewery search for other commits by this committer
- Update to 0.3.4

Changes:
  - Fixes handling of multiple pools for creating multiple snapshots
    at once.
14 Sep 2015 17:43:01
Original commit files touched by this commit Revision:396914  0.3.3
bdrewery search for other commits by this committer
- Update to 0.3.3

Changes:
  - Fix to not snapshot unmounted datasets in some cases.
  - Optimize snapshot creation by specifying multiple snapshots in 1
    'zfs create' execution.
  - Fix cleanup of recursive snapshots with -P.
  - Handle spaces in dataset names
01 May 2015 04:13:35
Original commit files touched by this commit Revision:385080  0.3.2_2
bdrewery search for other commits by this committer
Force a rebuild for newer Ruby.

Pkg is not properly reinstalling this when ruby is upgraded which
causes this to break since it is left around in the old ruby
dir.

PR:	199828
29 Apr 2015 16:29:00
Original commit files touched by this commit Revision:384988  0.3.2_1
bdrewery search for other commits by this committer
Fix DISTNAME after USE_GITHUB changes in r384932.

PR:		199069
Pointyhat to:	bdrewery
With hat:	portmgr
20 Mar 2015 01:42:37
Original commit files touched by this commit Revision:381704  0.3.2_1
bdrewery search for other commits by this committer
Convert my ports to the new USE_GITHUB
19 Mar 2015 16:44:59
Original commit files touched by this commit Revision:381618  0.3.2_1
bdrewery search for other commits by this committer
Update USE_GITHUB so it does not require GH_COMMIT.

Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
31 Oct 2014 23:48:20
Original commit files touched by this commit Revision:371971  0.3.2_1
bapt search for other commits by this committer
Simplify plist
02 Oct 2014 16:06:43
Original commit files touched by this commit Revision:369835  0.3.2_1
bdrewery search for other commits by this committer
Bump only to test INDEX building for Freshports/portsnap/indexbuild after
bsd.port.mk started enforcing OSVERSION==UNAME_r
10 May 2014 00:06:19
Original commit files touched by this commit Revision:353548  0.3.2
bdrewery search for other commits by this committer
- Update to 0.3.2

Changes:
  - Fix trying to snapshot unmounted datasets
02 Apr 2014 14:39:32
Original commit files touched by this commit Revision:349923  0.3.1
bdrewery search for other commits by this committer
Add hint on disabling snapshots
21 Feb 2014 13:39:38
Original commit files touched by this commit Revision:345435  0.3.1
ehaupt search for other commits by this committer
Remove trailing whitespaces from category sysutils
10 Feb 2014 13:54:28
Original commit files touched by this commit Revision:343634  0.3.1
ehaupt search for other commits by this committer
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
29 Sep 2013 20:35:55
Original commit files touched by this commit Revision:328732  0.3.1
bdrewery search for other commits by this committer
- Update to 0.3.1

Changes:
  * Fixed PostgreSQL support
23 Sep 2013 11:24:54
Original commit files touched by this commit Revision:327979  0.3.0
bdrewery search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 15:58:09
Original commit files touched by this commit Revision:327710  0.3.0
bdrewery search for other commits by this committer
- Add NO_STAGE until validated to be safe for upcoming staging support
18 Sep 2013 11:06:28
Original commit files touched by this commit Revision:327539  0.3.0
bdrewery search for other commits by this committer
- Update to 0.3.0
- Note in pkg-message that crontab needs an updated PATH as well

Changes:
  - PostgreSQL support added
04 Feb 2013 23:24:40
Original commit files touched by this commit Revision:311655  0.2.2
bdrewery search for other commits by this committer
- Update to 0.2.2
- Drop rubygem- prefix from PKGNAME as this no longer uses rubygems
- Add mirror
- Add setup instructions in pkg-message
- Add LICENSE

Changes:
  * Scripts are now installed to /usr/local/sbin
    instead of /usr/local/bin
  * Add '-P pool' flag to `zfs-auto-snapshot` to limit
    the snapshotting to the specified pool/dataset.
  * Fix usage output
12 Dec 2012 02:35:49
Original commit files touched by this commit Revision:308737  0.2.1
bdrewery search for other commits by this committer
Trim header
02 Aug 2012 21:42:30
Original commit files touched by this commit   0.2.1
bdrewery search for other commits by this committer
- Update to my new maintainer address

Approved by:	eadler (mentor)
15 May 2012 01:36:05
Original commit files touched by this commit   0.2.1
eadler search for other commits by this committer
ZFSTools is an OpenSolaris-like and compatible auto snapshotting
script, which also supports auto snapshotting mysql databases.

PR:             ports/167898
Submitted by:   "Bryan Drewery" <bryan@shatow.net>

Number of commits found: 27