- 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:
parent
c3b09f03b1
commit
3732ffafb1
4 changed files with 37 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -14,3 +14,4 @@ aria2-1.10.0.tar.xz
|
|||
/aria2-1.18.6.tar.xz
|
||||
/aria2-1.18.10.tar.xz
|
||||
/aria2-1.19.0.tar.xz
|
||||
/aria2-1.19.3.tar.xz
|
||||
|
|
|
|||
25
aria2-1.19.3-use-system-wide-crypto-policies.patch
Normal file
25
aria2-1.19.3-use-system-wide-crypto-policies.patch
Normal 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;
|
||||
}
|
||||
15
aria2.spec
15
aria2.spec
|
|
@ -1,14 +1,14 @@
|
|||
%define binname aria2c
|
||||
|
||||
Name: aria2
|
||||
Version: 1.19.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.19.3
|
||||
Release: 1%{?dist}
|
||||
Summary: High speed download utility with resuming and segmented downloading
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+ with exceptions
|
||||
URL: http://aria2.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||
Patch0: aria2-1.18.10-use-system-wide-crypto-policies.patch
|
||||
URL: http://aria2.github.io/
|
||||
Source0: https://github.com/tatsuhiro-t/%{name}/releases/download/release-%{version}/%{name}-%{version}.tar.xz
|
||||
Patch0: aria2-1.19.3-use-system-wide-crypto-policies.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: c-ares-devel cppunit-devel
|
||||
BuildRequires: gettext gnutls-devel
|
||||
|
|
@ -68,6 +68,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
|
|||
%{_mandir}/*/man1/aria2c.1.gz
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
8417e25750928c250177f0f783b4f9b0 aria2-1.19.0.tar.xz
|
||||
b6363664e3cd510a092b0d812085724b aria2-1.19.3.tar.xz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue