summaryrefslogtreecommitdiff
path: root/www/redmine51
diff options
context:
space:
mode:
Diffstat (limited to 'www/redmine51')
-rw-r--r--www/redmine51/Makefile9
-rw-r--r--www/redmine51/files/patch-Gemfile5
2 files changed, 10 insertions, 4 deletions
diff --git a/www/redmine51/Makefile b/www/redmine51/Makefile
index deb9d9d44d17..2e2d21b592d3 100644
--- a/www/redmine51/Makefile
+++ b/www/redmine51/Makefile
@@ -1,5 +1,6 @@
PORTNAME= redmine
PORTVERSION= 5.1.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://www.redmine.org/releases/
PKGNAMESUFFIX= 51
@@ -78,7 +79,11 @@ THIN_RUN_DEPENDS= rubygem-thin>=1.6.2:www/rubygem-thin
THIN_SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
THIN_VARS= USE_RC_SUBR=redmine
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} >= 3.3
+BROKEN= ruby 3.3 and later is not supported
+.endif
post-extract:
@${RM} -r ${WRKSRC}/.hgignore ${WRKSRC}/.gitignore ${WRKSRC}/.github \
@@ -121,4 +126,4 @@ post-install:
${RM} ${STAGEDIR}${WWWDIR}/package.json \
${STAGEDIR}${WWWDIR}/yarn.lock
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/redmine51/files/patch-Gemfile b/www/redmine51/files/patch-Gemfile
index e0a2e5fa4292..1a72c5cc27a2 100644
--- a/www/redmine51/files/patch-Gemfile
+++ b/www/redmine51/files/patch-Gemfile
@@ -1,4 +1,4 @@
---- Gemfile.orig 2025-03-10 23:30:03 UTC
+--- Gemfile.orig 2025-04-20 07:25:01 UTC
+++ Gemfile
@@ -2,25 +2,25 @@ ruby '>= 2.7.0', '< 3.3.0'
@@ -11,7 +11,8 @@
gem 'request_store', '~> 1.5.0'
gem 'mini_mime', '~> 1.1.0'
gem "actionpack-xml_parser"
- gem 'roadie-rails', '~> 3.1.0'
+-gem 'roadie-rails', '~> 3.1.0'
++gem 'roadie-rails', '>= 3.1'
gem 'marcel'
gem 'mail', '~> 2.8.1'
-gem 'nokogiri', Gem.ruby_version >= Gem::Version.new('3.1') ? '1.18.3' : '~> 1.15.7'