From owner-freebsd-questions@FreeBSD.ORG Tue Feb 7 13:59:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D26016A420 for ; Tue, 7 Feb 2006 13:59:22 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 337EB43D45 for ; Tue, 7 Feb 2006 13:59:21 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 29417 invoked from network); 8 Feb 2006 00:59:21 +1100 Received: from unknown (HELO ?192.168.13.3?) (210.84.43.234) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Feb 2006 00:59:20 +1100 Message-ID: <43E8A7B3.3090707@meijome.net> Date: Wed, 08 Feb 2006 00:59:15 +1100 From: Norberto Meijome User-Agent: Thunderbird 1.5 (X11/20060206) MIME-Version: 1.0 To: Hans Nieser References: <200602071149.31772.mailings.freebsd@o0l0o.org> <43E88C64.40007@xs4all.nl> In-Reply-To: <43E88C64.40007@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, FreeBSD Prospect Subject: Re: FreeBSD Ports vs. Gentoo Portage (a matter of concept) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2006 13:59:22 -0000 Hans Nieser wrote: > FreeBSD Prospect wrote: >> Hi, >> >> Reading a lot about FreeBSD recently made me really curious. I know, >> that the founder of Gentoo (the well known GNU/Linux >> meta-distribution, which is also based on compiling everything from >> source) was using FreeBSD for some time, before continuing creating >> Gentoo, what's why portage (the Gentoo software management system) is >> generally based on FreeBSD's ports. > > [.. comparison of ports/portage features ..] > > I've been running Gentoo on my desktop computer for a few months and > FreeBSD on my laptop / server machines. I've been using linux since '95 and freebsd since '98 (more heavily (98% of boxen) since 02)...and I have to say that after using it in production environment, RHE is quite painful to go back to (rpms too limiting,etc,etc) *NOT* trying to flame, just stating my POV .I have to say that Gentoo is definitely an improvement on all that, and I use it in my PVR box (since linux has better support for the hardware :-( ) > What I am especially fond of in > portage is the USE-flags and the way you can specify then globally and > individually for each package and how you can get a nice, short overview > of which USE-flags a package uses and which of them are enabled with > "emerge -pv port". And also how you can find their descriptions without > having to dig through Makefiles (although that's becoming less > intimidating for me now that I have been using FreeBSD for half a year > or so). you can use pkgtools.conf and the port* tools, you can define variables based on regular expressions (i.e., I have * => [ WITHOUT_IPV6=true] , so no port* enables IPV6. Works quite well. Again, once you have a version of the port that works well for you, just make a package from your installed files and keep a copy of that ;-) *built with portinstall / portupgrade , NOT via the (cd /usr/ports/[category]/[portdir]/make process... make uses /etc/make.conf...but this method definitively lacks the granularity of pkgtools.conf. B