[pacman-dev] Switch to libfetch-only support (was: The official pacman repository branch, master, updated. v3.2.2-58-ge3a0696)

Dan McGee dan at archlinux.org
Tue Jan 13 20:54:43 EST 2009

On Tue, Jan 13, 2009 at 7:52 PM, Dan McGee <dan at archlinux.org> wrote:
> commit 8017b0bb8ec5364f8a3999caffc6b3c3ea991810
> Author: Xavier Chantry <shiningxc at gmail.com>
> Date:   Sat Nov 15 10:10:56 2008 +0100
>    Remove libdownload support and fix libfetch one.
>    Aaron said to consider libdownload a dead project so libdownload support was
>    removed to more easily fix libfetch one (otherwise many ifdef needed).
>    There was no direct replacement for ferror to detect an error while
>    downloading. So instead, I added a check at the end to see if the file was
>    fully downloaded, which is just a small chunk of code taken from here:
>    http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/files/fetch.c?only_with_tag=MAIN
>    Signed-off-by: Xavier Chantry <shiningxc at gmail.com>
>    Signed-off-by: Dan McGee <dan at archlinux.org>

Note that this commit means libdownload is no longer supported. Arch
has a libfetch package in testing that works perfectly with pacman
built from GIT, so please install that if you want to continue to be
able to compile. :)


More information about the pacman-dev mailing list