public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
@ 2005-11-02 12:11 Diego 'Flameeyes' Pettenò
  2005-11-02 14:25 ` Chris Gianelloni
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-11-02 12:11 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 924 bytes --]

As I'd like to get sooner or later (better sooner) the profiles for 
Gentoo/FreeBSD in main tree, I've synced the fake base profile in gentoo-alt 
overlay with the one in the tree. Unfortunately there are things in base that 
are linux-specific, so they, IMHO, should be moved in default-linux.

The attached patch is the proposed changes, they are mainly linux-specific 
userland that does not work outside of Linux-based systems, but there are 
also some GNU-specific packages like which that we don't use.

I would have some other changes for virtuals, but they are less important 
right now.

Obviously if this is going to be applied the missing packages should be added 
to the packages of default-linux and other linux profiles that does inherit 
from base.

Comments?
-- 
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

[-- Attachment #1.2: base-alt-changes --]
[-- Type: text/x-diff, Size: 1241 bytes --]

Only in /home/flame/devel/gentoo-x86/profiles/base/: CVS
Only in base/: fake
diff -ur /home/flame/devel/gentoo-x86/profiles/base/packages base/packages
--- /home/flame/devel/gentoo-x86/profiles/base/packages	2005-09-09 20:20:51.000000000 +0200
+++ base/packages	2005-11-02 13:02:59.000000000 +0100
@@ -27,32 +27,20 @@
 *virtual/baselayout
 *app-arch/bzip2
 *app-arch/cpio
-*app-arch/tar
 *app-shells/bash
 *dev-lang/perl
 *dev-lang/python
-*net-misc/iputils
 *net-misc/rsync
 *net-misc/wget
-*sys-apps/coreutils
-*sys-apps/debianutils
 *sys-apps/diffutils
 *sys-apps/file
-*sys-apps/findutils
 *sys-apps/gawk
 *sys-apps/grep
 *sys-apps/groff
-*sys-apps/kbd
 *sys-apps/man
-*sys-apps/man-pages
-*sys-apps/net-tools
 *>=sys-apps/portage-2.0.51
-*sys-process/procps
-*sys-process/psmisc
 *sys-apps/sed
-*sys-apps/shadow
 *sys-apps/texinfo
-*sys-apps/which
 *sys-devel/autoconf
 *sys-devel/autoconf-wrapper
 *sys-devel/automake
@@ -66,8 +54,6 @@
 *sys-devel/m4
 *sys-devel/make
 *sys-devel/patch
-*sys-fs/e2fsprogs
-*sys-libs/cracklib
 *sys-libs/ncurses
 *sys-libs/readline
 *sys-libs/zlib
@@ -75,7 +61,6 @@
 *virtual/editor
 *virtual/gzip
 *virtual/libc
-*virtual/modutils
 *virtual/os-headers
 *virtual/pager
 *virtual/ssh
Only in base/: .svn

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

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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 12:11 [gentoo-dev] Proposed changes to base profile for Gentoo/ALT Diego 'Flameeyes' Pettenò
@ 2005-11-02 14:25 ` Chris Gianelloni
  2005-11-02 14:38 ` Mike Frysinger
  2005-11-03 17:02 ` solar
  2 siblings, 0 replies; 9+ messages in thread
From: Chris Gianelloni @ 2005-11-02 14:25 UTC (permalink / raw
  To: gentoo-dev

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

On Wed, 2005-11-02 at 13:11 +0100, Diego 'Flameeyes' Pettenò wrote:
> As I'd like to get sooner or later (better sooner) the profiles for 
> Gentoo/FreeBSD in main tree, I've synced the fake base profile in gentoo-alt 
> overlay with the one in the tree. Unfortunately there are things in base that 
> are linux-specific, so they, IMHO, should be moved in default-linux.

I'll agree with you that they should be moved, but there's also nothing
binding you to inheriting base.

> The attached patch is the proposed changes, they are mainly linux-specific 
> userland that does not work outside of Linux-based systems, but there are 
> also some GNU-specific packages like which that we don't use.

Perhaps a full patch that also places the changes into the proper
locations would be in order?

> I would have some other changes for virtuals, but they are less important 
> right now.

This is completely unnecessary as you can override any virtuals in your
profiles.

> Obviously if this is going to be applied the missing packages should be added 
> to the packages of default-linux and other linux profiles that does inherit 
> from base.
> 
> Comments?

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

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

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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 12:11 [gentoo-dev] Proposed changes to base profile for Gentoo/ALT Diego 'Flameeyes' Pettenò
  2005-11-02 14:25 ` Chris Gianelloni
@ 2005-11-02 14:38 ` Mike Frysinger
  2005-11-02 15:22   ` Diego 'Flameeyes' Pettenò
  2005-11-02 16:12   ` solar
  2005-11-03 17:02 ` solar
  2 siblings, 2 replies; 9+ messages in thread
From: Mike Frysinger @ 2005-11-02 14:38 UTC (permalink / raw
  To: gentoo-dev

On Wed, Nov 02, 2005 at 01:11:24PM +0100, Diego 'Flameeyes' Petten? wrote:
> I would have some other changes for virtuals, but they are less important 
> right now.

it depends on the changes ... i'm more likely to tell you to just override 
them in your own tree :P

> Obviously if this is going to be applied the missing packages should be added 
> to the packages of default-linux and other linux profiles that does inherit 
> from base.

linux-based profiles should inherit default-linux rather than base anyways ...

> -*app-arch/tar

put '-*app-arch/tar' into your packages

> -*net-misc/iputils

OK to move to default-linux

> -*sys-apps/coreutils

same as tar

> -*sys-apps/debianutils

OK to move to default-linux

> -*sys-apps/findutils

same as tar

> -*sys-apps/man-pages
> -*sys-apps/net-tools
> -*sys-apps/kbd

OK to move to default-linux

> -*sys-process/procps

err, this isnt linux specific ... it is ported to other systems (like FreeBSD)

> -*sys-process/psmisc

OK to move to default-linux

> -*sys-apps/shadow

this should be prob turned into a virtual instead

> -*sys-apps/which

this isnt linux-specific

> -*sys-fs/e2fsprogs

this should be prob turned into a virtual instead

> -*sys-libs/cracklib

we can prob punt this since shadow has a hard dep on it anyways ...

> -*virtual/modutils

FreeBSD doesnt support kernel modules ?
-mike

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 14:38 ` Mike Frysinger
@ 2005-11-02 15:22   ` Diego 'Flameeyes' Pettenò
  2005-11-02 15:33     ` Mike Frysinger
  2005-11-02 16:12   ` solar
  1 sibling, 1 reply; 9+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-11-02 15:22 UTC (permalink / raw
  To: gentoo-dev

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

On Wednesday 02 November 2005 15:38, Mike Frysinger wrote:
> > -*app-arch/tar
> put '-*app-arch/tar' into your packages
I'm still thinking for the eselect-able tar command and virtual/tar, as long 
as they are syntax-compatible (bsdtar and gnutar are compatible).

> > -*sys-process/procps
> err, this isnt linux specific ... it is ported to other systems (like
> FreeBSD)
FreeBSD provide its own ways for these commands, and it will collides with 
base system commands. Also, the FreeBSD versions uses libkvm to get data and 
are usually faster/safer.

> > -*sys-apps/shadow
> this should be prob turned into a virtual instead
I'd say so.

> > -*sys-apps/which
> this isnt linux-specific
GNU specific, FreeBSD and NetBSD does not require this, have their own 
versions. It's not masked, as the newer versions should install as gwhich, 
but it's also not a requirement.

> > -*sys-fs/e2fsprogs
> this should be prob turned into a virtual instead
Not sure about this, as there are packages that uses the library provided by 
this (not only libcom_err and libss, but the rest), but then it has the base 
mkfs/fsck utils for base linux system, but not needed by BSD.
A virtual might work, yeah.

> > -*sys-libs/cracklib
> we can prob punt this since shadow has a hard dep on it anyways ...
Right.

> > -*virtual/modutils
> FreeBSD doesnt support kernel modules ?
Not with the same ideas of Linux. There's no "extra" package for this, the 
commands are in the base system. Yeah we can probably set the PROVIDE and the 
virtual but... do we *really* need to add the dep on the virtual for every 
port? I'd think that just Linux has reasons of having this (as other system 
has no alternatives), so no reason to let the other systems resolve an extra 
virtual...

-- 
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

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

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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 15:22   ` Diego 'Flameeyes' Pettenò
@ 2005-11-02 15:33     ` Mike Frysinger
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Frysinger @ 2005-11-02 15:33 UTC (permalink / raw
  To: gentoo-dev

On Wed, Nov 02, 2005 at 04:22:25PM +0100, Diego 'Flameeyes' Petten? wrote:
> On Wednesday 02 November 2005 15:38, Mike Frysinger wrote:
> > > -*app-arch/tar
> > put '-*app-arch/tar' into your packages
> I'm still thinking for the eselect-able tar command and virtual/tar, as long 
> as they are syntax-compatible (bsdtar and gnutar are compatible).

then we would make it virtual/tar, we wouldnt remove the package all together

> > > -*sys-process/procps
> > err, this isnt linux specific ... it is ported to other systems (like
> > FreeBSD)
> FreeBSD provide its own ways for these commands, and it will collides with 
> base system commands. Also, the FreeBSD versions uses libkvm to get data and 
> are usually faster/safer.

then you can make a virtual too :P

> > > -*sys-apps/which
> > this isnt linux-specific
> GNU specific, FreeBSD and NetBSD does not require this, have their own 
> versions. It's not masked, as the newer versions should install as gwhich, 
> but it's also not a requirement.

it isnt a GNU package ... the package isnt part of gnu.org and it's used on a 
ton of operating systems as is

it's in system because everyone expects it to be on your system and too many 
scripts just use it out of hand to try and track it

> > > -*virtual/modutils
> > FreeBSD doesnt support kernel modules ?
> Not with the same ideas of Linux. There's no "extra" package for this, the 
> commands are in the base system. Yeah we can probably set the PROVIDE and the 
> virtual but... do we *really* need to add the dep on the virtual for every 
> port? I'd think that just Linux has reasons of having this (as other system 
> has no alternatives), so no reason to let the other systems resolve an extra 
> virtual...

why dont we get a larger sampling of other systems first :p
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 14:38 ` Mike Frysinger
  2005-11-02 15:22   ` Diego 'Flameeyes' Pettenò
@ 2005-11-02 16:12   ` solar
  2005-11-02 16:36     ` Mike Frysinger
  1 sibling, 1 reply; 9+ messages in thread
From: solar @ 2005-11-02 16:12 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2005-11-02 at 14:38 +0000, Mike Frysinger wrote:
> On Wed, Nov 02, 2005 at 01:11:24PM +0100, Diego 'Flameeyes' Petten? wrote:
> > I would have some other changes for virtuals, but they are less important 
> > right now.
> 
> it depends on the changes ... i'm more likely to tell you to just override 
> them in your own tree :P
> 
> > Obviously if this is going to be applied the missing packages should be added 
> > to the packages of default-linux and other linux profiles that does inherit 
> > from base.
> 
> linux-based profiles should inherit default-linux rather than base anyways ...

Mike,

Thats a lot easier said than done and I'd rather us not inherit from
default-linux for the uclibc, hardened and it looks as if selinux,
vserver profiles also inherit directly from base. 
I'd rather us keep it this way and or add another stop gap profile
between default-linux and base such as profiles/linux-core as using
default-linux as a parent is going to add alot more cruft that we may
want.

-- 
solar <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 16:12   ` solar
@ 2005-11-02 16:36     ` Mike Frysinger
  2005-11-11 23:49       ` Martin Schlemmer
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2005-11-02 16:36 UTC (permalink / raw
  To: gentoo-dev

On Wed, Nov 02, 2005 at 11:12:43AM -0500, solar wrote:
> On Wed, 2005-11-02 at 14:38 +0000, Mike Frysinger wrote:
> > On Wed, Nov 02, 2005 at 01:11:24PM +0100, Diego 'Flameeyes' Petten? wrote:
> > > Obviously if this is going to be applied the missing packages should be added 
> > > to the packages of default-linux and other linux profiles that does inherit 
> > > from base.
> > 
> > linux-based profiles should inherit default-linux rather than base anyways ...
> 
> Thats a lot easier said than done and I'd rather us not inherit from
> default-linux for the uclibc

i dont think it'd be a problem for use with uclibc ... we'd just need to drop 
pwdb and hdparm from our packages ...

btw, why is pwdb in our system ?  `scanelf -lpq -N libpwdb.so.0` on my system 
shows no hits ... is it a pam thing ?
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 12:11 [gentoo-dev] Proposed changes to base profile for Gentoo/ALT Diego 'Flameeyes' Pettenò
  2005-11-02 14:25 ` Chris Gianelloni
  2005-11-02 14:38 ` Mike Frysinger
@ 2005-11-03 17:02 ` solar
  2 siblings, 0 replies; 9+ messages in thread
From: solar @ 2005-11-03 17:02 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2005-11-02 at 13:11 +0100, Diego 'Flameeyes' Pettenò wrote:
> As I'd like to get sooner or later (better sooner) the profiles for 
> Gentoo/FreeBSD in main tree, I've synced the fake base profile in gentoo-alt 
> overlay with the one in the tree. Unfortunately there are things in base that 
> are linux-specific, so they, IMHO, should be moved in default-linux.
> 
> The attached patch is the proposed changes, they are mainly linux-specific 
> userland that does not work outside of Linux-based systems, but there are 
> also some GNU-specific packages like which that we don't use.
> 
> I would have some other changes for virtuals, but they are less important 
> right now.
> 
> Obviously if this is going to be applied the missing packages should be added 
> to the packages of default-linux and other linux profiles that does inherit 
> from base.


After reviewing the existing profiles effected by the proposed change
I'd suggest you do something like this.

cp -a base base-tmp
cd base
cat ~/base-alt-changes | patch
cd ..
diff -u base-tmp/packages base/packages | grep ^- | cut -c 2- > new.x
mv new.x base-tmp/packages
mv base core
mv base-tmp base
echo ../core > base/parent

# And then bsd inherits from core vs base.

-- 
solar <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Proposed changes to base profile for Gentoo/ALT
  2005-11-02 16:36     ` Mike Frysinger
@ 2005-11-11 23:49       ` Martin Schlemmer
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Schlemmer @ 2005-11-11 23:49 UTC (permalink / raw
  To: gentoo-dev; +Cc: Mike Frysinger

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

On Wed, 2005-11-02 at 16:36 +0000, Mike Frysinger wrote:
> On Wed, Nov 02, 2005 at 11:12:43AM -0500, solar wrote:
> > On Wed, 2005-11-02 at 14:38 +0000, Mike Frysinger wrote:
> > > On Wed, Nov 02, 2005 at 01:11:24PM +0100, Diego 'Flameeyes' Petten? wrote:
> > > > Obviously if this is going to be applied the missing packages should be added 
> > > > to the packages of default-linux and other linux profiles that does inherit 
> > > > from base.
> > > 
> > > linux-based profiles should inherit default-linux rather than base anyways ...
> > 
> > Thats a lot easier said than done and I'd rather us not inherit from
> > default-linux for the uclibc
> 
> i dont think it'd be a problem for use with uclibc ... we'd just need to drop 
> pwdb and hdparm from our packages ...
> 
> btw, why is pwdb in our system ?  `scanelf -lpq -N libpwdb.so.0` on my system 
> shows no hits ... is it a pam thing ?

I am fairly sure that its legacy from the days we used pam_pwdb as main
auth, so we can remove it.


-- 
Martin Schlemmer


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

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

end of thread, other threads:[~2005-11-11 23:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02 12:11 [gentoo-dev] Proposed changes to base profile for Gentoo/ALT Diego 'Flameeyes' Pettenò
2005-11-02 14:25 ` Chris Gianelloni
2005-11-02 14:38 ` Mike Frysinger
2005-11-02 15:22   ` Diego 'Flameeyes' Pettenò
2005-11-02 15:33     ` Mike Frysinger
2005-11-02 16:12   ` solar
2005-11-02 16:36     ` Mike Frysinger
2005-11-11 23:49       ` Martin Schlemmer
2005-11-03 17:02 ` solar

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