Just pick a number higher or lower than the range in use and add it locally. Suggest doing this sat the top or middle of the list rather than the end to reduce the chance of merge conflicts in user.list
--
Sent from a phone, apologies for poor formatting.
On 8 August 2026 13:28:37 Christian Schulte <cs@schulte.it> wrote:
Hi porters,
the Porting Guide [1] mentions this:
"20. If the application needs to create a user or a group, choose thelowest free id from /usr/ports/infrastructure/db/user.list for your portto use and don't forget to include that file in your commit."
I would like to create a port e.g. at /usr/ports/localhost/localportwhich needs to add a user. How to handle the user.list file, if it isnot going to get committed? Whatever user id I would choose, it willcertainly lead to conflicts whenever some other port starts using thesame ids. How to handle this locally without conflicting with others?
Regards,--Christian
[1] <https://www.openbsd.org/faq/ports/guide.html>
No comments:
Post a Comment