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.

