Re: Handle /usr/ports/infrastructure/db/user.list locally

Stuart Henderson <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <19fe1ef0998.288f.545c230b3f27d53b49609e7db70685b8@spacehopper.org>
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 <[email protected]> wrote:

> Hi porters,
>
> the Porting Guide [1] mentions this:
>
> "20. If the application needs to create a user or a group, choose the
> lowest free id from /usr/ports/infrastructure/db/user.list for your port
> to 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/localport
> which needs to add a user. How to handle the user.list file, if it is
> not going to get committed? Whatever user id I would choose, it will
> certainly lead to conflicts whenever some other port starts using the
> same ids. How to handle this locally without conflicting with others?
>
> Regards,
> --
> Christian
>
> [1] <https://www.openbsd.org/faq/ports/guide.html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.