Skip to content

Commit c6df14c

Browse files
author
taca
committed
devel/ruby-redmine60: update to 6.0.8
6.0.8 (2026-01-05) Code cleanup/refactoring * Defect #43441: Fix failures in test/system/issues_test.rb * Patch #43638: Update copyright year to 2026 Custom fields * Defect #43521: Saving a custom field fails with 500 when regular expression is invalid Gems support * Defect #43609: Tests fail with minitest 6.0 Issues list * Defect #43283: Overdue due date text does not turn light gray when issue is selected No category * Patch #43275: Remove continue-on-error: true from the system test job in GitHub CI Rails support * Patch #43633: Update Rails to 7.2.3 Security * Defect #43451: PostScript disguised as PDF can lead to arbitrary file operations via thumbnail generation * Defect #43634: Authorization bypass in Redmine allows modification of attachment metadata on invisible issues * Defect #43635: Authorization bypass in Redmine allows deletion of attachment on invisible issues external SCM * Defect #43525: "label_added" is not translated in the repository revision view legend Text formatting * Defect #43612: Inline code rendering does not preserve multiple spaces Translations * Patch #43490: Japanese translation update (jstoolbar-ja.js) for 6.0-stable UI * Defect #43378: Column headers are slightly shifted to the right in tables in list views * Defect #43527: Login and Email columns are unexpectedly center-aligned on the Users page since Redmine 5.1
1 parent 3644b3d commit c6df14c

4 files changed

Lines changed: 63 additions & 24 deletions

File tree

devel/ruby-redmine60/Makefile

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.10 2025/11/03 07:13:52 taca Exp $
1+
# $NetBSD: Makefile,v 1.11 2026/01/18 15:51:11 taca Exp $
22

33
DISTNAME= redmine-${RM_VERSION}
44
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/}
5-
PKGREVISION= 1
65
CATEGORIES= devel
76
MASTER_SITES= https://www.redmine.org/releases/
87

@@ -11,7 +10,7 @@ HOMEPAGE= https://www.redmine.org/
1110
COMMENT= Flexible project management web application
1211
LICENSE= gnu-gpl-v2 # and so on.
1312

14-
RM_VERSION= 6.0.7
13+
RM_VERSION= 6.0.8
1514

1615
NO_BUILD= yes
1716

@@ -22,7 +21,7 @@ RUBY_RAILS_ACCEPTED= 72
2221

2322
PYTHON_VERSIONS_INCOMPATIBLE= 27
2423

25-
OVERRIDE_GEMSPEC+= mini-magick>=4.11.0 zip>=2.4.0
24+
OVERRIDE_GEMSPEC+= mini-magick>=4.11.0 nokogiri>=1.18.3<1.20 zip>=2.4.0
2625

2726
#DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.12.0:../../misc/ruby-bundler
2827
DEPENDS+= ${RUBY_RAILS_DEPENDS}
@@ -34,19 +33,23 @@ DEPENDS+= ${RUBY_PKGPREFIX}-actionpack${RUBY_RAILS}-xml_parser>=2.0:../../textpr
3433
DEPENDS+= ${RUBY_PKGPREFIX}-roadie-rails32_${RUBY_RAILS}>=3.2.0<3.3:../../mail/ruby-roadie-rails32
3534
DEPENDS+= ${RUBY_PKGPREFIX}-marcel>=1.0.0:../../devel/ruby-marcel
3635
DEPENDS+= ${RUBY_PKGPREFIX}-mail>=2.8.1<2.9:../../mail/ruby-mail
37-
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.18.3<1.19:../../textproc/ruby-nokogiri
38-
DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.14.1:../../devel/ruby-i18n
39-
DEPENDS+= ${RUBY_PKGPREFIX}-rbpdf>=1.21.3<1.22:../../print/ruby-rbpdf
36+
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.18.3<1.20:../../textproc/ruby-nokogiri
37+
#DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.14.1:../../devel/ruby-i18n
38+
DEPENDS+= ${RUBY_PKGPREFIX}-rbpdf>=1.21.4<1.22:../../print/ruby-rbpdf
4039
DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=0:../../net/ruby-addressable
4140
DEPENDS+= ${RUBY_PKGPREFIX}-zip24>=2.4.0<3:../../archivers/ruby-zip24
41+
DEPENDS+= ${RUBY_PKGPREFIX}-propshaft11>=1.1.0<1.2:../../www/ruby-propshaft11
42+
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=3.1.2:../../www/ruby-rack
43+
#
4244
DEPENDS+= ${RUBY_PKGPREFIX}-rotp>=6.2.0:../../security/ruby-rotp
4345
DEPENDS+= ${RUBY_PKGPREFIX}-rqrcode>=1.2.0:../../textproc/ruby-rqrcode
46+
DEPENDS+= ${RUBY_PKGPREFIX}-html-pipeline>=2.13.2<3:../../textproc/ruby-html-pipeline
47+
DEPENDS+= ${RUBY_PKGPREFIX}-sanitize>=6.0<7:../../textproc/ruby-sanitize
48+
#
4449
DEPENDS+= ${RUBY_PKGPREFIX}-net-ldap>=0.17.0:../../net/ruby-net-ldap
4550
DEPENDS+= ${RUBY_PKGPREFIX}-mini-magick>=5.0.1<6:../../graphics/ruby-mini-magick
46-
DEPENDS+= ${RUBY_PKGPREFIX}-deckar01-task_list>=2.3.2:../../textproc/ruby-deckar01-task_list
47-
DEPENDS+= ${RUBY_PKGPREFIX}-html-pipeline>=2.13.2<3:../../textproc/ruby-html-pipeline
4851
DEPENDS+= ${RUBY_PKGPREFIX}-commonmarker0>=0.23.8<1:../../textproc/ruby-commonmarker0
49-
DEPENDS+= ${RUBY_PKGPREFIX}-sanitize>=6.0<7:../../textproc/ruby-sanitize
52+
DEPENDS+= ${RUBY_PKGPREFIX}-deckar01-task_list>=2.3.2:../../textproc/ruby-deckar01-task_list
5053

5154
REPLACE_RUBY+= bin/*
5255
REPLACE_RUBY+= extra/mail_handler/rdm-mailhandler.rb
@@ -102,8 +105,9 @@ post-install: unicorn-post-install
102105

103106
# for older Ruby
104107
.if ${RUBY_VER} < 33
105-
DEPENDS+= ${RUBY_PKGPREFIX}-csv>=3.2.8<4:../../textproc/ruby-csv
106-
DEPENDS+= ${RUBY_PKGPREFIX}-net-imap>=0.5.8:../../net/ruby-net-imap
108+
DEPENDS+= ${RUBY_PKGPREFIX}-csv>=3.2.8:../../textproc/ruby-csv
109+
DEPENDS+= ${RUBY_PKGPREFIX}-net-imap>=0.4.20:../../net/ruby-net-imap
110+
DEPENDS+= ${RUBY_PKGPREFIX}-net-smtp>=0.4.0:../../net/ruby-net-smtp
107111
.endif
108112

109113
.include "options.mk"

devel/ruby-redmine60/PLIST

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.4 2025/08/11 08:38:44 taca Exp $
1+
@comment $NetBSD: PLIST,v 1.5 2026/01/18 15:51:11 taca Exp $
22
bin/redmine60_generate_secret_token${RUBY_SUFFIX}.sh
33
bin/redmine60_load_default_data${RUBY_SUFFIX}.sh
44
bin/redmine60_migrate_db${RUBY_SUFFIX}.sh
@@ -1670,6 +1670,8 @@ ${RM_DIR}/test/fixtures/files/configuration/empty.yml
16701670
${RM_DIR}/test/fixtures/files/configuration/no_default.yml
16711671
${RM_DIR}/test/fixtures/files/configuration/overrides.yml
16721672
${RM_DIR}/test/fixtures/files/hello.js
1673+
${RM_DIR}/test/fixtures/files/hello.pdf
1674+
${RM_DIR}/test/fixtures/files/hello.ps
16731675
${RM_DIR}/test/fixtures/files/hg-export.diff
16741676
${RM_DIR}/test/fixtures/files/import_dates.csv
16751677
${RM_DIR}/test/fixtures/files/import_dates_ja.csv
@@ -1693,6 +1695,7 @@ ${RM_DIR}/test/fixtures/files/testfile.md
16931695
${RM_DIR}/test/fixtures/files/testfile.textile
16941696
${RM_DIR}/test/fixtures/files/testfile.txt
16951697
${RM_DIR}/test/fixtures/files/unclosed_quoted_field.csv
1698+
${RM_DIR}/test/fixtures/files/with_pdf_magic.ps
16961699
${RM_DIR}/test/fixtures/groups_users.yml
16971700
${RM_DIR}/test/fixtures/issue_categories.yml
16981701
${RM_DIR}/test/fixtures/issue_relations.yml
@@ -2087,6 +2090,7 @@ ${RM_DIR}/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
20872090
${RM_DIR}/test/unit/lib/redmine/search_test.rb
20882091
${RM_DIR}/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
20892092
${RM_DIR}/test/unit/lib/redmine/themes_test.rb
2093+
${RM_DIR}/test/unit/lib/redmine/thumbnail_test.rb
20902094
${RM_DIR}/test/unit/lib/redmine/unified_diff_test.rb
20912095
${RM_DIR}/test/unit/lib/redmine/utils/date_calculation.rb
20922096
${RM_DIR}/test/unit/lib/redmine/views/builders/json_test.rb

devel/ruby-redmine60/distinfo

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
$NetBSD: distinfo,v 1.6 2025/10/08 14:09:47 taca Exp $
1+
$NetBSD: distinfo,v 1.7 2026/01/18 15:51:11 taca Exp $
22

3-
BLAKE2s (redmine-6.0.7.tar.gz) = c89da9bee5005430d5a17a4f9a2e49a0408634fd4df6f7ff2217cbfa172fa3fd
4-
SHA512 (redmine-6.0.7.tar.gz) = a623b9029200b96fc14dc83fb1fad3f0ee86cafde761b69ed22ed4ce111b0f2d719b1961a10ceeac41aa5d18744a783af38abf8f345ecd4ea9e6f431684430df
5-
Size (redmine-6.0.7.tar.gz) = 4070327 bytes
6-
SHA1 (patch-Gemfile) = 6b6806545cdb54222597987b0d390f17bb2509e3
3+
BLAKE2s (redmine-6.0.8.tar.gz) = 0273e56a7df7e0edc093fbad6174c38e71aa09236b8ce32a650ce7ecb6c4282b
4+
SHA512 (redmine-6.0.8.tar.gz) = c0005a8cf7f8208a96a77b81820bb4520ca69d24692248f02e36c225c53b84b11d84f1bc56e227064d956c371426a85f0f9f5f3676f5a189f984b58a429cd75a
5+
Size (redmine-6.0.8.tar.gz) = 4070190 bytes
6+
SHA1 (patch-Gemfile) = 400b8c6463dddcd20f2161f1d4081d1a547efce4
77
SHA1 (patch-config_additional__environment.rb.example) = 7ad913800c5f31fdd9b71aa92294bdbeea7b77fe
88
SHA1 (patch-lib_redmine_scm_adapters_mercurial_redminehelper.py) = 87db1005896b2a962b8b93ec5b5b7d313ae6f691
99
SHA1 (patch-lib_tasks_initializers.rake) = d5ccb73cff6baedee9dfbe7563e25925f1ff9d85

devel/ruby-redmine60/patches/patch-Gemfile

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
1-
$NetBSD: patch-Gemfile,v 1.4 2025/10/08 14:09:48 taca Exp $
1+
$NetBSD: patch-Gemfile,v 1.5 2026/01/18 15:51:11 taca Exp $
22

33
* Relax dependency.
44
* Do not load gem for developemt and test.
55

6-
--- Gemfile.orig 2025-09-21 10:15:05.000000000 +0000
6+
--- Gemfile.orig 2026-01-06 02:25:03.000000000 +0000
77
+++ Gemfile
8-
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
8+
@@ -2,26 +2,26 @@ source 'https://rubygems.org'
99

1010
ruby '>= 3.1.0', '< 3.4.0'
1111

12-
-gem 'rails', '7.2.2.2'
13-
+gem 'rails', '~>7.2.2'
12+
-gem 'rails', '7.2.3'
13+
+gem 'rails', '~>7.2.3'
1414
gem 'rouge', '~> 4.5'
1515
gem 'mini_mime', '~> 1.1.0'
1616
gem "actionpack-xml_parser"
17-
@@ -31,17 +31,17 @@ gem 'rotp', '>= 5.0.0'
17+
gem 'roadie-rails', '~> 3.2.0'
18+
gem 'marcel'
19+
gem 'mail', '~> 2.8.1'
20+
-gem 'nokogiri', '~> 1.18.3'
21+
+gem 'nokogiri', '>= 1.18.3'
22+
gem 'i18n', '~> 1.14.1'
23+
gem 'rbpdf', '~> 1.21.4'
24+
gem 'addressable'
25+
-gem 'rubyzip', '~> 2.3.0'
26+
+gem 'rubyzip', '>= 2.3.0'
27+
gem 'propshaft', '~> 1.1.0'
28+
gem 'rack', '>= 3.1.3'
29+
30+
# Ruby Standard Gems
31+
-gem 'csv', '~> 3.2.8'
32+
-gem 'net-imap', '~> 0.4.20'
33+
+gem 'csv', '>=3.2.8'
34+
+gem 'net-imap', '>=0.4.20'
35+
gem 'net-pop', '~> 0.1.2'
36+
-gem 'net-smtp', '~> 0.4.0'
37+
+gem 'net-smtp', '>=0.4.0'
38+
39+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
40+
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
41+
@@ -31,23 +31,23 @@ gem 'rotp', '>= 5.0.0'
1842
gem 'rqrcode'
1943

2044
# HTML pipeline and sanitization
@@ -35,6 +59,13 @@ $NetBSD: patch-Gemfile,v 1.4 2025/10/08 14:09:48 taca Exp $
3559
end
3660

3761
# Optional CommonMark support, not for JRuby
62+
group :common_mark do
63+
gem "commonmarker", '~> 0.23.8'
64+
- gem 'deckar01-task_list', '2.3.2'
65+
+ gem 'deckar01-task_list', '>=2.3.2'
66+
end
67+
68+
# Include database gems for the adapters found in the database
3869
@@ -75,7 +75,7 @@ if File.exist?(database_file)
3970
when /postgresql/
4071
gem 'pg', '~> 1.5.3'

0 commit comments

Comments
 (0)