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

Pierre Schmitz pierre at archlinux.de
Mon Feb 15 19:29:57 EST 2010


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.

-- 

Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list