Thu Apr 6 03:10:52 2017 UTC ()
Import ruby-loofah-2.0.3 as www/ruby-loofah

Loofah is a general library for manipulating and transforming 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, so it most likely won't make your codes less
secure.


(minskim)
diff -r0 -r1.1 pkgsrc/www/ruby-loofah/DESCR
diff -r0 -r1.1 pkgsrc/www/ruby-loofah/Makefile
diff -r0 -r1.1 pkgsrc/www/ruby-loofah/PLIST
diff -r0 -r1.1 pkgsrc/www/ruby-loofah/distinfo

File Added: pkgsrc/www/ruby-loofah/DESCR
Loofah is a general library for manipulating and transforming 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, so it most likely won't make your codes less
secure.

File Added: pkgsrc/www/ruby-loofah/Makefile
# $NetBSD: Makefile,v 1.1 2017/04/06 03:10:52 minskim Exp $

DISTNAME=	loofah-2.0.3
CATEGORIES=	www

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	https://github.com/kieranmasterton/loofah
COMMENT=	HTML sanitizer for Rails applications
LICENSE=	mit

DEPENDS+=	${RUBY_PKGPREFIX}-nokogiri>=1.5.9:../../textproc/ruby-nokogiri

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/www/ruby-loofah/PLIST
@comment $NetBSD: PLIST,v 1.1 2017/04/06 03:10:52 minskim Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/CHANGELOG.rdoc
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/MIT-LICENSE.txt
${GEM_LIBDIR}/Manifest.txt
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/benchmark/benchmark.rb
${GEM_LIBDIR}/benchmark/fragment.html
${GEM_LIBDIR}/benchmark/helper.rb
${GEM_LIBDIR}/benchmark/www.slashdot.com.html
${GEM_LIBDIR}/lib/loofah.rb
${GEM_LIBDIR}/lib/loofah/elements.rb
${GEM_LIBDIR}/lib/loofah/helpers.rb
${GEM_LIBDIR}/lib/loofah/html/document.rb
${GEM_LIBDIR}/lib/loofah/html/document_fragment.rb
${GEM_LIBDIR}/lib/loofah/html5/scrub.rb
${GEM_LIBDIR}/lib/loofah/html5/whitelist.rb
${GEM_LIBDIR}/lib/loofah/instance_methods.rb
${GEM_LIBDIR}/lib/loofah/metahelpers.rb
${GEM_LIBDIR}/lib/loofah/scrubber.rb
${GEM_LIBDIR}/lib/loofah/scrubbers.rb
${GEM_LIBDIR}/lib/loofah/xml/document.rb
${GEM_LIBDIR}/lib/loofah/xml/document_fragment.rb
${GEM_LIBDIR}/test/assets/testdata_sanitizer_tests1.dat
${GEM_LIBDIR}/test/helper.rb
${GEM_LIBDIR}/test/html5/test_sanitizer.rb
${GEM_LIBDIR}/test/integration/test_ad_hoc.rb
${GEM_LIBDIR}/test/integration/test_helpers.rb
${GEM_LIBDIR}/test/integration/test_html.rb
${GEM_LIBDIR}/test/integration/test_scrubbers.rb
${GEM_LIBDIR}/test/integration/test_xml.rb
${GEM_LIBDIR}/test/unit/test_api.rb
${GEM_LIBDIR}/test/unit/test_encoding.rb
${GEM_LIBDIR}/test/unit/test_helpers.rb
${GEM_LIBDIR}/test/unit/test_scrubber.rb
${GEM_LIBDIR}/test/unit/test_scrubbers.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

File Added: pkgsrc/www/ruby-loofah/distinfo
$NetBSD: distinfo,v 1.1 2017/04/06 03:10:52 minskim Exp $

SHA1 (loofah-2.0.3.gem) = da00db084b21106056c7c09e8608392439db90ec
RMD160 (loofah-2.0.3.gem) = e350e0c6b4a3d50e10903b8892465c01befff077
SHA512 (loofah-2.0.3.gem) = 1f08bcfa09bf075b4d84707099cce6bdaa986cd6c79f63fc60c8bee4812c5a31cee1021cd314fc2033842d7b01ffe63f5f6acbf271a0db2ee631cd326520d700
Size (loofah-2.0.3.gem) = 60416 bytes