diff options
Diffstat (limited to 'dev-haskell/xss-sanitize')
-rw-r--r-- | dev-haskell/xss-sanitize/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/xss-sanitize/metadata.xml | 17 | ||||
-rw-r--r-- | dev-haskell/xss-sanitize/xss-sanitize-0.3.5.6.ebuild | 38 | ||||
-rw-r--r-- | dev-haskell/xss-sanitize/xss-sanitize-0.3.5.7.ebuild | 38 |
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-haskell/xss-sanitize/Manifest b/dev-haskell/xss-sanitize/Manifest new file mode 100644 index 000000000000..be5660ffe964 --- /dev/null +++ b/dev-haskell/xss-sanitize/Manifest @@ -0,0 +1,5 @@ +DIST xss-sanitize-0.3.5.6.tar.gz 10874 BLAKE2B 60f0b7ac4507870bfdd645fd47c69ecc152865be83affeb3739c6c91e94a17fb93b16be536f74bf888db50b770f361629342fb1e868b686377173e5a2cc11d1b SHA512 9799979f2632b5a5d446913e1b465110a9f4ce6c25dddf27d4fd54a492293ab9f1937668213af762494fc44d4ec270beb0816a2afb3f2b3a5da22c180cb6707d +DIST xss-sanitize-0.3.5.7.tar.gz 10878 BLAKE2B d6746b23ad149bd0fa37954caa52cda2e636b22c837f0f8701bd2a00cd610115d0db76c08deaf8d29265bc621cdba70597f18719e077e3a4a401c39d08c8d6f4 SHA512 8633a160ef9ad5408767eecf5279b009e01621a3ac2e3a5cfd6a6a480c5f1991497d1e4eb7b0195fbdc296830d5ef729e7893b836555f3fbc2c313032f4de040 +EBUILD xss-sanitize-0.3.5.6.ebuild 1253 BLAKE2B 4d59dfac5f8a3d177ee69ffdadaac37111e8f7434d2cfdf1dcb4abfafcaaac3ced14525f100aab3204869585af85b09b0dceebdc64c56e65fb65455ec5d04d32 SHA512 e89b0de322a6452dd290fd96441929813b3b45ae2a92873385f9626ce1e37a64e1c0fde96447f25466efee0ab984242f213bb14eff02c7711a980986714f2d6c +EBUILD xss-sanitize-0.3.5.7.ebuild 1255 BLAKE2B 10ab97e4727db3c0deed0a65bb58b59b8e729ae00c147cace6308655535211635c455c597a76a891aa0ddd7630e878bd1868743bc205c6a815da49641e471256 SHA512 f0b048c0eb386f6ba07ca05bd38900a3f9e2807dcd2645fd5710fb75a5fef77c15cbd5bec38ebeb0e8a1930b3c5ad41aa3e04c05e5e22a0f6eba09dd229313bb +MISC metadata.xml 652 BLAKE2B e217ab4fa0cb3ec8b691df94fe1913baffd459f186a31e7678808af0ff72645e999094c513dfd5be0fc64b1ffb875afb93fe755c386f0b9460a502acfe60c3e2 SHA512 426da46ff379aed8b7a5251fde63e79ef56513a88592ec3c9eaf3f796f75c83f7b490738b74a5d53198edd965b58c599a846d888a7e2e3d00564ff163df27e52 diff --git a/dev-haskell/xss-sanitize/metadata.xml b/dev-haskell/xss-sanitize/metadata.xml new file mode 100644 index 000000000000..7d68100b3327 --- /dev/null +++ b/dev-haskell/xss-sanitize/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <https://github.com/yesodweb/haskell-xss-sanitize> for more details + </longdescription> + <use> + <flag name="network-uri">Get Network.URI from the network-uri package.</flag> + </use> + <upstream> + <remote-id type="github">yesodweb/haskell-xss-sanitize</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.6.ebuild b/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.6.ebuild new file mode 100644 index 000000000000..45d66f17877e --- /dev/null +++ b/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="sanitize untrusted HTML to prevent XSS attacks" +HOMEPAGE="https://github.com/yesodweb/haskell-xss-sanitize" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+network-uri" + +RDEPEND=">=dev-haskell/attoparsec-0.10.0.3:=[profile?] <dev-haskell/attoparsec-1:=[profile?] + >=dev-haskell/css-text-0.1.1:=[profile?] <dev-haskell/css-text-0.2:=[profile?] + >=dev-haskell/tagsoup-0.12.2:=[profile?] <dev-haskell/tagsoup-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-2:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-7.4.1:= + network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] ) + !network-uri? ( <dev-haskell/network-2.6:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.3 + >=dev-haskell/hunit-1.2 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag network-uri network-uri) +} diff --git a/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.7.ebuild b/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.7.ebuild new file mode 100644 index 000000000000..d00c924aeb64 --- /dev/null +++ b/dev-haskell/xss-sanitize/xss-sanitize-0.3.5.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.4.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="sanitize untrusted HTML to prevent XSS attacks" +HOMEPAGE="https://github.com/yesodweb/haskell-xss-sanitize" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+network-uri" + +RDEPEND=">=dev-haskell/attoparsec-0.10.0.3:=[profile?] <dev-haskell/attoparsec-1:=[profile?] + >=dev-haskell/css-text-0.1.1:=[profile?] <dev-haskell/css-text-0.2:=[profile?] + >=dev-haskell/tagsoup-0.12.2:=[profile?] <dev-haskell/tagsoup-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-2:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-7.4.1:= + network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] ) + !network-uri? ( <dev-haskell/network-2.6:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.3 + >=dev-haskell/hunit-1.2 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag network-uri network-uri) +} |