summaryrefslogtreecommitdiff
path: root/dev-haskell/network
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/network
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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/network')
-rw-r--r--dev-haskell/network/Manifest7
-rw-r--r--dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch17
-rw-r--r--dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch69
-rw-r--r--dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch39
-rw-r--r--dev-haskell/network/metadata.xml8
-rw-r--r--dev-haskell/network/network-2.4.0.1.ebuild30
-rw-r--r--dev-haskell/network/network-2.4.1.0.ebuild28
-rw-r--r--dev-haskell/network/network-2.4.1.2.ebuild29
-rw-r--r--dev-haskell/network/network-2.4.2.2.ebuild30
-rw-r--r--dev-haskell/network/network-2.5.0.0.ebuild30
-rw-r--r--dev-haskell/network/network-2.6.0.2.ebuild28
-rw-r--r--dev-haskell/network/network-2.6.2.1.ebuild28
12 files changed, 343 insertions, 0 deletions
diff --git a/dev-haskell/network/Manifest b/dev-haskell/network/Manifest
new file mode 100644
index 00000000000..6e229fef7c4
--- /dev/null
+++ b/dev-haskell/network/Manifest
@@ -0,0 +1,7 @@
+DIST network-2.4.0.1.tar.gz 135017 SHA256 3c0638d2aab64491d635d7be67d03bc3c3caba8ca2de5879e913b227dc1d5202 SHA512 e4060e3d5a705a3ad4f4b78c4f97c0c872856abd33acf6e694fa9b811469f5caf537219f721338732e6c1bb872e1878a1aefaf851d480a70f2e5ee476e5a6838 WHIRLPOOL 205cd7527c16dc6597b87df885ebb05d8b5b9e097f844f3ad17f8104001e4edf0ed4ac7d8d1c532880b05079c2767759854fbddabf1efdcd4ad2e188fe13175f
+DIST network-2.4.1.0.tar.gz 139489 SHA256 c39bb067f4fee4753e5f076c847f675ecc40455f9cac8ee3504a5fcb288e8454 SHA512 402667972a1e4b8a26fab2089b91c8b4b72e2a2f65e428af3e110b9f00d13a94449bfdbd227331483efe0033651ac528fa462b1bfdf2b8c534c1b85735f2bb7c WHIRLPOOL 1f2325cccdf780fe4ea67410a93b6223951877229264652100d0c3f1c11f09e48c6f1047806ed604461f29236baf20f129860ffd4befaa60ec77703c931b0d27
+DIST network-2.4.1.2.tar.gz 140424 SHA256 b04dc56542428bc92f11263f500b3ad82e6a0787805601472d59af7e769bfe38 SHA512 a9a0237477fbb484ff8a66121a7808e35d4df68552c18cead1f96243f945e9517583f39c769c3ecbd643ec86a253bb3cba638ffb780feb503d60595ad7c4c7f5 WHIRLPOOL 7b4065080b258b079dd07bb3fdddf2356a25fc01ea1af7780cfa76c5913e432590f49be01e171412b493c031b8ba9992a89b892340c5321c0771c0ca734d07c6
+DIST network-2.4.2.2.tar.gz 141558 SHA256 bd30a7f0f0927fc1a13ad19269fa91e4446c5da19f3b0ea707051498a3f1ae2f SHA512 e1aa5caa4e3ca368f8499ff9ed337e6827909a6d1c622cc2133871eac3b9d257d982c421f40d4d0118e50a5a421102f084d95b4e98faf91599b6c002988b1466 WHIRLPOOL c751ae4578cab76f4519abe5b230d886309fdfcbe411e3c903a0f6f0b33b07fcb9522a30387e735d89ad9158a966eac4b9c078f1593ceac4539ef3e5781f64a6
+DIST network-2.5.0.0.tar.gz 141768 SHA256 b2166f54af2aed140fbd2c1d7915f8e11eef37b9e33c2cd71618bfe87e7320f5 SHA512 37048752b5d4d68f9ce57f9c7a3bfe2657a207c5853a6ecaae74ff9c8f9afb2ba76c9e517bfd955c427cbfccc39d921a1849c5a8094603ad5081012d9f5bb47d WHIRLPOOL ad32cd1d02fc47ea20dc8465f4bf6924e182ced61e4f34916e8dd202aaf1caed29ba06d413df5a125193e1b7a3d1ce829cc1aa3038c462c0bd22ccd2560c6f65
+DIST network-2.6.0.2.tar.gz 116657 SHA256 846d4099c4b1b3d05bec32c52cbef57313d513696a3e7a19a146bd5295d26789 SHA512 4140f3501b153cb508ef660627ad5e58dc361e3eea16b2064d23f57d968a0183688260d941838e7e460a3c569b3fd51f81709b13cc3186b2c786dfc59249ca52 WHIRLPOOL 03b822cf01320ad8262513b54150c82f4f96f8b2c2fb6ae5427810c39dd1b9dc2086738c090127ad43a943229ab32e7f1255cf8e2385b64eef21d241afb39885
+DIST network-2.6.2.1.tar.gz 118092 SHA256 a3fda15c9bbe2c7274d97f40398c6cf8d1d3a9fe896fbf6531e1bfc849bb1bfa SHA512 debf0a05e1b9d048b7212ff21b92895da84c864bf71c3c5adee5070402c94a38f6722fbc11cfb15df36fe9bfe092bb0c29a0f3f9475a319f38e0c0659989cb68 WHIRLPOOL a3c78c1728732f7f886da2f54c7ef730b6686a8e904ffed7bd9f05cedb1d31785c0054a9e11c5662f3cb1e64b91c9343e0a28591442defabbc0920275ba39cff
diff --git a/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch b/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch
new file mode 100644
index 00000000000..49c430da44a
--- /dev/null
+++ b/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch
@@ -0,0 +1,17 @@
+Make sure ./configure can eat --with-hc and --with-hc-pkg without giving QA
+warnings.
+
+diff -rN -u old-network-2.2.0.0/configure.ac new-network-2.2.0.0/configure.ac
+--- old-network-2.2.0.0/configure.ac 2009-07-21 22:07:20.000000000 +0200
++++ new-network-2.2.0.0/configure.ac 2009-07-21 22:07:20.000000000 +0200
+@@ -14,6 +14,10 @@
+
+ AC_C_CONST
+
++dnl * dummy options to eat --with-hc= and --with-hc-pkg= flags
++AC_ARG_WITH([hc], [(dummy option)], [])
++AC_ARG_WITH([hc-pkg], [(dummy option)], [])
++
+ dnl ** check for specific header (.h) files that we are interested in
+ AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h sys/types.h unistd.h winsock.h])
+ AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h netinet/tcp.h sys/socket.h sys/uio.h sys/un.h])
diff --git a/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch b/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch
new file mode 100644
index 00000000000..e6a01539728
--- /dev/null
+++ b/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch
@@ -0,0 +1,69 @@
+--- network-2.3.0.14-orig/network.cabal 2012-06-04 10:25:39.000000000 +1000
++++ network-2.3.0.14/network.cabal 2012-06-27 20:21:38.271566190 +1000
+@@ -39,7 +39,7 @@
+ Network.Socket.ByteString.MsgHdr
+
+ build-depends:
+- base >= 3 && < 4.6,
++ base >= 3 && < 4.7,
+ bytestring < 1.0,
+ parsec >= 2.0 && < 3.2
+
+@@ -62,11 +62,11 @@
+ type: exitcode-stdio-1.0
+
+ build-depends:
+- base < 4.6,
+- bytestring < 0.10,
++ base < 4.7,
++ bytestring < 1.0,
+ HUnit < 1.3,
+ network,
+- test-framework < 0.6,
++ test-framework < 0.7,
+ test-framework-hunit < 0.3
+
+ test-suite uri
+@@ -75,10 +75,10 @@
+ type: exitcode-stdio-1.0
+
+ build-depends:
+- base < 4.6,
++ base < 4.7,
+ HUnit < 1.3,
+ network,
+- test-framework < 0.6,
++ test-framework < 0.7,
+ test-framework-hunit < 0.3
+
+ source-repository head
+--- network-2.3.0.14-orig/Network/BSD.hsc 2012-06-04 10:25:39.000000000 +1000
++++ network-2.3.0.14/Network/BSD.hsc 2012-06-28 18:07:39.287001755 +1000
+@@ -112,7 +112,9 @@
+ import Foreign.Marshal.Array (allocaArray0, peekArray0)
+ import Foreign.Marshal.Utils (with, fromBool)
+ import Data.Typeable
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding (catch)
++#endif
+ import System.IO.Error (ioeSetErrorString, mkIOError)
+ import System.IO.Unsafe (unsafePerformIO)
+
+--- network-2.3.0.14-orig/tests/Simple.hs 2012-06-04 10:25:39.000000000 +1000
++++ network-2.3.0.14/tests/Simple.hs 2012-06-28 18:18:31.176027682 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE ScopedTypeVariables #-}
++{-# LANGUAGE CPP, ScopedTypeVariables #-}
+ {-# OPTIONS_GHC -fno-warn-unused-do-bind #-}
+
+ module Main where
+@@ -10,7 +10,9 @@
+ import qualified Data.ByteString.Char8 as C
+ import Network.Socket hiding (recv, recvFrom, send, sendTo)
+ import Network.Socket.ByteString
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding (catch)
++#endif
+ import Test.Framework (Test, defaultMain, testGroup)
+ import Test.Framework.Providers.HUnit (testCase)
+ import Test.HUnit (Assertion, (@=?))
diff --git a/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch b/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch
new file mode 100644
index 00000000000..e891831aeef
--- /dev/null
+++ b/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch
@@ -0,0 +1,39 @@
+commit 6bc6b666ba2a87001a825bd81088062307a51bae
+Author: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Sun Jan 13 23:50:21 2013 +0300
+
+ MsgHdr.hsc: fix field 'struct msghdr::msg_namelen' size
+
+ msg_namelen has a 'socklen_t' type on linux (always 32 bits).
+ Using CSize there breaks 64-bit BE platforms.
+
+ testSendManyTo: [Failed]
+ ERROR: sendmsg: invalid argument (Destination address required)
+
+ Caught by testSendManyTo test on ppc64:
+
+ Gentoo-bug: http://bugs.gentoo.org/436640
+ Reported-by: Anthony Basile <blueness@gentoo.org>
+ Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+
+diff --git a/Network/Socket/ByteString/MsgHdr.hsc b/Network/Socket/ByteString/MsgHdr.hsc
+index 24d7eb0..227e5ee 100644
+--- a/Network/Socket/ByteString/MsgHdr.hsc
++++ b/Network/Socket/ByteString/MsgHdr.hsc
+@@ -8,6 +8,7 @@ module Network.Socket.ByteString.MsgHdr
+ #include <sys/types.h>
+ #include <sys/socket.h>
+
++import Data.Word -- for used '#type's
+ import Foreign.C.Types (CInt, CSize)
+ import Foreign.Ptr (Ptr)
+ import Foreign.Storable (Storable(..))
+@@ -20,7 +21,7 @@ import Network.Socket.ByteString.IOVec (IOVec)
+ -- don't exist on OpenSolaris.
+ data MsgHdr = MsgHdr
+ { msgName :: Ptr SockAddr
+- , msgNameLen :: CSize
++ , msgNameLen :: (#type socklen_t) {- 32 bits even on amd64 and ppc64 -}
+ , msgIov :: Ptr IOVec
+ , msgIovLen :: CSize
+ }
diff --git a/dev-haskell/network/metadata.xml b/dev-haskell/network/metadata.xml
new file mode 100644
index 00000000000..7bbb5d034cb
--- /dev/null
+++ b/dev-haskell/network/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <upstream>
+ <remote-id type="github">haskell/network</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/network/network-2.4.0.1.ebuild b/dev-haskell/network/network-2.4.0.1.ebuild
new file mode 100644
index 00000000000..718b73818dc
--- /dev/null
+++ b/dev-haskell/network/network-2.4.0.1.ebuild
@@ -0,0 +1,30 @@
+# 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 test-suite"
+inherit base haskell-cabal
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ )
+ >=dev-haskell/cabal-1.8"
+
+PATCHES=("${FILESDIR}"/${P}-fix-ppc64.patch)
diff --git a/dev-haskell/network/network-2.4.1.0.ebuild b/dev-haskell/network/network-2.4.1.0.ebuild
new file mode 100644
index 00000000000..19be9d0e398
--- /dev/null
+++ b/dev-haskell/network/network-2.4.1.0.ebuild
@@ -0,0 +1,28 @@
+# 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
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ )
+ >=dev-haskell/cabal-1.8"
diff --git a/dev-haskell/network/network-2.4.1.2.ebuild b/dev-haskell/network/network-2.4.1.2.ebuild
new file mode 100644
index 00000000000..3d4fd136389
--- /dev/null
+++ b/dev-haskell/network/network-2.4.1.2.ebuild
@@ -0,0 +1,29 @@
+# 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
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ dev-haskell/test-framework-quickcheck2
+ )"
diff --git a/dev-haskell/network/network-2.4.2.2.ebuild b/dev-haskell/network/network-2.4.2.2.ebuild
new file mode 100644
index 00000000000..276cc9716d8
--- /dev/null
+++ b/dev-haskell/network/network-2.4.2.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ dev-haskell/test-framework-quickcheck2 )
+"
diff --git a/dev-haskell/network/network-2.5.0.0.ebuild b/dev-haskell/network/network-2.5.0.0.ebuild
new file mode 100644
index 00000000000..a812c77fa01
--- /dev/null
+++ b/dev-haskell/network/network-2.5.0.0.ebuild
@@ -0,0 +1,30 @@
+# 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.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ dev-haskell/test-framework-quickcheck2 )
+"
diff --git a/dev-haskell/network/network-2.6.0.2.ebuild b/dev-haskell/network/network-2.6.0.2.ebuild
new file mode 100644
index 00000000000..1091d1ab81f
--- /dev/null
+++ b/dev-haskell/network/network-2.6.0.2.ebuild
@@ -0,0 +1,28 @@
+# 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
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit )
+"
diff --git a/dev-haskell/network/network-2.6.2.1.ebuild b/dev-haskell/network/network-2.6.2.1.ebuild
new file mode 100644
index 00000000000..a808b2d6d27
--- /dev/null
+++ b/dev-haskell/network/network-2.6.2.1.ebuild
@@ -0,0 +1,28 @@
+# 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.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Low-level networking interface"
+HOMEPAGE="https://github.com/haskell/network"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit )
+"