Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 8A8727A271 for ; Thu, 6 Apr 2017 03:10:53 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 39972855ED; Thu, 6 Apr 2017 03:10:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BEB93855EB for ; Thu, 6 Apr 2017 03:10:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id k3jCFBylVeZE for ; Thu, 6 Apr 2017 03:10:52 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3537D855E7 for ; Thu, 6 Apr 2017 03:10:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 30A5CFBE4; Thu, 6 Apr 2017 03:10:52 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1491448252123490" MIME-Version: 1.0 Date: Thu, 6 Apr 2017 03:10:52 +0000 From: "Min Sik Kim" Subject: CVS commit: pkgsrc/www/ruby-loofah To: pkgsrc-changes@NetBSD.org Reply-To: minskim@netbsd.org X-Mailer: log_accum Message-Id: <20170406031052.30A5CFBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1491448252123490 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1491448252123490 Content-Disposition: inline Content-Length: 3599 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1491448252123490--