Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 15:47:35 +0100
From:      Stefan Sperling <stsp@stsp.name>
To:        freebsd-ports@freebsd.org
Subject:   Re: [PATCH] portmaster with SU_CMD
Message-ID:  <20080104144735.GE1459@ted.stsp.lan>
In-Reply-To: <op.t4d29gap9aq2h7@mezz.mezzweb.com>
References:  <20071111155343.GC1567@ted.stsp.lan> <alpine.BSF.0.99999.0711111451130.20729@ync.qbhto.arg> <op.t1otmt1b9aq2h7@mezz.mezzweb.com> <8A27F9E2-4523-413B-92EA-3D96EBCB2EB2@svcolo.com> <op.t4d29gap9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--6Vw0j8UKbyX0bfpA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@svcolo.com> wrote:
>=20
>> 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=
=20
>>> user anyway. I don't see any good reason to do it either.
>>=20
>> Huh?  In 5 years of using FreeBSD I've never built a single port as root=
=2E =20
>> What are you talking about?
>=20
> 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@cox.net  -  mezz@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:

http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/117976
http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/118999

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

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?

--=20
stefan
http://stsp.name                                         PGP Key: 0xF59D25F0

--6Vw0j8UKbyX0bfpA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHfkcH5dMCc/WdJfARAggiAJ4pqEciv+UaCLO3rwAkDTkhHvi7VACghFLU
5IphD7pkHkcbdNB2OMfytBo=
=5VKy
-----END PGP SIGNATURE-----

--6Vw0j8UKbyX0bfpA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080104144735.GE1459>