Update portzap.8

This commit is contained in:
0x1eef 2024-04-01 10:09:51 -03:00
parent 367a9af511
commit 9e5d8c30b2

View file

@ -3,60 +3,38 @@
.Os .Os
.Sh NAME .Sh NAME
.Nm portzap .Nm portzap
.Nd manages the HardenedBSD ports tree .Nd manages a copy of the hardenedbsd ports tree
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm portzap clone .br
.Nm portzap pull portzap clone
.Nm portzap install .br
portzap pull
.br
portzap install
.Sh DESCRIPTION .Sh DESCRIPTION
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
into the
.Pa /usr/ports/
directory by root.
.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 .Nm portzap
utility: manages a copy of the hardenedbsd ports tree.
.Sh EXAMPLES
.Pp .Pp
.Nm portzap clone .Nm portzap clone
.br .br
Clones the ports tree into Clone the hardenedbsd ports tree into /home/_portzap/ports/.
.Pa /home/_portzap/ports .
.Pp .Pp
.Nm portzap pull .Nm portzap pull
.br .br
Pulls updates into Pull updates into /home/_portzap/ports/.
.Pa /home/_portzap/ports .
.Pp .Pp
.Nm portzap install .Nm portzap install
.br .br
Installs Install /home/_portzap/ports/ into /usr/ports/.
.Pa /home/_portzap/ports
into
.Pa /usr/ports .
.Sh ENVIRONMENT VARIABLES .Sh ENVIRONMENT VARIABLES
The following variables can be used:
.Pp .Pp
.Bl -tag -width $PORTZAP_PORTS_URL .Bl -tag -width $PORTZAP_PORTS_URL
.It Ev PORTZAP_PORTS_URL .It Ev PORTZAP_PORTS_URL
The URL to a git repository. The URL to a git repository.
Defaults to https://git.hardenedbsd.org/hardenedbsd/ports.git. Default: https://git.hardenedbsd.org/hardenedbsd/ports.git
.It Ev PORTZAP_PORTS_DIR .It Ev PORTZAP_PORTS_DIR
The directory where the ports collection will be installed. The directory where the ports collection will be installed. Default: /usr/ports/.
Defaults to
.Pa /usr/ports.
.Sh AUTHORS .Sh AUTHORS
The The
.Nm portzap .Nm portzap