--- On Tue, 19/1/10, Harry Putnam <[email protected]> wrote: > From: Harry Putnam <[email protected]> > Subject: [gentoo-user] Re: Smart Database > To: [email protected] > Date: Tuesday, 19 January, 2010, 15:10 > Jon Hardcastle <[email protected]> > 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 > ~<ARCHITECTURE> > 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. > > >
Hi, Thanks for your input! Wow that is alot more complicated that I had hoped! I am already using the masked version of Smartmontools but the 5.39 version does not include 1 of the HDD I use and as I have got a whole load more of that exact model of drive on the way I would like it to. I have emailed the smartmontools maintainers and they added the drive 5 days ago, and hence is in the svn version. Hence me wanting to get the latest version of the drive DB.

