pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/hs-HTTP Import HTTP-4000.2.17 as www/hs-HTTP,



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee7b596b0bf8
branches:  trunk
changeset: 637237:ee7b596b0bf8
user:      szptvlfn <szptvlfn%pkgsrc.org@localhost>
date:      Thu Jul 24 21:18:24 2014 +0000

description:
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).

diffstat:

 www/hs-HTTP/DESCR         |  16 +++++++++
 www/hs-HTTP/Makefile      |  14 +++++++
 www/hs-HTTP/PLIST         |  83 +++++++++++++++++++++++++++++++++++++++++++++++
 www/hs-HTTP/buildlink3.mk |  16 +++++++++
 www/hs-HTTP/distinfo      |   5 ++
 5 files changed, 134 insertions(+), 0 deletions(-)

diffs (154 lines):

diff -r e99ceeb093bc -r ee7b596b0bf8 www/hs-HTTP/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/DESCR Thu Jul 24 21:18:24 2014 +0000
@@ -0,0 +1,16 @@
+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).
diff -r e99ceeb093bc -r ee7b596b0bf8 www/hs-HTTP/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/Makefile      Thu Jul 24 21:18:24 2014 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2014/07/24 21:18:24 szptvlfn Exp $
+
+DISTNAME=      HTTP-4000.2.17
+CATEGORIES=    www
+
+MAINTAINER=    pho%cielonegro.org@localhost
+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"
diff -r e99ceeb093bc -r ee7b596b0bf8 www/hs-HTTP/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/PLIST Thu Jul 24 21:18:24 2014 +0000
@@ -0,0 +1,83 @@
+@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
diff -r e99ceeb093bc -r ee7b596b0bf8 www/hs-HTTP/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/buildlink3.mk Thu Jul 24 21:18:24 2014 +0000
@@ -0,0 +1,16 @@
+# $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
diff -r e99ceeb093bc -r ee7b596b0bf8 www/hs-HTTP/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-HTTP/distinfo      Thu Jul 24 21:18:24 2014 +0000
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index