git: 8f794088a482 - main - www/redmine50: Update to 5.0.6

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 03 Oct 2023 14:46:52 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f794088a48218c994147f99d1d8693286b69882

commit 8f794088a48218c994147f99d1d8693286b69882
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-03 14:34:34 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-03 14:46:40 +0000

    www/redmine50: Update to 5.0.6
    
    Changes:
      https://www.redmine.org/projects/redmine/wiki/Changelog_5_0
---
 www/redmine50/Makefile            |  3 +--
 www/redmine50/distinfo            |  6 +++---
 www/redmine50/files/patch-Gemfile | 24 +++++++++++++++---------
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/www/redmine50/Makefile b/www/redmine50/Makefile
index b0525eaeee3e..5ea3931872da 100644
--- a/www/redmine50/Makefile
+++ b/www/redmine50/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	redmine
-PORTVERSION=	5.0.5
-PORTREVISION=	3
+PORTVERSION=	5.0.6
 CATEGORIES=	www
 MASTER_SITES=	https://www.redmine.org/releases/
 PKGNAMESUFFIX=	50
diff --git a/www/redmine50/distinfo b/www/redmine50/distinfo
index f6182d2e3ca2..b33e4065596e 100644
--- a/www/redmine50/distinfo
+++ b/www/redmine50/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678193211
-SHA256 (redmine-5.0.5.tar.gz) = a89ad1c4bb9bf025e6527c77ab18c8faf7749c94a975caf2cfdbba00eb12a481
-SIZE (redmine-5.0.5.tar.gz) = 3115940
+TIMESTAMP = 1696339687
+SHA256 (redmine-5.0.6.tar.gz) = 488fe08f37a8eb1011415922a8ea743b7f38d8a7a5f8822950a34a375dcf08ee
+SIZE (redmine-5.0.6.tar.gz) = 3150234
diff --git a/www/redmine50/files/patch-Gemfile b/www/redmine50/files/patch-Gemfile
index 8cc6dfad91c5..493dbb704309 100644
--- a/www/redmine50/files/patch-Gemfile
+++ b/www/redmine50/files/patch-Gemfile
@@ -1,10 +1,10 @@
---- Gemfile.orig	2023-03-05 21:35:36 UTC
+--- Gemfile.orig	2023-09-30 08:40:03 UTC
 +++ Gemfile
-@@ -3,24 +3,24 @@ source 'https://rubygems.org'
+@@ -3,30 +3,30 @@ gem 'bundler', '>= 1.12.0'
  ruby '>= 2.5.0', '< 3.2.0'
  gem 'bundler', '>= 1.12.0'
  
--gem 'rails', '6.1.7.2'
+-gem 'rails', '6.1.7.6'
 +gem 'rails', '>=6.1.6'
  gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
 -gem 'rouge', '~> 3.28.0'
@@ -17,11 +17,17 @@
 -gem "mail", "~> 2.7.1"
 +gem "mail", ">= 2.7"
  gem 'csv', '~> 3.2.0'
--gem 'nokogiri', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 1.12.5' : '~> 1.13.10')
-+gem 'nokogiri', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 1.12.5' : '>= 1.13.9')
+ gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.6.0')
+                    '~> 1.12.5'
+                  elsif Gem.ruby_version < Gem::Version.new('2.7.0')
+-                   '~> 1.13.10'
++                   '>= 1.13.9'
+                  else
+                    '~> 1.15.2'
+                  end)
  gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0')
 -gem 'i18n', '~> 1.10.0'
--gem 'rbpdf', '~> 1.21.0'
+-gem 'rbpdf', '~> 1.21.3'
 +gem 'i18n', '>= 1.10.0'
 +gem 'rbpdf', '>= 1.21.0'
  gem 'addressable'
@@ -33,7 +39,7 @@
  gem 'net-pop', '~> 0.1.1'
  # Rails 6.1.6.1 does not work with Pysch 3.0.2, which is installed by default with Ruby 2.5. See https://github.com/rails/rails/issues/45590
  gem 'psych', '>= 3.1.0' if Gem.ruby_version < Gem::Version.new('2.6.0')
-@@ -34,85 +34,9 @@ gem 'rqrcode'
+@@ -40,85 +40,9 @@ group :ldap do
  
  # Optional gem for LDAP authentication
  group :ldap do
@@ -97,7 +103,7 @@
 -
 -group :test do
 -  gem "rails-dom-testing"
--  gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0')
+-  gem 'mocha', '>= 2.0.1'
 -  gem 'simplecov', '~> 0.21.2', :require => false
 -  gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
 -  # For running system tests
@@ -120,7 +126,7 @@
  local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  if File.exist?(local_gemfile)
    eval_gemfile local_gemfile
-@@ -121,4 +45,8 @@ end
+@@ -127,4 +51,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