Wed Mar 15 13:45:00 2023 UTC ()
devel/ruby-redmine42: update to 4.2.10

4.2.10 (2023-03-05)

Code cleanup/refactoring

* Patch #38141: Update copyright year to 2023

Documentation

* Defect #38114: Example plugin (extra/sample_plugin) breaks Activity page

Gems support

* Patch #38272: Update RBPDF to 1.21

Issues

* Defect #38217: "Property changes" tab does not appear when all issue
  journals have both notes and property changes

[PDF export]

* Defect #32740: Incorrect characters when copying out of a Redmine
  generated PDF

* Defect #36452: Infinite loop on PDF export if image included with
  attributes

[Project settings]

* Defect #38064: Avoid exception when adding a project without any givable
  roles defined

[Security]

* Defect #38063: Avoid double-render error with
  ApplicationController#find_optional_project

* Defect #38070: Role#permission_tracker? and related does not consider
  whether the base permission is (still) set

* Defect #38133: Update Nokogiri to fix several security issues

* Defect #38297: Insufficient permission checks when adding attachments to
  issues

[SEO]

* Defect #38201: Fix robots.txt to disallow issue lists with a sort or
  query_id parameter in any position

[Time tracking]

* Defect #35066: Missing project_id in redirect after clicking "Create and
  add another" button

* Defect #38237: Unable to choose any user other than the current user when
  logging spent time after clicking "Create and add another"


(taca)
diff -r1.19 -r1.20 pkgsrc/devel/ruby-redmine42/Makefile
diff -r1.13 -r1.14 pkgsrc/devel/ruby-redmine42/distinfo
diff -r1.9 -r1.10 pkgsrc/devel/ruby-redmine42/patches/patch-Gemfile

cvs diff -r1.19 -r1.20 pkgsrc/devel/ruby-redmine42/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-redmine42/Attic/Makefile 2023/02/23 14:49:24 1.19
+++ pkgsrc/devel/ruby-redmine42/Attic/Makefile 2023/03/15 13:45:00 1.20
@@ -1,29 +1,28 @@ @@ -1,29 +1,28 @@
1# $NetBSD: Makefile,v 1.19 2023/02/23 14:49:24 taca Exp $ 1# $NetBSD: Makefile,v 1.20 2023/03/15 13:45:00 taca Exp $
2 2
3DISTNAME= redmine-${RM_VERSION} 3DISTNAME= redmine-${RM_VERSION}
4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/} 4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/}
5PKGREVISION= 2 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= https://www.redmine.org/releases/ 6MASTER_SITES= https://www.redmine.org/releases/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.redmine.org/ 9HOMEPAGE= https://www.redmine.org/
11COMMENT= Flexible project management web application 10COMMENT= Flexible project management web application
12LICENSE= gnu-gpl-v2 # and so on. 11LICENSE= gnu-gpl-v2 # and so on.
13 12
14USE_TOOLS+= pax 13USE_TOOLS+= pax
15 14
16RM_VERSION= 4.2.9 15RM_VERSION= 4.2.10
17 16
18NO_BUILD= yes 17NO_BUILD= yes
19 18
20RUBY_VERSIONS_ACCEPTED= 27 19RUBY_VERSIONS_ACCEPTED= 27
21 20
22RUBY_RAILS_ACCEPTED= 52 21RUBY_RAILS_ACCEPTED= 52
23 22
24OVERRIDE_GEMSPEC+= csv>=3.1.1 i18n>=1.8.2 mini_mime>=1.0.1 \ 23OVERRIDE_GEMSPEC+= csv>=3.1.1 i18n>=1.8.2 mini_mime>=1.0.1 \
25 mini-magick>=4.11.0 nokogiri>=1.13.6 24 mini-magick>=4.11.0 nokogiri>=1.13.6
26 25
27REPLACE_RUBY+= bin/* 26REPLACE_RUBY+= bin/*
28REPLACE_RUBY+= extra/mail_handler/rdm-mailhandler.rb 27REPLACE_RUBY+= extra/mail_handler/rdm-mailhandler.rb
29REPLACE_RUBY+= extra/svn/reposman.rb 28REPLACE_RUBY+= extra/svn/reposman.rb
@@ -34,27 +33,27 @@ REPLACE_RUBY+= public/dispatch.fcgi.exam @@ -34,27 +33,27 @@ REPLACE_RUBY+= public/dispatch.fcgi.exam
34#DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.5.0:../../misc/ruby-bundler 33#DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.5.0:../../misc/ruby-bundler
35DEPENDS+= ${RUBY_RAILS_DEPENDS} 34DEPENDS+= ${RUBY_RAILS_DEPENDS}
36DEPENDS+= ${RUBY_PKGPREFIX}-rouge>=3.26:../../www/ruby-rouge 35DEPENDS+= ${RUBY_PKGPREFIX}-rouge>=3.26:../../www/ruby-rouge
37DEPENDS+= ${RUBY_PKGPREFIX}-request_store>=1.5.0<1.6:../../www/ruby-request_store 36DEPENDS+= ${RUBY_PKGPREFIX}-request_store>=1.5.0<1.6:../../www/ruby-request_store
38# ruby-mail depends it. 37# ruby-mail depends it.
39#DEPENDS+= ${RUBY_PKGPREFIX}-mini_mime>=1.0.1:../../mail/ruby-mini_mime 38#DEPENDS+= ${RUBY_PKGPREFIX}-mini_mime>=1.0.1:../../mail/ruby-mini_mime
40DEPENDS+= ${RUBY_PKGPREFIX}-actionpack52-xml_parser>=2.0:../../textproc/ruby-actionpack52-xml_parser 39DEPENDS+= ${RUBY_PKGPREFIX}-actionpack52-xml_parser>=2.0:../../textproc/ruby-actionpack52-xml_parser
41DEPENDS+= ${RUBY_PKGPREFIX}-roadie-rails2_${RUBY_RAILS}>=2.2.0<2.3:../../mail/ruby-roadie-rails2 40DEPENDS+= ${RUBY_PKGPREFIX}-roadie-rails2_${RUBY_RAILS}>=2.2.0<2.3:../../mail/ruby-roadie-rails2
42DEPENDS+= ${RUBY_PKGPREFIX}-marcel>=1.0.0:../../devel/ruby-marcel 41DEPENDS+= ${RUBY_PKGPREFIX}-marcel>=1.0.0:../../devel/ruby-marcel
43DEPENDS+= ${RUBY_PKGPREFIX}-mail>=2.7.1<2.8:../../mail/ruby-mail 42DEPENDS+= ${RUBY_PKGPREFIX}-mail>=2.7.1<2.8:../../mail/ruby-mail
44DEPENDS+= ${RUBY_PKGPREFIX}-csv>=3.1.1:../../textproc/ruby-csv 43DEPENDS+= ${RUBY_PKGPREFIX}-csv>=3.1.1:../../textproc/ruby-csv
45DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.13.6:../../textproc/ruby-nokogiri 44DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.13.6:../../textproc/ruby-nokogiri
46DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.8.2<2:../../devel/ruby-i18n 45DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.8.2<2:../../devel/ruby-i18n
47DEPENDS+= ${RUBY_PKGPREFIX}-rbpdf>=1.20.0<1.21:../../print/ruby-rbpdf 46DEPENDS+= ${RUBY_PKGPREFIX}-rbpdf>=1.21.0<1.22:../../print/ruby-rbpdf
48DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=0:../../net/ruby-addressable 47DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=0:../../net/ruby-addressable
49DEPENDS+= ${RUBY_PKGPREFIX}-zip>=2.3.0<2.4:../../archivers/ruby-zip 48DEPENDS+= ${RUBY_PKGPREFIX}-zip>=2.3.0<2.4:../../archivers/ruby-zip
50#DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo-data>=1:../../time/ruby-tzinfo-data 49#DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo-data>=1:../../time/ruby-tzinfo-data
51DEPENDS+= ${RUBY_PKGPREFIX}-rotp>=6.2.0:../../security/ruby-rotp 50DEPENDS+= ${RUBY_PKGPREFIX}-rotp>=6.2.0:../../security/ruby-rotp
52DEPENDS+= ${RUBY_PKGPREFIX}-rqrcode>=1.2.0:../../textproc/ruby-rqrcode 51DEPENDS+= ${RUBY_PKGPREFIX}-rqrcode>=1.2.0:../../textproc/ruby-rqrcode
53DEPENDS+= ${RUBY_PKGPREFIX}-net-ldap>=0.17.0<0.18:../../net/ruby-net-ldap 52DEPENDS+= ${RUBY_PKGPREFIX}-net-ldap>=0.17.0<0.18:../../net/ruby-net-ldap
54DEPENDS+= ${RUBY_PKGPREFIX}-ruby-openid>=2.9.2<2.10:../../security/ruby-ruby-openid 53DEPENDS+= ${RUBY_PKGPREFIX}-ruby-openid>=2.9.2<2.10:../../security/ruby-ruby-openid
55DEPENDS+= ${RUBY_PKGPREFIX}-rack-openid>=1.4.2:../../security/ruby-rack-openid 54DEPENDS+= ${RUBY_PKGPREFIX}-rack-openid>=1.4.2:../../security/ruby-rack-openid
56DEPENDS+= ${RUBY_PKGPREFIX}-mini-magick>=4.11.0:../../graphics/ruby-mini-magick 55DEPENDS+= ${RUBY_PKGPREFIX}-mini-magick>=4.11.0:../../graphics/ruby-mini-magick
57DEPENDS+= ${RUBY_PKGPREFIX}-redcarpet>=3.5.1<3.6:../../textproc/ruby-redcarpet 56DEPENDS+= ${RUBY_PKGPREFIX}-redcarpet>=3.5.1<3.6:../../textproc/ruby-redcarpet
58 57
59.include "options.mk" 58.include "options.mk"
60 59

cvs diff -r1.13 -r1.14 pkgsrc/devel/ruby-redmine42/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-redmine42/Attic/distinfo 2023/01/15 15:09:32 1.13
+++ pkgsrc/devel/ruby-redmine42/Attic/distinfo 2023/03/15 13:45:00 1.14
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.13 2023/01/15 15:09:32 taca Exp $ 1$NetBSD: distinfo,v 1.14 2023/03/15 13:45:00 taca Exp $
2 2
3BLAKE2s (redmine-4.2.9.tar.gz) = f13f82335fd8c8d069a51dd556ff4487d7b5f90b9cab0eb569bd49099c4b8fe7 3BLAKE2s (redmine-4.2.10.tar.gz) = 7a4f3da055d3c582a261209f465f278e81c19e49e162fa10c744cb4c26e3c1df
4SHA512 (redmine-4.2.9.tar.gz) = b0c6cade20dbcb4dd5c88081fb44f63dc3687b3735d47572e71bfeff0e17d2e4c9281afc10cf3b9679ab1e492a71a260a1d3fac5b660af5226849ccac4e0dd36 4SHA512 (redmine-4.2.10.tar.gz) = dc33b80f53d8d6781ced190328a5b4953f58ce80c187e83effa81a95b905354a604702a1d34ddfc2a105500716e07ec523a9f9819448a2181acd99b6b86b7e6b
5Size (redmine-4.2.9.tar.gz) = 3043566 bytes 5Size (redmine-4.2.10.tar.gz) = 3045016 bytes
6SHA1 (patch-Gemfile) = 9b2e4d2ebe70fa34ed2ec2535b60e8faddb0543c 6SHA1 (patch-Gemfile) = 4f02c22830734167f6f6e9f2a71b8577d7e27d4b
7SHA1 (patch-lib_tasks_initializers.rake) = 73c4594c94abd28e628bbd172565b161f0e54fff 7SHA1 (patch-lib_tasks_initializers.rake) = 73c4594c94abd28e628bbd172565b161f0e54fff

cvs diff -r1.9 -r1.10 pkgsrc/devel/ruby-redmine42/patches/Attic/patch-Gemfile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-redmine42/patches/Attic/patch-Gemfile 2023/01/15 15:09:32 1.9
+++ pkgsrc/devel/ruby-redmine42/patches/Attic/patch-Gemfile 2023/03/15 13:45:00 1.10
@@ -1,49 +1,49 @@ @@ -1,49 +1,49 @@
1$NetBSD: patch-Gemfile,v 1.9 2023/01/15 15:09:32 taca Exp $ 1$NetBSD: patch-Gemfile,v 1.10 2023/03/15 13:45:00 taca Exp $
2 2
3Relax dependency. 3Relax dependency.
4 4
5--- Gemfile.orig 2022-12-01 15:40:06.000000000 +0000 5--- Gemfile.orig 2023-03-05 21:35:15.000000000 +0000
6+++ Gemfile 6+++ Gemfile
7@@ -3,25 +3,25 @@ source 'https://rubygems.org' 7@@ -3,25 +3,25 @@ source 'https://rubygems.org'
8 ruby '>= 2.4.0', '< 2.8.0' 8 ruby '>= 2.4.0', '< 2.8.0'
9 gem 'bundler', '>= 1.12.0' 9 gem 'bundler', '>= 1.12.0'
10  10
11-gem 'rails', '5.2.8.1' 11-gem 'rails', '5.2.8.1'
12+gem 'rails', '~> 5.2.8' 12+gem 'rails', '~> 5.2.8'
13 gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5' 13 gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5'
14 gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0') 14 gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
15-gem 'rouge', '~> 3.26.0' 15-gem 'rouge', '~> 3.26.0'
16+gem 'rouge', '>= 3.26.0' 16+gem 'rouge', '>= 3.26.0'
17 gem 'request_store', '~> 1.5.0' 17 gem 'request_store', '~> 1.5.0'
18-gem "mini_mime", "~> 1.0.1" 18-gem "mini_mime", "~> 1.0.1"
19+gem "mini_mime", ">= 1.0.1" 19+gem "mini_mime", ">= 1.0.1"
20 gem "actionpack-xml_parser" 20 gem "actionpack-xml_parser"
21 gem 'roadie-rails', (RUBY_VERSION < '2.5' ? '~> 1.3.0' : '~> 2.2.0') 21 gem 'roadie-rails', (RUBY_VERSION < '2.5' ? '~> 1.3.0' : '~> 2.2.0')
22 gem 'marcel' 22 gem 'marcel'
23 gem "mail", "~> 2.7.1" 23 gem "mail", "~> 2.7.1"
24-gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1') 24-gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1')
25+gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '>= 3.1.1') 25+gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '>= 3.1.1')
26 gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.5.0') 26 gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.5.0')
27 '~> 1.10.10' 27 '~> 1.10.10'
28 elsif Gem.ruby_version < Gem::Version.new('2.6.0') 28 elsif Gem.ruby_version < Gem::Version.new('2.6.0')
29 '~> 1.12.5' 29 '~> 1.12.5'
30 else 30 else
31- '~> 1.13.6' 31- '~> 1.13.10'
32+ '~> 1.13' 32+ '~> 1.13'
33 end) 33 end)
34-gem 'i18n', '~> 1.8.2' 34-gem 'i18n', '~> 1.8.2'
35+gem 'i18n', '~> 1.8' 35+gem 'i18n', '~> 1.8'
36 gem "rbpdf", "~> 1.20.0" 36 gem 'rbpdf', '~> 1.21.0'
37 gem 'addressable' 37 gem 'addressable'
38 gem 'rubyzip', '~> 2.3.0' 38 gem 'rubyzip', '~> 2.3.0'
39@@ -47,7 +47,7 @@ end 39@@ -47,7 +47,7 @@ end
40  40
41 # Optional gem for exporting the gantt to a PNG file 41 # Optional gem for exporting the gantt to a PNG file
42 group :minimagick do 42 group :minimagick do
43- gem 'mini_magick', '~> 4.11.0' 43- gem 'mini_magick', '~> 4.11.0'
44+ gem 'mini_magick', '>= 4.11.0' 44+ gem 'mini_magick', '>= 4.11.0'
45 end 45 end
46  46
47 # Optional Markdown support, not for JRuby 47 # Optional Markdown support, not for JRuby
48@@ -70,7 +70,7 @@ if File.exist?(database_file) 48@@ -70,7 +70,7 @@ if File.exist?(database_file)
49 when 'mysql2' 49 when 'mysql2'