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 1NXFlZ-0008ST-Tz for garchives@archives.gentoo.org; Tue, 19 Jan 2010 15:13:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 454E1E091B; Tue, 19 Jan 2010 15:12:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F0E8E091B for ; Tue, 19 Jan 2010 15:12:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B826F1B412D for ; Tue, 19 Jan 2010 15:12:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.411 X-Spam-Level: X-Spam-Status: No, score=-3.411 required=5.5 tests=[AWL=-0.812, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rMoGuEDoKdNU for ; Tue, 19 Jan 2010 15:12:30 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 256E167B0E for ; Tue, 19 Jan 2010 15:12:29 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXFjv-0004DZ-Ui for gentoo-user@gentoo.org; Tue, 19 Jan 2010 16:11:31 +0100 Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 16:11:31 +0100 Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 16:11:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: Smart Database Date: Tue, 19 Jan 2010 09:10:49 -0600 Organization: Still searching... Message-ID: <87ockq870m.fsf@newsguy.com> References: <755283.31390.qm@web51302.mail.re2.yahoo.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=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) Sender: news X-Archives-Salt: 399e5a0d-7fd2-4976-ad13-ff506f621519 X-Archives-Hash: b9be9c2b475dbd856ea084d258312501 Jon Hardcastle writes: > Hi guys, > > I want to update my gentoo install to use the latest trunk version > of the smartmontools drive database. > > Does anyone have any gentoo orientated guidance here? I have spoken > to the chaps there and they say to run configure with > '--enable-drivedb' and then copy over the the current SVN version of > drivedb.h to DATADIR/smartmontools > > But i wonder where this fits into the wonderful world of gentoo and > package management/ First... is the svn version really different than the ~ version on portage?.. that is version 5.39 You can get that version by putting an tilde followed by your machine architecture (on the cmd line if you don't want to run as development version always) otherwise in /etc/make.conf for x86 it would look like: ~x86 Then you can add you configure argument (--enable-drivedb) using the EXTRA_ECONF flag. Which will tell gentoo to use that flag at `./configure' time. So the emerge command line would be something like this: ACCEPT_KEYWORDS='~x86' EXTRA_ECONF='--enable-drivedb' \ emerge -v smartmontools (all on one line would be best) Now if you really need to introduce drivedb.h from svn repostory then you will need to go the overlay route... I think. Someone more knowledgable will be able to correct me .. I'm sure. That process involves installing your own separate portage in some other directory (/usr/local/portage) and using ebuild commands to build your own version. You would need to install `layman' for starters In that case you could introduce any commands or files you like, and process them with `ebuild'. The process is not all that hard, but I better leave an explanation of how to do it to someone here who is more familiar with it. I've done it but only rarely... and last time was a while ago.