Manages a local copy of the HardenedBSD ports tree
Find a file
2024-04-01 23:53:20 -03:00
.github/workflows Add shellcheck GitHub action 2024-04-01 09:29:06 -03:00
bin Rewrite libexec/portzap/portzap-install 2024-04-01 23:42:13 -03:00
libexec/portzap Rewrite libexec/portzap/portzap-install 2024-04-01 23:42:13 -03:00
man/man8 Update docs 2024-04-01 23:51:56 -03:00
.projectile Add HardenedBSD source 2023-01-29 07:48:09 -03:00
.shellcheckrc Fix shellcheck (./bin/portzap), and add .shellcheckrc 2024-04-01 09:29:06 -03:00
LICENSE License = 0BSD 2023-03-11 22:15:49 -03:00
README.md fixup! Update docs 2024-04-01 23:53:20 -03:00
VERSION v0.5.8 2023-05-22 02:39:04 -03:00

About

portzap is a utility that manages a local copy of the hardenedbsd ports tree,

Examples

CLI

# Clone the hardenedbsd ports tree into /home/_portzap/ports/.
$ portzap clone

# Pull updates into /home/_portzap/ports/.
$ portzap pull

# Install /home/_portzap/ports/ into /usr/ports/.
# portzap install

# Add the portzap user, group and home directory.
# portzap adduser

ENVIRONMENT VARIABLES

Install

$ git clone https://github.com/0x1eef/portzap.git
$ cd portzap
# cp -R bin /usr/local/
# cp -R libexec /usr/local/
# pw adduser
# pw groupmod -n _portzap -m <user>

Sources

License

BSD Zero Clause.
See LICENSE.