Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2024 14:40:54 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 90e9eebb64df - main - textproc/rubygem-loofah222: Add rubygem-loofah222 2.22.0 (copied from rubygem-loofah)
Message-ID:  <202410291440.49TEesTs061770@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90e9eebb64dffcbd4b40c70c9dc248ba203f2740

commit 90e9eebb64dffcbd4b40c70c9dc248ba203f2740
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:09:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:28 +0000

    textproc/rubygem-loofah222: Add rubygem-loofah222 2.22.0 (copied from rubygem-loofah)
    
    - Add PORTSCOUT
---
 textproc/Makefile                    |  1 +
 textproc/rubygem-loofah222/Makefile  | 25 +++++++++++++++++++++++++
 textproc/rubygem-loofah222/distinfo  |  3 +++
 textproc/rubygem-loofah222/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index d0cb83661bfa..b705a468dbaf 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
diff --git a/textproc/rubygem-loofah222/Makefile b/textproc/rubygem-loofah222/Makefile
new file mode 100644
index 000000000000..5bba75138b00
--- /dev/null
+++ b/textproc/rubygem-loofah222/Makefile
@@ -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>
diff --git a/textproc/rubygem-loofah222/distinfo b/textproc/rubygem-loofah222/distinfo
new file mode 100644
index 000000000000..690f37cfe2d8
--- /dev/null
+++ b/textproc/rubygem-loofah222/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699985629
+SHA256 (rubygem/loofah-2.22.0.gem) = 10d76e070c86b12fec74b6a9515fd1940f4459198b991342d0a7897d86c372fe
+SIZE (rubygem/loofah-2.22.0.gem) = 33280
diff --git a/textproc/rubygem-loofah222/pkg-descr b/textproc/rubygem-loofah222/pkg-descr
new file mode 100644
index 000000000000..dae5505c8647
--- /dev/null
+++ b/textproc/rubygem-loofah222/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410291440.49TEesTs061770>