port /usr/ports/security/whatweb >whatweb 81.12.18.19 /usr/local/lib/ruby/site_ruby/2.1/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- md5 (LoadError) from /usr/local/lib/ruby/site_ruby/2.1/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/local/bin/whatweb:55:in `<main>'
Created attachment 156354 [details] Patch to just to runtime issues with Ruby 2.1
For submitter, To fix this runtime issue with Ruby 2.1, there are two lines of code that must change. See the project's github link: https://github.com/urbanadventurer/WhatWeb/commit/0f8772651a60f1d80b94cd94cc72c751f7cfdaf3 For maintainer, For now, patch attached to just add the fix for the runtime issue. Jason
Created attachment 156357 [details] Patch to update to latest version and modernize port Changes: - Update to 7d0256b from upstream git to resolve runtime issues with Ruby 2.1 - Remove deprecated GH_COMMIT and use just GH_TAGNAME - Set NO_ARCH=yes
Created attachment 156358 [details] Poudriere testport build logs from 10.1-RELEASE amd64
For rm@ (added to CC), Patch attached to just fix the issue. However, the second patch may be preferred as that fixes the issue by updating to the latest from upstream git. That follows the precedence set a while back for compatibility with newer Ruby. The port was also modernized as well per Poudriere testport warnings and is now Poudriere warnings clean. Jason
Created attachment 156360 [details] Patch to update to latest version and modernize port Changes: - Update to 7d0256b from upstream git to resolve runtime issues with Ruby 2.1 - Remove deprecated GH_COMMIT and use just GH_TAGNAME - Set NO_ARCH=yes
Created attachment 156361 [details] Poudriere testport build logs from 10.1-RELEASE amd64 Missed GH_COMMIT in DISTVERSION on first patch. Fixed and updated patch and testport log.
My port
A commit references this bug: Author: rm Date: Tue May 5 16:14:05 UTC 2015 New revision: 385477 URL: https://svnweb.freebsd.org/changeset/ports/385477 Log: security/whatweb: update to latest github revision - update to latest github revision unbreaking runtime with ruby21 - adopt github infrastructure changes - add LICENSE_FILE - PORTREVISION bump was added to leverage versioning scheme change PR: 199257 Submitted by: jason.unovitch@gmail.com Changes: head/security/whatweb/Makefile head/security/whatweb/distinfo head/security/whatweb/pkg-plist
Committed, thank you!
rm@, Thanks for the quick fix. Grabbed it from the freebsd-ports-bugs pool and was about 80% done before looking at the maintainer and realizing what happened. For original submitter, Use something like 'security/whatweb' at the start of the PR and it will get routed to the right person when you open it. Should be quicker that way. Hope this resolves all the issues you had. Jason
Yes, that was the reason why I didn't saw that PR in first place.