[pacman-dev] [PATCH] makepkg: add --allsource option
Dan McGee
dpmcgee at gmail.com
Sat May 31 17:32:15 EDT 2008
On Sat, May 31, 2008 at 3:47 PM, Miklos Vajna <vmiklos at frugalware.org> wrote:
> On Sat, May 31, 2008 at 12:07:45PM -0500, Dan McGee <dan at archlinux.org> wrote:
>> This supplements the --source option and does nearly the same thing, except
>> downloaded source files are included in the archive as well.
>>
>> This is mainly an RFC patch and interested parties are encouraged to
>> comment. I was also planning on making a patch for adding the package/
>> prefix to the archived files, but apparently no archive program makes this
>> easy to do with is just plain stupid. If someone knows how without creating
>> a temporary dir and moving files there, let me know.
>
> i don't want to flame or anything, but what's the purpose of this? is
> there any program that would make use of such an archive? except that if
> you put it out to http then broken out files are browsable, while if you
> tar it up (like the rpm guys do with srpm) then the user has to download
> the whole source package, even if he/she is only interested in the
> buildscript or patches.
Yes there is use for this- to help people using makepkg comply with
the GPL and providing source and the necessary tools to build it when
they provide binary packages. I didn't remove the --source option on
purpose; you can still generate a src.tar.gz package with the minimal
files needed and none of the downloaded source.
-Dan
More information about the pacman-dev
mailing list