pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-loofah



Module Name:    pkgsrc
Committed By:   minskim
Date:           Thu Apr  6 03:10:52 UTC 2017

Added Files:
        pkgsrc/www/ruby-loofah: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ruby-loofah/DESCR \
    pkgsrc/www/ruby-loofah/Makefile pkgsrc/www/ruby-loofah/PLIST \
    pkgsrc/www/ruby-loofah/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/ruby-loofah/DESCR
diff -u /dev/null pkgsrc/www/ruby-loofah/DESCR:1.1
--- /dev/null   Thu Apr  6 03:10:52 2017
+++ pkgsrc/www/ruby-loofah/DESCR        Thu Apr  6 03:10:52 2017
@@ -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.
Index: pkgsrc/www/ruby-loofah/Makefile
diff -u /dev/null pkgsrc/www/ruby-loofah/Makefile:1.1
--- /dev/null   Thu Apr  6 03:10:52 2017
+++ pkgsrc/www/ruby-loofah/Makefile     Thu Apr  6 03:10:52 2017
@@ -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"
Index: pkgsrc/www/ruby-loofah/PLIST
diff -u /dev/null pkgsrc/www/ruby-loofah/PLIST:1.1
--- /dev/null   Thu Apr  6 03:10:52 2017
+++ pkgsrc/www/ruby-loofah/PLIST        Thu Apr  6 03:10:52 2017
@@ -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
Index: pkgsrc/www/ruby-loofah/distinfo
diff -u /dev/null pkgsrc/www/ruby-loofah/distinfo:1.1
--- /dev/null   Thu Apr  6 03:10:52 2017
+++ pkgsrc/www/ruby-loofah/distinfo     Thu Apr  6 03:10:52 2017
@@ -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