diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-06-03 17:06:22 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-06-03 17:06:22 +0000 |
commit | dbdc74ae88c3751da5554126de676b281bc727d5 (patch) | |
tree | a89d896c6c4af5e423b2ca6959cb64f0adb4f53c /textproc/rubygem-loofah | |
parent | 77cc6b5ca2046358b5cb9c208ad6729d0eaeb749 (diff) | |
download | ports-dbdc74ae88c3751da5554126de676b281bc727d5.tar.gz ports-dbdc74ae88c3751da5554126de676b281bc727d5.zip |
Loofah is a general library for manipulating 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.
WWW: http://github.com/flavorjones/loofah
WWW: http://loofah.rubyforge.org/loofah/
PR: ports/147185
Submitted by: Eric Freeman <freebsdports at chillibear.com>
Notes
Notes:
svn path=/head/; revision=255666
Diffstat (limited to 'textproc/rubygem-loofah')
-rw-r--r-- | textproc/rubygem-loofah/Makefile | 22 | ||||
-rw-r--r-- | textproc/rubygem-loofah/distinfo | 3 | ||||
-rw-r--r-- | textproc/rubygem-loofah/pkg-descr | 7 |
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/rubygem-loofah/Makefile b/textproc/rubygem-loofah/Makefile new file mode 100644 index 000000000000..e54e035254dc --- /dev/null +++ b/textproc/rubygem-loofah/Makefile @@ -0,0 +1,22 @@ +# Ports collection makefile for: rubygem-loofah +# Date created: 29 May 2010 +# Whom: Eric Freeman <freebsdports@chillibear.com> +# +# $FreeBSD$ +# + +PORTNAME= loofah +PORTVERSION= 0.4.7 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= freebsdports@chillibear.com +COMMENT= Library for manipulating HTML/XML documents and fragments + +RUN_DEPENDS= rubygem-nokogiri>=1.3.3:${PORTSDIR}/textproc/rubygem-nokogiri + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/textproc/rubygem-loofah/distinfo b/textproc/rubygem-loofah/distinfo new file mode 100644 index 000000000000..e30eca28fb75 --- /dev/null +++ b/textproc/rubygem-loofah/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/loofah-0.4.7.gem) = 92e2d3153d0f0b077d5e16364ad1ec3a +SHA256 (rubygem/loofah-0.4.7.gem) = 3e2b7fe9b642a0be85a9d6ac736f5df323f0bd46172ad7e3e813dd9645b3a662 +SIZE (rubygem/loofah-0.4.7.gem) = 60416 diff --git a/textproc/rubygem-loofah/pkg-descr b/textproc/rubygem-loofah/pkg-descr new file mode 100644 index 000000000000..bc3de38ed15e --- /dev/null +++ b/textproc/rubygem-loofah/pkg-descr @@ -0,0 +1,7 @@ +Loofah is a general library for manipulating 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. + +WWW: http://github.com/flavorjones/loofah +WWW: http://loofah.rubyforge.org/loofah/ |