[pacman-dev] [patch] makepkg: add checksums and resume

Dan McGee dpmcgee at gmail.com
Sun Mar 9 14:43:17 EDT 2008


On Sun, Mar 9, 2008 at 1:36 PM, Xavier <shiningxc at gmail.com> wrote:
> On Wed, Mar 05, 2008 at 09:15:17AM +0800, Ray Rashif wrote:
>  > Hi
>  >
>  > Sorry for the interruption. As someone who makes use of this tool regularly,
>  > being able to include the hash-checks in one shot is helpful. Having an
>  > alias is alright but in some situations, not enough. I've now decided to
>  > simply include it in makepkg. For the benefit of $anybody here it is
>  > attached. If you don't know how to apply a patch and you're reading this
>  > (gasp!), do the following as root: patch -Np0 /usr/bin/makepkg
>  > /path/to/this/makepkg-checkresume.patch
>  >
>  > Summary:
>  >
>  > + variable GETINTEG
>  >
>  > + function insert_checksums
>  >
>  > + option -G,--getinteg
>  >
>  > eg. To rule the world at once with style we run "makepkg -Gic"
>  >
>  > It isn't that much warranted. However, it _can_ save some time. Something
>  > like this and Roman's download-resume patch would be good additions for the
>  > next update. If this has already been implemented in some other way, I'll be
>  > glad to see it soon.
>  >
>
>  Well, Roman's patch will likely be merged, but this one, I don't know.
>  Just for the record (and for people that read ML and not bbs), it received a
>  negative feedback from Travis here :
>  http://bbs.archlinux.org/viewtopic.php?id=44992

I feel like this can mostly be done by something like this:

makepkg -g >> PKGBUILD && makepkg

Although I like the basic idea of the patch, I'm not blown away by
adding another option for something that can be done in a makepkg
wrapper.

-Dan




More information about the pacman-dev mailing list