notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
zap Maintain and replicate ZFS snapshots
0.8.3_1 sysutils on this many watch lists=4 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.8.3_1Version of this port present on the latest quarterly branch.
Maintainer: jrm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-04-05 18:00:24
Last Update: 2024-02-26 18:41:12
Commit Hash: 7a94cea
People watching this port, also watch:: xcaddy, clamav-unofficial-sigs, monit, node, py39-fail2ban
License: BSD2CLAUSE
WWW:
https://github.com/Jehops/zap
Description:
Maintain and replicate ZFS snapshots zap automates the management of zfs snapshots. With a few, simple crontab entries, it can be used to create a comprehensive zfs backup system. There are no configuration files. All parameters are supplied on the command line or in zfs properties and all snapshot information is stored in snapshot names. zap plays nice with manually created snapshots or snapshots from other tools. It will only operate on snapshots it creates.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/zap
  2. share/man/man1/zap.1.gz
  3. /usr/local/share/licenses/zap-0.8.3_1/catalog.mk
  4. /usr/local/share/licenses/zap-0.8.3_1/LICENSE
  5. /usr/local/share/licenses/zap-0.8.3_1/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • zap>0:sysutils/zap
To install the port:
cd /usr/ports/sysutils/zap/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/zap
  • pkg install zap
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: zap
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1627519959 SHA256 (Jehops-zap-0.8.3_GH0.tar.gz) = 59a38f1c8e820cfda7426389265b104cc1a5d2bbfd454d729f8ec18718b05937 SIZE (Jehops-zap-0.8.3_GH0.tar.gz) = 10876

Packages (timestamps in pop-ups are UTC):
zap
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.8.3_10.8.3_10.80.8.3_10.8.3_1-0.8-
FreeBSD:13:quarterly0.8.3_10.8.3_10.8.30.8.3_10.8.3_10.8.30.8.30.8.3
FreeBSD:14:latest0.8.3_10.8.3_10.8.30.8.3_10.8.3_10.8.3-0.8.3
FreeBSD:14:quarterly0.8.3_10.8.3_1-0.8.3_10.8.3_10.8.30.8.30.8.3
FreeBSD:15:latest0.8.3_10.8.3_1n/a0.8.3_1n/a0.8.30.8.30.8.3
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for zap-0.8.3_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
sysutils_zap
pkg-message:
For install:
See http://ftfl.ca/blog/2016-12-27-zfs-replication.html for a description of a replication strategy.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Jehops/zap/tar.gz/0.8.3?dummy=/
Collapse this list.

Number of commits found: 36

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.3_1
26 Feb 2024 18:41:12
commit hash: 7a94ceab344159a4cb1a2814dc5f9b827690b887commit hash: 7a94ceab344159a4cb1a2814dc5f9b827690b887commit hash: 7a94ceab344159a4cb1a2814dc5f9b827690b887commit hash: 7a94ceab344159a4cb1a2814dc5f9b827690b887 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
sysutils/zap: Install man pages under share/man

Sponsored by:	The FreeBSD Foundation
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.8.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.8.3
29 Jul 2021 00:59:00
commit hash: 12b88fd4f948645644c27c4e3f0509f5f640d81fcommit hash: 12b88fd4f948645644c27c4e3f0509f5f640d81fcommit hash: 12b88fd4f948645644c27c4e3f0509f5f640d81fcommit hash: 12b88fd4f948645644c27c4e3f0509f5f640d81f files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
sysutils/zap: Update to 0.8.3 and pet portclippy/portfmt

https://github.com/Jehops/zap/releases/tag/0.8.3
https://github.com/Jehops/zap/releases/tag/0.8.2
0.8.1
20 Jun 2021 15:02:34
commit hash: 5a92bb7c2f03125a03a637c91e4a67211c1f11d4commit hash: 5a92bb7c2f03125a03a637c91e4a67211c1f11d4commit hash: 5a92bb7c2f03125a03a637c91e4a67211c1f11d4commit hash: 5a92bb7c2f03125a03a637c91e4a67211c1f11d4 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
sysutils/zap: Update to 0.8.1

https://github.com/Jehops/zap/releases/tag/0.8.1
0.8
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.8
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.8
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
0.8
01 Dec 2018 20:39:16
Revision:486386Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.8

Release Notes: https://github.com/Jehops/zap/releases/tag/0.8
0.7.4
10 Sep 2018 13:14:52
Revision:479406Original commit files touched by this commit
mat search for other commits by this committer
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
0.7.4
03 Oct 2017 21:04:08
Revision:451171Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.7.4

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.7.4
0.7.3
05 Sep 2017 01:00:16
Revision:449263Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.7.3

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.7.3
0.7.2
30 Aug 2017 19:18:01
Revision:448997Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.7.2 and add zap user/group

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.7.2
0.7.1
18 Aug 2017 17:41:09
Revision:448263Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.7.1.

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.7.1

Reported by:	Michael Wayne <wayne47@gmail.com>
0.7.0
14 May 2017 19:22:22
Revision:440897Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.7.0

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.7.0

Approved by:	swills (mentor, implicit)
0.6.9
18 Apr 2017 21:48:25
Revision:438817Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.9

Upstream changes: https://github.com/Jehops/zap/releases/tag/0.6.9

Approved by:	swills (mentor, implicit)
0.6.8
06 Mar 2017 20:46:45
Revision:435567Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.8.

Release information: https://github.com/Jehops/zap/releases/tag/0.6.8

Port changes:
  - Remove warnings in pkg-message about option changes in older
    pre-releases.
  - Update pkg-message to mention blog post describing a replication
    strategy.

Reported by:	David Samms <dsamms@nw-ds.com>
Approved by:	swills (mentor, implicit)
0.6.7_1
29 Jan 2017 23:39:28
Revision:432812Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update COMMENT and pkg-descr.

Approved by:	swills (mentor, implicit)
0.6.7
29 Jan 2017 23:27:55
Revision:432809Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.7.

Report the correct version with zap -v.

Approved by:	swills (mentor, implicit)
0.6.6
29 Jan 2017 23:04:05
Revision:432803Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.6.

Upstream change: Fix description of subcommand options in man page.

Approved by:	swills (mentor, implicit)
0.6.5
28 Jan 2017 22:00:50
Revision:432686Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.5.

Approved by:	swills (mentor, implicit)
0.6.4
09 Jan 2017 19:36:36
Revision:431024Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.4.

Fix issues with replication.
  - Do not require all '-r dataset' arguments to be listed first.
  - Fix error checking.
    If only one argument to 'zap rep' was supplied, replication would
    silently fail. This required breaking the interface. Instead of

    zap rep|replicate [-dLSv] [[-r dataset]... [dataset]... remote_dest]

    the format is now

    zap rep|replicate [-dLSv] [remote_dest [-r] dataset [[-r] dataset]...].

Fix issue with destroy.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.3
07 Jan 2017 03:18:19
Revision:430764Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.3.

Fix problem calling basic sed with unsupported a|b.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9078
0.6.2
04 Jan 2017 19:04:44
Revision:430584Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.2

Add options to control behaviour when a resilver is in progress.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9044
0.6.1
04 Jan 2017 18:10:24
Revision:430583Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.6.1.

Changes in version 0.6.0:
    - Add remote replication support.
    - Rework command options to be similar to the zfs command.

Changes in version 0.6.1:
    - Fix incorrect replication example in the documentation.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9043
0.5.0
14 Nov 2016 19:13:39
Revision:426133Original commit files touched by this commit
jrm search for other commits by this committer
sysutils/zap: Update to version 0.5.0

Changelog:
- Use getops for option handling.
- Create snapshots again when a scrub is in progress.
- Let the -r flag be specified for individual datasets.
  - To handle parsing the '-r' flags, the create function was broken off
    into two functions: create_parse() and create(). create() creates one
    snapshot per call.
- Created helper functions pool_ok and pool_scrub.
- Minor changes to warning messages.
- POSIX sh does not support local, so initialize variables intended to be
  local to a function.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8511
0.4.1
03 Oct 2016 13:43:25
Revision:423194Original commit files touched by this commit
jrm search for other commits by this committer
Use PORTDOCS to install README and do not suppress directory creation output

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8131
0.4.1
23 Sep 2016 21:42:02
Revision:422697Original commit files touched by this commit
jrm search for other commits by this committer
Update email address to jrm@FreeBSD.org for ports that I maintain

Reviewed by:	mat, swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D7995
0.4.1
25 Aug 2016 18:33:05
Revision:420871Original commit files touched by this commit
pawel search for other commits by this committer
Update to version 0.4.1

PR:		212144
Submitted by:	Joseph Mingrone (maintainer)
0.4.0
24 Aug 2016 11:55:47
Revision:420786Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.4.0

PR:		212089
Submitted by:	jrm@ftfl.ca (maintainer)
0.3.0
16 Jun 2016 01:13:24
Revision:416943Original commit files touched by this commit
brd search for other commits by this committer
Update sysutils/zap to 0.3.0.

PR:		210266
Submitted by:	Joseph Mingrone <jrm@ftfl.ca>
Approved by:	bdrewery (implicit)
0.2.1
07 Apr 2016 23:41:46
Revision:412696Original commit files touched by this commit
wen search for other commits by this committer
- Update to 0.2.1

PR:		208619
Submitted by:	jrm@ftfl.ca(maintainer)
0.2
07 Apr 2016 15:58:44
Revision:412673Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.2

PR:		208600
Submitted by:	jrm@ftfl.ca (maintainer)
0.1.2
06 Apr 2016 15:53:33
Revision:412629Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.1.2

PR:		208581
Submitted by:	jrm@ftfl.ca (maintainer)
0.1.1
06 Apr 2016 07:08:28
Revision:412609Original commit files touched by this commit
pi search for other commits by this committer
sysutils/zap: bugfix

PR:		208564
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> (maintainer)
0.1
05 Apr 2016 18:00:09
Revision:412578Original commit files touched by this commit
pi search for other commits by this committer
New port: sysutils/zap

Use zap to maintain ZFS snapshots with cron.

- Uses neither configuration files nor custom ZFS properties
- all information is supplied when zap is invoked and stored in snapshot
  names.
- Uses namespaces to avoid collisions with other snapshots.
- Creates and destroys snapshots only when it makes sense to.
- Written in POSIX sh.

WWW: https://github.com/Jehops/zap

PR:		208495
Submitted by:	Joseph Mingrone <jrm@ftfl.ca>

Number of commits found: 36