textproc/rubygem-loofah222: Add rubygem-loofah222 2.22.0 (copied from rubygem-loofah)

- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh 2024-10-29 22:09:22 +08:00
parent 8facf350d7
commit 90e9eebb64
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 33 additions and 0 deletions

View file

@ -1877,6 +1877,7 @@
SUBDIR += rubygem-liquid4
SUBDIR += rubygem-loggability
SUBDIR += rubygem-loofah
SUBDIR += rubygem-loofah222
SUBDIR += rubygem-ltsv
SUBDIR += rubygem-markaby
SUBDIR += rubygem-mdl

View file

@ -0,0 +1,25 @@
PORTNAME= loofah
PORTVERSION= 2.22.0
CATEGORIES= textproc rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 222
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.12.0:textproc/rubygem-nokogiri
USES= cpe gem
NO_ARCH= yes
CPE_VENDOR= loofah_project
PORTSCOUT= limit:^2\.22\.
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1699985629
SHA256 (rubygem/loofah-2.22.0.gem) = 10d76e070c86b12fec74b6a9515fd1940f4459198b991342d0a7897d86c372fe
SIZE (rubygem/loofah-2.22.0.gem) = 33280

View file

@ -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.