2023-01-14 18:30:29 +01:00
|
|
|
## About
|
|
|
|
|
|
|
|
portzap is a simple bourne shell script that takes care of keeping up to
|
|
|
|
date with the [HardenedBSD](https://hardenedbsd.org) ports collection.
|
|
|
|
|
|
|
|
The
|
|
|
|
[HardenedBSD ports collection](https://git.hardenedbsd.org/hardenedbsd/ports.git)
|
|
|
|
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
|
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
* **portzap clone** <br>
|
2023-01-14 18:30:29 +01:00
|
|
|
This command should be run with a regular user account. <br>
|
|
|
|
The command clones HardenedBSD's ports collection to `/tmp/ports`.
|
|
|
|
|
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
* **portzap pull** <br>
|
2023-01-14 18:30:29 +01:00
|
|
|
This command should be run with a regular user account. <br>
|
|
|
|
The command updates an existing repository previously cloned with `portzap clone`.
|
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
* **portzap unpack** <br>
|
2023-01-14 18:30:29 +01:00
|
|
|
This command should be run as root. It copies `/tmp/ports` to `/usr/ports`.
|
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
## Sources
|
|
|
|
|
|
|
|
* [Source code (GitHub)](https://github.com/0x1eef/portzap)
|
|
|
|
* [Source code (GitLab)](https://gitlab.com/0x1eef/portzap)
|