Created attachment 198012 [details]
This brings pyznap in the ports tree. pyznap is a ZFS snapshot management tool. It automatically takes and deletes snapshots and can send them to different backup locations. You can specify a policy for a given filesystem in the pyznap.conf file and then use cron to let it run once per quarter-hour.
I'll take it.
Differential revision: https://reviews.freebsd.org/D17520
There were some issues with the patch but I've fixed them. I'll be happy if you take a look at the updated version ;)
A commit references this bug:
Date: Thu Oct 11 16:58:33 UTC 2018
New revision: 481839
New port: sysutils/py-pyznap: ZFS snapshot tool written in Python
pyznap is a ZFS snapshot management tool. It automatically takes and deletes
snapshots and can send them to different remote and local backup locations.
For example, it is possible to specify a policy for a given filesystem in the
pyznap.conf file and then use cron to let it run once per quarter-hour.
Submitted by: Dries Michiels <email@example.com> (previous version)
Reviewed by: krion
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D17520
Also, I tried to add tests to this port but I failed. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232182.
Looks like almost nothing has been changed which is good :D!
I see now I need to update the category/Makefile for a new port.
And for the substitutions, %%PREFIX%% is prefered over others.
(In reply to Dries Michiels from comment #5)
It's not that PREFIX is preferred over LOCALBASE: those variables serve a different purpose. PREFIX should be used for everything your port is installing as it is going to be installed under the directory pointed to by PREFIX. LOCALBASE, on the other hand, is where you expect your dependencies to be located in.
I see, thank you for clearing that out.
(In reply to Dries Michiels from comment #7)
You're welcome! :)