I think this is OK to import.

Normally we aren't reusing old uids, but in this case the port
previously using the id was removed back in 2003 and it was probably
not all that widely installed anyway, so I think it's fine.

(We do need to do something about the forthcoming uid shortage in ports
by adding a new range but every time something is proposed there's an
objection ..)

On 2019/11/20 01:35, Tim Kuijsten wrote:
> > Looking in sample config,
> > 
> > : # pick an unprivileged user/id
> > : user 1109
> > 
> > Please use @newuser/@newgroup in pkg/PLIST to add a user and set the sample
> > config to use it. For the actual number, pick the next available uid from
> > ports/infrastructure/db/user.list and include a diff to add to that file 
> > too.
> 
> done, using _wiresep as a default user if not overruled in the configuration
> of the daemon.
> 
> > Building,
> > 
> > : ===>  Building for wiresep-0.8.3
> > : cc -Wall -Wextra -pedantic-errors -c tai64n.c
> > : cc -Wall -Wextra -pedantic-errors -c blake2s-ref.c
> > [..]
> > 
> > Missing C opt/debug flags, changing your patch as follows fixes that:
> > 
> > -CFLAGS = -Wall -Wextra -pedantic-errors -O0 -g
> > +CFLAGS += -Wall -Wextra -pedantic-errors
> 
> I made it look like this in my original Makefile so that we don't need a patch
> for the package.

> Index: user.list
> ===================================================================
> RCS file: /cvs/ports/infrastructure/db/user.list,v
> retrieving revision 1.354
> diff -u -p -r1.354 user.list
> --- user.list 4 Oct 2019 20:30:27 -0000       1.354
> +++ user.list 20 Nov 2019 00:28:22 -0000
> @@ -14,6 +14,7 @@ id  user            group           port options
>  502 _mysql           _mysql          databases/mariadb,-server
>  503 _postgresql              _postgresql     databases/postgresql,-server
>  504 _mailman         _mailman        mail/mailman
> +505 _wiresep         _wiresep        net/wiresep
>  506 _spamdaemon              _spamdaemon     mail/p5-Mail-SpamAssassin
>  507 _postfix         _postfix        mail/postfix/{snapshot,stable}
>  508                  _postdrop       mail/postfix/{snapshot,stable}


Reply via email to