Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 16:47:41 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to disable staging support in ports tree universally?
Message-ID:  <52596F1D.7040500@FreeBSD.org>
In-Reply-To: <20131012134413.GA35617@FreeBSD.org>
References:  <20131012055953.GA4352@icarus.home.lan> <5259051D.7060205@FreeBSD.org> <20131012134413.GA35617@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--l89LjNxAsfcD3UTmiJW1VpAwgbQRiq5Vm
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/10/2013 14:44, Alexey Dokuchaev wrote:
> On Sat, Oct 12, 2013 at 09:15:25AM +0100, Matthew Seaman wrote:
>> Yes, there are a lot of changes happening at the moment.  We're trying=

>> to catch up with ten or more years of progress in a year or so.  The
>> technical reasoning behind our implementing these changes has been
>> discussed elsewhere so I'll not rehash it further here other than to s=
ay
>> that the vast majority of ports users and developers are behind where
>> we're going with this.
>=20
> One of the most annoying things about staging (for me) is that it broke=

> many ports "make install" from regular user.  E.g. audio/faad and misc/=
mc
> are affected, just to name a few.
>=20
> At a glance, it happens because they first install files with 444 perms=
,
> and then try to do something on them.  Previously it was done after su(=
1)
> had asked for root, but with staging, it's done as user, and thus fails=
=2E

That's what NEED_ROOT is intended for.  If a port changes ownership or
does privileged things with permissions on files then you can't 'make
stage' as an ordinary user.  Adding NEED_ROOT=3Dyes to the port will caus=
e
it to try and obtain rootly powers via su(1) in order to do that sort of
thing.

Looks like audio/faad has been stageified -- in which case a missing
NEED_ROOT is a bug, while misc/mc is still NO_STAGE=3Dyes so shouldn't
have been affected at all yet.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--l89LjNxAsfcD3UTmiJW1VpAwgbQRiq5Vm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJSWW8lXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATpu0P/2W/0gNJ9ZlbgrHQvNYWt1GU
vDwGecQKZnJiwb7zM9/Uycw3a0OUSYyrhfmAQKqtGiwAdk8+dH8jWi0M5p4vitTM
y1kF2AOv3RWuBf80VdKPloXlgrUy2i5zGYhbGWH80INHpbnCW+KRIChuUVjSMHsR
Y2pqRmLTRsi/RYibMRcQ56VDC4cE7xDKXgBCVTZLEvx3e13KGqBDaIxQlmEZ3KJg
4qVHZ4dAn7bFJLeLA5xxtGOFxwTo/F/wDaKfLboiUuYleI46enrPAu5rsXkHXacf
p2vv1pWqlotN1GYFKd5vCS2tgRTd7y4Cq+XnPUVTkflVk651L4hQKE6xeESXU6TP
MDCcckNgfylFPjZsEkZjcuiMEv2mFyuv0L+uvsK/ZUvxhfrNO7c3cH7NuXdvixnp
f/u2bHGKJm/1d1HlhtvG/KN8iGr82vzMK1UpgHxYnAxnJqkpw1ay/IemBeNJm3Rl
Mz8JPt7QOIr3oEUo2bsz1ogoaXDPx6tI+QdCy7Pjxd74moxeNc399B1yVTtcGX55
+NU8ILx/8Wp77wwD7wnoUWicToUqsYb6ttAEu0lC99axOttnsPNAnCrPalDHRUj2
hhozxi7pS2I/qRavkezNbEsSFUpfuUW552ecaFv/tIhLkEZV3xER3pYYGve/3pCD
wvA4FAWRWyMhv5EleF2G
=WQ2X
-----END PGP SIGNATURE-----

--l89LjNxAsfcD3UTmiJW1VpAwgbQRiq5Vm--



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