portzap/README.md
2023-03-25 02:57:57 -03:00

1.2 KiB

About

portzap is a utility for staying up to date with the HardenedBSD ports tree. It's designed to make it easy for unprivileged users who are members of the _portzap group to create and update a transient copy of the ports tree, which can then be installed into the /usr/ports/ directory by the root user. Once the initial installation is done, future updates are incremental, which means that portzap will only add, remove or update ports that have changed since the last update.

Usage

  • portzap clone
    Clones the ports tree into /home/_portzap/ports/.

  • portzap pull
    Pulls updates into /home/_portzap/ports/.

  • portzap install
    Installs /home/_portzap/ports/ into /usr/ports/.

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.