This updates rack to the latest release. CHANGELOG: https://github.com/rack/rack/blob/master/CHANGELOG.md
The gem no longer ships with tests, so remove the test related code. Tested with my apps on amd64. I checked the other ruby ports that depend on rack and they all build. Will be committing in a couple days unless I hear objections. Thanks, Jeremy Index: Makefile =================================================================== RCS file: /cvs/ports/www/ruby-rack/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile 24 Dec 2019 00:22:26 -0000 1.26 +++ Makefile 5 Oct 2020 19:08:40 -0000 @@ -2,7 +2,7 @@ COMMENT= modular Ruby webserver interface -DISTNAME= rack-2.0.8 +DISTNAME= rack-2.2.3 CATEGORIES= www HOMEPAGE= http://rack.github.io/ @@ -15,8 +15,5 @@ PERMIT_PACKAGE= Yes MODULES= lang/ruby CONFIGURE_STYLE= ruby gem - -MODRUBY_TEST= testrb -MODRUBY_TEST_TARGET= test/spec_*.rb .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/www/ruby-rack/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 24 Dec 2019 00:22:26 -0000 1.14 +++ distinfo 5 Oct 2020 19:08:40 -0000 @@ -1,2 +1,2 @@ -SHA256 (rack-2.0.8.gem) = +YFx+zDhBJUKvh6fuXwXfYu1ZD3WSbwu2DeGTrWWoMU= -SIZE (rack-2.0.8.gem) = 256000 +SHA256 (rack-2.2.3.gem) = Jjjn62aJpXJcfhbzDMSqTjFpTcPKMNeQlSUmeBvQu0Q= +SIZE (rack-2.2.3.gem) = 151040 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/ruby-rack/pkg/PLIST,v retrieving revision 1.11 diff -u -p -r1.11 PLIST --- pkg/PLIST 14 Nov 2017 17:10:18 -0000 1.11 +++ pkg/PLIST 5 Oct 2020 19:08:40 -0000 @@ -2,11 +2,12 @@ ${GEM_BIN}/rackup${GEM_BIN_SUFFIX} ${GEM_LIB}/cache/${DISTNAME}.gem ${GEM_LIB}/gems/${DISTNAME}/ -${GEM_LIB}/gems/${DISTNAME}/COPYING -${GEM_LIB}/gems/${DISTNAME}/HISTORY.md +${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md +${GEM_LIB}/gems/${DISTNAME}/CONTRIBUTING.md +${GEM_LIB}/gems/${DISTNAME}/MIT-LICENSE ${GEM_LIB}/gems/${DISTNAME}/README.rdoc ${GEM_LIB}/gems/${DISTNAME}/Rakefile -${GEM_LIB}/gems/${DISTNAME}/SPEC +${GEM_LIB}/gems/${DISTNAME}/SPEC.rdoc ${GEM_LIB}/gems/${DISTNAME}/bin/ ${GEM_LIB}/gems/${DISTNAME}/bin/rackup ${GEM_LIB}/gems/${DISTNAME}/contrib/ @@ -40,11 +41,14 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/rack/con ${GEM_LIB}/gems/${DISTNAME}/lib/rack/config.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/content_length.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/content_type.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rack/core_ext/ +${GEM_LIB}/gems/${DISTNAME}/lib/rack/core_ext/regexp.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/deflater.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/directory.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/etag.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/events.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/file.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rack/files.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/handler/ ${GEM_LIB}/gems/${DISTNAME}/lib/rack/handler.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/handler/cgi.rb @@ -89,136 +93,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/rack/sta ${GEM_LIB}/gems/${DISTNAME}/lib/rack/tempfile_reaper.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/urlmap.rb ${GEM_LIB}/gems/${DISTNAME}/lib/rack/utils.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rack/version.rb ${GEM_LIB}/gems/${DISTNAME}/rack.gemspec -${GEM_LIB}/gems/${DISTNAME}/test/ -${GEM_LIB}/gems/${DISTNAME}/test/builder/ -${GEM_LIB}/gems/${DISTNAME}/test/builder/an_underscore_app.rb -${GEM_LIB}/gems/${DISTNAME}/test/builder/anything.rb -${GEM_LIB}/gems/${DISTNAME}/test/builder/comment.ru -${GEM_LIB}/gems/${DISTNAME}/test/builder/end.ru -${GEM_LIB}/gems/${DISTNAME}/test/builder/line.ru -${GEM_LIB}/gems/${DISTNAME}/test/builder/options.ru -${GEM_LIB}/gems/${DISTNAME}/test/cgi/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/folder/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/folder/test.js -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/fonts/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/fonts/font.eot -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/images/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/images/image.png -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/index.html -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/javascripts/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/javascripts/app.js -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/stylesheets/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/assets/stylesheets/app.css -${GEM_LIB}/gems/${DISTNAME}/test/cgi/lighttpd.conf -${GEM_LIB}/gems/${DISTNAME}/test/cgi/rackup_stub.rb -${GEM_LIB}/gems/${DISTNAME}/test/cgi/sample_rackup.ru -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test+directory/ -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test+directory/test+file -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test.fcgi -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test.gz -${GEM_LIB}/gems/${DISTNAME}/test/cgi/test.ru -${GEM_LIB}/gems/${DISTNAME}/test/gemloader.rb -${GEM_LIB}/gems/${DISTNAME}/test/helper.rb -${GEM_LIB}/gems/${DISTNAME}/test/multipart/ -${GEM_LIB}/gems/${DISTNAME}/test/multipart/bad_robots -${GEM_LIB}/gems/${DISTNAME}/test/multipart/binary -${GEM_LIB}/gems/${DISTNAME}/test/multipart/content_type_and_no_filename -${GEM_LIB}/gems/${DISTNAME}/test/multipart/empty -${GEM_LIB}/gems/${DISTNAME}/test/multipart/fail_16384_nofile -${GEM_LIB}/gems/${DISTNAME}/test/multipart/file1.txt -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_and_modification_param -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_and_no_name -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_encoded_words -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_escaped_quotes -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_escaped_quotes_and_modification_param -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_null_byte -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_percent_escaped_quotes -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_single_quote -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_unescaped_percentages -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_unescaped_percentages2 -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_unescaped_percentages3 -${GEM_LIB}/gems/${DISTNAME}/test/multipart/filename_with_unescaped_quotes -${GEM_LIB}/gems/${DISTNAME}/test/multipart/ie -${GEM_LIB}/gems/${DISTNAME}/test/multipart/invalid_character -${GEM_LIB}/gems/${DISTNAME}/test/multipart/mixed_files -${GEM_LIB}/gems/${DISTNAME}/test/multipart/nested -${GEM_LIB}/gems/${DISTNAME}/test/multipart/none -${GEM_LIB}/gems/${DISTNAME}/test/multipart/quoted -${GEM_LIB}/gems/${DISTNAME}/test/multipart/rack-logo.png -${GEM_LIB}/gems/${DISTNAME}/test/multipart/semicolon -${GEM_LIB}/gems/${DISTNAME}/test/multipart/text -${GEM_LIB}/gems/${DISTNAME}/test/multipart/three_files_three_fields -${GEM_LIB}/gems/${DISTNAME}/test/multipart/unity3d_wwwform -${GEM_LIB}/gems/${DISTNAME}/test/multipart/webkit -${GEM_LIB}/gems/${DISTNAME}/test/rackup/ -${GEM_LIB}/gems/${DISTNAME}/test/rackup/config.ru -${GEM_LIB}/gems/${DISTNAME}/test/registering_handler/ -${GEM_LIB}/gems/${DISTNAME}/test/registering_handler/rack/ -${GEM_LIB}/gems/${DISTNAME}/test/registering_handler/rack/handler/ -${GEM_LIB}/gems/${DISTNAME}/test/registering_handler/rack/handler/registering_myself.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_auth_basic.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_auth_digest.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_body_proxy.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_builder.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_cascade.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_cgi.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_chunked.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_common_logger.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_conditional_get.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_config.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_content_length.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_content_type.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_deflater.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_directory.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_etag.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_events.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_fastcgi.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_file.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_handler.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_head.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_lint.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_lobster.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_lock.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_logger.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_media_type.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_method_override.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_mime.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_mock.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_multipart.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_null_logger.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_recursive.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_request.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_response.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_rewindable_input.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_runtime.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_sendfile.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_server.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_session_abstract_id.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_session_abstract_session_hash.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_session_cookie.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_session_memcache.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_session_pool.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_show_exceptions.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_show_status.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_static.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_tempfile_reaper.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_thin.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_urlmap.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_utils.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_version.rb -${GEM_LIB}/gems/${DISTNAME}/test/spec_webrick.rb -${GEM_LIB}/gems/${DISTNAME}/test/static/ -${GEM_LIB}/gems/${DISTNAME}/test/static/another/ -${GEM_LIB}/gems/${DISTNAME}/test/static/another/index.html -${GEM_LIB}/gems/${DISTNAME}/test/static/foo.html -${GEM_LIB}/gems/${DISTNAME}/test/static/index.html -${GEM_LIB}/gems/${DISTNAME}/test/testrequest.rb -${GEM_LIB}/gems/${DISTNAME}/test/unregistered_handler/ -${GEM_LIB}/gems/${DISTNAME}/test/unregistered_handler/rack/ -${GEM_LIB}/gems/${DISTNAME}/test/unregistered_handler/rack/handler/ -${GEM_LIB}/gems/${DISTNAME}/test/unregistered_handler/rack/handler/unregistered.rb -${GEM_LIB}/gems/${DISTNAME}/test/unregistered_handler/rack/handler/unregistered_long_one.rb ${GEM_LIB}/specifications/${DISTNAME}.gemspec