summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-10-31 15:19:31 +0100
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-09 05:27:44 +0200
commit33dbe13a6b9da842de0fb6a1055651866bcf6440 (patch)
tree453c26f13f42b35c53cb5cd2d2370762dfbef79e
parent7bb1c73cfaf22d9f2dbc041dcd0114e6322fc89d (diff)
downloadpacman-33dbe13a6b9da842de0fb6a1055651866bcf6440.tar.gz
pacman-33dbe13a6b9da842de0fb6a1055651866bcf6440.tar.xz
makepkg.conf: add -g to default curl options
This disables globbing, which should never be used in source URL specifications as it would lead to mismatches in the checksum mapping and un-checked sources. (cherry picked from commit e7fc5608667ce0c0d5b48c6c838c65ff288f254b)
-rw-r--r--etc/makepkg.conf.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in
index 71ec624b..93608e63 100644
--- a/etc/makepkg.conf.in
+++ b/etc/makepkg.conf.in
@@ -8,9 +8,9 @@
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
-DLAGENTS=('ftp::/usr/bin/curl -qfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
- 'http::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
- 'https::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
+DLAGENTS=('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'
'scp::/usr/bin/scp -C %u %o')