Skip to content

Commit

Permalink
textproc/rubygem-loofah221: Add rubygem-loofah221 2.21.4 (copied from…
Browse files Browse the repository at this point in the history
… rubygem-loofah)

- Add PORTSCOUT
  • Loading branch information
sunpoet committed Nov 14, 2023
1 parent 6062357 commit d03f6ba
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
1 change: 0 additions & 1 deletion MOVED
Expand Up @@ -7611,7 +7611,6 @@ devel/rubygem-aws-sdk-core3171|devel/rubygem-aws-sdk-core|2023-06-05|Remove obso
net/rubygem-u2f0|net/rubygem-u2f|2023-06-05|Remove obsoleted port. Use net/rubygem-u2f instead
security/rubygem-omniauth-cas3-oauth2|security/rubygem-omniauth-cas3|2023-06-05|Remove obsoleted port. Use security/rubygem-omniauth-cas3 instead
textproc/rubygem-loofah220|textproc/rubygem-loofah|2023-06-05|Remove obsoleted port. Use textproc/rubygem-loofah instead
textproc/rubygem-loofah221|textproc/rubygem-loofah|2023-06-05|Remove obsoleted port. Use textproc/rubygem-loofah instead
www/rubygem-rack227|www/rubygem-rack22|2023-06-05|Remove obsoleted port. Use www/rubygem-rack22 instead
databases/rubygem-pg13|databases/rubygem-pg|2023-06-05|Remove obsoleted port. Use databases/rubygem-pg instead
devel/rubygem-fast_gettext1|devel/rubygem-fast_gettext|2023-06-05|Remove obsoleted port. Use devel/rubygem-fast_gettext instead
Expand Down
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -1815,6 +1815,7 @@
SUBDIR += rubygem-liquid4
SUBDIR += rubygem-loggability
SUBDIR += rubygem-loofah
SUBDIR += rubygem-loofah221
SUBDIR += rubygem-ltsv
SUBDIR += rubygem-markaby
SUBDIR += rubygem-mdl
Expand Down
25 changes: 25 additions & 0 deletions textproc/rubygem-loofah221/Makefile
@@ -0,0 +1,25 @@
PORTNAME= loofah
PORTVERSION= 2.21.4
CATEGORIES= textproc rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 221

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\.21\.

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions textproc/rubygem-loofah221/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1697030440
SHA256 (rubygem/loofah-2.21.4.gem) = 2c18cd5db9fd92a48a270344e57a5b84cf22d668b78e1481f10e4f2cde4eb734
SIZE (rubygem/loofah-2.21.4.gem) = 32768
4 changes: 4 additions & 0 deletions textproc/rubygem-loofah221/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.

0 comments on commit d03f6ba

Please sign in to comment.