git: e199cb2f576f - main - textproc/rubygem-loofah220: Add rubygem-loofah220 2.20.0 (copied from rubygem-loofah)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:25:30 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e199cb2f576f6c42bd53400bede8070a7e115801 commit e199cb2f576f6c42bd53400bede8070a7e115801 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:06:47 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:06:47 +0000 textproc/rubygem-loofah220: Add rubygem-loofah220 2.20.0 (copied from rubygem-loofah) - Add PORTSCOUT --- textproc/Makefile | 1 + textproc/rubygem-loofah220/Makefile | 25 +++++++++++++++++++++++++ textproc/rubygem-loofah220/distinfo | 3 +++ textproc/rubygem-loofah220/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 8c5864cce47b..24043f501c4c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1777,6 +1777,7 @@ SUBDIR += rubygem-loggability SUBDIR += rubygem-loofah SUBDIR += rubygem-loofah219 + SUBDIR += rubygem-loofah220 SUBDIR += rubygem-loofah221 SUBDIR += rubygem-ltsv SUBDIR += rubygem-markaby diff --git a/textproc/rubygem-loofah220/Makefile b/textproc/rubygem-loofah220/Makefile new file mode 100644 index 000000000000..99e1b27f10a7 --- /dev/null +++ b/textproc/rubygem-loofah220/Makefile @@ -0,0 +1,25 @@ +PORTNAME= loofah +PORTVERSION= 2.20.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 220 + +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\.20\. + +.include <bsd.port.mk> diff --git a/textproc/rubygem-loofah220/distinfo b/textproc/rubygem-loofah220/distinfo new file mode 100644 index 000000000000..a956e2554b52 --- /dev/null +++ b/textproc/rubygem-loofah220/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680726416 +SHA256 (rubygem/loofah-2.20.0.gem) = e8fa874c8e2cd2fbdbecc1b6badc3f713639796aaca3f6dd494c4737828a24d6 +SIZE (rubygem/loofah-2.20.0.gem) = 32768 diff --git a/textproc/rubygem-loofah220/pkg-descr b/textproc/rubygem-loofah220/pkg-descr new file mode 100644 index 000000000000..dae5505c8647 --- /dev/null +++ b/textproc/rubygem-loofah220/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.