Date: Wed, 13 Feb 2008 18:09:38 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Scot Hetzel <swhetzel@gmail.com> Cc: qpadla@gmail.com, roam@freebsd.org, freebsd-ports@freebsd.org Subject: Re: net-im/openfire port related question. Message-ID: <47B33262.9010809@infracaninophile.co.uk> In-Reply-To: <790a9fff0802130931u59b7c332m8bcc1a76e1a6bccd@mail.gmail.com> References: <200802131850.45757.qpadla@gmail.com> <790a9fff0802130931u59b7c332m8bcc1a76e1a6bccd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Scot Hetzel wrote: > On 2/13/08, Nikolay Pavlov <qpadla@gmail.com> wrote: >> Hello all. I am a maintainer of the net-im/openfire port. I have a report >> from Dmitri Frolov <admin@artpaint.spb.ru> that openfire uses the same uid >> as security/stunnel port. Could someone please suggest me as how i can >> resolve this situation? >> > If you look at security/cyrus-sasl2/pkg-install, it checks to see if > the username exists, if it doesn't exist, then it checks if the uid is > available, if it is not available, it increments the uid until it > finds an available uid. > > Both ports should be using a similar routine to check if the uid/gid > they are requesting is available. Actually, that's old hat. The current standard is that you should pick an otherwise unused UID (and/or GID) from /usr/ports/UIDs and register that as belonging to your port. Submit a maintainer update with patches to UIDs and GIDs plus modifications to the way the port is installed so that it uses the allocated numbers, and you're golden. If another port has a UID clash with yours and you have established rights by registering the uid in this way, then you can insist that the other port is changed to not clash with yours. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHszJi8Mjk52CukIwRCEuQAJ0aFoas/I1LVqZ9Nen7f+pv9rPB7wCfZmMS c717kxRoTQeRWfVdccCwqPc= =KFDI -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B33262.9010809>