aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 13:17:02 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 13:36:27 +0000
commit06c7f713ed6b0141c4b01efc51cfbc8ab09fbf17 (patch)
tree07353ca1a6529f7f4a7210b192336bcf68c648d1
parent1c6ee3086b84ccef295672a1c4315414e6db41a7 (diff)
textproc/rubygem-loofah219: Add rubygem-loofah219 2.19.1 (copied from rubygem-loofah)
- Add PORTSCOUT
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-loofah219/Makefile25
-rw-r--r--textproc/rubygem-loofah219/distinfo3
-rw-r--r--textproc/rubygem-loofah219/pkg-descr4
4 files changed, 33 insertions, 0 deletions
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.