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 1Q0LFH-00069Y-Ox for garchives@archives.gentoo.org; Thu, 17 Mar 2011 22:00:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C6631C02A; Thu, 17 Mar 2011 22:00:27 +0000 (UTC) Received: from smtp1.easily.co.uk (smtp1.easily.co.uk [62.128.146.104]) by pigeon.gentoo.org (Postfix) with ESMTP id 2185CE057F for ; Thu, 17 Mar 2011 21:59:46 +0000 (UTC) Received: from [86.141.225.245] (port=59597 helo=athlong2.kevquinn.com) by smtp1.easily.co.uk with esmtpa (Exim 4.43) id 1Q0LEQ-00030B-8H for gentoo-dev@lists.gentoo.org; Thu, 17 Mar 2011 21:59:46 +0000 Date: Thu, 17 Mar 2011 21:59:44 +0000 From: "Kevin F. Quinn" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pax-utils.eclass: elog -> einfo? Message-ID: <20110317215944.1fcd0450@athlong2.kevquinn.com> In-Reply-To: <4D7D3955.7080006@gentoo.org> References: <4D7B68D3.5000409@gentoo.org> <201103131619.57816.vapier@gentoo.org> <4D7D3955.7080006@gentoo.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 29fdd6e70865e7fc77a57e3f61c36e75 On Sun, 13 Mar 2011 17:38:29 -0400 "Anthony G. Basile" wrote: > On 03/13/2011 04:19 PM, Mike Frysinger wrote: > > On Saturday, March 12, 2011 07:36:35 Pawe=C5=82 Hajdan, Jr. wrote: > >> I wonder why pax-utils.eclass uses elog instead of just einfo. An > >> example message looks like this: > >> > >> * Fallback PaX marking -m > >> * out/Release/chrome > >> > >> IMHO it's not very useful in the elog messages, but maybe there are > >> scenarios in which it is useful. > >> > >> My idea is to just replace all elogs with einfos in > >> pax-utils.eclass. What do you think? > > i think it depends on the person. for people who dont use > > grsec/PaX, they probably could care less and never see this > > output. for people who do, they probably do want to see this. > > > > maybe have it `elog` only when [[ $(uname -r) =3D=3D *-grsec* ]] > > -mike >=20 > blueness@yellowness ~ $ uname -r > 2.6.37-hardened-r5 >=20 > so you need =3D=3D *-hardened-* I'd suggest doing something like: use hardened && elog ... There's an argument that it's better to make decisions according to make.conf settings rather than the host system configuration, not least to cater for people doing cross-builds. Assuming cross builds work at all; I've not tried that for a long time. Kev.