pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ruby-sanitize



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Aug 30 15:37:23 UTC 2022

Added Files:
        pkgsrc/textproc/ruby-sanitize: DESCR Makefile PLIST distinfo

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


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

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

Added files:

Index: pkgsrc/textproc/ruby-sanitize/DESCR
diff -u /dev/null pkgsrc/textproc/ruby-sanitize/DESCR:1.1
--- /dev/null   Tue Aug 30 15:37:23 2022
+++ pkgsrc/textproc/ruby-sanitize/DESCR Tue Aug 30 15:37:23 2022
@@ -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.
Index: pkgsrc/textproc/ruby-sanitize/Makefile
diff -u /dev/null pkgsrc/textproc/ruby-sanitize/Makefile:1.1
--- /dev/null   Tue Aug 30 15:37:23 2022
+++ pkgsrc/textproc/ruby-sanitize/Makefile      Tue Aug 30 15:37:23 2022
@@ -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"
Index: pkgsrc/textproc/ruby-sanitize/PLIST
diff -u /dev/null pkgsrc/textproc/ruby-sanitize/PLIST:1.1
--- /dev/null   Tue Aug 30 15:37:23 2022
+++ pkgsrc/textproc/ruby-sanitize/PLIST Tue Aug 30 15:37:23 2022
@@ -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
Index: pkgsrc/textproc/ruby-sanitize/distinfo
diff -u /dev/null pkgsrc/textproc/ruby-sanitize/distinfo:1.1
--- /dev/null   Tue Aug 30 15:37:23 2022
+++ pkgsrc/textproc/ruby-sanitize/distinfo      Tue Aug 30 15:37:23 2022
@@ -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