portzap/README.md
2023-03-19 16:03:04 -03:00

1.3 KiB

About

portzap is a utility for staying up to date with the HardenedBSD ports tree. The utility stores a transient copy of the ports tree in /home/_portzap/ports/. The transient copy can be created, and updated by an unprivileged user account who is a member of the _portzap group. The transient copy can then be installed into the /usr/ports/ directory by root.

Usage

  • portzap clone
    This command clones HardenedBSD's ports tree into /home/_portzap/ports/.

  • portzap pull
    This command pulls updates into /home/_portzap/ports/.

  • portzap install
    This command should be run as root.
    The command installs /home/_portzap/ports/ into /usr/ports/.
    After the first installation, future installations try to save time by being incremental.

Install

Git installation:

git clone https://git.hardenedbsd.org/0x1eef/portzap.git
cd portzap
cp -R bin /usr/local/
cp -R libexec /usr/local/

Sources

License

BSD Zero Clause.
See LICENSE.