diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-11-14 09:50:00 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2013-11-14 09:50:00 +0000 |
commit | ad666dd23e950642e5941341add599e52371f00b (patch) | |
tree | 6ec3a1832376d517c8384ec6823d665e0e24d3ea /dev-haskell/snap-server | |
parent | Add compatibility with glibc 2.18, wrt bug #482372 (diff) | |
download | gentoo-2-ad666dd23e950642e5941341add599e52371f00b.tar.gz gentoo-2-ad666dd23e950642e5941341add599e52371f00b.tar.bz2 gentoo-2-ad666dd23e950642e5941341add599e52371f00b.zip |
Initial commit. A fast, iteratee-based, epoll-enabled web server for the Snap Framework.
(Portage version: 2.2.7_p18/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/snap-server')
-rw-r--r-- | dev-haskell/snap-server/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/snap-server/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/snap-server/metadata.xml | 31 | ||||
-rw-r--r-- | dev-haskell/snap-server/snap-server-0.9.3.4.ebuild | 44 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-haskell/snap-server/ChangeLog b/dev-haskell/snap-server/ChangeLog new file mode 100644 index 000000000000..f36e306b01aa --- /dev/null +++ b/dev-haskell/snap-server/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-haskell/snap-server +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/snap-server/ChangeLog,v 1.1 2013/11/14 09:50:00 slyfox Exp $ + +*snap-server-0.9.3.4 (14 Nov 2013) + + 14 Nov 2013; Sergei Trofimovich <slyfox@gentoo.org> +metadata.xml, + +snap-server-0.9.3.4.ebuild: + Initial commit. A fast, iteratee-based, epoll-enabled web server for the Snap + Framework. diff --git a/dev-haskell/snap-server/Manifest b/dev-haskell/snap-server/Manifest new file mode 100644 index 000000000000..156ff55c4ab5 --- /dev/null +++ b/dev-haskell/snap-server/Manifest @@ -0,0 +1,3 @@ +DIST snap-server-0.9.3.4.tar.gz 56320 SHA256 08b96faade7472eb6f976861f064759c8de2c4e581da4cb4f50fb8cb8f7b2545 SHA512 a2fe0a04cc12efe9d661bff370cd1603639ca3cc0cd76d32624178e6a425933e9084b3c278e43cb6cb0dfd0851da5f5275e31d5f0961cd9cac7d1a98355df784 WHIRLPOOL 182d556009c4da1a43888c0289a079ad6f19abf415762dfb724bcf98e59eada1b651f4f13dd02036bf3e6727848d7f086fd9b2b240714d01e936f54e8070f7f1 +EBUILD snap-server-0.9.3.4.ebuild 1881 SHA256 7b5e76491d79b90344c83432e82a564c7968539168061b162ea7db259a3a2602 SHA512 30409ddc6af0474c37bb0146bfa2dfcc03163005748feee9533174ff45cc88410dc85aa77045ac64e6cf8c322f786b38ec1f54fe8fb8d6595ff98e942239847a WHIRLPOOL 529a3d13138f4d635d9508bbfe58b715123d3ce6edb1b880ba8ef1542d355cc42cdf7582935af34e84341405c013e7c8c7867c3a49d6cff90b99aaf363997159 +MISC metadata.xml 1331 SHA256 255c8458cc289ceb520a243e2dcbeca5c12ad23c3da1c89c232e043e82b567ae SHA512 414619c5e5f300886842d252f267394180ec5606795c39f32c35725a91a9185ecff998e9e2e150b4e261a4eee00f709a5d95843660087751b517977363a59f8a WHIRLPOOL 395b77c24b5323ec22fa4d22ba7ec622106089a90c541a172bb11dbfea4a86fcebf3691250634cf69ef3fa0a78a4f15069aab349e16a56117614cd6d55cbcf59 diff --git a/dev-haskell/snap-server/metadata.xml b/dev-haskell/snap-server/metadata.xml new file mode 100644 index 000000000000..9df9bfd7cdcb --- /dev/null +++ b/dev-haskell/snap-server/metadata.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <use> + <flag name='openssl'>enable https support using <pkg>dev-haskell/hsopenssl</pkg></flag> + <flag name='portable'>no non-haskell unportable code.</flag> + </use> + <longdescription> + Snap is a simple and fast web development framework and server written in + Haskell. For more information or to download the latest version, you can + visit the Snap project website at <http://snapframework.com/>. + + The Snap HTTP server is a high performance, epoll-enabled, iteratee-based web + server library written in Haskell. Together with the @snap-core@ library upon + which it depends, it provides a clean and efficient Haskell programming + interface to the HTTP protocol. + + Higher-level facilities for building web applications (like user/session + management, component interfaces, data modeling, etc.) are planned but not + yet implemented, so this release will mostly be of interest for those who: + + * need a fast and minimal HTTP API at roughly the same level of abstraction + as Java servlets, or + + * are interested in contributing to the Snap Framework project. + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/snap-server/snap-server-0.9.3.4.ebuild b/dev-haskell/snap-server/snap-server-0.9.3.4.ebuild new file mode 100644 index 000000000000..dc6efb3183d3 --- /dev/null +++ b/dev-haskell/snap-server/snap-server-0.9.3.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/snap-server/snap-server-0.9.3.4.ebuild,v 1.1 2013/11/14 09:50:00 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.3.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A fast, iteratee-based, epoll-enabled web server for the Snap Framework" +HOMEPAGE="http://snapframework.com/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="openssl portable" + +RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.11:=[profile?] + >=dev-haskell/attoparsec-enumerator-0.3:=[profile?] <dev-haskell/attoparsec-enumerator-0.4:=[profile?] + >=dev-haskell/blaze-builder-0.2.1.4:=[profile?] <dev-haskell/blaze-builder-0.4:=[profile?] + >=dev-haskell/blaze-builder-enumerator-0.2.0:=[profile?] <dev-haskell/blaze-builder-enumerator-0.3:=[profile?] + >=dev-haskell/case-insensitive-0.3:=[profile?] <dev-haskell/case-insensitive-1.2:=[profile?] + >=dev-haskell/enumerator-0.4.15:=[profile?] <dev-haskell/enumerator-0.5:=[profile?] + >=dev-haskell/monadcatchio-transformers-0.2.1:=[profile?] <dev-haskell/monadcatchio-transformers-0.4:=[profile?] + >=dev-haskell/mtl-2:=[profile?] <dev-haskell/mtl-3:=[profile?] + >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-2.5:=[profile?] + >=dev-haskell/snap-core-0.9.3:=[profile?] <dev-haskell/snap-core-0.10:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-0.12:=[profile?] + >=dev-haskell/unix-compat-0.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] + >=dev-lang/ghc-6.12.1:= + openssl? ( >=dev-haskell/hsopenssl-0.10:=[profile?] <dev-haskell/hsopenssl-0.11:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.2 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag openssl openssl) \ + $(cabal_flag portable portable) +} |