pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/hs-xss-sanitize Import xss-sanitize-0.3.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32cd66f4fbb4
branches:  trunk
changeset: 421931:32cd66f4fbb4
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Jan 19 10:49:46 2020 +0000

description:
Import xss-sanitize-0.3.6

Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to
prevent XSS attacks.

diffstat:

 www/hs-xss-sanitize/DESCR         |   2 ++
 www/hs-xss-sanitize/Makefile      |  16 ++++++++++++++++
 www/hs-xss-sanitize/buildlink3.mk |  19 +++++++++++++++++++
 www/hs-xss-sanitize/distinfo      |   6 ++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 533ec03410ff -r 32cd66f4fbb4 www/hs-xss-sanitize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-xss-sanitize/DESCR Sun Jan 19 10:49:46 2020 +0000
@@ -0,0 +1,2 @@
+Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to
+prevent XSS attacks.
diff -r 533ec03410ff -r 32cd66f4fbb4 www/hs-xss-sanitize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-xss-sanitize/Makefile      Sun Jan 19 10:49:46 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 10:49:46 pho Exp $
+
+DISTNAME=      xss-sanitize-0.3.6
+CATEGORIES=    www
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Sanitize untrusted HTML to prevent XSS attacks
+LICENSE=       2-clause-bsd
+
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../textproc/hs-css-text/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../textproc/hs-tagsoup/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 533ec03410ff -r 32cd66f4fbb4 www/hs-xss-sanitize/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-xss-sanitize/buildlink3.mk Sun Jan 19 10:49:46 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 10:49:46 pho Exp $
+
+BUILDLINK_TREE+=       hs-xss-sanitize
+
+.if !defined(HS_XSS_SANITIZE_BUILDLINK3_MK)
+HS_XSS_SANITIZE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-xss-sanitize+=        hs-xss-sanitize>=0.3.6
+BUILDLINK_ABI_DEPENDS.hs-xss-sanitize+=        hs-xss-sanitize>=0.3.6
+BUILDLINK_PKGSRCDIR.hs-xss-sanitize?=  ../../www/hs-xss-sanitize
+
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../textproc/hs-css-text/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../textproc/hs-tagsoup/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.endif # HS_XSS_SANITIZE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-xss-sanitize
diff -r 533ec03410ff -r 32cd66f4fbb4 www/hs-xss-sanitize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-xss-sanitize/distinfo      Sun Jan 19 10:49:46 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 10:49:46 pho Exp $
+
+SHA1 (xss-sanitize-0.3.6.tar.gz) = 6cc8e1a577132a2944f9ea57347391dfbe906d0f
+RMD160 (xss-sanitize-0.3.6.tar.gz) = 46cc015ada9cd96953d89c93ebcb82b9f51ae599
+SHA512 (xss-sanitize-0.3.6.tar.gz) = 8d038d807b7fa01a65f4b73d135c87ab75385f4c91ce174b332cd5fd1dc1ebdec26b0c5713cf3f68c27351e19e099815d1b530af3ecb7e4c45e71fec4ae12b4c
+Size (xss-sanitize-0.3.6.tar.gz) = 11655 bytes



Home | Main Index | Thread Index | Old Index