Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: pax-utils.eclass
Date: Fri, 06 Apr 2012 18:04:19
Message-Id: 20120406180354.B967C2004B@flycatcher.gentoo.org
1 blueness 12/04/06 18:03:54
2
3 Modified: pax-utils.eclass
4 Log:
5 Downgrade from elog to einfo to avoid flooding logs
6
7 Revision Changes Path
8 1.18 eclass/pax-utils.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?rev=1.18&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?rev=1.18&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?r1=1.17&r2=1.18
13
14 Index: pax-utils.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v
17 retrieving revision 1.17
18 retrieving revision 1.18
19 diff -u -r1.17 -r1.18
20 --- pax-utils.eclass 17 Dec 2011 04:23:53 -0000 1.17
21 +++ pax-utils.eclass 6 Apr 2012 18:03:54 -0000 1.18
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2011 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.17 2011/12/17 04:23:53 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.18 2012/04/06 18:03:54 blueness Exp $
27
28 # @ECLASS: pax-utils.eclass
29 # @MAINTAINER:
30 @@ -58,8 +58,8 @@
31 # Try paxctl, then scanelf. paxctl is preferred.
32 if type -p paxctl > /dev/null && has PT ${PAX_MARKINGS}; then
33 # Try paxctl, the upstream supported tool.
34 - elog "PT PaX marking -${flags}"
35 - _pax_list_files elog "$@"
36 + einfo "PT PaX marking -${flags}"
37 + _pax_list_files einfo "$@"
38 for f in "$@"; do
39 # First, try modifying the existing PAX_FLAGS header
40 paxctl -q${flags} "${f}" && continue
41 @@ -91,8 +91,8 @@
42 elif type -p scanelf > /dev/null && [[ ${PAX_MARKINGS} != "none" ]]; then
43 # Try scanelf, the Gentoo swiss-army knife ELF utility
44 # Currently this sets PT if it can, no option to control what it does.
45 - elog "Fallback PaX marking -${flags}"
46 - _pax_list_files elog "$@"
47 + einfo "Fallback PaX marking -${flags}"
48 + _pax_list_files einfo "$@"
49 scanelf -Xxz ${flags} "$@"
50 elif [[ ${PAX_MARKINGS} != "none" ]]; then
51 # Out of options!