pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-sanitize textproc/ruby-sanitize: add pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/866d3d737995
branches:  trunk
changeset: 384287:866d3d737995
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Aug 30 15:37:23 2022 +0000

description:
textproc/ruby-sanitize: add package version 6.0.0

It is required for forthcoming redmine50 package.

Sanitize is an allowlist-based HTML and CSS sanitizer.  It removes all HTML
and/or CSS from a string except the elements, attributes, and properties you
choose to allow.

diffstat:

 textproc/ruby-sanitize/DESCR    |   3 +++
 textproc/ruby-sanitize/Makefile |  17 +++++++++++++++++
 textproc/ruby-sanitize/PLIST    |  31 +++++++++++++++++++++++++++++++
 textproc/ruby-sanitize/distinfo |   5 +++++
 4 files changed, 56 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r 28eebfc50f9e -r 866d3d737995 textproc/ruby-sanitize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-sanitize/DESCR      Tue Aug 30 15:37:23 2022 +0000
@@ -0,0 +1,3 @@
+Sanitize is an allowlist-based HTML and CSS sanitizer.  It removes all HTML
+and/or CSS from a string except the elements, attributes, and properties you
+choose to allow.
diff -r 28eebfc50f9e -r 866d3d737995 textproc/ruby-sanitize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-sanitize/Makefile   Tue Aug 30 15:37:23 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/08/30 15:37:23 taca Exp $
+
+DISTNAME=      sanitize-6.0.0
+CATEGORIES=    textproc
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rgrove/sanitize/
+COMMENT=       Allowlist-based HTML and CSS sanitizer
+LICENSE=       mit
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-crass>=1.0.2<1.1:../../www/ruby-crass
+DEPENDS+=      ${RUBY_PKGPREFIX}-nokogiri>=1.12.0:../../textproc/ruby-nokogiri
+
+USE_LANGUAGES= # empty
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 28eebfc50f9e -r 866d3d737995 textproc/ruby-sanitize/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-sanitize/PLIST      Tue Aug 30 15:37:23 2022 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/30 15:37:23 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/HISTORY.md
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/sanitize.rb
+${GEM_LIBDIR}/lib/sanitize/config.rb
+${GEM_LIBDIR}/lib/sanitize/config/basic.rb
+${GEM_LIBDIR}/lib/sanitize/config/default.rb
+${GEM_LIBDIR}/lib/sanitize/config/relaxed.rb
+${GEM_LIBDIR}/lib/sanitize/config/restricted.rb
+${GEM_LIBDIR}/lib/sanitize/css.rb
+${GEM_LIBDIR}/lib/sanitize/transformers/clean_cdata.rb
+${GEM_LIBDIR}/lib/sanitize/transformers/clean_comment.rb
+${GEM_LIBDIR}/lib/sanitize/transformers/clean_css.rb
+${GEM_LIBDIR}/lib/sanitize/transformers/clean_doctype.rb
+${GEM_LIBDIR}/lib/sanitize/transformers/clean_element.rb
+${GEM_LIBDIR}/lib/sanitize/version.rb
+${GEM_LIBDIR}/test/common.rb
+${GEM_LIBDIR}/test/test_clean_comment.rb
+${GEM_LIBDIR}/test/test_clean_css.rb
+${GEM_LIBDIR}/test/test_clean_doctype.rb
+${GEM_LIBDIR}/test/test_clean_element.rb
+${GEM_LIBDIR}/test/test_config.rb
+${GEM_LIBDIR}/test/test_malicious_css.rb
+${GEM_LIBDIR}/test/test_malicious_html.rb
+${GEM_LIBDIR}/test/test_parser.rb
+${GEM_LIBDIR}/test/test_sanitize.rb
+${GEM_LIBDIR}/test/test_sanitize_css.rb
+${GEM_LIBDIR}/test/test_transformers.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 28eebfc50f9e -r 866d3d737995 textproc/ruby-sanitize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-sanitize/distinfo   Tue Aug 30 15:37:23 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/30 15:37:23 taca Exp $
+
+BLAKE2s (sanitize-6.0.0.gem) = bbeeee0abb01b6a1a951d82f78995e49dd969b86ac6e38727bdd0e03a2c94bc8
+SHA512 (sanitize-6.0.0.gem) = 32c3bdab98e4caec6d0e6f4df86ceffa427dc799a40b65d1c71e9ecb9c2a97c43cd801e46df02337264c362f545f0b3efaf8679c1d92f84f0b90296d6e7e4150
+Size (sanitize-6.0.0.gem) = 45056 bytes



Home | Main Index | Thread Index | Old Index