diff options
author | Cem Keylan <cem@ckyln.com> | 2022-12-08 16:38:17 +0100 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-12-08 16:38:17 +0100 |
commit | 13247c931a3088db6e93a636e9f54df305ccca13 (patch) | |
tree | 5557cb35cbdac35a6b44af1f59ddd097b0ea1a2e /extra/ruby | |
parent | f5f3e7a7ca7d75a6e24291d621f977e529c9fae2 (diff) | |
download | repository-13247c931a3088db6e93a636e9f54df305ccca13.tar.gz |
ruby: bump to 3.1.3
Diffstat (limited to 'extra/ruby')
-rwxr-xr-x | extra/ruby/build | 32 | ||||
-rw-r--r-- | extra/ruby/checksums | 2 | ||||
-rw-r--r-- | extra/ruby/sources | 2 | ||||
-rw-r--r-- | extra/ruby/version | 2 |
4 files changed, 35 insertions, 3 deletions
diff --git a/extra/ruby/build b/extra/ruby/build index 9e60677f..aedc8a2a 100755 --- a/extra/ruby/build +++ b/extra/ruby/build @@ -3,6 +3,38 @@ # There is a problem with the archive format so we can't extract it with pax. busybox tar -xJ --strip-components 1 -f "ruby-$2.tar.xz?no_extract" +# This build problem occurs in the latest libressl series, I don't exactly know +# if this is an issue with ruby or libressl, so below here is an absolute hack. +clsed '/#include "ossl.h"/r /dev/stdin' ext/openssl/ossl_pkey.c <<EOF +struct evp_pkey_st { + int type; + int save_type; + int references; + const EVP_PKEY_ASN1_METHOD *ameth; + ENGINE *engine; + union { + char *ptr; +#ifndef OPENSSL_NO_RSA + struct rsa_st *rsa; /* RSA */ +#endif +#ifndef OPENSSL_NO_DSA + struct dsa_st *dsa; /* DSA */ +#endif +#ifndef OPENSSL_NO_DH + struct dh_st *dh; /* DH */ +#endif +#ifndef OPENSSL_NO_EC + struct ec_key_st *ec; /* ECC */ +#endif +#ifndef OPENSSL_NO_GOST + struct gost_key_st *gost; /* GOST */ +#endif + } pkey; + int save_parameters; + STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */ +} /* EVP_PKEY */; +EOF + ./configure \ --prefix=/usr \ --enable-shared \ diff --git a/extra/ruby/checksums b/extra/ruby/checksums index 599f7da9..66f7fb20 100644 --- a/extra/ruby/checksums +++ b/extra/ruby/checksums @@ -1,2 +1,2 @@ %BLAKE3 -c409bd218182deee2f7266b1354661ea5c3c09e44a1c1902742d235098f5a185 ruby-3.1.2.tar.xz?no_extract +11b97c1a2534fb8d200de8a403c001b1a8ca63cff282c2cf05e2e8716a3067ca ruby-3.1.3.tar.xz?no_extract diff --git a/extra/ruby/sources b/extra/ruby/sources index 4ee9c150..89329a58 100644 --- a/extra/ruby/sources +++ b/extra/ruby/sources @@ -1 +1 @@ -https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.xz?no_extract +https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.3.tar.xz?no_extract diff --git a/extra/ruby/version b/extra/ruby/version index 093f0d70..99998a17 100644 --- a/extra/ruby/version +++ b/extra/ruby/version @@ -1 +1 @@ -3.1.2 1 +3.1.3 1 |