git: b6cd9ab4336b - main - www/redmine42: Update to 4.2.8

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Sun, 23 Oct 2022 07:12:58 UTC
The branch main has been updated by mikael:

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

commit b6cd9ab4336b3c33fbf45892a3eb71bd7490989c
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-23 07:11:58 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-10-23 07:12:51 +0000

    www/redmine42: Update to 4.2.8
    
    Changes: https://www.redmine.org/projects/redmine/wiki/Changelog_4_2
---
 www/redmine42/Makefile            |  4 ++--
 www/redmine42/distinfo            |  6 +++---
 www/redmine42/files/patch-Gemfile | 14 +++++---------
 www/redmine42/pkg-plist           |  4 ++--
 4 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/www/redmine42/Makefile b/www/redmine42/Makefile
index 22fcf51dfaa0..bac5d14e09c5 100644
--- a/www/redmine42/Makefile
+++ b/www/redmine42/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	redmine
-PORTVERSION=	4.2.6
+PORTVERSION=	4.2.8
 CATEGORIES=	www
 MASTER_SITES=	https://www.redmine.org/releases/
 PKGNAMESUFFIX=	42
@@ -12,7 +12,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/doc/COPYING
 
 RUN_DEPENDS=	rubygem-bundler>=1.5.0:sysutils/rubygem-bundler \
-		rubygem-rails52>=5.2.6<5.3:www/rubygem-rails52 \
+		rubygem-rails52>=5.2.8.1<5.3:www/rubygem-rails52 \
 		rubygem-rouge>=3.26.0:textproc/rubygem-rouge \
 		rubygem-request_store>=1.5.0:devel/rubygem-request_store \
 		rubygem-mini_mime>=1.0.1:mail/rubygem-mini_mime \
diff --git a/www/redmine42/distinfo b/www/redmine42/distinfo
index 657069017c0e..4b4b1e00903d 100644
--- a/www/redmine42/distinfo
+++ b/www/redmine42/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653323003
-SHA256 (redmine-4.2.6.tar.gz) = 022cb2eee0f8823fd27e2e93373086a29b4bb11215ee6dc7012b5ef2a3bada4c
-SIZE (redmine-4.2.6.tar.gz) = 3041632
+TIMESTAMP = 1666405749
+SHA256 (redmine-4.2.8.tar.gz) = 0b431c052d8fd36b93201dafaf3615cdb8d03460efcf2400e7d32662b2ab6272
+SIZE (redmine-4.2.8.tar.gz) = 3043322
diff --git a/www/redmine42/files/patch-Gemfile b/www/redmine42/files/patch-Gemfile
index e0087d80e57e..b0ec7315fe0e 100644
--- a/www/redmine42/files/patch-Gemfile
+++ b/www/redmine42/files/patch-Gemfile
@@ -1,11 +1,7 @@
---- Gemfile.orig	2021-04-30 11:34:49 UTC
+--- Gemfile.orig	2022-10-02 20:10:08 UTC
 +++ Gemfile
-@@ -3,17 +3,17 @@ gem 'bundler', '>= 1.12.0'
- ruby '>= 2.4.0', '< 2.8.0'
- gem 'bundler', '>= 1.12.0'
- 
--gem 'rails', '5.2.8'
-+gem 'rails', '>=5.2.8'
+@@ -6,14 +6,14 @@ gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::
+ gem 'rails', '5.2.8.1'
  gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5'
  gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
 -gem 'rouge', '~> 3.26.0'
@@ -31,7 +27,7 @@
  gem "rbpdf", "~> 1.20.0"
  gem 'addressable'
  gem 'rubyzip', '~> 2.3.0'
-@@ -44,68 +44,6 @@ end
+@@ -45,68 +45,6 @@ end
    gem "rack-openid"
  end
  
@@ -100,7 +96,7 @@
  local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  if File.exists?(local_gemfile)
    eval_gemfile local_gemfile
-@@ -114,4 +52,8 @@ Dir.glob File.expand_path("../plugins/*/{Gemfile,Plugi
+@@ -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
diff --git a/www/redmine42/pkg-plist b/www/redmine42/pkg-plist
index 55f1348d9f41..ba2b55cbbf8e 100644
--- a/www/redmine42/pkg-plist
+++ b/www/redmine42/pkg-plist
@@ -1618,7 +1618,7 @@
 %%WWWDIR%%/public/javascripts/i18n/datepicker-vi.js
 %%WWWDIR%%/public/javascripts/i18n/datepicker-zh-CN.js
 %%WWWDIR%%/public/javascripts/i18n/datepicker-zh-TW.js
-%%WWWDIR%%/public/javascripts/jquery-3.5.1-ui-1.12.1-ujs-5.2.4.5.js
+%%WWWDIR%%/public/javascripts/jquery-3.6.1-ui-1.13.2-ujs-5.2.8.1.js
 %%WWWDIR%%/public/javascripts/jquery-migrate-3.3.2.min.js
 %%WWWDIR%%/public/javascripts/jstoolbar/jstoolbar.js
 %%WWWDIR%%/public/javascripts/jstoolbar/lang/jstoolbar-ar.js
@@ -1690,7 +1690,7 @@
 %%WWWDIR%%/public/stylesheets/jquery/images/ui-icons_777777_256x240.png
 %%WWWDIR%%/public/stylesheets/jquery/images/ui-icons_cc0000_256x240.png
 %%WWWDIR%%/public/stylesheets/jquery/images/ui-icons_ffffff_256x240.png
-%%WWWDIR%%/public/stylesheets/jquery/jquery-ui-1.12.1.css
+%%WWWDIR%%/public/stylesheets/jquery/jquery-ui-1.13.2.css
 %%WWWDIR%%/public/stylesheets/jstoolbar.css
 %%WWWDIR%%/public/stylesheets/responsive.css
 %%WWWDIR%%/public/stylesheets/rtl.css