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 1S3qyV-0004K8-Fr for garchives@archives.gentoo.org; Sat, 03 Mar 2012 15:34:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1910DE0687; Sat, 3 Mar 2012 15:34:10 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 57279E05D5 for ; Sat, 3 Mar 2012 15:33:10 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so1231445wgb.10 for ; Sat, 03 Mar 2012 07:33:09 -0800 (PST) Received-SPF: pass (google.com: domain of alan.mckinnon@gmail.com designates 10.180.104.137 as permitted sender) client-ip=10.180.104.137; Authentication-Results: mr.google.com; spf=pass (google.com: domain of alan.mckinnon@gmail.com designates 10.180.104.137 as permitted sender) smtp.mail=alan.mckinnon@gmail.com; dkim=pass header.i=alan.mckinnon@gmail.com Received: from mr.google.com ([10.180.104.137]) by 10.180.104.137 with SMTP id ge9mr4424604wib.20.1330788789694 (num_hops = 1); Sat, 03 Mar 2012 07:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=Qal22mE13IotRqABNCGJLppTEzOzxOC6IKvB6GBVp4c=; b=XuYibAVhDdxX8D749nehYKCDPYG1Uc0ESIZpCKBsF5XiWVMS4cstPbMBmSzSVeSV/4 tObF9tQtY9eMZUdUxBb8cuHtYN0IndSjUazkKNwywq/FaOe5kh+58/xmgYogE+0SVz/Y AaQU8UBPOp9I77WcmfFua8meTQo72H5jZVoV2zN0lmloQDlnujxJ6QiazC9Y/+zuquaO rxZXYGxUnh+4l1FvEWIZDHuV+z9sy5Ml0p2jJmeOa4iFJCW5DQV/Msfad/QMqVyOM4/v 3htFR7IxuNNOCr8bu2d2/0qB6glHm4vIIyKX6E7vrI6Ca8coz9jx4BqjbqmmtJ2YlsvE MSXQ== Received: by 10.180.104.137 with SMTP id ge9mr3499436wib.20.1330788789636; Sat, 03 Mar 2012 07:33:09 -0800 (PST) Received: from khamul.example.com (196-215-57-8.dynamic.isadsl.co.za. [196.215.57.8]) by mx.google.com with ESMTPS id be4sm28832049wib.8.2012.03.03.07.33.07 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 07:33:08 -0800 (PST) Date: Sat, 3 Mar 2012 17:32:44 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rng-tools Message-ID: <20120303173244.0e15deb4@khamul.example.com> In-Reply-To: References: <20120303160010.4dcae550@khamul.example.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6feb75dc-f406-49df-9e52-c6d45614cb63 X-Archives-Hash: e2379837e2143bd93cea37cc013001ce On Sat, 3 Mar 2012 22:04:29 +0700 Pandu Poluan wrote: > On Mar 3, 2012 9:05 PM, "Alan McKinnon" > wrote: > > > > On Sat, 3 Mar 2012 08:48:59 -0500 > > Michael Mol wrote: > > > > > So I've been making extensive use of rngd on one of my Debian > > > servers, and I wanted to make use of it on a couple of my Gentoo > > > boxes. Only to find out that two parameters I need, -T and -R, > > > aren't available, even when I unmask version '3' in portage. Even > > > the manpage contains 'FIXME' where the Debian manpage contains > > > much more information. > > > > > > The version of the rng-tools Debian package I'm using is > > > '2-unofficial-mt.14-1~60squeeze1'. Are the -T and -R parameters > > > unique to Debian, or is the Gentoo package simply out of date? > > > > > > > You should download the .deb and see if it contains custom patches > > (rather likely actually). If you want those patches applied, stick > > them in /etc/portage/patches/ in the proper place. > > > > I can never remember how all that stuff works, I have to Google it > > each time :-) Start here if you haven't heard of user-custom patch > > support in portage yet: > > > > http://forums.gentoo.org/viewtopic-t-791464.html > > > http://klaig.blogspot.com/2011/07/how-to-apply-user-patches-in-portage.html > > > > > > Remember that it depends on whether the ebuild for the package > support user patches or not. That's true enough. epatch_user() must be called for it to work. However, it is defined in base.eclass and part of EAPI-2. How many ebuilds does that exclude these days? I did a quick back-of-the-envelope check: # find /var/portage/ -type f -name "*.ebuild" | wc 29846 29846 1730549 # grep EAPI=[234] /var/portage/*-*/*/*.ebuild | wc 11138 11273 719796 # grep EAPI=1 /var/portage/*-*/*/*.ebuild | wc 336 341 21938 # grep EAPI=0 /var/portage/*-*/*/*.ebuild | wc 5 5 275 37.3 coverage of >=EAPI-2. Wow. I really thought it would be more. -- Alan McKinnnon alan.mckinnon@gmail.com