File whatweb.patch of Package whatweb
diff --color -ruN whatweb-0.5.5-orig/Gemfile whatweb-0.5.5/Gemfile
--- whatweb-0.5.5-orig/Gemfile 2021-04-28 15:54:41.393741501 +0200
+++ whatweb-0.5.5/Gemfile 2021-04-28 17:58:16.139745404 +0200
@@ -25,19 +25,3 @@
group :rchardet do
#gem 'rchardet'
end
-
-# Development dependencies required for tests
-group :test do
- gem 'rake'
- gem 'minitest'
- gem 'rubocop'
- gem 'rdoc'
- gem 'bundler-audit'
- gem 'simplecov', require: false
-end
-
-# Needed for debugging WhatWeb
-group :development do
- gem 'pry', :require => false
- gem 'rb-readline', :require => false # needed by pry on some systems
-end
diff --color -ruN whatweb-0.5.5-orig/Makefile whatweb-0.5.5/Makefile
--- whatweb-0.5.5-orig/Makefile 2021-01-15 15:48:22.000000000 +0100
+++ whatweb-0.5.5/Makefile 2021-04-28 18:05:26.968444381 +0200
@@ -34,9 +34,8 @@
cp -p -r my-plugins $(DESTDIR)$(LIBPATH)/$(NAME)/
cp -p -r plugins-disabled plugins lib plugin-development addons $(DESTDIR)$(LIBPATH)/$(NAME)/
cp -p -r CHANGELOG.md INSTALL.md LICENSE README.md whatweb.xsl $(DESTDIR)$(DOCPATH)/$(NAME)/
- bundle install
+ #bundle install --local
clean:
# clean will remove your my-plugins folder. be warned
rm -Rf $(DESTDIR)$(BINPATH)/$(NAME) $(DESTDIR)$(MANPATH)/man1/$(NAME).1 $(DESTDIR)$(MANPATH)/man1/$(NAME).1.gz $(DESTDIR)$(LIBPATH)/$(NAME) $(DESTDIR)$(DOCPATH)/$(NAME)
-
diff --color -ruN whatweb-0.5.5-orig/plugin-development/find-common-stuff whatweb-0.5.5/plugin-development/find-common-stuff
--- whatweb-0.5.5-orig/plugin-development/find-common-stuff 2021-01-15 15:48:22.000000000 +0100
+++ whatweb-0.5.5/plugin-development/find-common-stuff 2021-04-28 17:58:16.139745404 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
# helper for plugin research
# identify common tags, paths / quoted text in tags, link text
# add paths, truncated paths
diff --color -ruN whatweb-0.5.5-orig/plugin-development/get-pattern whatweb-0.5.5/plugin-development/get-pattern
--- whatweb-0.5.5-orig/plugin-development/get-pattern 2021-01-15 15:48:22.000000000 +0100
+++ whatweb-0.5.5/plugin-development/get-pattern 2021-04-28 17:58:16.139745404 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
# Page Pattern Generator
# Aung Khant, http://yehg.net
diff --color -ruN whatweb-0.5.5-orig/plugin-development/migrate-plugins-to-v0.5.rb whatweb-0.5.5/plugin-development/migrate-plugins-to-v0.5.rb
--- whatweb-0.5.5-orig/plugin-development/migrate-plugins-to-v0.5.rb 2021-01-15 15:48:22.000000000 +0100
+++ whatweb-0.5.5/plugin-development/migrate-plugins-to-v0.5.rb 2021-04-28 17:58:16.139745404 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
#
# Convert Plugins from the old format to the new format.
# Andrew Horton
diff --color -ruN whatweb-0.5.5-orig/whatweb whatweb-0.5.5/whatweb
--- whatweb-0.5.5-orig/whatweb 2021-01-15 15:48:22.000000000 +0100
+++ whatweb-0.5.5/whatweb 2021-04-28 17:58:16.139745404 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby
#
# .$$$ $. .$$$ $.
# $$$$ $$. .$$$ $$$ .$$$$$$. .$$$$$$$$$$. $$$$ $$. .$$$$$$$. .$$$$$$.