git: ded292009f33 - main - www/gitlab-ce: use required loofah version 2.18

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Tue, 04 Oct 2022 19:08:50 UTC
The branch main has been updated by mfechner:

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

commit ded292009f332e819177e12dc595475f5153ed5d
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-10-04 18:23:33 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-10-04 19:00:58 +0000

    www/gitlab-ce: use required loofah version 2.18
---
 textproc/Makefile                    |  1 +
 textproc/rubygem-loofah218/Makefile  | 24 ++++++++++++++++++++++++
 textproc/rubygem-loofah218/distinfo  |  3 +++
 textproc/rubygem-loofah218/pkg-descr |  4 ++++
 www/gitlab-ce/Makefile               |  4 ++--
 5 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/textproc/Makefile b/textproc/Makefile
index a14231c4e068..6a854748625a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1739,6 +1739,7 @@
     SUBDIR += rubygem-liquid4
     SUBDIR += rubygem-loggability
     SUBDIR += rubygem-loofah
+    SUBDIR += rubygem-loofah218
     SUBDIR += rubygem-ltsv
     SUBDIR += rubygem-markaby
     SUBDIR += rubygem-mdl
diff --git a/textproc/rubygem-loofah218/Makefile b/textproc/rubygem-loofah218/Makefile
new file mode 100644
index 000000000000..82d44060b80b
--- /dev/null
+++ b/textproc/rubygem-loofah218/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	loofah
+PORTVERSION=	2.18.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	218
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Library for manipulating HTML/XML documents and fragments
+WWW=		https://github.com/flavorjones/loofah
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE.txt
+
+RUN_DEPENDS=	rubygem-crass>=1.0.2<1.1:www/rubygem-crass \
+		rubygem-nokogiri>=1.5.9:textproc/rubygem-nokogiri
+
+USES=		cpe gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	loofah_project
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-loofah218/distinfo b/textproc/rubygem-loofah218/distinfo
new file mode 100644
index 000000000000..e1099c46b54e
--- /dev/null
+++ b/textproc/rubygem-loofah218/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1664907327
+SHA256 (rubygem/loofah-2.18.0.gem) = 61975a247a6aeb8f09ac5a3430305451efc4525c0b9b79c05feaec35a8b9d5a3
+SIZE (rubygem/loofah-2.18.0.gem) = 31232
diff --git a/textproc/rubygem-loofah218/pkg-descr b/textproc/rubygem-loofah218/pkg-descr
new file mode 100644
index 000000000000..dae5505c8647
--- /dev/null
+++ b/textproc/rubygem-loofah218/pkg-descr
@@ -0,0 +1,4 @@
+Loofah is a general library for manipulating HTML/XML documents and fragments.
+It's built on top of Nokogiri and libxml2, so it's fast and has a nice API.
+Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML
+sanitizers, which are based on HTML5lib's whitelist.
diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index e01c53399703..ddbd36a609eb 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gitlab-ce
 PORTVERSION=	15.2.5
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www devel
 
 MAINTAINER=	mfechner@FreeBSD.org
@@ -171,7 +171,7 @@ MY_DEPENDS=	git>=2.32.0:devel/git \
 	rubygem-kubeclient>=4.9.2<4.10.0:www/rubygem-kubeclient \
 	rubygem-sanitize>=6.0<7:textproc/rubygem-sanitize \
 	rubygem-babosa>=1.0.4<1.1.0:textproc/rubygem-babosa \
-	rubygem-loofah>=2.18.0<3.0:textproc/rubygem-loofah \
+	rubygem-loofah218>=2.18.0<2.19:textproc/rubygem-loofah218 \
 	rubygem-licensee>=9.14.1<9.15:devel/rubygem-licensee \
 	rubygem-charlock_holmes>=0.7.7<0.8.0:textproc/rubygem-charlock_holmes \
 	rubygem-ruby-magic>=0.5.4<1:devel/rubygem-ruby-magic \