lsof: fix permission of extracted files
authorDamian Kaczmarek <damian@veritymedical.co.uk>
Thu, 20 Oct 2011 22:05:23 +0000 (00:05 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 24 Nov 2011 22:07:09 +0000 (23:07 +0100)
commit9f930d2d7f6ca80d9ccc9a38e631704c1b931f43
treec11fb4ac80430564603a59d254124e26742a9aa7
parent0ff53f128d865dacfd7a46a5ee9e36c2f28cd89f
lsof: fix permission of extracted files

Closes #4369

Default tar permissiong make it impossible to apply patches to some of
the files.

Change extraction command to skip permissions by using "-O" tar option
and a pipe tar chain.

Solution suggested by: Arnout Vandecappelle <arnout@mind.be>

[Peter: rework to use define as suggested by Thomas]
Signed-off-by: Damian Kaczmarek <damian@veritymedical.co.uk>
Tested-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/lsof/lsof.mk