Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 02:51:52 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5fe1a30f444d - main - www/redmine51: Fix Gemfile for rubygem-sanitize 7.0.0 update
Message-ID:  <202501020251.5022pqea018220@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 5fe1a30f444d206ca5c503860ffe4d6b4ae81d9b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 02:46:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 02:46:27 +0000

    www/redmine51: Fix Gemfile for rubygem-sanitize 7.0.0 update
    
    - Bump PORTREVISION for package change
---
 www/redmine51/Makefile            | 3 ++-
 www/redmine51/files/patch-Gemfile | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/redmine51/Makefile b/www/redmine51/Makefile
index 0572633c9a2a..b927dbf55d75 100644
--- a/www/redmine51/Makefile
+++ b/www/redmine51/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	redmine
 PORTVERSION=	5.1.5
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://www.redmine.org/releases/
 PKGNAMESUFFIX=	51
@@ -47,7 +48,7 @@ RUN_DEPENDS=	rubygem-actionpack-xml_parser-rails61>=0:textproc/rubygem-actionpac
 RUN_DEPENDS+=	rubygem-redcarpet>=3.6.0:textproc/rubygem-redcarpet \
 		rubygem-html-pipeline>=2.13.2:textproc/rubygem-html-pipeline \
 		rubygem-commonmarker0>=0.23.8:textproc/rubygem-commonmarker0 \
-		rubygem-sanitize>=6.0:textproc/rubygem-sanitize \
+		rubygem-sanitize>=6.0<8:textproc/rubygem-sanitize \
 		rubygem-deckar01-task_list>=2.3.2:www/rubygem-deckar01-task_list
 
 USES=		cpe ruby
diff --git a/www/redmine51/files/patch-Gemfile b/www/redmine51/files/patch-Gemfile
index f703349ad123..76f72a45adda 100644
--- a/www/redmine51/files/patch-Gemfile
+++ b/www/redmine51/files/patch-Gemfile
@@ -38,8 +38,9 @@
  
  # HTML pipeline and sanitization
 -gem "html-pipeline", "~> 2.13.2"
+-gem "sanitize", "~> 6.0"
 +gem "html-pipeline", "~> 2.13"
- gem "sanitize", "~> 6.0"
++gem "sanitize", ">= 6.0", "< 8"
  
  # Optional gem for LDAP authentication
  group :ldap do



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501020251.5022pqea018220>