| 
  | 
Message-ID: <20140925110053.GJ16787@gremlin.ru>
Date: Thu, 25 Sep 2014 15:00:53 +0400
From: gremlin@...mlin.ru
To: owl-users@...ts.openwall.com
Subject: Re: bash security update (CVE-2014-6271)
On 25-Sep-2014 12:24:17 +0400, gremlin@...mlin.ru wrote:
 >> There are updated bash packages in Owl-current built for i686
 >> and x86_64, fixing a critical vulnerability.
 > As usual, less than in a day since publishing :-)
When updating slightly older versions of Owl, I've got a error
on `find` invocation. Here's trivial patch:
--- bash.spec.old       2014-09-25 05:22:12 +0400
+++ bash.spec   2014-09-25 14:55:16 +0400
@@ -178,8 +178,8 @@
 install -pm644 doc/*.html %buildroot%docdir/html/
 install -pm644 doc/*.ps %buildroot%docdir/ps/
 install -pm644 doc/*.txt %buildroot%docdir/txt/
-find %buildroot%docdir/{[A-Z],txt/}* -type f -size +8k -print0 |
-       xargs -r0 bzip2 -9 --
+find %buildroot%docdir{,/txt}/* -type f -maxdepth 0 -size +8k \
+       -execdir bzip2 -9 -- '{}' ';'
 gzip -9nf %buildroot%docdir/ps/*.ps
 cp -a examples %buildroot%docdir/
 find %buildroot%docdir/examples/ -type f -name 'Makefile*' -delete
-- 
Alexey V. Vissarionov aka Gremlin from Kremlin <gremlin ПРИ gremlin ТЧК ru>
GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8 @ hkp://keys.gnupg.net
View attachment "bash.spec.diff" of type "text/plain" (599 bytes)
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.