[PATCH] portmaster with SU_CMD

Stefan Sperling stsp at stsp.name
Fri Jan 4 06:47:39 PST 2008

On Thu, Jan 03, 2008 at 11:09:06PM -0600, Jeremy Messenger wrote:
> On Thu, 03 Jan 2008 19:46:49 -0600, Jo Rhett <jrhett at svcolo.com> wrote:
>> On Nov 12, 2007, at 8:33 AM, Jeremy Messenger wrote:
>>> I agree, because you can't build any ports in /usr/ports as in normal 
>>> user anyway. I don't see any good reason to do it either.
>> Huh?  In 5 years of using FreeBSD I've never built a single port as root.  
>> What are you talking about?
> You can't by default in /usr/ports.

Mezz, I still don't see what default behaviour has got to do with anything.

By default you build ports as root.
By default portmaster builds as root (even with the SU_CMD patch).

So what? By default root also uses csh (barf), and by default
the FreeBSD kernel contains several binary blobs.

I'm not OK with any of these, but I can change my system accordingly.

It's all a matter of personal judgement and taste, nothing else.

> mezz7 at cox.net  -  mezz at FreeBSD.org
> FreeBSD GNOME Team

I'd like to point out that I have found two problems in gnome-related
ports in FreeBSD since I've been using my patch, both of them failed
to build as root:


And both have been fixed, and you even comitted the fix for PR #117976

So obviously building as non-root isn't illegal nor is it discouraged.
There is infrastructure in place to facilitate building as non-root
in the ports system already, and all the patch does is add support for
that infrastructure to portmaster.

Whether Doug wants to maintain the patch in his tree is another question
that is up for himself to decide on.

But what has default behaviour of the system got to do with any of this?

http://stsp.name                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080104/f352e1c3/attachment.pgp

More information about the freebsd-ports mailing list