From 9aec7c3c7225ec9a2ae1124eca612a709f7abddf Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 2 May 2018 21:32:58 -0400 Subject: makepkg.conf: add default protocol handler for file:// urls. This is a common URI scheme (in general if not in makepg) and we should provide a handler for it. We already allow its use for locally sourced git repositories, so it makes sense to not leave files out. Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- etc/makepkg.conf.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index fe3858ad..4d6ab78d 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -8,7 +8,8 @@ # #-- The download utilities that makepkg should use to acquire sources # Format: 'protocol::agent' -DLAGENTS=('ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' +DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' + 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' -- cgit v1.2.3-70-g09d2