pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/hs-xss-sanitize



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun Jan 19 10:49:46 UTC 2020

Added Files:
        pkgsrc/www/hs-xss-sanitize: DESCR Makefile buildlink3.mk distinfo

Log Message:
Import xss-sanitize-0.3.6

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/hs-xss-sanitize/DESCR \
    pkgsrc/www/hs-xss-sanitize/Makefile \
    pkgsrc/www/hs-xss-sanitize/buildlink3.mk \
    pkgsrc/www/hs-xss-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/www/hs-xss-sanitize/DESCR
diff -u /dev/null pkgsrc/www/hs-xss-sanitize/DESCR:1.1
--- /dev/null   Sun Jan 19 10:49:46 2020
+++ pkgsrc/www/hs-xss-sanitize/DESCR    Sun Jan 19 10:49:46 2020
@@ -0,0 +1,2 @@
+Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to
+prevent XSS attacks.
Index: pkgsrc/www/hs-xss-sanitize/Makefile
diff -u /dev/null pkgsrc/www/hs-xss-sanitize/Makefile:1.1
--- /dev/null   Sun Jan 19 10:49:46 2020
+++ pkgsrc/www/hs-xss-sanitize/Makefile Sun Jan 19 10:49:46 2020
@@ -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"
Index: pkgsrc/www/hs-xss-sanitize/buildlink3.mk
diff -u /dev/null pkgsrc/www/hs-xss-sanitize/buildlink3.mk:1.1
--- /dev/null   Sun Jan 19 10:49:46 2020
+++ pkgsrc/www/hs-xss-sanitize/buildlink3.mk    Sun Jan 19 10:49:46 2020
@@ -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
Index: pkgsrc/www/hs-xss-sanitize/distinfo
diff -u /dev/null pkgsrc/www/hs-xss-sanitize/distinfo:1.1
--- /dev/null   Sun Jan 19 10:49:46 2020
+++ pkgsrc/www/hs-xss-sanitize/distinfo Sun Jan 19 10:49:46 2020
@@ -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