portzap/man/man8/portzap.8

65 lines
1.4 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
2023-06-26 06:59:05 +02:00
.Nd manages the HardenedBSD ports tree
.Sh SYNOPSIS
.Nm portzap clone
.Nm portzap pull
.Nm portzap install
.Sh DESCRIPTION
2023-06-26 06:59:05 +02:00
The portzap utility manages a local copy of the
HardenedBSD ports tree.
The utility allows user accounts with
.Nm _portzap
group membership to create and update a transient
copy of the ports tree, which can then be installed
2023-05-22 07:28:50 +02:00
into the
2023-06-26 06:59:05 +02:00
.Pa /usr/ports/
2023-05-22 07:28:50 +02:00
directory by root.
2023-06-26 06:59:05 +02:00
.Pp
After the first installation of
.Pa /usr/ports/
, future updates
are incremental - which means that portzap will only add,
remove or update ports that have changed since the last
update.
.Sh EXAMPLES
The following examples demonstrate the usage of
.Nm portzap
utility:
.Pp
.Nm portzap clone
.br
2023-05-22 07:28:50 +02:00
Clones the ports tree into
.Pa /home/_portzap/ports .
.Pp
.Nm portzap pull
.br
2023-05-22 07:28:50 +02:00
Pulls updates into
.Pa /home/_portzap/ports .
.Pp
.Nm portzap install
.br
2023-05-22 07:28:50 +02:00
Installs
.Pa /home/_portzap/ports
2023-05-22 07:28:50 +02:00
into
.Pa /usr/ports .
.Sh ENVIRONMENT VARIABLES
The following variables can be used:
.Pp
.Bl -tag -width $PORTZAP_PORTS_URL
.It Ev PORTZAP_PORTS_URL
The URL to a git repository.
Defaults to https://git.hardenedbsd.org/hardenedbsd/ports.git.
2023-06-10 03:04:38 +02:00
.It Ev PORTZAP_PORTS_DIR
The directory where the ports collection will be installed.
Defaults to
.Pa /usr/ports.
.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>.