head 1.24; access; symbols pkgsrc-2023Q4:1.24.0.2 pkgsrc-2023Q4-base:1.24 pkgsrc-2023Q3:1.22.0.6 pkgsrc-2023Q3-base:1.22 pkgsrc-2023Q2:1.22.0.4 pkgsrc-2023Q2-base:1.22 pkgsrc-2023Q1:1.22.0.2 pkgsrc-2023Q1-base:1.22 pkgsrc-2022Q4:1.20.0.8 pkgsrc-2022Q4-base:1.20 pkgsrc-2022Q3:1.20.0.6 pkgsrc-2022Q3-base:1.20 pkgsrc-2022Q2:1.20.0.4 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.20.0.2 pkgsrc-2022Q1-base:1.20 pkgsrc-2021Q4:1.17.0.6 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.17.0.4 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.2 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.15.0.2 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.13.0.8 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.6 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.4 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.2 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.11.0.36 pkgsrc-2019Q4-base:1.11 pkgsrc-2019Q3:1.11.0.32 pkgsrc-2019Q3-base:1.11 pkgsrc-2019Q2:1.11.0.30 pkgsrc-2019Q2-base:1.11 pkgsrc-2019Q1:1.11.0.28 pkgsrc-2019Q1-base:1.11 pkgsrc-2018Q4:1.11.0.26 pkgsrc-2018Q4-base:1.11 pkgsrc-2018Q3:1.11.0.24 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.11.0.22 pkgsrc-2018Q2-base:1.11 pkgsrc-2018Q1:1.11.0.20 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.11.0.18 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.11.0.16 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.11.0.12 pkgsrc-2017Q2-base:1.11 pkgsrc-2017Q1:1.11.0.10 pkgsrc-2017Q1-base:1.11 pkgsrc-2016Q4:1.11.0.8 pkgsrc-2016Q4-base:1.11 pkgsrc-2016Q3:1.11.0.6 pkgsrc-2016Q3-base:1.11 pkgsrc-2016Q2:1.11.0.4 pkgsrc-2016Q2-base:1.11 pkgsrc-2016Q1:1.11.0.2 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.10.0.4 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.2 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.9.0.2 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.7.0.4 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.2 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.3.0.2 pkgsrc-2014Q3-base:1.3; locks; strict; comment @# @; 1.24 date 2023.11.02.06.37.44; author pho; state Exp; branches; next 1.23; commitid dPkTdcIqhE4k90LE; 1.23 date 2023.10.09.04.54.57; author pho; state Exp; branches; next 1.22; commitid GWJENRm2aeL7mUHE; 1.22 date 2023.02.07.01.41.17; author pho; state Exp; branches; next 1.21; commitid FngQneW4VvkL7xcE; 1.21 date 2023.01.25.15.19.11; author pho; state Exp; branches; next 1.20; commitid Qxcj08XZbB9X4WaE; 1.20 date 2022.02.26.03.58.33; author pho; state Exp; branches; next 1.19; commitid YpGygpH4CsFi05uD; 1.19 date 2022.02.12.08.50.58; author pho; state Exp; branches; next 1.18; commitid RtqPCkFXjE2Y4jsD; 1.18 date 2022.01.18.02.48.31; author pho; state Exp; branches; next 1.17; commitid ebWMDlQYfX5rS3pD; 1.17 date 2021.05.03.19.01.20; author pho; state Exp; branches; next 1.16; commitid Sim1lfCa9UFPBJRC; 1.16 date 2021.04.24.18.04.02; author pho; state Exp; branches; next 1.15; commitid Sb3lFtFWUJeXAzQC; 1.15 date 2021.02.18.15.07.28; author mef; state Exp; branches; next 1.14; commitid gJrz7ndy2lcUHcIC; 1.14 date 2021.02.13.08.01.01; author mef; state Exp; branches; next 1.13; commitid 8p5Nh2Fi36XyvwHC; 1.13 date 2020.01.11.10.25.05; author pho; state Exp; branches; next 1.12; commitid HSZVknpf7kib8gSB; 1.12 date 2020.01.02.15.50.01; author pho; state Exp; branches; next 1.11; commitid idlfYrdt3OBAd8RB; 1.11 date 2016.01.10.11.49.11; author szptvlfn; state Exp; branches; next 1.10; commitid feBpEk0egeExAnQy; 1.10 date 2015.08.02.11.27.06; author szptvlfn; state Exp; branches; next 1.9; commitid mI7vHkOM2UKQDGvy; 1.9 date 2015.06.09.22.09.42; author szptvlfn; state Exp; branches; next 1.8; commitid qSldV42EMPtSVNoy; 1.8 date 2015.06.04.20.09.00; author szptvlfn; state Exp; branches; next 1.7; commitid CUvE3GtZcueoq9oy; 1.7 date 2014.12.12.22.55.26; author szptvlfn; state Exp; branches; next 1.6; commitid cIT3r0dp02vkWN1y; 1.6 date 2014.12.12.22.04.23; author szptvlfn; state Exp; branches; next 1.5; commitid UtqVNOPbvwBMEN1y; 1.5 date 2014.11.23.12.52.33; author szptvlfn; state Exp; branches; next 1.4; commitid glgmchwVafOldjZx; 1.4 date 2014.10.19.21.27.08; author szptvlfn; state Exp; branches; next 1.3; commitid CCZtTMuQuSXzbRUx; 1.3 date 2014.09.13.22.23.29; author szptvlfn; state Exp; branches; next 1.2; commitid gVB7bo0TgRPAEeQx; 1.2 date 2014.09.05.21.27.10; author szptvlfn; state Exp; branches; next 1.1; commitid Bx0pU8NVmp1hBcPx; 1.1 date 2014.07.24.21.18.24; author szptvlfn; state Exp; branches; next ; commitid FE9xK7o3C8H7WFJx; desc @@ 1.24 log @Revbump all Haskell after updating lang/ghc96 @ text @# $NetBSD: Makefile,v 1.23 2023/10/09 04:54:57 pho Exp $ DISTNAME= HTTP-4000.4.1 PKGREVISION= 3 CATEGORIES= www MAINTAINER= pho@@cielonegro.org COMMENT= Haskell library for client-side HTTP LICENSE= modified-bsd HASKELL_UNRESTRICT_DEPENDENCIES+= \ base .include "../../net/hs-network/buildlink3.mk" .include "../../net/hs-network-uri/buildlink3.mk" .include "../../mk/haskell.mk" .include "../../mk/bsd.pkg.mk" @ 1.23 log @Bump Haskell packages after updating lang/ghc94 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2023/02/07 01:41:17 pho Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.22 log @revbump all the Haskell packages after modifying the runtime system of lang/ghc94 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2023/01/25 15:19:11 pho Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.21 log @www/hs-HTTP: Update to 4000.4.1 Version 4000.4.0: release 2022-02-22 * Restrict to GHC >=7.6 and associated cleanups (Andreas Abel) * Drop deprecated instance Error (Andreas Abel) * Preparation for mtl-2.3 (Andreas Abel) * General tidying (Andreas Abel) * Support GHC 9.2 (Bodigrim) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2022/02/26 03:58:33 pho Exp $ d4 1 @ 1.20 log @Bump all Haskell packages after enabling "split sections" in mk/haskell.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2022/02/12 08:50:58 pho Exp $ d3 1 a3 2 DISTNAME= HTTP-4000.3.16 PKGREVISION= 4 d10 3 @ 1.19 log @revbump after changing the default Haskell compiler @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/01/18 02:48:31 pho Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.18 log @Bump packages that depends on GHC @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2021/05/03 19:01:20 pho Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.17 log @*: Bump PKGREVISION for ghc-9.0.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2021/04/24 18:04:02 pho Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.16 log @Update to HTTP-4000.3.16 Version 4000.3.16: release 2021-03-20 * Support GHC-9.0 (Oleg Genrus) * Various dependency bumps (multiple people) * Try all addresses returned by getAddrInfo (Fraser Tweedale) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/02/18 15:07:28 mef Exp $ d4 1 @ 1.15 log @(*/hs-*) BUILDLINK_API_DEPENDS.ghc <8.10, again @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2021/02/13 08:01:01 mef Exp $ d3 1 a3 1 DISTNAME= HTTP-4000.3.14 a9 2 BUILDLINK_API_DEPENDS.ghc+= ghc<8.10 .include "../../mk/haskell.mk" d12 1 @ 1.14 log @(*/hs-*) fix build, not adapted to ghc90 version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/01/11 10:25:05 pho Exp $ d10 1 a10 1 BUILDLINK_API_DEPENDS.ghc+= ghc<9.0 @ 1.13 log @Remove dependency on devel/hs-mtl and devel/hs-parsec They are now part of GHC. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/01/02 15:50:01 pho Exp $ d10 1 @ 1.12 log @Update to HTTP-4000.3.14 * If the URI contains "user:pass@@" part, use it for Basic Authorization * Add a test harness. * Don't leak a socket when getHostAddr throws an exception. * Send cookies in request format, not response format. * Moved BrowserAction to be a StateT IO, with instances for Applicative, MonadIO, MonadState. * Add method to control size of connection pool. * Consider both host and port when reusing connections. * Handle response code 304 "not modified" properly. * Fix digest authentication by fixing md5 output string rep. * Make the default user agent string follow the package version. * Document lack of HTTPS support and fail when clients try to use it instead of silently falling back to HTTP. * Add helper to set the request type and body. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2016/01/10 11:49:11 szptvlfn Exp $ a10 2 .include "../../textproc/hs-parsec/buildlink3.mk" .include "../../devel/hs-mtl/buildlink3.mk" @ 1.11 log @Bump PKGREVISION for hs-text-1.2.2.0 || hs-hashable-1.2.3.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/08/02 11:27:06 szptvlfn Exp $ d3 1 a3 2 DISTNAME= HTTP-4000.2.17 PKGREVISION= 10 d11 1 d14 1 a14 1 .include "../../textproc/hs-parsec/buildlink3.mk" @ 1.10 log @Bump PKGREVISION for hs-text-1.2.1.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/06/09 22:09:42 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 9 @ 1.9 log @Bump PKGREVISION for hs-parsec-3.1.9 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2015/06/04 20:09:00 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 8 @ 1.8 log @Bump PKGREVISION for hs-text-1.2.1.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2014/12/12 22:55:26 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 7 @ 1.7 log @Bump PKGREVISION for hs-text-1.2.0.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2014/12/12 22:04:23 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 6 @ 1.6 log @Bump PKGREVISION for hs-text-1.2.0.2 || hs-hashable-1.2.3.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/11/23 12:52:33 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.5 log @Bump PKGREVISION for hs-transformers-0.4.2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/10/19 21:27:08 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.4 log @Bump PKGREVISION for hs-parsec-3.1.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/09/13 22:23:29 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.3 log @Bump PKGREVISION for hs-text-1.2.0.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/09/05 21:27:10 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.2 log @Bump PKGREVISION for hs-text-1.1.1.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.1 log @Import HTTP-4000.2.17 as www/hs-HTTP, packaged for wip by pho. The HTTP package supports client-side web programming in Haskell. It lets you set up HTTP connections, transmitting requests and processing the responses coming back, all from within the comforts of Haskell. It's dependent on the network package to operate, but other than that, the implementation is all written in Haskell. A basic API for issuing single HTTP requests + receiving responses is provided. On top of that, a session-level abstraction is also on offer (the BrowserAction monad); it taking care of handling the management of persistent connections, proxies, state (cookies) and authentication credentials required to handle multi-step interactions with a web server. The representation of the bytes flowing across is extensible via the use of a type class, letting you pick the representation of requests and responses that best fits your use. Some pre-packaged, common instances are provided for you (ByteString, String). @ text @d1 1 a1 1 # $NetBSD$ d4 1 @