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 <gentoo-user+bounces-106458-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NXM2G-00037I-9C
	for garchives@archives.gentoo.org; Tue, 19 Jan 2010 21:54:53 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AC0C5E0B54;
	Tue, 19 Jan 2010 21:53:43 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 6893FE0B54
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Jan 2010 21:53:43 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id D639367FA0
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Jan 2010 21:53:42 +0000 (UTC)
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Score: -3.409
X-Spam-Level: 
X-Spam-Status: No, score=-3.409 required=5.5 tests=[AWL=-0.810,
	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 fE+-0Wc6Pst5 for <gentoo-user@lists.gentoo.org>;
	Tue, 19 Jan 2010 21:53:36 +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 F26D267FAC
	for <gentoo-user@gentoo.org>; Tue, 19 Jan 2010 21:53:35 +0000 (UTC)
Received: from list by lo.gmane.org with local (Exim 4.50)
	id 1NXM0s-0001LZ-M8
	for gentoo-user@gentoo.org; Tue, 19 Jan 2010 22:53:26 +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 <gentoo-user@gentoo.org>; Tue, 19 Jan 2010 22:53:26 +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 <gentoo-user@gentoo.org>; Tue, 19 Jan 2010 22:53:26 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From:  Harry Putnam <reader@newsguy.com>
Subject: [gentoo-user]  Re: Smart Database
Date:  Tue, 19 Jan 2010 15:52:54 -0600
Organization:  Still searching...
Message-ID:  <87fx6192yx.fsf@newsguy.com>
References:  <87ockq870m.fsf@newsguy.com>
	<711558.43454.qm@web51305.mail.re2.yahoo.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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)
Cancel-Lock: sha1:vIhNuqcyavri27aXSE3bhSgBm68=
Sender: news <news@ger.gmane.org>
X-Archives-Salt: 88a5b73c-862d-4e16-8b68-f96b38e7a64e
X-Archives-Hash: 74727ff7e421e50b312a812eb3278cc8

Jon Hardcastle <jd_hardcastle@yahoo.com> writes:

> 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.

Well what I call hard may not be that hard to you... I'll admit to not
being the brightest bulb on the Xmas tree... but I was able to do it
without too much time lost.

I suggest you ask about a walk thru for doing an overlay and custom
build of smartmontools.

Maybe a direct subject line like 
  Subject: Pointers to the Basics of custom building a pkg (ebuild
  cmds)

Then lay out again what you want to do.

Someone will help shortly... There is probably a nice gentoo website
that explains it all that someone will no doubt send you too.

All I see offhand is the section of the hanbook here (for x86):
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

Under the heading:
# Working with Portage

But that isn't really enough.. and much of it isn't needed.

It really boils down to Setting up the overlay (your own portage).

Which needn't be any more than:

  mkdir -p /usr/local/portage/sys-apps

Then copy the contents of the needed  directory that is under
/usr/portage.
 
 cp -a /usr/portage/sys-apps/smartmontools /usr/local/portage/sys-apps

That is a hefty good start... from there it is only a handful of ebuild
commands that do the work, and knowing where to put the svn build
files.

You might as well use the full svn checkout and build from that rather
than just sticking in the one *.h file.

You will need to tell emerge where to look for your build and I think
you may need layman installed.. although not sure on that point.

If you install layman, it will create some of the needed hierarchy
too, then"

  echo "source /anex/usr/local/portage/layman/make.conf" >> /etc/make.conf

(of course, make sure to use:
  The  non-destructive `>>' redirect  intead of `>') 

There is more to it, but again its really a small amount of knowledge
needed to do what you are after.... now running a large custom overlay
may be anther story...

Of course another route is to build from the svn pkgs and ignore
emerge.  It should build ok... I'd think.  Then just keep the binaries
in /usr/local/bin and maybe later on, portage will catch up to the
stuff you need and at that point... emerge it.

There is no harm to the system in having a few home built pkgs long as
you don't get so many you forget what is what.

Of coures there is always some chance of confusion too when deviating from
the built in software installing tools.