From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N2hdI-0000zS-4V for garchives@archives.gentoo.org; Tue, 27 Oct 2009 08:42:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A24E1E0899; Tue, 27 Oct 2009 08:42:22 +0000 (UTC) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by pigeon.gentoo.org (Postfix) with ESMTP id 4B19CE0899 for ; Tue, 27 Oct 2009 08:42:22 +0000 (UTC) Received: by ewy2 with SMTP id 2so427380ewy.34 for ; Tue, 27 Oct 2009 01:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=iohc4Ir2vsKKIv9YtnblQezeTtGbl4tUnEKkb9bWGWw=; b=K4e6qSYtniIuF0PCWpIgRcD5ASukxi+/tGwUO831Lo2GQP2385t2Vb/XmwKv/3xn0Z 3Y68n1jVAyHNfGrXTuhGcvJqiZjEO57NUdblF7ZxhYLHTBWkZACITz5pF3iow4Cx4qUg 1pMNODsdIltX1tYzJzlwrbYQ/ylhI4xSI1TXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=V9lLY/9eB3gIhN/8ft2e4/a3qVrAdhGjcWi2GaEAn6FYSsfemn9RnjwAibDArbE93V ZB9jnn7hmyG9pNunScfOEG5V3TsC7K7VEDXcGDskfD9e9fVXCX+Rjwqk7NOe27cAdZBL 6HEpKTBNM14vfoKS7Bpuimezq99r3zJb+E3P8= Received: by 10.211.142.17 with SMTP id u17mr8383122ebn.0.1256632941776; Tue, 27 Oct 2009 01:42:21 -0700 (PDT) Received: from nazgul.localnet (dustpuppy.is.co.za [196.14.169.11]) by mx.google.com with ESMTPS id 28sm781893eye.23.2009.10.27.01.42.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Oct 2009 01:42:20 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: emerge advises upgrade profile Date: Tue, 27 Oct 2009 10:41:17 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-zen4; KDE/4.3.2; x86_64; ; ) Cc: Harry Putnam References: <87my3dohps.fsf@newsguy.com> <200910270152.27090.alan.mckinnon@gmail.com> <87eiopo6z6.fsf@newsguy.com> In-Reply-To: <87eiopo6z6.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910271041.17650.alan.mckinnon@gmail.com> X-Archives-Salt: fb89ced9-b051-4418-b61a-1e0d7babe887 X-Archives-Hash: cf4432e33bf7dc79b40a7e23e5602212 On Tuesday 27 October 2009 05:23:25 Harry Putnam wrote: > Alan McKinnon writes: > >> [1] default/linux/x86/10.0 * > >> [2] default/linux/x86/10.0/desktop > >> [3] default/linux/x86/10.0/developer > >> [4] default/linux/x86/10.0/server > >> [5] hardened/linux/x86/10.0 > >> [6] selinux/2007.0/x86 > >> [7] selinux/2007.0/x86/hardened > >> [8] selinux/v2refpolicy/x86 > >> [9] selinux/v2refpolicy/x86/desktop > >> [10] selinux/v2refpolicy/x86/developer > >> [11] selinux/v2refpolicy/x86/hardened > >> [12] selinux/v2refpolicy/x86/server > >> rattus ~ # > > > > In almost all cases [2] or [4] is a better choice than [1] > > Alan, what does it get you? In fact what does `developer' buy you? x86/10.0 gives you a baseline for that release x86/10.0/desktop|developer|server give you a profile more suited (tweaked) for that kind of usage. Examine the profiles and follow the paths in the "parent files" to see what's in them (I indented stuff and removed comments for clarity): x86/10.0: make.defaults: # Adding this one, since it makes sense. USE="${USE} bzip2" packages: >=sys-apps/baselayout-1.12.10-r5 >=sys-devel/binutils-2.18-r1 >=sys-libs/glibc-2.4-r4 >=sys-apps/portage-2.1.6.8 x86/10.0/desktop: make.defaults: USE="a52 aac acpi alsa branding cairo cdr dbus dts dvd dvdr eds emboss encode evo fam firefox flac gif gnome gpm gstreamer gtk hal jpeg kde ldap libnotify mad mikmod mp3 mp4 mpeg ogg opengl pdf png ppds qt3support qt4 quicktime sdl spell svg thunar tiff truetype vorbis win32codecs unicode usb X x264 xml xulrunner xv xvid" # This is added for GNOME/Xfce USE="${USE} startup-notification" # Adding this for bluetooth support USE="${USE} bluetooth consolekit" package.use: # While we may need LDAP client support, who needs the server on a desktop? # Did I mention that this also fixes the horrible perl dependency hell, too? net-nds/openldap minimal x86/10.0/server: make.defaults: USE="apache2 ldap mysql snmp truetype xml" x86/10.0/developer: parent: ../server ../desktop FEATURES="collision-protect cvs digest multilib-strict sign splitdebug stricter test userpriv usersandbox" # Disable branding (from desktop) USE="-branding" # As much as it pains me, we hope that developers know what they're doing. I_KNOW_WHAT_I_AM_DOING="yes" # Enable asneeded for GNU ld. LD_AS_NEEDED="1" The desktop choices are pretty sane. Most of those USE flags are things you would set anyway on the average desktop, and it's much easier to remove the few you might not want from the default than to add that long list to make.conf yourself. "server" really just adds apache and mysql. "developer" is the union between desktop and server. But none of this is prescriptive. If you feel you need something quite different from "desktop", it's OK to use something else. The desktop profile is just a convenience but an extremely handy one. -- alan dot mckinnon at gmail dot com