[pacman-dev] [PATCH] makepkg: Fix xz extraction

Dan McGee dpmcgee at gmail.com
Tue Aug 4 13:35:23 EDT 2009


On Tue, Aug 4, 2009 at 12:23 PM, Xavier<shiningxc at gmail.com> wrote:
> On Tue, Aug 4, 2009 at 7:06 PM, Cedric Staniewski<cedric at gmx.ca> wrote:
>> Xavier wrote:
>>>
>>> But should we remove the symlink manually then?
>>> _______________________________________________
>>> pacman-dev mailing list
>>> pacman-dev at archlinux.org
>>> http://www.archlinux.org/mailman/listinfo/pacman-dev
>>
>> I'm not sure. Always thought they are there on purpose (mostly used
>> bsdtar), even though they are usually not needful.
>>
>> The current behaviors are:
>> bsdtar          keeps symlinks
>> gunzip          removes symlinks
>> bunzip2         removes symlinks
>> xz              keeps symlinks
>
> Thank you, thats very informative :)
> So we were already inconsistent before.
> What about always keeping symlinks, ie adding -k to gunzip and bunzip2 as well?

We should always keep, this was probably an oversight when adding
direct decompression of non-tar formats. That way someone can very
easily see what source was copied in that directory both before and
after decompression.

-Dan


More information about the pacman-dev mailing list