git: d03f6ba3da4c - main - textproc/rubygem-loofah221: Add rubygem-loofah221 2.21.4 (copied from rubygem-loofah)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 21:23:29 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d03f6ba3da4c0a0fad9b96f6faa8f2e43359ce08 commit d03f6ba3da4c0a0fad9b96f6faa8f2e43359ce08 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-14 20:57:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-14 21:19:26 +0000 textproc/rubygem-loofah221: Add rubygem-loofah221 2.21.4 (copied from rubygem-loofah) - Add PORTSCOUT --- MOVED | 1 - textproc/Makefile | 1 + textproc/rubygem-loofah221/Makefile | 25 +++++++++++++++++++++++++ textproc/rubygem-loofah221/distinfo | 3 +++ textproc/rubygem-loofah221/pkg-descr | 4 ++++ 5 files changed, 33 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 91e4b2dbae4d..ba49491cc098 100644 --- a/MOVED +++ b/MOVED @@ -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 diff --git a/textproc/Makefile b/textproc/Makefile index 58ad29b6ea3e..9ccd5e143e62 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/rubygem-loofah221/Makefile b/textproc/rubygem-loofah221/Makefile new file mode 100644 index 000000000000..1cd4a3fbda8e --- /dev/null +++ b/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> diff --git a/textproc/rubygem-loofah221/distinfo b/textproc/rubygem-loofah221/distinfo new file mode 100644 index 000000000000..24c791b1ba94 --- /dev/null +++ b/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 diff --git a/textproc/rubygem-loofah221/pkg-descr b/textproc/rubygem-loofah221/pkg-descr new file mode 100644 index 000000000000..dae5505c8647 --- /dev/null +++ b/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.