Re: RFC: $USE_[GU]ID for consistent [GU]ID handling

2008-12-09 Thread Hiroki Sato
"Florent Thoumie" <[EMAIL PROTECTED]> wrote in <[EMAIL PROTECTED]>: fl> There's an open PR with patches for this feature (ports/108514). Could fl> you have a look and maybe send your comments? Oh, sorry, I did not notice that. I will read the PR and follow-ups first. Thank you for the point

Re: RFC: $USE_[GU]ID for consistent [GU]ID handling

2008-12-09 Thread Florent Thoumie
On Sun, Dec 7, 2008 at 6:32 PM, Hiroki Sato <[EMAIL PROTECTED]> wrote: > Hello, > > I would like your comments about the attached patch. This is for > adding USE_UID and USE_GID which allow uid/gid addition on > installation and the removal on deinstallation. It uses > ${PORTSDIR}/[GU]IDs for

Re: RFC: $USE_[GU]ID for consistent [GU]ID handling

2008-12-09 Thread Alex Dupre
Hiroki Sato ha scritto: I would like your comments about the attached patch. Not tested, but it's a great idea. BTW, a lot of ports still check for / add www uid/gid, but actually we have such user in base system in all supported releases. Can/Should we drop such checks? -- Alex Dupre

Re: RFC: $USE_[GU]ID for consistent [GU]ID handling

2008-12-07 Thread Norikatsu Shigemura
Hi Hiroki! On Mon, 08 Dec 2008 03:32:50 +0900 (JST) Hiroki Sato <[EMAIL PROTECTED]> wrote: > The attached patch includes an example of rewrite of an existing > ports (japanese/sj3-server). After investigating ~300 ports in the > ports tree which add uid/gid I think the attached implementation

RFC: $USE_[GU]ID for consistent [GU]ID handling

2008-12-07 Thread Hiroki Sato
Hello, I would like your comments about the attached patch. This is for adding USE_UID and USE_GID which allow uid/gid addition on installation and the removal on deinstallation. It uses ${PORTSDIR}/[GU]IDs for the detail information and can eliminate complex shell scripts from individual p