From owner-freebsd-ruby@freebsd.org Mon Jan 30 09:17:10 2017 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58175CC630E for ; Mon, 30 Jan 2017 09:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 41700192E for ; Mon, 30 Jan 2017 09:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3DC1FCC630B; Mon, 30 Jan 2017 09:17:10 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D63ACC6309 for ; Mon, 30 Jan 2017 09:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1309E192C for ; Mon, 30 Jan 2017 09:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0U9H9eo034456 for ; Mon, 30 Jan 2017 09:17:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 212420] [PATCH] net/foreman-proxy: update to 1.12.2 Date: Mon, 30 Jan 2017 09:17:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Karli.Sjoberg@slu.se X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2017 09:17:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212420 --- Comment #10 from Karli Sj=C3=B6berg --- OK, so I answered my own question; I modified rubygem-sinatra as in this "rubygem-sinatra.patch", which built and installed just fine. It was also possible to start the foreman-proxy service. Sadly, sinatra really is incompatible with rack-2.0 as it errors out trying to add the proxy in fore= man: E, [2017-01-30T10:07:06.933036 #1301] ERROR -- : undefined method `bytesize' for Rack::Utils:Module (NoMethodError) /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/show_exceptions= .rb:47:in `rescue in call' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/show_exceptions= .rb:25:in `call' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize' /usr/local/lib/ruby/gems/2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call' /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:68:in `bloc= k in call' /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:53:in `each' /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/urlmap.rb:53:in `call' /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:153:in `ca= ll' /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86= :in `service' /usr/local/lib/ruby/2.2/webrick/httpserver.rb:138:in `service' /usr/local/lib/ruby/2.2/webrick/httpserver.rb:94:in `run' /usr/local/lib/ruby/2.2/webrick/server.rb:294:in `block in start_thread' Best Regards Karli Sj=C3=B6berg --=20 You are receiving this mail because: You are the assignee for the bug.=