sourcezap/man/man8/sourcezap.8
0x1eef e1e9ea0cff Add 'sourcezap set-branch'
The $SOURCEZAP_BRANCH environment variable has been removed. When
you want to change branch 'sourcezap set-branch <branch name>' can
be used instead.
2024-05-11 22:56:13 -03:00

76 lines
1.5 KiB
Groff

.Dd May 2023
.Dt SOURCEZAP 8
.Os
.Sh NAME
.Nm sourcezap
.Nd manages a copy of the HardenedBSD source tree
.Sh SYNOPSIS
.br
sourcezap clone
.br
sourcezap pull
.br
sourcezap set-branch
.br
sourcezap install
.br
sourcezap erase
.Sh DESCRIPTION
.Nm sourcezap
manages a copy of the HardenedBSD source tree.
The copy of the source tree is maintained by members of
the '_sourcezap' group, and a copy of the source tree
can be installed into /usr/src/ by root.
.Sh EXAMPLES
.sp
.sp
.Nm sourcezap clone
.br
Clone the HardenedBSD source tree into /home/_sourcezap/src/.
.br
This command is delegated to the '_sourcezap' user.
.Pp
.Nm sourcezap pull
.br
Pull updates into /home/_sourcezap/src/.
.br
This command is delegated to the '_sourcezap' user.
.Pp
.Nm sourcezap set-branch
.br
Set a branch other than the default: hardened/14-stable/master.
.br
This command is delegated to the '_sourcezap' user.
.Pp
.Nm sourcezap install
.br
Install /home/_sourcezap/src/ into /usr/src/.
.br
This command requires root privileges.
.Pp
.Nm sourcezap erase
.br
Start over: erase /usr/src/ and /home/_sourcezap/src/.
.br
This command requires root privileges.
.br
.Sh ENVIRONMENT
.sp
.sp
.Nm SOURCEZAP_GITURL
.br
The URL to a git repository.
.br
Default: https://git.HardenedBSD.org/HardenedBSD/HardenedBSD.git/
.sp
.Nm SOURCEZAP_INSTALLDIR
.br
The directory where the ports collection will be installed.
.br
Default: /usr/src/
.sp
.Sh AUTHORS
The
.Nm sourcezap
utility and this manual page were written by
0x1eef <0x1eef@protonmail.com>.