Thu Jul 24 21:18:24 2014 UTC ()
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).


(szptvlfn)
diff -r0 -r1.1 pkgsrc/www/hs-HTTP/DESCR
diff -r0 -r1.1 pkgsrc/www/hs-HTTP/Makefile
diff -r0 -r1.1 pkgsrc/www/hs-HTTP/PLIST
diff -r0 -r1.1 pkgsrc/www/hs-HTTP/buildlink3.mk
diff -r0 -r1.1 pkgsrc/www/hs-HTTP/distinfo

File Added: pkgsrc/www/hs-HTTP/DESCR
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).

File Added: pkgsrc/www/hs-HTTP/Makefile
# $NetBSD: Makefile,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $

DISTNAME=	HTTP-4000.2.17
CATEGORIES=	www

MAINTAINER=	pho@cielonegro.org
COMMENT=	Haskell library for client-side HTTP
LICENSE=	modified-bsd

.include "../../mk/haskell.mk"
.include "../../devel/hs-mtl/buildlink3.mk"
.include "../../net/hs-network/buildlink3.mk"
.include "../../textproc/hs-parsec/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/www/hs-HTTP/PLIST
@comment $NetBSD: PLIST,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/HSHTTP-${PKGVERSION}.o
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/Browser.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/BufferType.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Auth.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Base.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Base64.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Cookie.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/HandleStream.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Headers.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/MD5Aux.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Proxy.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Stream.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/HTTP/Utils.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/Stream.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/StreamDebugger.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/StreamSocket.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Network/TCP.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/Paths_HTTP.hi
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/libHSHTTP-${PKGVERSION}.a
lib/HTTP-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/HTTP-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/HTTP.haddock
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-Browser.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-BufferType.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Auth.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Base.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Cookie.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-HandleStream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Headers.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Proxy.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP-Stream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-HTTP.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-Stream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-StreamDebugger.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-StreamSocket.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/Network-TCP.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-A.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-All.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-B.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-C.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-D.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-E.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-F.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-G.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-H.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-I.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-L.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-M.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-N.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-O.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-P.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-Q.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-R.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-S.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-T.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-U.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index-W.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/frames.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/haddock-util.js
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/hslogo-16.png
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/index-frames.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-Browser.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-BufferType.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Auth.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Base.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Cookie.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-HandleStream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Headers.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Proxy.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP-Stream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-HTTP.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-Stream.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-StreamDebugger.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-StreamSocket.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/mini_Network-TCP.html
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/minus.gif
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/ocean.css
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/plus.gif
${PLIST.doc}share/doc/HTTP-${PKGVERSION}/html/synopsis.png

File Added: pkgsrc/www/hs-HTTP/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $

BUILDLINK_TREE+=	hs-HTTP

.if !defined(HS_HTTP_BUILDLINK3_MK)
HS_HTTP_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-HTTP+=	hs-HTTP>=4000.2.17
BUILDLINK_PKGSRCDIR.hs-HTTP?=	../../www/hs-HTTP

.include "../../devel/hs-mtl/buildlink3.mk"
.include "../../net/hs-network/buildlink3.mk"
.include "../../textproc/hs-parsec/buildlink3.mk"
.endif	# HS_HTTP_BUILDLINK3_MK

BUILDLINK_TREE+=	-hs-HTTP

File Added: pkgsrc/www/hs-HTTP/distinfo
$NetBSD: distinfo,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $

SHA1 (HTTP-4000.2.17.tar.gz) = e4dd82f84fab6bd90a025a087573e7a46c72ed4a
RMD160 (HTTP-4000.2.17.tar.gz) = ff48cd11b46da823e5bb93d88c41fdc30104b8b7
Size (HTTP-4000.2.17.tar.gz) = 69706 bytes