git: 06c7f713ed6b - main - textproc/rubygem-loofah219: Add rubygem-loofah219 2.19.1 (copied from rubygem-loofah)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 13:39:17 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=06c7f713ed6b0141c4b01efc51cfbc8ab09fbf17
commit 06c7f713ed6b0141c4b01efc51cfbc8ab09fbf17
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:17:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:36:27 +0000
textproc/rubygem-loofah219: Add rubygem-loofah219 2.19.1 (copied from rubygem-loofah)
- Add PORTSCOUT
---
textproc/Makefile | 1 +
textproc/rubygem-loofah219/Makefile | 25 +++++++++++++++++++++++++
textproc/rubygem-loofah219/distinfo | 3 +++
textproc/rubygem-loofah219/pkg-descr | 4 ++++
4 files changed, 33 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index d042382f4583..e6de4e081a2d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1764,6 +1764,7 @@
SUBDIR += rubygem-loggability
SUBDIR += rubygem-loofah
SUBDIR += rubygem-loofah218
+ SUBDIR += rubygem-loofah219
SUBDIR += rubygem-ltsv
SUBDIR += rubygem-markaby
SUBDIR += rubygem-mdl
diff --git a/textproc/rubygem-loofah219/Makefile b/textproc/rubygem-loofah219/Makefile
new file mode 100644
index 000000000000..84e2ddc82bbf
--- /dev/null
+++ b/textproc/rubygem-loofah219/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= loofah
+PORTVERSION= 2.19.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 219
+
+MAINTAINER= sunpoet@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
+
+NO_ARCH= yes
+
+CPE_VENDOR= loofah_project
+
+PORTSCOUT= limit:^2\.19\.
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-loofah219/distinfo b/textproc/rubygem-loofah219/distinfo
new file mode 100644
index 000000000000..07beb3b4d976
--- /dev/null
+++ b/textproc/rubygem-loofah219/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674590576
+SHA256 (rubygem/loofah-2.19.1.gem) = 6c6469efdefe3496010000a346f9d3bf710e11ac4661e353cf56852326fb1023
+SIZE (rubygem/loofah-2.19.1.gem) = 32768
diff --git a/textproc/rubygem-loofah219/pkg-descr b/textproc/rubygem-loofah219/pkg-descr
new file mode 100644
index 000000000000..dae5505c8647
--- /dev/null
+++ b/textproc/rubygem-loofah219/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.