FS#6246 - makepkg fails if source archive file has incorrect file extension

Attached to Project: Pacman
Opened by C E (palandir) - Sunday, 21 January 2007, 07:20 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 22 January 2007, 11:25 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Everything explained here (the problem and a proposed solution which would be the feature request):
http://bbs.archlinux.org/viewtopic.php?t=29031
This task depends upon

Closed by  Dan McGee (toofishes)
Wednesday, 31 January 2007, 01:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in pacman CVS.
Comment by Dan McGee (toofishes) - Sunday, 21 January 2007, 09:04 GMT
Using file would be possible, although you would have to make sure all of its return types are mapped to only one possible decompress method.

If you are interested in possibly fixing this yourself, the contribution would be appreciated. Here is the link to the current makepkg script that will be in the next release in pacman, so it would be the one you would want to hack on:
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/scripts/makepkg?cvsroot=Pacman

If not, it shouldn't be that hard to implement, and I'm sure someone will eventually get around to it.
Comment by James Rosten (yankees26) - Sunday, 21 January 2007, 14:31 GMT
I plan on fiddling with it later today.
Comment by James Rosten (yankees26) - Sunday, 21 January 2007, 17:47 GMT
Ok, I've made a patch against makepkg3 ( http://www.archlinux.org/pipermail/pacman-dev/2007-January/001046.html ).

Palandir: If you just want to put this against the makepkg from pacman 2.9.8 then just look at the patch 'cause its pretty easy to tell what was added/changed.
Comment by C E (palandir) - Monday, 22 January 2007, 07:34 GMT
Good job. Already applied the changes. :)
Comment by Roman Kyrylych (Romashka) - Monday, 22 January 2007, 11:25 GMT
Can someone confirm this is fixed in the latest Pacman3 CVS?
Comment by Dan McGee (toofishes) - Wednesday, 31 January 2007, 01:54 GMT
Confirmed fixed in CVS. PKGBUILDs can now contain a noextract array if they want something to be left untouched (not unzipped).

Loading...