public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] G/FBSD compatibility: root:root and cp -a
@ 2005-07-11 12:08 Diego 'Flameeyes' Pettenò
  2005-07-11 13:35 ` Martin Schlemmer
  0 siblings, 1 reply; 2+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-07-11 12:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

Ok, to help devels know which are the requisites of Gentoo/FreeBSD porting (as 
we're going near to a release, I hope), I think it's better telling here what 
we hope you all will avoid (and we must replace when keywording).
Those problems are also valid for ppc-macos AFAIK, so you won't help just us, 
but also ppc-macos project.

The first one is the root:root problem (there's no root group in *BSD and 
BSD-based systems); the solution is usually using 0:0 to chown. If nobody is 
going to disagrees with this, I think this solution is what we should use.

The other problem is with cp -a: -a is a GNU option which is not supported by 
non-GNU cp commands. As the man pages says, it's equivalent to -dpPR. 
Unfortuately -dpPR is not portable in itself, but usually what you need is 
-pPR which works just fine usually.

I'm not going to have a big immediate change of all the ebuilds in portage, 
but at least I hope new ebuilds doesn't get added with those problems in 
them :)

HTH,
-- 
Diego "Flameeyes" Pettenò
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] G/FBSD compatibility: root:root and cp -a
  2005-07-11 12:08 [gentoo-dev] G/FBSD compatibility: root:root and cp -a Diego 'Flameeyes' Pettenò
@ 2005-07-11 13:35 ` Martin Schlemmer
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Schlemmer @ 2005-07-11 13:35 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

On Mon, 2005-07-11 at 14:08 +0200, Diego 'Flameeyes' Pettenò wrote:
> Ok, to help devels know which are the requisites of Gentoo/FreeBSD porting (as 
> we're going near to a release, I hope), I think it's better telling here what 
> we hope you all will avoid (and we must replace when keywording).
> Those problems are also valid for ppc-macos AFAIK, so you won't help just us, 
> but also ppc-macos project.
> 
> The first one is the root:root problem (there's no root group in *BSD and 
> BSD-based systems); the solution is usually using 0:0 to chown. If nobody is 
> going to disagrees with this, I think this solution is what we should use.
> 
> The other problem is with cp -a: -a is a GNU option which is not supported by 
> non-GNU cp commands. As the man pages says, it's equivalent to -dpPR. 
> Unfortuately -dpPR is not portable in itself, but usually what you need is 
> -pPR which works just fine usually.
> 
> I'm not going to have a big immediate change of all the ebuilds in portage, 
> but at least I hope new ebuilds doesn't get added with those problems in 
> them :)
> 

Patch them ? ;)


-- 
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-11 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 12:08 [gentoo-dev] G/FBSD compatibility: root:root and cp -a Diego 'Flameeyes' Pettenò
2005-07-11 13:35 ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox