summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-07-26 22:09:19 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-07-26 22:09:19 +0000
commit724d09e7749bd3df32c013aab1ff387d01c95599 (patch)
treec68bf3e74e02c5b3ed63bbdb317e1b55acef66d6 /app-forensics/openscap
parentVersion bump (diff)
downloadgentoo-2-724d09e7749bd3df32c013aab1ff387d01c95599.tar.gz
gentoo-2-724d09e7749bd3df32c013aab1ff387d01c95599.tar.bz2
gentoo-2-724d09e7749bd3df32c013aab1ff387d01c95599.zip
Improved test_probes_process.patch for bug #423057.Thanks to corentin.labbe@geomatys.fr
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-forensics/openscap')
-rw-r--r--app-forensics/openscap/ChangeLog8
-rw-r--r--app-forensics/openscap/files/test_probes_process.patch2
2 files changed, 7 insertions, 3 deletions
diff --git a/app-forensics/openscap/ChangeLog b/app-forensics/openscap/ChangeLog
index dcd068451bb0..af688d196088 100644
--- a/app-forensics/openscap/ChangeLog
+++ b/app-forensics/openscap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-forensics/openscap
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.16 2012/05/22 20:51:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/ChangeLog,v 1.17 2012/07/26 22:09:19 hwoarang Exp $
+
+ 26 Jul 2012; Markos Chandras <hwoarang@gentoo.org>
+ files/test_probes_process.patch:
+ Improved test_probes_process.patch for bug #423057.Thanks to
+ corentin.labbe@geomatys.fr
*openscap-0.8.2 (22 May 2012)
@@ -77,4 +82,3 @@
05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> +openscap-0.6.4.ebuild,
+metadata.xml:
Moved from sunrise overlay. Bug #334455. Thanks to Montjoie for the ebuild
-
diff --git a/app-forensics/openscap/files/test_probes_process.patch b/app-forensics/openscap/files/test_probes_process.patch
index 98ac75857d46..508c059e2a77 100644
--- a/app-forensics/openscap/files/test_probes_process.patch
+++ b/app-forensics/openscap/files/test_probes_process.patch
@@ -4,7 +4,7 @@
#!/usr/bin/env bash
-TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | awk '$1 != 2 && $2 != 2 {print $3}' | \
-+TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -v '\[' | awk '$1 != 2 && $2 != 2 {print $3}' | \
++TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -iE '^[a-z0-9A-Z \-]*$' | awk '$1 != 2 && $2 != 2 {print $3}' | \
sed -n '2,30p'`)
COUNTER=1