[pacman-dev] [PATCH] makepkg: add --allsource option
Allan McRae
mcrae_allan at hotmail.com
Sat May 31 22:13:02 EDT 2008
Miklos Vajna wrote:
> On Sat, May 31, 2008 at 04:32:15PM -0500, Dan McGee <dpmcgee at gmail.com> wrote:
>
>> 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.
>>
>
> ah, i see. it's your decision, but maybe it would worth considering what
> Gentoo and Frugalware does: just run a script from cron that extracts
> urls from buildscripts, checks for missing downloaded source tarballs,
> obtains them and you're done.
>
> http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob;f=t/srcmissing;hb=HEAD
>
> of course this src.tar.gz approach may have other benefits i don't see..
>
Don't only think of the for use by the main distro. There are plenty of
people hosting a small custom repo that does not warrant such a cron job.
Allan
More information about the pacman-dev
mailing list