aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-sanitize20
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2018-02-15 16:59:19 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2018-02-15 16:59:19 +0000
commit20abeb677475a7af9404d9f99fe59df400984823 (patch)
treee3647963dc11c29bf9118c28d7995ff16782c4e5 /textproc/rubygem-sanitize20
parent8b8778c682749c5e5ca8bc3e8fdd5799485cbdb9 (diff)
downloadports-20abeb677475a7af9404d9f99fe59df400984823.tar.gz
ports-20abeb677475a7af9404d9f99fe59df400984823.zip
Bring back dependencies needed to prepare the update of www/gitlab to 10.4
Submitted by: Matthias Fechner <idefix@fechner.net> Reviewed by: swills, tz
Notes
Notes: svn path=/head/; revision=461935
Diffstat (limited to 'textproc/rubygem-sanitize20')
-rw-r--r--textproc/rubygem-sanitize20/Makefile23
-rw-r--r--textproc/rubygem-sanitize20/distinfo3
-rw-r--r--textproc/rubygem-sanitize20/pkg-descr11
3 files changed, 37 insertions, 0 deletions
diff --git a/textproc/rubygem-sanitize20/Makefile b/textproc/rubygem-sanitize20/Makefile
new file mode 100644
index 000000000000..ae8a638026ed
--- /dev/null
+++ b/textproc/rubygem-sanitize20/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= sanitize
+PORTVERSION= 2.0.6
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 20
+
+MAINTAINER= idefix@fechner.net
+COMMENT= Whitelist based HTML sanitizer
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-nokogiri>=1.4.4:textproc/rubygem-nokogiri
+
+PORTSCOUT= limit:^2\.0
+
+NO_ARCH= yes
+USES= gem
+USE_RUBY= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-sanitize20/distinfo b/textproc/rubygem-sanitize20/distinfo
new file mode 100644
index 000000000000..2bdb9c3ffa50
--- /dev/null
+++ b/textproc/rubygem-sanitize20/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1518178087
+SHA256 (rubygem/sanitize-2.0.6.gem) = 204cdaf6f7db12e20da25497a974cae7a891cfb7afb37669a0d31007300004a9
+SIZE (rubygem/sanitize-2.0.6.gem) = 19968
diff --git a/textproc/rubygem-sanitize20/pkg-descr b/textproc/rubygem-sanitize20/pkg-descr
new file mode 100644
index 000000000000..184d45637d64
--- /dev/null
+++ b/textproc/rubygem-sanitize20/pkg-descr
@@ -0,0 +1,11 @@
+Sanitize is a whitelist-based HTML sanitizer. Given a list of
+acceptable elements and attributes, Sanitize will remove all
+unacceptable HTML from a string.
+
+Using a simple configuration syntax, you can tell Sanitize to
+allow certain elements, certain attributes within those elements,
+and even certain URL protocols within attributes that contain URLs.
+Any HTML elements or attributes that you don't explicitly allow
+will be removed.
+
+WWW: https://github.com/rgrove/sanitize