sourcezap/man/man8/sourcezap.8

73 lines
1.5 KiB
Groff
Raw Normal View History

.Dd May 2023
2024-05-12 01:19:45 +02:00
.Dt SOURCEZAP 8
.Os
.Sh NAME
2024-05-12 01:19:45 +02:00
.Nm sourcezap
2024-05-11 21:33:43 +02:00
.Nd manages a copy of the HardenedBSD source tree
.Sh SYNOPSIS
.br
2024-06-01 08:58:10 +02:00
.Nm sourcezap clone
.Nm sourcezap pull
.Nm sourcezap checkout
.Nm sourcezap install
.Nm sourcezap rm
.Sh DESCRIPTION
2024-05-12 01:19:45 +02:00
.Nm sourcezap
2024-05-11 21:33:43 +02:00
manages a copy of the HardenedBSD source tree.
The copy of the source tree is maintained by members of
2024-05-12 01:19:45 +02:00
the '_sourcezap' group, and a copy of the source tree
2024-05-11 21:43:59 +02:00
can be installed into /usr/src/ by root.
.Sh EXAMPLES
.sp
.sp
2024-05-12 01:19:45 +02:00
.Nm sourcezap clone
.br
2024-05-12 05:06:01 +02:00
Clone the HardenedBSD source tree into /home/_sourcezap/src/
.br
2024-05-12 05:06:01 +02:00
This command is delegated to the '_sourcezap' user
.Pp
2024-05-12 01:19:45 +02:00
.Nm sourcezap pull
.br
2024-05-12 05:06:01 +02:00
Pull updates into /home/_sourcezap/src/
.br
2024-05-12 05:06:01 +02:00
This command is delegated to the '_sourcezap' user
.Pp
2024-05-12 04:32:08 +02:00
.Nm sourcezap checkout
.br
2024-05-12 05:06:01 +02:00
Checkout a branch other than the default: hardened/14-stable/master
.br
2024-05-12 05:06:01 +02:00
This command is delegated to the '_sourcezap' user
.Pp
2024-05-12 01:19:45 +02:00
.Nm sourcezap install
.br
2024-05-12 05:06:01 +02:00
Install /home/_sourcezap/src/ into /usr/src/
.br
2024-05-12 05:06:01 +02:00
This command requires root privileges
.Pp
2024-05-12 04:55:58 +02:00
.Nm sourcezap rm
.br
2024-05-12 05:06:01 +02:00
Remove the contents of /usr/src/ and /home/_sourcezap/src/
.br
2024-05-12 05:06:01 +02:00
This command requires root privileges
.br
.Sh ENVIRONMENT
.sp
.sp
.Nm SOURCEZAP_CLONEURL
.br
2024-05-12 05:06:01 +02:00
The URL of a git repository
.br
2024-05-12 00:41:53 +02:00
Default: https://git.HardenedBSD.org/HardenedBSD/HardenedBSD.git/
.sp
2024-05-12 01:19:45 +02:00
.Nm SOURCEZAP_INSTALLDIR
.br
2024-05-12 05:06:01 +02:00
The directory where the ports collection will be installed
.br
Default: /usr/src/
.sp
.Sh AUTHORS
The
2024-05-12 01:19:45 +02:00
.Nm sourcezap
utility and this manual page were written by
0x1eef <0x1eef@protonmail.com>.