Go to file
Vít Ondruch c7513cd67c Bundle OpenSSL into StdLib.
Symlinks to StdLib provided to preserve `--disable-gems` functionality
together with `require_relative` cause double loading issues [1], e.g.:

~~~
$ ruby --disable-gems -e 'require "openssl"; require "openssl/digest"'
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::MD4
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of MD4 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::MD5
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of MD5 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::RIPEMD160
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of RIPEMD160 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA1
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA1 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA224
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA224 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA256
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA256 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA384
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA384 was here
/usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA512
/usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA512 was here
/usr/share/ruby/openssl/digest.rb:52:in `<class:Digest>': superclass mismatch for class Digest (TypeError)
	from /usr/share/ruby/openssl/digest.rb:16:in `<module:OpenSSL>'
	from /usr/share/ruby/openssl/digest.rb:15:in `<top (required)>'
	from -e:1:in `require'
	from -e:1:in `<main>'
~~~

We could maintain a downstream patch reverting the `require_relative`,
but given that how much troubles the extracted gems cause, it'll be
better to keep them bundled. This will provide similar experience to
upstream and prevent similar issues.

[1]: https://bugs.ruby-lang.org/issues/16978#note-11
2021-01-26 11:57:47 +01:00
.gitignore Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
libruby.stp Add TapSet for Ruby. 2013-02-22 14:17:04 +01:00
macros.ruby Add %{ruby_default_filter} macro. 2013-04-30 14:42:13 +02:00
macros.rubygems Add %{gem_plugin} convenience macro. 2021-01-06 14:26:09 +01:00
operating_system.rb Fix: return default path with nonexistent home dir 2018-10-23 13:12:19 +02:00
ruby-1.9.3-mkmf-verbose.patch Upgrade to Ruby 2.7.0. 2020-01-15 16:26:13 +01:00
ruby-2.1.0-always-use-i386.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.1.0-custom-rubygems-location.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.3.0-ruby_version.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.7.0-Initialize-ABRT-hook.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
ruby-3.0.0-Dont-try-to-clear-cache-on-garbage-objects.patch Fix SEGFAULT in rubygem-shoulda-matchers test suite. 2021-01-16 11:44:56 +01:00
ruby-3.0.0-Fixed-dangling-imemo_tmpbuf.patch Rename patch to the correct name. 2021-01-08 16:14:30 +01:00
ruby-exercise.stp Add missing ruby-exercise.stp file. 2013-02-22 14:17:53 +01:00
ruby.spec Bundle OpenSSL into StdLib. 2021-01-26 11:57:47 +01:00
rubygems.attr Add conflicts RPM generator. 2018-02-13 13:50:15 +01:00
rubygems.con Add conflicts RPM generator. 2018-02-13 13:50:15 +01:00
rubygems.prov Upgrade to Ruby 2.6.0. 2019-01-17 08:31:01 +01:00
rubygems.req Extract composition of dependecy strings into helper. 2019-01-24 10:38:43 +01:00
sources Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
test_abrt.rb Move the ABRT hook test into separate file. 2015-12-13 19:36:58 +01:00
test_systemtap.rb Upgrade to Ruby 2.4.0. 2017-01-09 15:58:21 +01:00