summaryrefslogtreecommitdiff
path: root/dev-haskell/httpd-shed
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/httpd-shed
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/httpd-shed')
-rw-r--r--dev-haskell/httpd-shed/Manifest8
-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, 107 insertions, 0 deletions
diff --git a/dev-haskell/httpd-shed/Manifest b/dev-haskell/httpd-shed/Manifest
new file mode 100644
index 000000000000..ecd9dd310875
--- /dev/null
+++ b/dev-haskell/httpd-shed/Manifest
@@ -0,0 +1,8 @@
+AUX httpd-shed-0.4-network.patch 931 SHA256 7e2f32bc9025f509723838c993bf68cda2792f3b436ab151a4cab0f401e7d1b1 SHA512 2d964bfd1d9f6bec763229c5fd7b04e01993e8dbffdfc6dd49f296aa78efaf26b556c3debb64d707553fd06ab9072ab8c2c69329dcb9bc5177dc8a68b2f04859 WHIRLPOOL 404681ec106c7813fe2d58965b1184da75c93615f18cfa21d7794e25991adaa5dd89bdc7a57f4167d23ae9eae687a6055818b8fe531a1702704759ccd89226b6
+DIST httpd-shed-0.4.0.3.tar.gz 4308 SHA256 b0ff87d81e61f788d3920d952e4469d984742ba49c006df086c159886bf09218 SHA512 4fc4da5dd42194890e4201129c7217191cc1c8f82a366b84f42f9129c45fa5cb40211674608c84df420f8d8659fd60908880d14176a36f6aa0f89c01a8c1fa6c WHIRLPOOL 653748463726872a0c05c80792586941bdc94174dd2b0a0a81ef54216af52bdd0cbeb578e8e0c1e43eebbdad53f26fea5e8ca2a583253e74aabea9903f557aa7
+DIST httpd-shed-0.4.tar.gz 4065 SHA256 c03f784742bdc3053c7e867e587ee859a9a3adaa082d36bdb2ea69da1b02069f SHA512 71b3fc8038e5245589aab99b9fa3eeef0ec13cc78bba33d88b8c7569f30b0ba18b645a939771b3d325d3e666b99c3c4428403ae016d14df55ce8dcba2e9d61e9 WHIRLPOOL 418a22fa7ad36d885e932ecf051395014bce9a9165bd6ad64559995284879f6ec20d8085af2a8f05a2b7e8d63871ae4d2d5bd5c2f278da0b45959a5ebfe4be1e
+EBUILD httpd-shed-0.4-r1.ebuild 711 SHA256 00058c535243110d1e376fadb93456fad7b57a0540078f31db62b684e4eb8f84 SHA512 7a02daf09a3985c22461a76ab46afdc316afaa9c0257743836e522dada8e29075b81a0745d3110eb4ff9c412ac348233b13676175bdc732ffe5d7ae6047d92d9 WHIRLPOOL 0d790b62ea9c482eca9cc3e2d11b6ccc7e6c808ff988919e453e234bc1852ca613c1df442dc8312534960dba24ca6a9c07b084ebb22fc68b27e42897333a1dd0
+EBUILD httpd-shed-0.4.0.3.ebuild 1152 SHA256 da2834a529cb50f86966f253b5721cc6c8b7bed9bac83a78a5e287cce6e74355 SHA512 e5eceacc601c443664e0df7f067f061bbd6b08fac88c88d72c9c7e455392080cc186c136dbd99e83f46910ab3a21075b6f02ca2fb2e1c159ba4d5cb604eac3e2 WHIRLPOOL 4c93ec9ae0e0fec3a8141b39c867c6e41c843d7224fdc0e25f0eace57c11489ae767fb72f3523e1d2ec95e1ef538cfce294cf8eb3df1058d80102a8ed3089edb
+MISC ChangeLog 3360 SHA256 9d27fd68851208e94fcc287e48bb80d56f48360b18790428b05ce832ab335f37 SHA512 d88466cfb05321eb8cc70691ecf1155659bc2075883b207eea7586c1dfee2c4ef5634a1ef92f9c4a504bb6fffd45299370c34478a01ef33ad0a5e1c8c1ec28cf WHIRLPOOL a2c7e46c05b28d43915a446399bf78b59237764238d3b7e03c814d0ea3f08dac7d8ec84e369499ee219183549c332cafee13688f3c910cce64c2027199b60868
+MISC ChangeLog-2015 2614 SHA256 1cb635e6265df1b23f714031f48fea5e108d3acfa25c10d8d9a68e6646f5392a SHA512 c5421c3ff6974719dc56a2c2f83540dbd86ac2085faffdb402add8245578f8dd4d6d7b89189cf24d1beb1ff35db7fe43a979e19c3af38896fce7e4b27c12582a WHIRLPOOL 5721025c65bd3156358b880795f448049e76a46e5fc8728e14a320a0ac7a8187a2d3b416ec1490fcb58ff935785feb343c2d654e61b66ace3a550589b1773584
+MISC metadata.xml 643 SHA256 515c5e1de589f1daf35e859ac778e33f6ea5e1ee1dda9a3bf673ebc0bff27e38 SHA512 a77669c1625b85b0e4204f9f1212e96cf660214b44a1e31770bb088c053406537adb6d4568ba9e3eed3add5c8e9545035e24cf5ead0c8c1779ad903646bd5eb8 WHIRLPOOL d48c8217709c8a0edfe38459d201ecd13de96a31faa496c719a600cc3ebd04d89c4184188877032d8760c5884ec51bfe2b8ad319290be3caa65d0d01b84bc5df
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>