aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-08-21 23:41:02 -0300
committerAndy Postnikov <apostnikov@gmail.com>2021-08-22 03:40:02 +0000
commit8e4f0376a21584ad6340db2a197b22a8e7e9cf11 (patch)
tree7029255cc9a38649afc1140f2a9de90de2028a68
parent8ff307f3db1164be69c9496f6a82d790fed0c3f9 (diff)
downloadaports-8e4f0376a21584ad6340db2a197b22a8e7e9cf11.tar.gz
aports-8e4f0376a21584ad6340db2a197b22a8e7e9cf11.tar.bz2
aports-8e4f0376a21584ad6340db2a197b22a8e7e9cf11.tar.xz
community/aria2: upgrade to 1.36.0
-rw-r--r--community/aria2/APKBUILD12
-rw-r--r--community/aria2/musl-fix-time64.patch19
2 files changed, 6 insertions, 25 deletions
diff --git a/community/aria2/APKBUILD b/community/aria2/APKBUILD
index 72001c2fc8..669005013d 100644
--- a/community/aria2/APKBUILD
+++ b/community/aria2/APKBUILD
@@ -3,8 +3,8 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aria2
-pkgver=1.35.0
-pkgrel=2
+pkgver=1.36.0
+pkgrel=0
pkgdesc="Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink"
url="https://aria2.github.io/"
arch="all"
@@ -17,7 +17,6 @@ pkggroups="aria2"
install="$pkgname-daemon.pre-install"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-daemon::noarch $pkgname-bash-completion:bashcomp:noarch"
source="https://github.com/aria2/aria2/releases/download/release-$pkgver/aria2-$pkgver.tar.xz
- musl-fix-time64.patch
$pkgname.conf
$pkgname.initd
$pkgname.confd
@@ -70,9 +69,10 @@ daemon() {
install -m 700 -o aria2 -g aria2 -d var/cache/$pkgname
}
-sha512sums="82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef aria2-1.35.0.tar.xz
-cc37663a927e5afba348ecce6844f5e49c01374897129d62fa433d44c73ec8df6cadc19c34fcba44cf58d7390fab6584752d99f098d360f1914a9444a02c1798 musl-fix-time64.patch
+sha512sums="
+8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542 aria2-1.36.0.tar.xz
dd716f27eae2628bd528fd2842de7881e8f8f00d587b179e832f1639241db5bd8f4e74a5b791ca4de984923654b38a28813a89ad49a864f64534903a46878a60 aria2.conf
a191655122d8d4379dd7aef773c6273387d8417b88f4f8f96d4a2121e71d9d005c84f15382b46b90501ecb3675f2505b22fb9494a0e5c4d96792bf8b29c2c01a aria2.initd
ee49208c36be85fdf820eda0b47549732f720624a6f94702c16e1711823d74a23728944f60c85c11d09db6dbde3515adb32bb5ddf44786645b9a36883a5b6404 aria2.confd
-2ed9ff7a5fd1801643e4fb3cdd8cb21f0ead60420c87636bb581fe00828a98a5290a0888e49f6a6becb9f39c3c145b1399aa3a9ae452eb10ac2064c0e7bca1f8 aria2.logrotate"
+2ed9ff7a5fd1801643e4fb3cdd8cb21f0ead60420c87636bb581fe00828a98a5290a0888e49f6a6becb9f39c3c145b1399aa3a9ae452eb10ac2064c0e7bca1f8 aria2.logrotate
+"
diff --git a/community/aria2/musl-fix-time64.patch b/community/aria2/musl-fix-time64.patch
deleted file mode 100644
index 942fb9b300..0000000000
--- a/community/aria2/musl-fix-time64.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-upstream issue: https://github.com/aria2/aria2/issues/1666
-
-diff --git a/src/ServerStat.cc b/src/ServerStat.cc
-index d35407d..728a9e6 100644
---- a/src/ServerStat.cc
-+++ b/src/ServerStat.cc
-@@ -183,10 +183,10 @@ bool ServerStat::operator==(const ServerStat& serverStat) const
- std::string ServerStat::toString() const
- {
- return fmt("host=%s, protocol=%s, dl_speed=%d, sc_avg_speed=%d,"
-- " mc_avg_speed=%d, last_updated=%ld, counter=%d, status=%s",
-+ " mc_avg_speed=%d, last_updated=%" PRId64 ", counter=%d, status=%s",
- getHostname().c_str(), getProtocol().c_str(), getDownloadSpeed(),
- getSingleConnectionAvgSpeed(), getMultiConnectionAvgSpeed(),
-- getLastUpdated().getTimeFromEpoch(), getCounter(),
-+ (int64_t)getLastUpdated().getTimeFromEpoch(), getCounter(),
- STATUS_STRING[getStatus()]);
- }
-