wok-current rev 25717
Patch ruby to be use openssl 3.x
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 18:19:03 2024 +0000 (5 months ago) |
parents | 5f3c47fa6c89 |
children | 32e3c1d2f33d |
files | ruby/receipt |
line diff
1.1 --- a/ruby/receipt Fri Jun 14 14:46:05 2024 +0000 1.2 +++ b/ruby/receipt Fri Jun 14 18:19:03 2024 +0000 1.3 @@ -42,7 +42,21 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - #patch -Np1 < $stuff/openssl-1.0.patch 1.8 + # thanks magiruuvelvet for workaround to use ruby 2.x with openssl 3.x 1.9 + # see https://github.com/magiruuvelvet/alpine-ruby-2.7-openssl3 1.10 + patch -Np1 < $stuff/openssl-3.0.patch 1.11 + 1.12 + mkdir build && cd build 1.13 + wget https://github.com/ruby/openssl/archive/refs/tags/v3.2.0.tar.gz 1.14 + tar xf v3.2.0.tar.gz 1.15 + cd .. 1.16 + 1.17 + rm -rf ext/openssl test/openssl 1.18 + mv build/openssl-3.2.0/ext/openssl ext 1.19 + mv build/openssl-3.2.0/lib ext/openssl 1.20 + mv build/openssl-3.2.0/History.md ext/openssl 1.21 + mv build/openssl-3.2.0/openssl.gemspec ext/openssl 1.22 + mv build/openssl-3.2.0/test/openssl test 1.23 1.24 ./configure \ 1.25 --prefix=/usr \