SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
COMMENT= lib to transform HTML/XML
DISTNAME= loofah-2.20.0
CATEGORIES= devel
HOMEPAGE= https://github.com/flavorjones/loofah
MAINTAINER= Purple Rain <purplerain@secbsd.org>
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/ruby
BUILD_DEPENDS= ${RUN_DEPENDS} \
devel/ruby-crass \
textproc/ruby-nokogiri
CONFIGURE_STYLE= ruby gem
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (loofah-2.20.0.gem) = 6PqHTI4s0vvb7MG2utw/cTY5eWqso/bdSUxHN4KKJNY=
SIZE (loofah-2.20.0.gem) = 32768

View file

@ -0,0 +1,11 @@
Loofah is a general library for manipulating and transforming HTML/XML
documents and fragments, built on top of Nokogiri.
Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML
sanitizers, which are based on HTML5lib's safelist, so it most likely won't
make your codes less secure. (These statements have not been evaluated by
Netexperts.)
ActiveRecord extensions for sanitization are available in the
[`loofah-activerecord`
gem](https://github.com/flavorjones/loofah-activerecord).

View file

@ -0,0 +1,27 @@
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md
${GEM_LIB}/gems/${DISTNAME}/MIT-LICENSE.txt
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/SECURITY.md
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/
${GEM_LIB}/gems/${DISTNAME}/lib/loofah.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/elements.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/helpers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html/
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html/document.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html/document_fragment.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html5/
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html5/libxml2_workarounds.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html5/safelist.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/html5/scrub.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/instance_methods.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/metahelpers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/scrubber.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/scrubbers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/version.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/xml/
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/xml/document.rb
${GEM_LIB}/gems/${DISTNAME}/lib/loofah/xml/document_fragment.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec