2023-03-12 02:07:13 +01:00
|
|
|
<p align="center">
|
|
|
|
<strong>portzap</strong>
|
|
|
|
</p>
|
2023-01-14 18:30:29 +01:00
|
|
|
|
2023-03-12 02:07:13 +01:00
|
|
|
portzap is a utility for staying up to date with the
|
|
|
|
[HardenedBSD ports tree](https://hardenedbsd.org).
|
|
|
|
The utility stores a transient copy of the ports tree in `/home/_portzap/ports/`.
|
|
|
|
The transient copy can be created, and updated by an unprivileged user account
|
|
|
|
who is a member of the `_portzap` group. The transient copy can then be installed
|
|
|
|
into the `/usr/ports` directory by root.
|
2023-01-14 18:30:29 +01:00
|
|
|
|
|
|
|
|
2023-03-12 02:07:13 +01:00
|
|
|
<p align="center">
|
|
|
|
<strong>Usage</usage>
|
|
|
|
</p>
|
2023-01-16 02:36:35 +01:00
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
* **portzap clone** <br>
|
2023-03-12 02:07:13 +01:00
|
|
|
This command clones HardenedBSD's ports tree into `/home/_portzap/ports`.
|
2023-01-14 18:30:29 +01:00
|
|
|
|
2023-01-14 18:45:46 +01:00
|
|
|
* **portzap pull** <br>
|
2023-03-12 02:07:13 +01:00
|
|
|
This command pulls updates into `/home/_portzap/ports`.
|
2023-01-14 18:30:29 +01:00
|
|
|
|
2023-01-19 14:23:27 +01:00
|
|
|
* **portzap install** <br>
|
2023-01-14 23:52:50 +01:00
|
|
|
This command should be run as root. <br>
|
2023-01-19 14:23:27 +01:00
|
|
|
The command installs `/home/_portzap/ports` into `/usr/ports`.
|
2023-01-14 18:30:29 +01:00
|
|
|
|
2023-03-12 02:07:13 +01:00
|
|
|
<p align="center">
|
|
|
|
<strong>Sources</strong>
|
|
|
|
</p>
|
2023-01-14 18:45:46 +01:00
|
|
|
|
2023-01-29 11:48:09 +01:00
|
|
|
* [Source code (git.hardenedbsd.org)](https://git.hardenedbsd.org/0x1eef/portzap)
|
2023-01-14 18:45:46 +01:00
|
|
|
* [Source code (GitHub)](https://github.com/0x1eef/portzap)
|
|
|
|
* [Source code (GitLab)](https://gitlab.com/0x1eef/portzap)
|