- Update to 1.19.3

- Fix Source and URL since upsteam moved to Github
- Rebase Use system wide crypto policies patch
This commit is contained in:
Athmane Madjoudj 2016-01-22 12:43:23 +01:00
parent c3b09f03b1
commit 3732ffafb1
4 changed files with 37 additions and 6 deletions

1
.gitignore vendored
View file

@ -14,3 +14,4 @@ aria2-1.10.0.tar.xz
/aria2-1.18.6.tar.xz /aria2-1.18.6.tar.xz
/aria2-1.18.10.tar.xz /aria2-1.18.10.tar.xz
/aria2-1.19.0.tar.xz /aria2-1.19.0.tar.xz
/aria2-1.19.3.tar.xz

View file

@ -0,0 +1,25 @@
diff -ru aria2-1.19.3.orig/src/LibgnutlsTLSSession.cc aria2-1.19.3/src/LibgnutlsTLSSession.cc
--- aria2-1.19.3.orig/src/LibgnutlsTLSSession.cc 2015-12-06 14:59:48.000000000 +0100
+++ aria2-1.19.3/src/LibgnutlsTLSSession.cc 2016-01-22 12:27:21.164972437 +0100
@@ -127,20 +127,7 @@
// It seems err is not error message, but the argument string
// which causes syntax error.
const char* err;
- std::string pri = "SECURE128:+SIGN-RSA-SHA1";
- switch(tlsContext_->getMinTLSVersion()) {
- case TLS_PROTO_TLS12:
- pri += ":-VERS-TLS1.1";
- // fall through
- case TLS_PROTO_TLS11:
- pri += ":-VERS-TLS1.0";
- // fall through
- case TLS_PROTO_TLS10:
- pri += ":-VERS-SSL3.0";
- default:
- break;
- };
- rv_ = gnutls_priority_set_direct(sslSession_, pri.c_str(), &err);
+ rv_ = gnutls_priority_set_direct(sslSession_, "@SYSTEM", &err);
if(rv_ != GNUTLS_E_SUCCESS) {
return TLS_ERR_ERROR;
}

View file

@ -1,14 +1,14 @@
%define binname aria2c %define binname aria2c
Name: aria2 Name: aria2
Version: 1.19.0 Version: 1.19.3
Release: 2%{?dist} Release: 1%{?dist}
Summary: High speed download utility with resuming and segmented downloading Summary: High speed download utility with resuming and segmented downloading
Group: Applications/Internet Group: Applications/Internet
License: GPLv2+ with exceptions License: GPLv2+ with exceptions
URL: http://aria2.sourceforge.net/ URL: http://aria2.github.io/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz Source0: https://github.com/tatsuhiro-t/%{name}/releases/download/release-%{version}/%{name}-%{version}.tar.xz
Patch0: aria2-1.18.10-use-system-wide-crypto-policies.patch Patch0: aria2-1.19.3-use-system-wide-crypto-policies.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: c-ares-devel cppunit-devel BuildRequires: c-ares-devel cppunit-devel
BuildRequires: gettext gnutls-devel BuildRequires: gettext gnutls-devel
@ -68,6 +68,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
%{_mandir}/*/man1/aria2c.1.gz %{_mandir}/*/man1/aria2c.1.gz
%changelog %changelog
* Fri Jan 22 2016 Athmane Madjoudj <athmane@fedoraproject.org> 1.19.3-1
- Update to 1.19.3
- Fix Source and URL since upsteam moved to Github
- Rebase Use system wide crypto policies patch
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19.0-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View file

@ -1 +1 @@
8417e25750928c250177f0f783b4f9b0 aria2-1.19.0.tar.xz b6363664e3cd510a092b0d812085724b aria2-1.19.3.tar.xz