summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-10-31 15:19:31 +0100
committerAllan McRae <allan@archlinux.org>2016-12-05 06:20:08 +0100
commite7fc5608667ce0c0d5b48c6c838c65ff288f254b (patch)
treea86d818046b70c57b748db0251f2c52687f50dc5
parent37b73fe4fbec05e86959d234413510463ea35141 (diff)
downloadpacman-e7fc5608667ce0c0d5b48c6c838c65ff288f254b.tar.gz
pacman-e7fc5608667ce0c0d5b48c6c838c65ff288f254b.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.
-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 efac16ab..71293970 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')