git: 2fa5f1f17f6e - main - www/redmine42: Update to 4.2.9

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 14 Dec 2022 19:00:42 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fa5f1f17f6e21c4ee779910782aadd8defd2af1

commit 2fa5f1f17f6e21c4ee779910782aadd8defd2af1
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-12-14 18:52:36 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-12-14 19:00:27 +0000

    www/redmine42: Update to 4.2.9
    
    Changes: https://www.redmine.org/projects/redmine/wiki/Changelog_4_2
---
 www/redmine42/Makefile            |  2 +-
 www/redmine42/distinfo            |  6 +++---
 www/redmine42/files/patch-Gemfile | 28 ++++++++++++++--------------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/www/redmine42/Makefile b/www/redmine42/Makefile
index bac5d14e09c5..5435ce4ce5fa 100644
--- a/www/redmine42/Makefile
+++ b/www/redmine42/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	redmine
-PORTVERSION=	4.2.8
+PORTVERSION=	4.2.9
 CATEGORIES=	www
 MASTER_SITES=	https://www.redmine.org/releases/
 PKGNAMESUFFIX=	42
diff --git a/www/redmine42/distinfo b/www/redmine42/distinfo
index 4b4b1e00903d..972ecb41f8d9 100644
--- a/www/redmine42/distinfo
+++ b/www/redmine42/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666405749
-SHA256 (redmine-4.2.8.tar.gz) = 0b431c052d8fd36b93201dafaf3615cdb8d03460efcf2400e7d32662b2ab6272
-SIZE (redmine-4.2.8.tar.gz) = 3043322
+TIMESTAMP = 1671040311
+SHA256 (redmine-4.2.9.tar.gz) = d38741345f6efd10c079898093b259d8dc4dcd8e41dfc4f64649685ae7a8cb1e
+SIZE (redmine-4.2.9.tar.gz) = 3043566
diff --git a/www/redmine42/files/patch-Gemfile b/www/redmine42/files/patch-Gemfile
index b0ec7315fe0e..47ca27fa0ea4 100644
--- a/www/redmine42/files/patch-Gemfile
+++ b/www/redmine42/files/patch-Gemfile
@@ -27,15 +27,17 @@
  gem "rbpdf", "~> 1.20.0"
  gem 'addressable'
  gem 'rubyzip', '~> 2.3.0'
-@@ -45,68 +45,6 @@ end
+@@ -45,75 +45,11 @@ end
    gem "rack-openid"
  end
  
 -# Optional gem for exporting the gantt to a PNG file
 -group :minimagick do
 -  gem 'mini_magick', '~> 4.11.0'
--end
--
++Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
++  self.instance_eval(Bundler.read_file(bundle))
+ end
+ 
 -# Optional Markdown support, not for JRuby
 -group :markdown do
 -  gem 'redcarpet', '~> 3.5.1'
@@ -79,13 +81,14 @@
 -
 -group :test do
 -  gem "rails-dom-testing"
--  gem 'mocha', '>= 1.4.0'
+-  gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0')
 -  gem 'simplecov', '~> 0.18.5', :require => false
 -  gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
 -  # For running system tests
--  gem 'puma'
+-  # TODO: Remove version specification once Capybara supports Puma 6
+-  gem 'puma', '< 6.0.0'
 -  gem 'capybara', '~> 3.31.0'
--  gem "selenium-webdriver"
+-  gem "selenium-webdriver", "~> 3.142.7"
 -  gem 'webdrivers', '~> 4.4', require: false
 -  # RuboCop
 -  gem 'rubocop', '~> 1.12.0'
@@ -96,12 +99,9 @@
  local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  if File.exists?(local_gemfile)
    eval_gemfile local_gemfile
-@@ -115,4 +53,8 @@ Dir.glob File.expand_path("../plugins/*/{Gemfile,Plugi
- # Load plugins' Gemfiles
- Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
-   eval_gemfile file
-+end
-+
-+Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
-+  self.instance_eval(Bundler.read_file(bundle))
+-end
+-
+-# Load plugins' Gemfiles
+-Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
+-  eval_gemfile file
  end