summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPandada82015-06-18 01:22:14 +0800
committerPandada82015-06-18 01:22:35 +0800
commit5c5ba667376ac93a6989fd897716e5860846291b (patch)
treedb70d007d62f7c2264630b132c6bbc79c6fe39eb
parentd99d84a08a876802dbb375caf1c61dc6ad9a8b2b (diff)
downloadaur-5c5ba667376ac93a6989fd897716e5860846291b.tar.gz
update the patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--aria2-1.16.patch21
3 files changed, 4 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21c563dc6cee..a2fed0f29186 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = aria2-fast
pkgdesc = Aria2 Download utility with little patch to maximize aria2 download connections
pkgver = 1.19.0
- pkgrel = 1
+ pkgrel = 2
url = http://aria2.sourceforge.net/
arch = i686
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = aria2-fast
source = http://downloads.sourceforge.net/aria2/aria2-1.19.0.tar.bz2
source = aria2-1.16.patch
md5sums = ad6eb57511a05ce823e194eb71a7e9fa
- md5sums = b4e0837bd7c255b645c9a8bbdd550e3f
+ md5sums = 8d1c33b0ff5a3611ac0f8e46ca93c48c
pkgname = aria2-fast
diff --git a/PKGBUILD b/PKGBUILD
index fc7577e85856..1beb32b41b63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=aria2-fast
pkgver=1.19.0
-pkgrel=1
+pkgrel=2
pkgdesc='Aria2 Download utility with little patch to maximize aria2 download connections'
arch=('i686' 'x86_64')
url='http://aria2.sourceforge.net/'
@@ -47,4 +47,4 @@ package() {
rm -rf ${pkgdir}/usr/share/doc/aria2/bash_completion
}
md5sums=('ad6eb57511a05ce823e194eb71a7e9fa'
- 'b4e0837bd7c255b645c9a8bbdd550e3f')
+ '8d1c33b0ff5a3611ac0f8e46ca93c48c')
diff --git a/aria2-1.16.patch b/aria2-1.16.patch
index 2ff6ae2c6966..13d57b62fa1a 100644
--- a/aria2-1.16.patch
+++ b/aria2-1.16.patch
@@ -1,24 +1,3 @@
-diff -Npur ../aria2-1.16.0.ori/src/HttpSkipResponseCommand.cc ./src/HttpSkipResponseCommand.cc
---- ../aria2-1.16.0.ori/src/HttpSkipResponseCommand.cc 2012-12-16 10:59:30.274471789 +0700
-+++ ./src/HttpSkipResponseCommand.cc 2012-12-16 11:06:09.824474859 +0700
-@@ -11,7 +11,7 @@
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See th e
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
-@@ -209,7 +209,7 @@ bool HttpSkipResponseCommand::processRes
- } else if(statusCode == 404) {
- throw DL_ABORT_EX2(MSG_RESOURCE_NOT_FOUND,
- error_code::RESOURCE_NOT_FOUND);
-- } else if(statusCode == 503) {
-+ } else if(statusCode == 503 or statusCode == 502 or statusCode == 403) {
- // Only retry if pretry-wait > 0. Hammering 'busy' server is not
- // a good idea.
- if(getOption()->getAsInt(PREF_RETRY_WAIT) > 0) {
diff -Npur ../aria2-1.16.0.ori/src/OptionHandlerFactory.cc ./src/OptionHandlerFactory.cc
--- ../aria2-1.16.0.ori/src/OptionHandlerFactory.cc 2012-12-16 10:59:30.284471787 +0700
+++ ./src/OptionHandlerFactory.cc 2012-12-16 11:04:24.561140718 +0700