summaryrefslogtreecommitdiff
path: root/dev-haskell/httpd-shed
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/httpd-shed
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/httpd-shed')
-rw-r--r--dev-haskell/httpd-shed/Manifest6
-rw-r--r--dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch21
-rw-r--r--dev-haskell/httpd-shed/httpd-shed-0.4-r1.ebuild27
-rw-r--r--dev-haskell/httpd-shed/httpd-shed-0.4.0.3.ebuild34
-rw-r--r--dev-haskell/httpd-shed/metadata.xml17
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-haskell/httpd-shed/Manifest b/dev-haskell/httpd-shed/Manifest
new file mode 100644
index 000000000000..6971401fb310
--- /dev/null
+++ b/dev-haskell/httpd-shed/Manifest
@@ -0,0 +1,6 @@
+AUX httpd-shed-0.4-network.patch 931 BLAKE2B 50e9423d10efffbf3dd01b3aeaa349f7f564527e81a20d76d8ce0808485e1dce83ad2bcf0cec97b828f1c997eb52bc1ad421a071a71f5d5e3272df9f4eb01599 SHA512 2d964bfd1d9f6bec763229c5fd7b04e01993e8dbffdfc6dd49f296aa78efaf26b556c3debb64d707553fd06ab9072ab8c2c69329dcb9bc5177dc8a68b2f04859
+DIST httpd-shed-0.4.0.3.tar.gz 4308 BLAKE2B a7218ce790ab3902b94a41c97bae27517ea4750ba80c59ae1eb38953b93606c604912f19327d0e5990c4aceb6f0d7c415a871916e560e0a32cfc6df6ac6ee3b9 SHA512 4fc4da5dd42194890e4201129c7217191cc1c8f82a366b84f42f9129c45fa5cb40211674608c84df420f8d8659fd60908880d14176a36f6aa0f89c01a8c1fa6c
+DIST httpd-shed-0.4.tar.gz 4065 BLAKE2B 1f5b3f2cdcc4e5bd2d6fd933dab625dbe8c4687cb1d53411531daa23d8427b263c8c26b992ef432165e943701ebd67f0ae8be363ace462713f3a451a0e0e77b8 SHA512 71b3fc8038e5245589aab99b9fa3eeef0ec13cc78bba33d88b8c7569f30b0ba18b645a939771b3d325d3e666b99c3c4428403ae016d14df55ce8dcba2e9d61e9
+EBUILD httpd-shed-0.4-r1.ebuild 711 BLAKE2B 44f1d121220327d8df338f342a2203716a3eaeff6fe8e3d1882eeb57967e8a2e6295ea5c07b2bc811f60751df5fbab66392a0a4d4db9e24717a2379748ee3abb SHA512 7a02daf09a3985c22461a76ab46afdc316afaa9c0257743836e522dada8e29075b81a0745d3110eb4ff9c412ac348233b13676175bdc732ffe5d7ae6047d92d9
+EBUILD httpd-shed-0.4.0.3.ebuild 1152 BLAKE2B 73b5df8129c18081ef67e3cdb534ac1404cb5f373ef95dfcbb264213339e742ce0ec2a56a43d61891fc3003f9d167e63c81a7c4624dca8e3816616c7a9dce688 SHA512 e5eceacc601c443664e0df7f067f061bbd6b08fac88c88d72c9c7e455392080cc186c136dbd99e83f46910ab3a21075b6f02ca2fb2e1c159ba4d5cb604eac3e2
+MISC metadata.xml 643 BLAKE2B da63b1c9b1c926a88d2208c9eb901cdb43e77495ee0d48ddee2509cbc64899302c37c0f0c0e71d54876774134c47042e65979ec59b765d8d1429bf3fc1ed38f2 SHA512 a77669c1625b85b0e4204f9f1212e96cf660214b44a1e31770bb088c053406537adb6d4568ba9e3eed3add5c8e9545035e24cf5ead0c8c1779ad903646bd5eb8
diff --git a/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch b/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch
new file mode 100644
index 000000000000..ca5a113b7014
--- /dev/null
+++ b/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch
@@ -0,0 +1,21 @@
+[1 of 1] Compiling Network.Shed.Httpd ( Network/Shed/Httpd.hs, dist/build/Network/Shed/Httpd.o )
+
+Network/Shed/Httpd.hs:142:24:
+ Ambiguous occurrence `sClose'
+ It could refer to either `N.sClose',
+ imported from `Network' at Network/Shed/Httpd.hs:38:1-14
+ or `Network.Socket.sClose',
+ imported from `Network.Socket' at Network/Shed/Httpd.hs:48:1-21
+diff --git a/Network/Shed/Httpd.hs b/Network/Shed/Httpd.hs
+index 9dbc2a2..f4f7d5e 100644
+--- a/Network/Shed/Httpd.hs
++++ b/Network/Shed/Httpd.hs
+@@ -139,7 +139,7 @@ initServerMain processBody sockAddr callOut = do
+ hClose h
+ _ -> hClose h
+ return ()
+- ) `finally` sClose sock
++ ) `finally` N.sClose sock
+ where
+ loopIO m = do m
+ loopIO m
diff --git a/dev-haskell/httpd-shed/httpd-shed-0.4-r1.ebuild b/dev-haskell/httpd-shed/httpd-shed-0.4-r1.ebuild
new file mode 100644
index 000000000000..fade9d6a627c
--- /dev/null
+++ b/dev-haskell/httpd-shed/httpd-shed-0.4-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.4.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="A simple web-server with an interact style API"
+HOMEPAGE="http://hackage.haskell.org/package/httpd-shed"
+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 ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="dev-haskell/network:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6.0.3
+"
+
+PATCHES=("${FILESDIR}"/${P}-network.patch)
diff --git a/dev-haskell/httpd-shed/httpd-shed-0.4.0.3.ebuild b/dev-haskell/httpd-shed/httpd-shed-0.4.0.3.ebuild
new file mode 100644
index 000000000000..29613f0789a1
--- /dev/null
+++ b/dev-haskell/httpd-shed/httpd-shed-0.4.0.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A simple web-server with an interact style API"
+HOMEPAGE="http://hackage.haskell.org/package/httpd-shed"
+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 ~ppc-macos ~x86-macos"
+IUSE="buildexamples +network-uri"
+
+RDEPEND=">=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.3:=[profile?] <dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/network-uri-2.5:=[profile?] <dev-haskell/network-uri-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag buildexamples buildexamples) \
+ $(cabal_flag network-uri network-uri)
+}
diff --git a/dev-haskell/httpd-shed/metadata.xml b/dev-haskell/httpd-shed/metadata.xml
new file mode 100644
index 000000000000..3c478f3b1e1f
--- /dev/null
+++ b/dev-haskell/httpd-shed/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ This web server promotes a Request to IO Response function
+ into a local web server. The user can decide how to interpret
+ the requests, and the library is intended for implementing Ajax APIs.
+ </longdescription>
+ <use>
+ <flag name="buildexamples">Build example executables.</flag>
+ <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
+ </use>
+</pkgmetadata>