Manages a local copy of the HardenedBSD ports tree
Find a file
2023-01-14 19:52:19 -03:00
bin Add "portzap rmtree" 2023-01-14 19:51:12 -03:00
.projectile First commit 2023-01-14 14:30:29 -03:00
README.md readme: fix 2023-01-14 19:52:19 -03:00

About

portzap is a simple bourne shell script that takes care of keeping up to date with the HardenedBSD ports collection.

The HardenedBSD ports collection is maintained as a git repository, and portzap allows the repository to be cloned (and updated) using a regular user account. The unpacking of the repository to /usr/ports is also supported but must be performed by root.

Usage

  • portzap clone
    This command should be run with a regular user account.
    The command clones HardenedBSD's ports collection to /tmp/ports.

  • portzap pull
    This command should be run with a regular user account.
    The command updates an existing repository previously cloned with portzap clone.

  • portzap unpack
    This command should be run as root. The command copies /tmp/ports to /usr/ports.

  • portzap rmtree
    This command can be run as root, or a regular user. The command removes /tmp/ports.

Sources