aboutsummaryrefslogtreecommitdiffstats
path: root/community/crystal/tests-libressl.patch
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2018-12-10 23:18:31 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-18 13:44:49 +0000
commit8ba9da3887a3d3030f4c85f2d148279c9bba012a (patch)
tree345e041f2c21e199ae76d0f1da2828695557a87d /community/crystal/tests-libressl.patch
parentfa82fcd9c616841057826c7051270502a9e3ddab (diff)
downloadaports-8ba9da3887a3d3030f4c85f2d148279c9bba012a.tar.bz2
aports-8ba9da3887a3d3030f4c85f2d148279c9bba012a.tar.xz
community/crystal upgrade to 0.27.0, remove libressl
upgrade to 0.27.0 version build with openssl instead of libressl remove paxmark build dependence fix test specs according to advice from upstream
Diffstat (limited to 'community/crystal/tests-libressl.patch')
-rw-r--r--community/crystal/tests-libressl.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/community/crystal/tests-libressl.patch b/community/crystal/tests-libressl.patch
deleted file mode 100644
index 9513c122c5..0000000000
--- a/community/crystal/tests-libressl.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Hacks needed to make tests pass on LibreSSL.
-
---- a/spec/std/openssl/ssl/context_spec.cr
-+++ b/spec/std/openssl/ssl/context_spec.cr
-@@ -194,13 +194,13 @@
- expect_raises(ArgumentError, "missing private key") do
- OpenSSL::SSL::Context::Client.from_hash({} of String => String)
- end
-- expect_raises(OpenSSL::Error, "SSL_CTX_use_PrivateKey_file: error:02001002:system library:fopen:No such file or directory") do
-+ expect_raises(OpenSSL::Error, "SSL_CTX_use_PrivateKey_file: error:02FFF002:system library:func(4095):No such file or directory") do
- OpenSSL::SSL::Context::Client.from_hash({"key" => "foo"})
- end
- expect_raises(ArgumentError, "missing certificate") do
- OpenSSL::SSL::Context::Client.from_hash({"key" => private_key})
- end
-- expect_raises(OpenSSL::Error, "SSL_CTX_use_certificate_chain_file: error:02001002:system library:fopen:No such file or directory") do
-+ expect_raises(OpenSSL::Error, "SSL_CTX_use_certificate_chain_file: error:02FFF002:system library:func(4095):No such file or directory") do
- OpenSSL::SSL::Context::Client.from_hash({"key" => private_key, "cert" => "foo"})
- end
- expect_raises(ArgumentError, "Invalid SSL context: missing CA certificate") do
-@@ -212,7 +212,7 @@
- expect_raises(ArgumentError, "Invalid SSL context: missing CA certificate") do
- OpenSSL::SSL::Context::Client.from_hash({"key" => private_key, "cert" => certificate, "verify_mode" => "peer"})
- end
-- expect_raises(OpenSSL::Error, "SSL_CTX_load_verify_locations: error:02001002:system library:fopen:No such file or directory") do
-+ expect_raises(OpenSSL::Error, "SSL_CTX_load_verify_locations: error:02FFF002:system library:func(4095):No such file or directory") do
- OpenSSL::SSL::Context::Client.from_hash({"key" => private_key, "cert" => certificate, "ca" => "foo"})
- end
- end