[Bug 283806] www/rubygem-rack-protection2: fix runtime dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jan 2025 21:59:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283806

            Bug ID: 283806
           Summary: www/rubygem-rack-protection2: fix runtime dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: freebsd@moov.de
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 256359
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256359&action=edit
patch for port www/rubygem-rack-protection2

rack-protection2 should depend on rack22, not rack 3. Otherwise
www/rubygem-sinatra2 stops working:

/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:2245:in
`raise_if_conflicts':
Unable to activate sinatra-2.2.4, because rack-3.0.11 conflicts with rack (~>
2.2) (Gem::ConflictError)

The attached patch fixes this by changing the runtime dependency accordingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.