summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/http
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/http')
-rw-r--r--dev-haskell/http/Manifest11
-rw-r--r--dev-haskell/http/files/http-4000.2.3-ghc-7.6.patch154
-rw-r--r--dev-haskell/http/http-4000.1.1.ebuild31
-rw-r--r--dev-haskell/http/http-4000.1.2.ebuild36
-rw-r--r--dev-haskell/http/http-4000.2.17.ebuild51
-rw-r--r--dev-haskell/http/http-4000.2.18.ebuild54
-rw-r--r--dev-haskell/http/http-4000.2.19-r2.ebuild55
-rw-r--r--dev-haskell/http/http-4000.2.19.ebuild54
-rw-r--r--dev-haskell/http/http-4000.2.2.ebuild43
-rw-r--r--dev-haskell/http/http-4000.2.20.ebuild55
-rw-r--r--dev-haskell/http/http-4000.2.3.ebuild45
-rw-r--r--dev-haskell/http/http-4000.2.6.ebuild33
-rw-r--r--dev-haskell/http/http-4000.2.8.ebuild61
-rw-r--r--dev-haskell/http/metadata.xml45
14 files changed, 728 insertions, 0 deletions
diff --git a/dev-haskell/http/Manifest b/dev-haskell/http/Manifest
new file mode 100644
index 000000000000..e0b02f2258c4
--- /dev/null
+++ b/dev-haskell/http/Manifest
@@ -0,0 +1,11 @@
+DIST HTTP-4000.1.1.tar.gz 59459 SHA256 c3b7f8815f5528c88a41a4d62c4a0586edde644f83ae514f036a1cb35ce97026 SHA512 ae2d28473cb5a17c19979487c3c4620e7bc6937b8ff7477f2ddede8b6d56f85fc41c959b01d4683b30d939ab4a6d3e8d13f2aefd85c26de38f88bd324cfdf439 WHIRLPOOL 1bd58f69fbb9cf927a28d7edeb386932dbec64e16100e5bafe5a212c2dcae07b3ca607c3b2d69f70a62e907a9f3983a23ee23a0a5017faa691403cb3388a07f9
+DIST HTTP-4000.1.2.tar.gz 59835 SHA256 c8725620a1566bcc6ded1304cced716b6d1f6e78da78aa580076671b3bf26ca7 SHA512 41c985d47132ced2e094f24ab0bdfff13f58f6a1dccf78965aec30844d9646e7d3d7526a211ccef0f480f94dc181e51923bcb5900ab3fce14f634b7a05ffee76 WHIRLPOOL 99b7c824416b539b7ec5d3a87712164bd73baa5f4c61efeb75d1801c70aa954b89e79373d5142bbbf3b7cad63579b418bcad8db225a0260db707f661e995d847
+DIST HTTP-4000.2.17.tar.gz 69706 SHA256 a9ace28937d95951d3137ee29b87f11d0344bd41794e705ab700f017dcab019c SHA512 0c72f2f78aaa6da64c734f70e1c7e5454d0041eb0354a63b25a534614671df21433c30451ef8a54ed3e303fa105b7d0d998a4a55658933749fc77ec08d6ff8c2 WHIRLPOOL 2de9489702c83287c4ce08a70275793097da36e0b6e21695f8e21b9b7defde7f732b42dd6a67fbfbf8814b023c4cedc902b0d5de5f7867eda65fa56c97940a42
+DIST HTTP-4000.2.18.tar.gz 71165 SHA256 93c8228f7521cdd85d0c0521071dafb037e0abbd55dbcb2516a341ded68cc0ca SHA512 3141daa2732bfe013f7f6a8d3017ee9e56d377af5615e1686c42acea9eb52b4b9c2212b3d3550ac2ca72b949b6a7c2abb8fba8f5669fe60fe176dc133ea3fa9b WHIRLPOOL 4713a5e4623d7f31773f4be81a84a3757ce2f1819985710927849fff1edd1b46ab2b8d76c2b7ce96ebd6d25152cc5fe09c6f4c37c81cba20aeb945e9e2beb8f9
+DIST HTTP-4000.2.19.tar.gz 71287 SHA256 5ffb97b7a916a70e742d65273e4c7c7b50b281797db11e17e7e02158e343f5fb SHA512 f7133c36a86e71c5a44fea8f7c92b66aa0ce2b1a08121eafaaea6a40e8a00720e2c6130407ed8cbc0085c26a279bc8dc4affddbcf7d7aa93cf05ae9d1efcbb79 WHIRLPOOL 89403d27070d3cc6932d08b7095921eaf124cee239de0c70a77e438de2961f1efbb381ae96c7a389a75234e961826c062cb8f667d2cff1979124fd63f10b406f
+DIST HTTP-4000.2.2.tar.gz 65275 SHA256 709f8d94fbbd538f198e844541dcbb53a3470207bcdeeb62774d17211b4f3963 SHA512 a87ea719cbdb2318627d570ad6ca15cecf0f6342269daaa3b198353fbbaca1b9030c7a40af09b8ebb0359b0c7ac289f981bae5e57debd7b2bc27e72888351a64 WHIRLPOOL a099f3df766280831abd4c62ba0b14a41886c87e0000e4268090a50644d3a894bcc3500e92cd5db7e3a8685078ae351b568ff47dc8d3716cecb48cf590f3676a
+DIST HTTP-4000.2.20.tar.gz 71475 SHA256 4407cc863699720d179b36257baf21b5f1df4be8c30545dcec4d685a726fd85b SHA512 0f5927f0cfbc638c7ebce738c4f7b460b2c0b40f28dc137909c47f05dfea04e975482dcf626425f23f90f131689f1c03d9f8dc7d834e61b9e389a92f6c64f8f0 WHIRLPOOL fdebffd0a3d5b411c52717f964591e8a0b0772094044551656953bc0b4a60c7334a19e6fec62ae312ef15c0db0ae16e11b051dc245081a4b5c3ed4dcc626eea6
+DIST HTTP-4000.2.3-test-suite.tar.gz 5117 SHA256 0487674fc7892754931df4e3efffefb9ef492dc8378179be287ea89fb3809ca2 SHA512 2b19171cfdb27d078091e15f9fb7b9ed56c8cc76f8a116216491742749b51e469b313523c49b1e693ee5cb4f9e28302661582649cce7d8d519a2044dbd933163 WHIRLPOOL 8218fae860e50d73524b7b95884324506fb95829cff6656ea46aefe84962252be8187a7bfe460599e3a1257469dd5a72221df24c7fa9ff6708e1ef2cb00a94f8
+DIST HTTP-4000.2.3.tar.gz 60708 SHA256 00f59f751a53a0cd766d59cffb3a97fc001189797861ce4aa28d4bea672efafc SHA512 ea958e1dffbc6e12b587874ade27deca1a9451a6fd9887c04659ef63dbbdf489ddb77da3d517c325575349db2bbdd362791adf8221498f0029316df7c4813102 WHIRLPOOL 2563901137673867c1a839aaf23b2c62ddf6c7bdddf50bda290d7da08dfdc5774fdc09298c7f921aa72be60c6023afecd1d4cdecf9a7ed12de7dcb9876c8afd0
+DIST HTTP-4000.2.6.tar.gz 66546 SHA256 22e5c2836a72b41b8df2947d881a24efd72dff38a3afd99fce3561966ce6cc67 SHA512 390ae3ce9edbeb47efb38b3bd1b6a1a4f12e2392773ba76c5df0f22f4277f6d22beecf1115b67449fad7a4f76779bb309fce2bd2bb8b932c9ea68cefd3b02610 WHIRLPOOL 51dca79305a4ad6332d915a59dce8a462eacdc22fd36b3886c1119d7fb9a7f4e7b811e5055820561fda83f69e92f442c0948b1a89caf09fedf7e4475021a3c20
+DIST HTTP-4000.2.8.tar.gz 67903 SHA256 086a2aa771a31845b190e2f9651ab4d8e85116aa463de5bc5e0204c1e5e70c5c SHA512 f7ada9000837a06ce06f9d6aaf83158d48fa5bb4fea812d093eece3b36e9bd4b25df205948c66a4e4b60df3ceb41181f4bdf13415e86ec805239f43421518872 WHIRLPOOL 866ec3ee9cab3800ae26da7167ea7226b87c5c14336cabc37048732a50eed997f30344f830c0c12feb70991318e7f01f4d1c1d95a8b868de6ceca4d2a6e4a530
diff --git a/dev-haskell/http/files/http-4000.2.3-ghc-7.6.patch b/dev-haskell/http/files/http-4000.2.3-ghc-7.6.patch
new file mode 100644
index 000000000000..595d3990efe3
--- /dev/null
+++ b/dev-haskell/http/files/http-4000.2.3-ghc-7.6.patch
@@ -0,0 +1,154 @@
+--- HTTP-4000.2.3-orig/HTTP.cabal 2012-04-13 06:39:31.000000000 +1000
++++ HTTP-4000.2.3/HTTP.cabal 2012-09-12 21:08:30.027554352 +1000
+@@ -77,7 +77,7 @@
+ Network.HTTP.Utils
+ Paths_HTTP
+ GHC-options: -fwarn-missing-signatures -Wall
+- Build-depends: base >= 2 && < 4.6, network, parsec
++ Build-depends: base >= 2 && < 5.0, network, parsec
+ Extensions: FlexibleInstances
+ if flag(old-base)
+ Build-depends: base < 3
+@@ -95,7 +95,7 @@
+ Test-Suite test
+ type: exitcode-stdio-1.0
+
+- build-tools: ghc >= 6.10 && < 7.6
++ build-tools: ghc >= 6.10 && < 8.0
+
+ hs-source-dirs: test
+ main-is: httpTests.hs
+@@ -103,7 +103,7 @@
+ build-depends: HTTP,
+ HUnit,
+ httpd-shed,
+- base >= 2 && < 4.6,
++ base >= 2 && < 5.0,
+ network,
+ split >= 0.1 && < 0.2,
+ test-framework,
+--- HTTP-4000.2.3-orig/Network/HTTP/Base.hs 2012-04-13 06:39:31.000000000 +1000
++++ HTTP-4000.2.3/Network/HTTP/Base.hs 2012-09-12 21:44:26.218546007 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ -----------------------------------------------------------------------------
+ -- |
+ -- Module : Network.HTTP.Base
+@@ -105,6 +106,7 @@
+ , parseURIReference
+ )
+
++import Control.Exception ( catch )
+ import Control.Monad ( guard )
+ import Control.Monad.Error ()
+ import Data.Char ( digitToInt, intToDigit, toLower, isDigit,
+@@ -886,10 +888,10 @@
+ -- | @catchIO a h@ handles IO action exceptions throughout codebase; version-specific
+ -- tweaks better go here.
+ catchIO :: IO a -> (IOException -> IO a) -> IO a
+-catchIO a h = Prelude.catch a h
++catchIO a h = Control.Exception.catch a h
+
+ catchIO_ :: IO a -> IO a -> IO a
+-catchIO_ a h = Prelude.catch a (const h)
++catchIO_ a h = Control.Exception.catch a (\(_ :: IOException) -> h)
+
+ responseParseError :: String -> String -> Result a
+ responseParseError loc v = failWith (ErrorParse (loc ++ ' ':v))
+--- HTTP-4000.2.3-orig/Network/TCP.hs 2012-04-13 06:39:31.000000000 +1000
++++ HTTP-4000.2.3/Network/TCP.hs 2012-09-12 21:51:35.633839689 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ {-# LANGUAGE TypeSynonymInstances #-}
+ -----------------------------------------------------------------------------
+ -- |
+@@ -57,6 +58,7 @@
+
+ import Data.Char ( toLower )
+ import Data.Word ( Word8 )
++import qualified Control.Exception ( catch, IOException )
+ import Control.Concurrent
+ import Control.Monad ( liftM, when )
+ import System.IO ( Handle, hFlush, IOMode(..), hClose )
+@@ -302,7 +304,7 @@
+ ConnClosed -> print "aa" >> return False
+ _
+ | connEndPoint v == endPoint ->
+- catch (getPeerName (connSock v) >> return True) (const $ return False)
++ Control.Exception.catch (getPeerName (connSock v) >> return True) (\(_:: Control.Exception.IOException) -> return False)
+ | otherwise -> return False
+
+ isTCPConnectedTo :: HandleStream ty -> EndPoint -> IO Bool
+@@ -312,7 +314,7 @@
+ ConnClosed -> return False
+ _
+ | connEndPoint v == endPoint ->
+- catch (getPeerName (connSock v) >> return True) (const $ return False)
++ Control.Exception.catch (getPeerName (connSock v) >> return True) (\(_:: Control.Exception.IOException) -> return False)
+ | otherwise -> return False
+
+ readBlockBS :: HStream a => HandleStream a -> Int -> IO (Result a)
+@@ -364,18 +366,18 @@
+ modifyMVar_ (getRef ref) (\ co -> return co{connInput=Just b})
+ return (return a)
+ _ -> do
+- Prelude.catch (buf_hGet (connBuffer conn) (connHandle conn) n >>= return.return)
++ Control.Exception.catch (buf_hGet (connBuffer conn) (connHandle conn) n >>= return.return)
+ (\ e ->
+ if isEOFError e
+ then do
+- when (connCloseEOF conn) $ catch (closeQuick ref) (\ _ -> return ())
++ when (connCloseEOF conn) $ Control.Exception.catch (closeQuick ref) (\ (_ :: Control.Exception.IOException) -> return ())
+ return (return (buf_empty (connBuffer conn)))
+ else return (failMisc (show e)))
+
+ bufferPutBlock :: BufferOp a -> Handle -> a -> IO (Result ())
+ bufferPutBlock ops h b =
+- Prelude.catch (buf_hPut ops h b >> hFlush h >> return (return ()))
+- (\ e -> return (failMisc (show e)))
++ Control.Exception.catch (buf_hPut ops h b >> hFlush h >> return (return ()))
++ (\ (e :: Control.Exception.IOException) -> return (failMisc (show e)))
+
+ bufferReadLine :: HStream a => HandleStream a -> IO (Result a)
+ bufferReadLine ref = onNonClosedDo ref $ \ conn -> do
+@@ -385,13 +387,13 @@
+ let (newl,b1) = buf_splitAt (connBuffer conn) 1 b0
+ modifyMVar_ (getRef ref) (\ co -> return co{connInput=Just b1})
+ return (return (buf_append (connBuffer conn) a newl))
+- _ -> Prelude.catch
++ _ -> Control.Exception.catch
+ (buf_hGetLine (connBuffer conn) (connHandle conn) >>=
+ return . return . appendNL (connBuffer conn))
+ (\ e ->
+ if isEOFError e
+ then do
+- when (connCloseEOF conn) $ catch (closeQuick ref) (\ _ -> return ())
++ when (connCloseEOF conn) $ Control.Exception.catch (closeQuick ref) (\ (_ :: Control.Exception.IOException) -> return ())
+ return (return (buf_empty (connBuffer conn)))
+ else return (failMisc (show e)))
+ where
+--- HTTP-4000.2.3-orig/Network/StreamSocket.hs 2012-04-13 06:39:31.000000000 +1000
++++ HTTP-4000.2.3/Network/StreamSocket.hs 2012-09-12 22:27:16.119222147 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ {-# OPTIONS_GHC -fno-warn-orphans #-}
+ -----------------------------------------------------------------------------
+ -- |
+@@ -36,7 +37,7 @@
+ import Network.HTTP.Base ( catchIO )
+ import Control.Monad (liftM)
+ import Control.Exception as Exception (IOException)
+-import System.IO.Error (catch, isEOFError)
++import System.IO.Error (isEOFError)
+
+ -- | Exception handler for socket operations.
+ handleSocketError :: Socket -> IOException -> IO (Result a)
+@@ -50,7 +51,7 @@
+ myrecv :: Socket -> Int -> IO String
+ myrecv sock len =
+ let handler e = if isEOFError e then return [] else ioError e
+- in System.IO.Error.catch (recv sock len) handler
++ in catchIO (recv sock len) handler
+
+ instance Stream Socket where
+ readBlock sk n = readBlockSocket sk n
diff --git a/dev-haskell/http/http-4000.1.1.ebuild b/dev-haskell/http/http-4000.1.1.ebuild
new file mode 100644
index 000000000000..3c18dcaf830e
--- /dev/null
+++ b/dev-haskell/http/http-4000.1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+CABAL_FEATURES="lib profile haddock hscolour"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="http://projects.haskell.org/http/"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="dev-haskell/mtl
+ dev-haskell/network
+ dev-haskell/parsec
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/http/http-4000.1.2.ebuild b/dev-haskell/http/http-4000.1.2.ebuild
new file mode 100644
index 000000000000..ff1f72ae45a8
--- /dev/null
+++ b/dev-haskell/http/http-4000.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="4"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="http://projects.haskell.org/http/"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="dev-haskell/mtl[profile?]
+ dev-haskell/network[profile?]
+ dev-haskell/parsec[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e 's@base >= 2 && < 4.5@base >= 2 \&\& < 4.6@' \
+ -i "${S}/${MY_PN}.cabal" || die "Could not loosen dependencies"
+}
diff --git a/dev-haskell/http/http-4000.2.17.ebuild b/dev-haskell/http/http-4000.2.17.ebuild
new file mode 100644
index 000000000000..c0772a4d752b
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.17.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x86-macos"
+IUSE=""
+RESTRICT=test # missing ia64 alpha keywords for dev-haskell/puremd5
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/network-2.2.0.1:=[profile?] <dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+"
+# test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+# >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+# >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2
+# >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3
+# >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9
+# >=dev-haskell/test-framework-hunit-0.2.0 <dev-haskell/test-framework-hunit-0.4 )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-mtl1 \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.18.ebuild b/dev-haskell/http/http-4000.2.18.ebuild
new file mode 100644
index 000000000000..316e862c7a00
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.18.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.3.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.0.1:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+ >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2
+ >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3
+ >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.2.0 <dev-haskell/test-framework-hunit-0.4 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.19-r2.ebuild b/dev-haskell/http/http-4000.2.19-r2.ebuild
new file mode 100644
index 000000000000..f4c70cb53f94
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.19-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ >=dev-haskell/old-time-1.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.5:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+ >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2
+ >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3
+ >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.3.0 <dev-haskell/test-framework-hunit-0.4 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.19.ebuild b/dev-haskell/http/http-4000.2.19.ebuild
new file mode 100644
index 000000000000..fe21958026e1
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.19.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.5:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+ >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2
+ >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3
+ >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.3.0 <dev-haskell/test-framework-hunit-0.4 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.2.ebuild b/dev-haskell/http/http-4000.2.2.ebuild
new file mode 100644
index 000000000000..3cda7aef8d40
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="4"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit base haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="=dev-haskell/mtl-2.0*[profile?]
+ dev-haskell/network[profile?]
+ dev-haskell/parsec[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/cabal-1.10
+ dev-haskell/hunit[profile?]
+ dev-haskell/httpd-shed[profile?]
+ =dev-haskell/split-0.1*[profile?]
+ dev-haskell/test-framework[profile?]
+ dev-haskell/test-framework-hunit[profile?]
+ )
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ cabal_src_configure $(use test && use_enable test tests) #395351
+}
diff --git a/dev-haskell/http/http-4000.2.20.ebuild b/dev-haskell/http/http-4000.2.20.ebuild
new file mode 100644
index 000000000000..f4c70cb53f94
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.20.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ >=dev-haskell/old-time-1.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.5:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+ >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2
+ >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3
+ >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.3.0 <dev-haskell/test-framework-hunit-0.4 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.3.ebuild b/dev-haskell/http/http-4000.2.3.ebuild
new file mode 100644
index 000000000000..20c4b1e46e28
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit base haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz
+ http://dev.gentoo.org/~gienah/2big4tree/dev-haskell/http/${MY_P}-test-suite.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND=">=dev-haskell/mtl-2.0[profile?]
+ <dev-haskell/mtl-2.2[profile?]
+ dev-haskell/network[profile?]
+ dev-haskell/parsec[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/cabal-1.10
+ dev-haskell/hunit[profile?]
+ dev-haskell/httpd-shed[profile?]
+ =dev-haskell/split-0.1*[profile?]
+ dev-haskell/test-framework[profile?]
+ dev-haskell/test-framework-hunit[profile?]
+ )
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=("${FILESDIR}/${PN}-4000.2.3-ghc-7.6.patch")
+
+src_configure() {
+ cabal_src_configure $(use test && use_enable test tests) #395351
+}
diff --git a/dev-haskell/http/http-4000.2.6.ebuild b/dev-haskell/http/http-4000.2.6.ebuild
new file mode 100644
index 000000000000..803aaf3942ec
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+RESTRICT=test # needs depends missing in our overlay
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?]
+ <dev-haskell/mtl-2.2:=[profile?]
+ <dev-haskell/network-2.5:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/http/http-4000.2.8.ebuild b/dev-haskell/http/http-4000.2.8.ebuild
new file mode 100644
index 000000000000..31ad082cdda5
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-fbsd ~ppc-macos ~x86-macos"
+# hackport-args: --always-disabled='mtl1 network23 old-base warn-as-error'
+IUSE=""
+
+RDEPEND="<dev-haskell/network-2.5:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ >=dev-haskell/mtl-2.0:=[profile?]
+ <dev-haskell/mtl-2.2:=[profile?]"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
+RESTRICT=test # missing modules: Could not find module `Httpd'
+# test? ( =dev-haskell/case-insensitive-0.4*
+# >=dev-haskell/conduit-0.4
+# <dev-haskell/conduit-0.6
+# =dev-haskell/deepseq-1.3*
+# >=dev-haskell/http-types-0.6
+# <dev-haskell/http-types-0.8
+# dev-haskell/httpd-shed
+# dev-haskell/hunit
+# =dev-haskell/puremd5-2.1*
+# >=dev-haskell/split-0.1
+# <dev-haskell/split-0.3
+# dev-haskell/test-framework
+# dev-haskell/test-framework-hunit
+# >=dev-haskell/wai-1.2
+# <dev-haskell/wai-1.4
+# >=dev-haskell/warp-1.2
+# <dev-haskell/warp-1.4
+# )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-network23 \
+ --flag=-warn-as-error \
+ --flag=-mtl1 \
+ --flag=-old-base \
+ --disable-tests
+}
diff --git a/dev-haskell/http/metadata.xml b/dev-haskell/http/metadata.xml
new file mode 100644
index 000000000000..3c5db3b10143
--- /dev/null
+++ b/dev-haskell/http/metadata.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ 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@.)
+
+ Here's an example use:
+
+ &gt;
+ &gt; do
+ &gt; rsp &lt;- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
+ &gt; -- fetch document and return it (as a 'String'.)
+ &gt; fmap (take 100) (getResponseBody rsp)
+ &gt;
+ &gt; do
+ &gt; rsp &lt;- Network.Browser.browse $ do
+ &gt; setAllowRedirects True -- handle HTTP redirects
+ &gt; request $ getRequest "http://google.com/"
+ &gt; fmap (take 100) (getResponseBody rsp)
+ &gt;
+
+ Git repository available at &lt;git://github.com/haskell/HTTP.git&gt;
+ </longdescription>
+ <use>
+ <flag name="conduit10">Use version 1.0.x or below of the conduit package (for the test suite).</flag>
+ <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">haskell/HTTP</remote-id>
+ </upstream>
+</pkgmetadata>