mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 09:08:53 +02:00
aria2: bump version
This commit is contained in:
@@ -13,7 +13,7 @@ HOMEPAGE="http://aria2.sourceforge.net"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2006-2014 Tatsuhiro Tsujikawa"
|
||||
SRC_URI="http://sourceforge.net/projects/aria2/files/stable/aria2-$portVersion/aria2-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98"
|
||||
CHECKSUM_SHA256="4a7be62cac075e4ad14c91dd4ab9f22afe6e21507255142c20de252e15a7b1e7"
|
||||
REVISION="1"
|
||||
|
||||
PATCHES="aria2-$portVersion.patchset"
|
||||
@@ -1,23 +0,0 @@
|
||||
From f0479fa57a2ba0ceb85da78479c8262d100363d2 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Mon, 2 Feb 2015 20:42:42 +0000
|
||||
Subject: haiku: detect libnetwork
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 22181e4..a3eaf93 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -616,6 +616,9 @@ case "$host" in
|
||||
*solaris*)
|
||||
AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ AC_SEARCH_LIBS([getaddrinfo], [network])
|
||||
+ ;;
|
||||
esac
|
||||
|
||||
# Checks for header files.
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
47
net-misc/aria2/patches/aria2-1.18.9.patchset
Normal file
47
net-misc/aria2/patches/aria2-1.18.9.patchset
Normal file
@@ -0,0 +1,47 @@
|
||||
From 0d4da98596562ea25b201be898e4fe613e8d4497 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Mon, 2 Feb 2015 20:42:42 +0000
|
||||
Subject: haiku: detect libnetwork
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b823674..7e84f31 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -619,6 +619,9 @@ case "$host" in
|
||||
*solaris*)
|
||||
AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ AC_SEARCH_LIBS([getaddrinfo], [network])
|
||||
+ ;;
|
||||
esac
|
||||
|
||||
# Checks for header files.
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 08a60109e995b95d0142a27bc171bc9ebba97022 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 4 Feb 2015 17:19:50 +0000
|
||||
Subject: check SSL_OP_NO_TLSv1_1
|
||||
|
||||
|
||||
diff --git a/src/LibsslTLSContext.cc b/src/LibsslTLSContext.cc
|
||||
index 70c13a6..08a0b6f 100644
|
||||
--- a/src/LibsslTLSContext.cc
|
||||
+++ b/src/LibsslTLSContext.cc
|
||||
@@ -104,7 +104,9 @@ OpenSSLTLSContext::OpenSSLTLSContext(TLSSessionSide side, TLSVersion minVer)
|
||||
long ver_opts = 0;
|
||||
switch(minVer) {
|
||||
case TLS_PROTO_TLS12:
|
||||
+#ifdef SSL_OP_NO_TLSv1_1
|
||||
ver_opts |= SSL_OP_NO_TLSv1_1;
|
||||
+#endif
|
||||
// fall through
|
||||
case TLS_PROTO_TLS11:
|
||||
ver_opts |= SSL_OP_NO_TLSv1;
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user