Manages a local copy of the HardenedBSD ports tree
Find a file
2023-03-23 22:53:55 -03:00
bin Print file adds / deletes 2023-03-23 00:56:00 -03:00
libexec/portzap Replace fs.sh / git.sh 2023-03-22 09:20:44 -03:00
.projectile Add HardenedBSD source 2023-01-29 07:48:09 -03:00
LICENSE License = 0BSD 2023-03-11 22:15:49 -03:00
README.md README: update 2023-03-23 22:53:55 -03:00
VERSION v0.4.0 2023-03-20 06:56:38 -03:00

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 HardenedBSD's ports tree into /home/_portzap/ports/.

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

  • portzap install
    Installs /home/_portzap/ports/ into /usr/ports/.
    After the first installation, future installations try to save time by being incremental. Must be run by the root user.

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.