2023-06-10 01:47:34 +02:00
|
|
|
.Dd May 2023
|
2023-06-10 02:23:38 +02:00
|
|
|
.Dt PORTZAP 8
|
2023-06-10 01:47:34 +02:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm portzap
|
2024-04-01 15:09:51 +02:00
|
|
|
.Nd manages a copy of the hardenedbsd ports tree
|
2023-06-10 01:47:34 +02:00
|
|
|
.Sh SYNOPSIS
|
2024-04-01 15:09:51 +02:00
|
|
|
.br
|
|
|
|
portzap clone
|
|
|
|
.br
|
|
|
|
portzap pull
|
|
|
|
.br
|
|
|
|
portzap install
|
2024-04-20 22:59:42 +02:00
|
|
|
.br
|
|
|
|
portzap erase
|
2023-06-10 01:47:34 +02:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm portzap
|
2024-04-01 15:09:51 +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-04-20 23:14:27 +02:00
|
|
|
can be installed to /usr/ports/ by root.
|
2024-04-01 15:09:51 +02:00
|
|
|
.Sh EXAMPLES
|
2024-04-08 01:27:18 +02:00
|
|
|
.sp
|
|
|
|
.sp
|
2023-06-10 01:47:34 +02:00
|
|
|
.Nm portzap clone
|
|
|
|
.br
|
2024-04-01 15:09:51 +02:00
|
|
|
Clone the hardenedbsd ports tree into /home/_portzap/ports/.
|
2024-04-08 01:27:18 +02:00
|
|
|
.br
|
|
|
|
This command is delegated to the '_portzap' user.
|
2023-06-10 01:47:34 +02:00
|
|
|
.Pp
|
|
|
|
.Nm portzap pull
|
|
|
|
.br
|
2024-04-01 15:09:51 +02:00
|
|
|
Pull updates into /home/_portzap/ports/.
|
2024-04-08 01:27:18 +02:00
|
|
|
.br
|
|
|
|
This command is delegated to the '_portzap' user.
|
2023-06-10 01:47:34 +02:00
|
|
|
.Pp
|
2024-04-20 07:23:20 +02:00
|
|
|
.Nm portzap install
|
2024-04-18 01:30:14 +02:00
|
|
|
.br
|
2024-04-20 07:23:20 +02:00
|
|
|
Install /home/_portzap/ports/ into /usr/ports/.
|
2024-04-18 01:30:14 +02:00
|
|
|
.br
|
2024-04-20 07:23:20 +02:00
|
|
|
This command requires root privileges.
|
2024-04-18 01:30:14 +02:00
|
|
|
.Pp
|
2024-04-20 07:23:20 +02:00
|
|
|
.Nm portzap erase
|
2023-06-10 01:47:34 +02:00
|
|
|
.br
|
2024-04-20 07:23:20 +02:00
|
|
|
Start over: erase /usr/ports/ and /home/_portzap/ports/.
|
2024-04-08 01:27:18 +02:00
|
|
|
.br
|
|
|
|
This command requires root privileges.
|
2024-04-20 07:23:20 +02:00
|
|
|
.br
|
2024-04-08 21:15:15 +02:00
|
|
|
.Sh ENVIRONMENT
|
2024-04-08 01:27:18 +02:00
|
|
|
.sp
|
|
|
|
.sp
|
|
|
|
.Nm PORTZAP_GITURL
|
|
|
|
.br
|
2023-06-10 01:47:34 +02:00
|
|
|
The URL to a git repository.
|
2024-04-08 01:27:18 +02:00
|
|
|
.br
|
2024-04-01 15:09:51 +02:00
|
|
|
Default: https://git.hardenedbsd.org/hardenedbsd/ports.git
|
2024-04-08 01:27:18 +02:00
|
|
|
.sp
|
2024-04-17 21:37:16 +02:00
|
|
|
.Nm PORTZAP_BRANCH
|
|
|
|
.br
|
|
|
|
The git branch to clone and pull updates from.
|
|
|
|
.br
|
|
|
|
Default: hardenedbsd/main
|
|
|
|
.br
|
|
|
|
.sp
|
2024-04-08 01:27:18 +02:00
|
|
|
.Nm PORTZAP_INSTALLDIR
|
|
|
|
.br
|
|
|
|
The directory where the ports collection will be installed.
|
|
|
|
.br
|
|
|
|
Default: /usr/ports/
|
2024-04-17 21:37:16 +02:00
|
|
|
.sp
|
2023-06-10 01:47:34 +02:00
|
|
|
.Sh AUTHORS
|
2023-05-22 07:28:50 +02:00
|
|
|
The
|
2023-06-10 01:47:34 +02:00
|
|
|
.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>.
|