diff options
author | pho <pho@pkgsrc.org> | 2021-05-05 12:59:16 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2021-05-05 12:59:16 +0000 |
commit | dfb8ff80fae2a2ff73d6857df415300217bcaa38 (patch) | |
tree | 161a83c974ed799cf38d077e3c8604ce2b04f3e7 /www | |
parent | 04333e23dae89b244dda6edce27dcf33f217793c (diff) | |
download | pkgsrc-dfb8ff80fae2a2ff73d6857df415300217bcaa38.tar.gz |
Import bsb-http-chunked-0.0.0.4
This library contains functions for encoding bytestring builders for
chunked HTTP/1.1 transfer.
This functionality was extracted from the blaze-builder package.
Diffstat (limited to 'www')
-rw-r--r-- | www/hs-bsb-http-chunked/DESCR | 4 | ||||
-rw-r--r-- | www/hs-bsb-http-chunked/Makefile | 11 | ||||
-rw-r--r-- | www/hs-bsb-http-chunked/PLIST | 19 | ||||
-rw-r--r-- | www/hs-bsb-http-chunked/buildlink3.mk | 13 | ||||
-rw-r--r-- | www/hs-bsb-http-chunked/distinfo | 7 | ||||
-rw-r--r-- | www/hs-bsb-http-chunked/patches/patch-bsb-http-chunked.cabal | 15 |
6 files changed, 69 insertions, 0 deletions
diff --git a/www/hs-bsb-http-chunked/DESCR b/www/hs-bsb-http-chunked/DESCR new file mode 100644 index 00000000000..f0666dbd8e7 --- /dev/null +++ b/www/hs-bsb-http-chunked/DESCR @@ -0,0 +1,4 @@ +This library contains functions for encoding bytestring builders for +chunked HTTP/1.1 transfer. + +This functionality was extracted from the blaze-builder package. diff --git a/www/hs-bsb-http-chunked/Makefile b/www/hs-bsb-http-chunked/Makefile new file mode 100644 index 00000000000..cb58f77eda3 --- /dev/null +++ b/www/hs-bsb-http-chunked/Makefile @@ -0,0 +1,11 @@ +# $NetBSD: Makefile,v 1.1 2021/05/05 12:59:16 pho Exp $ + +DISTNAME= bsb-http-chunked-0.0.0.4 +CATEGORIES= www + +MAINTAINER= pho@cielonegro.org +COMMENT= Chunked HTTP transfer encoding for bytestring builders +LICENSE= modified-bsd + +.include "../../mk/haskell.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/hs-bsb-http-chunked/PLIST b/www/hs-bsb-http-chunked/PLIST new file mode 100644 index 00000000000..a7ae1286517 --- /dev/null +++ b/www/hs-bsb-http-chunked/PLIST @@ -0,0 +1,19 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/05 12:59:16 pho Exp $ +lib/bsb-http-chunked-${PKGVERSION}/${HS_VERSION}/package-description +lib/bsb-http-chunked-${PKGVERSION}/${HS_VERSION}/package-id +lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Builder/HTTP/Chunked.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Builder/HTTP/Chunked.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Builder/HTTP/Chunked.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a +lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a +lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/LICENSE +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/Data-ByteString-Builder-HTTP-Chunked.html +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/bsb-http-chunked.haddock +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/doc-index.html +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/haddock-bundle.min.js +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/index.html +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/linuwial.css +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/meta.json +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/quick-jump.css +share/doc/${HS_PLATFORM}/bsb-http-chunked-${PKGVERSION}/html/synopsis.png diff --git a/www/hs-bsb-http-chunked/buildlink3.mk b/www/hs-bsb-http-chunked/buildlink3.mk new file mode 100644 index 00000000000..1f35ef4319d --- /dev/null +++ b/www/hs-bsb-http-chunked/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/05/05 12:59:16 pho Exp $ + +BUILDLINK_TREE+= hs-bsb-http-chunked + +.if !defined(HS_BSB_HTTP_CHUNKED_BUILDLINK3_MK) +HS_BSB_HTTP_CHUNKED_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-bsb-http-chunked+= hs-bsb-http-chunked>=0.0.0 +BUILDLINK_ABI_DEPENDS.hs-bsb-http-chunked+= hs-bsb-http-chunked>=0.0.0.4 +BUILDLINK_PKGSRCDIR.hs-bsb-http-chunked?= ../../www/hs-bsb-http-chunked +.endif # HS_BSB_HTTP_CHUNKED_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-bsb-http-chunked diff --git a/www/hs-bsb-http-chunked/distinfo b/www/hs-bsb-http-chunked/distinfo new file mode 100644 index 00000000000..da692336531 --- /dev/null +++ b/www/hs-bsb-http-chunked/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2021/05/05 12:59:16 pho Exp $ + +SHA1 (bsb-http-chunked-0.0.0.4.tar.gz) = 82182f11a518a2fc5723b5f367a0274aa88a1cce +RMD160 (bsb-http-chunked-0.0.0.4.tar.gz) = 9a7ede832e3290cd03f40dbca07813597f1e9bdc +SHA512 (bsb-http-chunked-0.0.0.4.tar.gz) = 74c04c2fd372067c42d3631cdfc2ad7093c0c3af1145833ab307c538dbb936d2042492d4e81c520c3adde8634df29ff8558822f06f226c52d16abb4a35ab1a13 +Size (bsb-http-chunked-0.0.0.4.tar.gz) = 6630 bytes +SHA1 (patch-bsb-http-chunked.cabal) = 395689e2b5b74943e4a077bb26ea1389fe2318bc diff --git a/www/hs-bsb-http-chunked/patches/patch-bsb-http-chunked.cabal b/www/hs-bsb-http-chunked/patches/patch-bsb-http-chunked.cabal new file mode 100644 index 00000000000..9fce043c15b --- /dev/null +++ b/www/hs-bsb-http-chunked/patches/patch-bsb-http-chunked.cabal @@ -0,0 +1,15 @@ +$NetBSD: patch-bsb-http-chunked.cabal,v 1.1 2021/05/05 12:59:16 pho Exp $ + +Fix build with GHC 9. + +--- bsb-http-chunked.cabal.orig 2018-09-29 14:22:36.000000000 +0000 ++++ bsb-http-chunked.cabal +@@ -36,7 +36,7 @@ Source-repository head + + Library + exposed-modules: Data.ByteString.Builder.HTTP.Chunked +- build-depends: base >= 4.8 && < 4.13, ++ build-depends: base >= 4.8 && < 5, + bytestring >= 0.10.2 && < 0.11 + ghc-options: -Wall -O2 + if impl(ghc >= 8.0) |