git: a297b15c0495 - main - textproc/rubygem-loofah-gitlab: Add rubygem-loofah-gitlab 2.24.1 (copied from rubygem-loofah)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Dec 2025 11:19:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a297b15c0495122152fe65b8f07381984b5b4918
commit a297b15c0495122152fe65b8f07381984b5b4918
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-19 11:10:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-19 11:10:34 +0000
textproc/rubygem-loofah-gitlab: Add rubygem-loofah-gitlab 2.24.1 (copied from rubygem-loofah)
- Add PORTSCOUt
---
textproc/Makefile | 1 +
textproc/rubygem-loofah-gitlab/Makefile | 25 +++++++++++++++++++++++++
textproc/rubygem-loofah-gitlab/distinfo | 3 +++
textproc/rubygem-loofah-gitlab/pkg-descr | 4 ++++
4 files changed, 33 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 56228b7295cb..3c3c7be8edd0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1930,6 +1930,7 @@
SUBDIR += rubygem-liquid4
SUBDIR += rubygem-loggability
SUBDIR += rubygem-loofah
+ SUBDIR += rubygem-loofah-gitlab
SUBDIR += rubygem-loofah222
SUBDIR += rubygem-ltsv
SUBDIR += rubygem-markaby
diff --git a/textproc/rubygem-loofah-gitlab/Makefile b/textproc/rubygem-loofah-gitlab/Makefile
new file mode 100644
index 000000000000..3e17f85cc60e
--- /dev/null
+++ b/textproc/rubygem-loofah-gitlab/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= loofah
+PORTVERSION= 2.24.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+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.12.0:textproc/rubygem-nokogiri
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= loofah_project
+
+PORTSCOUT= limit:^2\.24\.
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-loofah-gitlab/distinfo b/textproc/rubygem-loofah-gitlab/distinfo
new file mode 100644
index 000000000000..4d10700baf68
--- /dev/null
+++ b/textproc/rubygem-loofah-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1747716414
+SHA256 (rubygem/loofah-2.24.1.gem) = 655a30842b70ec476410b347ab1cd2a5b92da46a19044357bbd9f401b009a337
+SIZE (rubygem/loofah-2.24.1.gem) = 34304
diff --git a/textproc/rubygem-loofah-gitlab/pkg-descr b/textproc/rubygem-loofah-gitlab/pkg-descr
new file mode 100644
index 000000000000..dae5505c8647
--- /dev/null
+++ b/textproc/rubygem-loofah-gitlab/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.