pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-loofah Import ruby-loofah-2.0.3 as www/ruby-l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b5b5b226f03
branches: trunk
changeset: 360740:2b5b5b226f03
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Apr 06 03:10:52 2017 +0000
description:
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.
diffstat:
www/ruby-loofah/DESCR | 6 ++++++
www/ruby-loofah/Makefile | 14 ++++++++++++++
www/ruby-loofah/PLIST | 40 ++++++++++++++++++++++++++++++++++++++++
www/ruby-loofah/distinfo | 6 ++++++
4 files changed, 66 insertions(+), 0 deletions(-)
diffs (82 lines):
diff -r 95f2459d848a -r 2b5b5b226f03 www/ruby-loofah/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-loofah/DESCR Thu Apr 06 03:10:52 2017 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 95f2459d848a -r 2b5b5b226f03 www/ruby-loofah/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-loofah/Makefile Thu Apr 06 03:10:52 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/04/06 03:10:52 minskim Exp $
+
+DISTNAME= loofah-2.0.3
+CATEGORIES= www
+
+MAINTAINER= minskim%NetBSD.org@localhost
+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"
diff -r 95f2459d848a -r 2b5b5b226f03 www/ruby-loofah/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-loofah/PLIST Thu Apr 06 03:10:52 2017 +0000
@@ -0,0 +1,40 @@
+@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
diff -r 95f2459d848a -r 2b5b5b226f03 www/ruby-loofah/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-loofah/distinfo Thu Apr 06 03:10:52 2017 +0000
@@ -0,0 +1,6 @@
+$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
Home |
Main Index |
Thread Index |
Old Index