diff options
author | Eric Anderson | 2018-03-19 19:22:55 -0700 |
---|---|---|
committer | Eric Anderson | 2018-03-19 19:22:55 -0700 |
commit | ae8d75ee518a7bd10dfb18f8faa3a86a8d76a7ad (patch) | |
tree | 91ba1352c3e87e2d1a1527a4a05f847b057ef912 | |
parent | bfad3f48c6f0895ccc92c09651d34ec02793b9d2 (diff) | |
download | aur-ae8d75ee518a7bd10dfb18f8faa3a86a8d76a7ad.tar.gz |
Follow redirects when downloading
This fixes a problem with mirrors.kernel.org redirecting to
mirrors.edge.kernel.org which caused curl to save zero-byte output
files because the response body was zero-byte content.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | pkgdistcache.conf | 2 |
3 files changed, 8 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Mar 1 16:11:48 UTC 2018 +# Tue Mar 20 02:20:50 UTC 2018 pkgbase = pkgdistcache pkgdesc = A distributed local-network cache for pacman packages pkgver = 0.5.0 - pkgrel = 2 + pkgrel = 3 url = http://venator.ath.cx/dw/doku.php?id=linux:pkgdistcache install = pkgdistcache.install arch = any @@ -15,13 +15,14 @@ pkgbase = pkgdistcache depends = curl depends = python-requests depends = python-xdg + backup = etc/pkgdistcache.conf source = pkgdistcache-client source = pkgdistcache-daemon source = pkgdistcache.conf source = pkgdistcached.service sha256sums = eac5e8c4afebdbb3b93d9d50d10abdaa3cdbd9da796d969f2cd9db2064a69d8d sha256sums = 10379b95265e7aa3c6334197ef255327281e35b958c3c062ae893dd3a646a66e - sha256sums = 5628cf4d81adaf7a3dd7243f51af1a30fff73a31b421615a7c0051280618f457 + sha256sums = 25106b1e2ed50d04a684f4d356f3d5a34c815fe77af486c863a292dc7643105f sha256sums = b98bccb089bc0025b0f9b4b949b691e5564b0e40778a263a5bb6ffa5f01d04a2 pkgname = pkgdistcache @@ -3,12 +3,13 @@ pkgname=pkgdistcache pkgver=0.5.0 -pkgrel=2 +pkgrel=3 pkgdesc='A distributed local-network cache for pacman packages' arch=('any') url='http://venator.ath.cx/dw/doku.php?id=linux:pkgdistcache' license=('GPL') depends=('avahi' 'python-dbus' 'dbus-glib' 'python-gobject' 'curl' 'python-requests' 'python-xdg') +backup=('etc/pkgdistcache.conf') install="${pkgname}.install" source=('pkgdistcache-client' 'pkgdistcache-daemon' @@ -16,7 +17,7 @@ source=('pkgdistcache-client' 'pkgdistcached.service') sha256sums=('eac5e8c4afebdbb3b93d9d50d10abdaa3cdbd9da796d969f2cd9db2064a69d8d' '10379b95265e7aa3c6334197ef255327281e35b958c3c062ae893dd3a646a66e' - '5628cf4d81adaf7a3dd7243f51af1a30fff73a31b421615a7c0051280618f457' + '25106b1e2ed50d04a684f4d356f3d5a34c815fe77af486c863a292dc7643105f' 'b98bccb089bc0025b0f9b4b949b691e5564b0e40778a263a5bb6ffa5f01d04a2') package() { diff --git a/pkgdistcache.conf b/pkgdistcache.conf index 8573795b5aa2..4f168d71b597 100644 --- a/pkgdistcache.conf +++ b/pkgdistcache.conf @@ -6,6 +6,6 @@ 'port': 12500, # Command to use to download files - 'download_cmd': "/usr/bin/curl -C - -f -# -o $o $u" + 'download_cmd': "/usr/bin/curl -C - -f -# -L -o $o $u" } |