diff options
l--------- | data/aria2/_metadata/cares.dep | 1 | ||||
l--------- | data/aria2/_metadata/gettext.dep | 1 | ||||
l--------- | data/aria2/_metadata/libcares2.dep | 1 | ||||
l--------- | data/aria2/_metadata/libgmp10.dep | 1 | ||||
l--------- | data/aria2/_metadata/libssl1.0.dep | 1 | ||||
l--------- | data/aria2/_metadata/libxml2.dep | 1 | ||||
-rw-r--r-- | data/aria2/dhparms.diff | 12 | ||||
-rw-r--r-- | data/aria2/make.sh | 2 |
8 files changed, 17 insertions, 3 deletions
diff --git a/data/aria2/_metadata/cares.dep b/data/aria2/_metadata/cares.dep deleted file mode 120000 index 4e3a4f848..000000000 --- a/data/aria2/_metadata/cares.dep +++ /dev/null @@ -1 +0,0 @@ -../../cares
\ No newline at end of file diff --git a/data/aria2/_metadata/gettext.dep b/data/aria2/_metadata/gettext.dep new file mode 120000 index 000000000..e8dbd8996 --- /dev/null +++ b/data/aria2/_metadata/gettext.dep @@ -0,0 +1 @@ +../../gettext
\ No newline at end of file diff --git a/data/aria2/_metadata/libcares2.dep b/data/aria2/_metadata/libcares2.dep new file mode 120000 index 000000000..ac393be22 --- /dev/null +++ b/data/aria2/_metadata/libcares2.dep @@ -0,0 +1 @@ +../../libcares2
\ No newline at end of file diff --git a/data/aria2/_metadata/libgmp10.dep b/data/aria2/_metadata/libgmp10.dep new file mode 120000 index 000000000..524659b66 --- /dev/null +++ b/data/aria2/_metadata/libgmp10.dep @@ -0,0 +1 @@ +../../libgmp10
\ No newline at end of file diff --git a/data/aria2/_metadata/libssl1.0.dep b/data/aria2/_metadata/libssl1.0.dep deleted file mode 120000 index a501d00a8..000000000 --- a/data/aria2/_metadata/libssl1.0.dep +++ /dev/null @@ -1 +0,0 @@ -../../libssl1.0
\ No newline at end of file diff --git a/data/aria2/_metadata/libxml2.dep b/data/aria2/_metadata/libxml2.dep new file mode 120000 index 000000000..076284360 --- /dev/null +++ b/data/aria2/_metadata/libxml2.dep @@ -0,0 +1 @@ +../../libxml2
\ No newline at end of file diff --git a/data/aria2/dhparms.diff b/data/aria2/dhparms.diff new file mode 100644 index 000000000..9f830f318 --- /dev/null +++ b/data/aria2/dhparms.diff @@ -0,0 +1,12 @@ +diff -ur aria2-1.34.0/src/AppleTLSSession.cc aria2-1.34.0+iPhone/src/AppleTLSSession.cc +--- aria2-1.34.0/src/AppleTLSSession.cc 2018-05-15 02:33:25.000000000 -1000 ++++ aria2-1.34.0+iPhone/src/AppleTLSSession.cc 2019-05-16 13:44:10.000000000 -1000 +@@ -481,7 +481,7 @@ + } + + #ifndef CIPHER_NO_DHPARAM +- lastError_ = SSLSetDiffieHellmanParams(sslCtx_, dhparam, sizeof(dhparam)); ++ lastError_ = _SSLSetDiffieHellmanParams(sslCtx_, dhparam, sizeof(dhparam)); + if (lastError_ != noErr) { + A2_LOG_WARN(fmt("AppleTLS: Failed to set DHParams: %s", + getLastErrorString().c_str())); diff --git a/data/aria2/make.sh b/data/aria2/make.sh index 798b23d30..b78ddd2d2 100644 --- a/data/aria2/make.sh +++ b/data/aria2/make.sh @@ -1,4 +1,4 @@ pkg:setup -pkg:configure --without-appletls --with-libssh2 --with-openssl --without-gnutls --without-libgmp --without-libnettle --without-libgcrypt +pkg:configure pkg:make pkg:install |