Contributed by rueda on from the bulking up the bulk dept.
(As noted in his
toot,)
Rafael Sadowski (radowski@
)
has written a blog entry entitled
dpb - distributed ports builder,
which describes his
dpb(1)
setup.
It is likely to be of interest to those getting started with porting
software to
OpenBSD.
The article sets out its purpose as,
The goal is to provide an overview of how to configure a single instance for port building with minimal effort. Whether you’re trying dpb(1)
for the first time or looking for a straightforward guide, I hope this documentation will be useful both for beginners and for myself, as a reference for future setups since I don’t have an Ansible playbook for it ;).
So maybe an Ansible playbook is up next? Anyway, a good read for prospective and current porters. Enjoy!
By Marc Espie (espie) marc.espie.openbsd@gmail.com on
There is a manpage that details how to set things up bulk(8).
The patch Rafael mentioned is part of a larger work which I should finish and publish, the idea being that instead of having one-shot options that deal with paths, it would be more convenient to put all that in an exception file.
Most of the code is actually committed (see read_exceptions_fh in /usr/ports/infrastructure/lib/DPB/Config.pm), I mostly need to actually enable it and test that it does the right thing. The end result ought to be much cleaner than the current ad-hoc handling of ipaths and the likes.
Reply