diff options
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/Manifest.gz | bin | 4714 -> 4714 bytes | |||
-rw-r--r-- | www-servers/puma/Manifest | 2 | ||||
-rw-r--r-- | www-servers/puma/puma-6.3.1.ebuild | 67 |
3 files changed, 69 insertions, 0 deletions
diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz Binary files differindex f1b6fec249cb..cf35a6b48265 100644 --- a/www-servers/Manifest.gz +++ b/www-servers/Manifest.gz diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest index 706858849fce..18c62fe88939 100644 --- a/www-servers/puma/Manifest +++ b/www-servers/puma/Manifest @@ -2,8 +2,10 @@ DIST puma-5.6.5.tar.gz 314953 BLAKE2B 2aca92ff3d32995be8f05b626c2299c07f8665f345 DIST puma-6.1.1.tar.gz 355892 BLAKE2B 025d8303f01dc09dfc9e15395cbd2a5507b3f578dcd3b22cf0985ca760ed304b2eb1b0f4c442efc542f3261f7300143bf5264bab5543360d1cb07eb0aa3e52d5 SHA512 76988e75110124dcac589fcd01b46ae659e37b7dc2e6901c8d88b3b20ab188c8e6cdefb114f73c9ce829581d5723392d52a8059485ab7c31b77c65204554ac60 DIST puma-6.2.2.tar.gz 358383 BLAKE2B aeea4410eb6b20f294131aa107d4d19ca19bea5a3447cee59250be151b5b8046feae2e2e096f40fade6ac81a6b630cf72608b1c6c76cf05c18be4e81c6f6e143 SHA512 b9eabec30761873d628acfff259cf4e5c55dbda735ecb871b0c6e3607930a96f55fe1ad4df58954b8d0b11995762b4918f47e930ae48ebc9557fdc0182a3db8d DIST puma-6.3.0.tar.gz 365128 BLAKE2B 4db46fd2bcb3a6766582294cdc7f0bd0e2585da12999ec3091d942946f1f6a3e95272834323ab8efe594d7852f78ef9ee0f5f549cd92bbe086fc5ee2d25b914f SHA512 74c4a58cceac016d0ccfef1312e31208b665e1a88d18dabc1018df26466b626fd85666042f1bcb416650dfb4f9779390b2f9b1fcd83c25816221b05eac8f25f8 +DIST puma-6.3.1.tar.gz 365566 BLAKE2B 4112406abb05569d8dcaf60826e66ef96ea3cae0639f00b750080fecab6bb86d9fcd1533f15aeae4ffe69a15a103c875e5c73b987cc638e895ff719c6699f310 SHA512 9b7521fa85e50503dcb5b425c7f73909162c6634ae0ada963f93eb82804300637125f159a94166b2446283d092c9dcfa10ccf79a0deabca16a1b27c0d3a37a2f EBUILD puma-5.6.5.ebuild 1861 BLAKE2B 9fccd5ac7b24e5de70a7684621895ab5a0033c65d08a0879b831cb527696d3cdc65ffec4b8867b27b85fc3d66813b2e68594d9ef47f7bc90d9d8d447c0c5aa75 SHA512 d8a8f5a37c984531326b907dddca82514790637e9778d4c1c5d0adebf3bb3fbd49b3a17796888c349e1d0fa0e5de336e2b9310f368ea6fd02f0ab70e09badd1d EBUILD puma-6.1.1-r1.ebuild 2054 BLAKE2B 13795ef5ee9663509e07745737b12a5fb53ada23c5a35bed89e2ef6597f63b6cf0e4d76c51517fe1dea1962499b6fc286da7b6e0bc871d747845245cede3c885 SHA512 207c7be17c589935611b9a13506d31d406ce6126af64e2e45bb8537c820ff140cab1579f044772c34768506f3fbd29e4334086ee306bc472eb3f0dc9172a6e90 EBUILD puma-6.2.2.ebuild 1998 BLAKE2B 7e0edccf630c75b4da696d6331707ff0901d710997984bd862413f5b7c8a56ee3f6ec05f6ebd431ae0582a451afc1e7a0c19df4b633b87855418ab903ebc0925 SHA512 cbfb0a8fd27fc16b09b3131988ff65f047377f5c4bc1f2becc073801a215031f14e2931d47646ceee79b4565530f987f57d050bb65691e9a21a01b33325d17db EBUILD puma-6.3.0.ebuild 2000 BLAKE2B 8a6fa210435f6ac52efea34f18fac6b820040c649a10934fd338e5af9e2b39d7512909f7328da77043e2a05ee4a5c1e8b58900c7edda6317245256c14948472b SHA512 61c94c011fbbe2d1624fa6fe38f70fbc71bce3b224a5e5de21198740271a2970fa45d42769e5789a94cedfecca2b4ed1e514f9052e1f2984165b240b59a0fb74 +EBUILD puma-6.3.1.ebuild 2165 BLAKE2B 63cf1429bb3bf6e4a108defa7dd2ff3ad6fd8031c94060af4e480e1ed08d1876e1a957355903fa472c3e46be4decb20c61de02fa6a1b7250cb7a23057e0c5a04 SHA512 fd827b7fc2603baa1f24bde264f7ab953d318f6597c54e6b756fd1e1ed716ab23eaef6121a5d75f5e0739cb86ef0e0545f6aa9f030820c67f49b1a7a3e2a13af MISC metadata.xml 710 BLAKE2B bf109653812999e453fb414a83bf404786d16df301ba9dff87c123e0f1dbff8e3024109e96b7f36a3d9e1ebe57eb7aecc7acfd923f0de1bc8c4f358a87b32379 SHA512 894c677c61b3c7f8081b1511c64c274497c4ea85171f5b19d9606a19e4dff33df00d169653e3aede3eee07737b1cf9faadb812eebcf67292be68150c026b7f8e diff --git a/www-servers/puma/puma-6.3.1.ebuild b/www-servers/puma/puma-6.3.1.ebuild new file mode 100644 index 000000000000..0931b58f74a3 --- /dev/null +++ b/www-servers/puma/puma-6.3.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_GEMSPEC="puma.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/puma_http11/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/puma + +inherit ruby-fakegem + +DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack" +HOMEPAGE="https://puma.io/" +SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" +RDEPEND+=" dev-libs/openssl:0=" + +ruby_add_bdepend "virtual/ruby-ssl + test? ( dev-ruby/localhost dev-ruby/rack:2.2 >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" + +ruby_add_rdepend "dev-ruby/nio4r:2" + +all_ruby_prepare() { + sed -e '/bundler/ s:^:#:' \ + -e '/prove/ s:^:#:' \ + -e '/stub_const/ s:^:#:' \ + -i test/helper.rb || die + + # Avoid tests failing inconsistently + sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die + + # Avoid tests depending on specific encoding + sed -i -e '/test_lowlevel_error_handler_response/askip "specific encoding required"' test/test_puma_server.rb || die + + # Avoid launcher tests since they make assumptions about bundler use + rm -f test/test_launcher.rb test/test_worker_gem_independence.rb test/test_bundle_pruner.rb || die + + # Skip integration tests since they make a lot of assumptions about + # the environment + rm -f test/test_integration_* test/test_preserve_bundler_env.rb|| die + + # Avoid test that uses unpackaged stub_const + sed -i -e '/test_shutdown_with_grace/,/^ end/ s:^:#:' test/test_thread_pool.rb || die + + # Tries to call 'rackup' directly + sed -i -e '/def test_bin/,/^ end/ s:^:#:' test/test_rack_handler.rb || die + + sed -e 's/git ls-files --/find/' \ + -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + einfo "Running test suite" + PUMA_CI_RACK_2=true \ + ${RUBY} -Ilib:.:test \ + -e "gem 'rack', '<3'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{require _1}" || die +} |