portzap/man/man8/portzap.8

100 lines
2 KiB
Groff
Raw Normal View History

.Dd May 2023
2023-06-10 02:23:38 +02:00
.Dt PORTZAP 8
.Os
.Sh NAME
.Nm portzap
2024-05-11 22:45:59 +02:00
.Nd manages a copy of the HardenedBSD ports tree
.Sh SYNOPSIS
.Nm portzap setup
.Nm portzap teardown
2024-06-01 10:27:11 +02:00
.Nm portzap clone
.Nm portzap pull
.Nm portzap checkout
.Nm portzap install
.Nm portzap rm
.Sh DESCRIPTION
.Nm portzap
2024-05-11 22:45:59 +02:00
manages a copy of the HardenedBSD ports tree.
2024-04-18 22:06:58 +02:00
The copy of the ports tree is maintained by members of
the '_portzap' group, and the copy of the ports tree
2024-05-11 22:45:59 +02:00
can be installed into /usr/ports/ by root.
.Sh SETUP
.sp
.sp
.Nm portzap setup
.br
Setup portzap for the first time
.br
This command requires root privileges
.Pp
.Nm portzap teardown
.br
Reverse the changes made by 'portzap setup'
.br
This command requires root privileges
.Pp
.Sh GENERAL
.sp
.sp
.Nm portzap clone
.br
2024-05-22 02:32:55 +02:00
Clone the HardenedBSD ports tree into /home/_portzap/ports/
.br
2024-08-07 07:15:47 +02:00
This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.Pp
.Nm portzap pull
.br
2024-05-22 02:32:55 +02:00
Pull updates into /home/_portzap/ports/
.br
2024-08-07 07:15:47 +02:00
This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.br
.Pp
.Nm portzap checkout
.br
Checkout a branch other than the default: hardenedbsd/main
.br
2024-08-07 07:15:47 +02:00
This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.Pp
2024-08-07 07:08:54 +02:00
.Nm portzap sh
2024-04-18 01:30:14 +02:00
.br
2024-08-07 07:08:54 +02:00
Run /bin/sh within /home/_portzap/ports/
2024-04-18 01:30:14 +02:00
.br
2024-08-07 07:15:47 +02:00
This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
2024-04-18 01:30:14 +02:00
.Pp
2024-05-22 02:32:55 +02:00
.Nm portzap rm
.br
2024-05-22 02:32:55 +02:00
Remove the contents of /usr/ports/ and /home/_portzap/ports/
.br
2024-05-22 02:32:55 +02:00
This command requires root privileges
2024-08-07 07:08:54 +02:00
.Pp
.Nm portzap install
.br
Install /home/_portzap/ports/ into /usr/ports/
.br
This command requires root privileges
.br
2024-04-08 21:15:15 +02:00
.Sh ENVIRONMENT
.sp
.sp
2024-05-23 22:00:03 +02:00
.Nm PORTZAP_CLONEURL
.br
2024-05-23 22:00:03 +02:00
The URL of a git repository
.br
2024-05-11 22:45:59 +02:00
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
.sp
.Nm PORTZAP_INSTALLDIR
.br
2024-05-22 02:32:55 +02:00
The directory where the ports collection will be installed
.br
Default: /usr/ports/
2024-04-17 21:37:16 +02:00
.sp
.Sh AUTHORS
2023-05-22 07:28:50 +02:00
The
.Nm portzap
2023-05-22 07:28:50 +02:00
utility and this manual page were written by
2023-06-10 03:04:38 +02:00
0x1eef <0x1eef@protonmail.com>.