https://github.com/MestreLion/git-tools.git The shell scripts from this must be on the path (or installed in /usr/local/bin/)
We have a backup copy at https://github.com/MidnightBSD/git-tools which works with older releases (midnightbsd 1.2.x)
mport install python3 (3.7?)
Seems to work on MidnightBSD 1.2.x but not 2.0.
sh -e setup.sh
cp world.tar in (magus tarball?)
sh -e keygen.sh
edit build.conf
Make sure the jail temp size is big enough to hold the world.tar you created extracted.
sh -e loop.sh
You will need to include the key from keygen in portsnap.conf for the client. You will also need to create SRV records for the domain you include in that file in DNS for the _http.tcp
The loop.sh script expects a portsnap-cleanup.sh script on the server to prune old data. Depending on the settings configured for TTL, you will need to adjust what gets cleaned. This part of portsnap isn't well documented.
We currently believe something like find /path/to/portsnap/files -mtime +30 -type f -print -delete
where mtime is the number of days to go back. Files older than 30 days ould get deleted in this example.
If you see errors from the client about missing snapshots, most likely the s directory on the mirrors is empty or has corrupt files. You will need to manually run a "snap" build after cleanup of the state/work directory and then get the files moved back up to the server with the upload.sh script. e.g.
sh -e build.sh snap
sh upload.sh