[arch-dev-public] [PATCH 2/2] Accept any *.pkg.tar.* package file name

Allan McRae allan at archlinux.org
Tue Feb 16 07:01:01 EST 2010


On 16/02/10 10:29, Pierre Schmitz wrote:
> Am Dienstag, 16. Februar 2010 01:27:32 schrieb Pierre Schmitz:
>> With this patch packages with different compressions are accepted. It is
>> ensured that one cannot have the same package with different compression
>> extensions.
>>
>> The new functions getpkgfile{,s} are used to sanitize globed filenames.
>
> So, here is some kind of draft to accept any package extension without using
> unsafe globing.
>
> I did not really test it and some parts are quite hacky. Please have a look.
>

It looks like it should work...  the only way to really test these is to 
get an updated version on the server and try adding a few xz packages as 
a test.

Allan


More information about the arch-dev-public mailing list