portzap/README.md

48 lines
1.3 KiB
Markdown
Raw Normal View History

2023-03-12 02:10:30 +01:00
## About
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
2023-03-22 17:04:32 +01:00
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
2023-03-24 02:53:55 +01:00
incremental, which means that portzap will only add, remove or
update ports that have changed since the last update.
2023-01-14 18:30:29 +01:00
2023-03-12 02:10:30 +01:00
## Usage
2023-01-16 02:36:35 +01:00
2023-03-12 02:10:30 +01:00
* `portzap clone` <br>
2023-03-22 17:04:32 +01:00
Clones HardenedBSD's ports tree into `/home/_portzap/ports/`.
2023-01-14 18:30:29 +01:00
2023-03-12 02:10:30 +01:00
* `portzap pull` <br>
2023-03-22 17:04:32 +01:00
Pulls updates into `/home/_portzap/ports/`.
2023-01-14 18:30:29 +01:00
2023-03-12 02:10:30 +01:00
* `portzap install` <br>
2023-03-22 17:04:32 +01:00
Installs `/home/_portzap/ports/` into `/usr/ports/`. <br>
After the first installation, future installations try to save time
by being incremental. Must be run by the root user.
2023-01-14 18:30:29 +01:00
2023-03-19 20:03:04 +01:00
## Install
Git installation:
```
git clone https://git.hardenedbsd.org/0x1eef/portzap.git
cd portzap
cp -R bin /usr/local/
cp -R libexec /usr/local/
```
2023-03-12 02:10:30 +01:00
## Sources
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)
2023-03-12 02:15:32 +01:00
## License
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/). <br>
See [LICENSE](./LICENSE).