aboutsummaryrefslogtreecommitdiff
path: root/www/hs-xss-sanitize
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-02-18 03:21:47 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-02-18 03:21:47 +0000
commit81c73710a6fc1d6454b029f5e2c81f592c5be130 (patch)
tree0106132c69eaa631e7628b32ffc4e9fd28678de0 /www/hs-xss-sanitize
parentdd0880a1b87c720f1e5ee1ed519e1e5db0694682 (diff)
Notes
Diffstat (limited to 'www/hs-xss-sanitize')
-rw-r--r--www/hs-xss-sanitize/Makefile21
-rw-r--r--www/hs-xss-sanitize/distinfo2
-rw-r--r--www/hs-xss-sanitize/pkg-descr4
3 files changed, 27 insertions, 0 deletions
diff --git a/www/hs-xss-sanitize/Makefile b/www/hs-xss-sanitize/Makefile
new file mode 100644
index 000000000000..f2e4bb8c6182
--- /dev/null
+++ b/www/hs-xss-sanitize/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: hs-xss-sanitize
+# Date created: December 2, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= xss-sanitize
+PORTVERSION= 0.3.1
+CATEGORIES= www haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Sanitize untrusted HTML to prevent XSS attacks
+
+LICENSE= BSD
+
+USE_CABAL= attoparsec>=0.10.0.3 css-text>=0.1.1 network>=2 tagsoup>=0.12.2 \
+ text>=0.11 utf8-string>=0.3
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/www/hs-xss-sanitize/distinfo b/www/hs-xss-sanitize/distinfo
new file mode 100644
index 000000000000..82bc6645cc57
--- /dev/null
+++ b/www/hs-xss-sanitize/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/xss-sanitize-0.3.1.tar.gz) = a54f7904f7102e489f71cc8cbff08293d66d38808fa8467b3f6015573ac61669
+SIZE (cabal/xss-sanitize-0.3.1.tar.gz) = 8299
diff --git a/www/hs-xss-sanitize/pkg-descr b/www/hs-xss-sanitize/pkg-descr
new file mode 100644
index 000000000000..18ec7528aabb
--- /dev/null
+++ b/www/hs-xss-sanitize/pkg-descr
@@ -0,0 +1,4 @@
+Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent
+XSS attacks.
+
+WWW: http://github.com/gregwebs/haskell-xss-sanitize