Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: gentoo-haskell/gentoo-haskell
base: 4088669993
...
head fork: gentoo-haskell/gentoo-haskell
compare: c58dace4b4
Checking mergeability… Don't worry, you can still create the pull request.
  • 6 commits
  • 21 files changed
  • 0 commit comments
  • 2 contributors
Showing with 389 additions and 0 deletions.
  1. +1 −0  dev-haskell/control-monad-loop/Manifest
  2. +25 −0 dev-haskell/control-monad-loop/control-monad-loop-0.1.ebuild
  3. +12 −0 dev-haskell/control-monad-loop/metadata.xml
  4. +1 −0  dev-haskell/process-conduit/Manifest
  5. +12 −0 dev-haskell/process-conduit/metadata.xml
  6. +30 −0 dev-haskell/process-conduit/process-conduit-1.0.0.0.ebuild
  7. +1 −0  dev-haskell/static-hash/Manifest
  8. +11 −0 dev-haskell/static-hash/metadata.xml
  9. +25 −0 dev-haskell/static-hash/static-hash-0.0.1.ebuild
  10. +1 −0  dev-haskell/wai-app-file-cgi/Manifest
  11. +12 −0 dev-haskell/wai-app-file-cgi/metadata.xml
  12. +49 −0 dev-haskell/wai-app-file-cgi/wai-app-file-cgi-0.8.3.ebuild
  13. +1 −0  dev-haskell/wai-logger-prefork/Manifest
  14. +11 −0 dev-haskell/wai-logger-prefork/metadata.xml
  15. +28 −0 dev-haskell/wai-logger-prefork/wai-logger-prefork-0.3.0.ebuild
  16. +1 −0  www-servers/mighttpd2/Manifest
  17. +19 −0 www-servers/mighttpd2/files/mighttpd2.conf
  18. +49 −0 www-servers/mighttpd2/files/mighttpd2.initd
  19. +23 −0 www-servers/mighttpd2/files/mighttpd2.route
  20. +14 −0 www-servers/mighttpd2/metadata.xml
  21. +63 −0 www-servers/mighttpd2/mighttpd2-2.8.4.ebuild
View
1  dev-haskell/control-monad-loop/Manifest
@@ -0,0 +1 @@
+DIST control-monad-loop-0.1.tar.gz 5081 SHA256 f29b08497897268daf4c547390dad69f4ee00032082e3d5305c33e6eee257300 SHA512 a3eb80b06762ecf442b23fd39a35393a5754a7d71f4ba21e8a3a2457d8ee34a9b5d4b6c8f20d5c5fa19a42beb863bc2a7602bffd06db6ddc99f9b94ae2ec74dd WHIRLPOOL 17dae2a3d6242dbb04d57898c759ed52dc323b182ab2f49308684eddc660be391f046f266e4b5695fd7af67851ec905339f2ad30746f2899bb0aedecb6bef3cb
View
25 dev-haskell/control-monad-loop/control-monad-loop-0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Simple monad transformer for imperative-style loops"
+HOMEPAGE="https://github.com/joeyadams/haskell-control-monad-loop"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/transformers:=[profile?]
+ dev-haskell/transformers-base:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
View
12 dev-haskell/control-monad-loop/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <longdescription>
+ A library of looping constructs with @continue@ and @exit@ control flow
+ statements.
+ </longdescription>
+</pkgmetadata>
View
1  dev-haskell/process-conduit/Manifest
@@ -0,0 +1 @@
+DIST process-conduit-1.0.0.0.tar.gz 3872 SHA256 4946932b596aa2fb2d70e16cea8ba73281728994e4ab5d3d8948a73e971c7504 SHA512 c20f055441bf173b16958d0bfa5d3911151d678ba168453c8b5006dd89f060fad57e90fa9a6facc865d920ded3d08ebe86d767cb1b92732b7f51a3cc29c98877 WHIRLPOOL 3431479396bf9069e720c0e2863ac78c5c1dcec1eb5909243d9d7aa8460a505b4df1d4b44e4aecd56790dc5f8e31915d58d7e57c5d81755e80cba7272451bbc7
View
12 dev-haskell/process-conduit/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <longdescription>
+ Conduits for processes.
+ For more details: &lt;https://github.com/tanakh/process-conduit/blob/master/README.md&gt;
+ </longdescription>
+</pkgmetadata>
View
30 dev-haskell/process-conduit/process-conduit-1.0.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Conduits for processes"
+HOMEPAGE="http://github.com/tanakh/process-conduit"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-haskell/conduit-1.0*:=[profile?]
+ =dev-haskell/control-monad-loop-0.1*:=[profile?]
+ >=dev-haskell/mtl-2.0:=[profile?]
+ >=dev-haskell/shakespeare-text-1.0:=[profile?]
+ >=dev-haskell/text-0.11:=[profile?]
+ >=dev-lang/ghc-6.12.1:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-haskell/hspec-1.3
+ )
+ >=dev-haskell/cabal-1.8"
View
1  dev-haskell/static-hash/Manifest
@@ -0,0 +1 @@
+DIST static-hash-0.0.1.tar.gz 2462 SHA256 147dfc2b5f3510fb8fff7ee9bcb6dcf4568bb961abf221e23f02243434e96f5a SHA512 aedde98aed9719b52924f1da2e669ec70d6353aabf99f32d5749131ced16c54d6ecf51397318c5827893c3ec016d73aa84e8627a919bc007b8e22ce4c0b95e79 WHIRLPOOL 2e8f8167886966f4e0bced94c9dcde8a964fe971b262e740357632adb6338955245b85bca7a8cdf4815ecb4a389ee7cb3b63465d4ac1e9126bcb020790d9546b
View
11 dev-haskell/static-hash/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <longdescription>
+ Pure immutable hash whose lookup is O(1)
+ </longdescription>
+</pkgmetadata>
View
25 dev-haskell/static-hash/static-hash-0.0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Immutable hash"
+HOMEPAGE="http://hackage.haskell.org/package/static-hash"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/hashable:=[profile?]
+ dev-haskell/primes:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
View
1  dev-haskell/wai-app-file-cgi/Manifest
@@ -0,0 +1 @@
+DIST wai-app-file-cgi-0.8.3.tar.gz 15212 SHA256 4503cc375acd4288681503f859573f4fb7cfd42b675322a2cc0d1b1caca6499d SHA512 546626b75f3d30d8032d66cd043e8065ce682cc1e9881b9c5c203183d7a03e3d1892e75c94d75de8eada9b4f875c57496640a237bd3b6b8d130ffc2999457ee5 WHIRLPOOL 483c12615e42b3f075b932f34348eb1b44a0359a6de245de4e885fa3db127838bec4b54b755fec0b5464b6a1caac5bdb8a5bf346f1cbc9dfc101a71f3366c6e2
View
12 dev-haskell/wai-app-file-cgi/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <longdescription>
+ This WAI application library handles static files,
+ executes CGI scripts, and serves as a reverse proxy.
+ </longdescription>
+</pkgmetadata>
View
49 dev-haskell/wai-app-file-cgi/wai-app-file-cgi-0.8.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="File/CGI/Rev Proxy App of WAI"
+HOMEPAGE="http://www.mew.org/~kazu/proj/mighttpd/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/attoparsec-0.10.0.0:=[profile?]
+ dev-haskell/attoparsec-conduit:=[profile?]
+ dev-haskell/blaze-builder:=[profile?]
+ dev-haskell/blaze-html:=[profile?]
+ dev-haskell/case-insensitive:=[profile?]
+ >=dev-haskell/conduit-0.5:=[profile?]
+ dev-haskell/date-cache:=[profile?]
+ >=dev-haskell/fast-logger-0.3:=[profile?]
+ >=dev-haskell/http-conduit-1.9:=[profile?]
+ dev-haskell/http-date:=[profile?]
+ >=dev-haskell/http-types-0.7:=[profile?]
+ dev-haskell/io-choice:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ dev-haskell/mime-types:=[profile?]
+ dev-haskell/network:=[profile?]
+ dev-haskell/resourcet:=[profile?]
+ dev-haskell/static-hash:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/transformers:=[profile?]
+ >=dev-haskell/wai-1.2:=[profile?]
+ dev-haskell/wai-logger:=[profile?]
+ dev-haskell/word8:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ test? ( >=dev-haskell/doctest-0.9.3
+ >=dev-haskell/hspec-1.3
+ dev-haskell/warp
+ )
+ >=dev-haskell/cabal-1.10"
View
1  dev-haskell/wai-logger-prefork/Manifest
@@ -0,0 +1 @@
+DIST wai-logger-prefork-0.3.0.tar.gz 2924 SHA256 c4e370feb55967fa8770179eeab9eec266491b748ae9d506ea40b62f32a6da31 SHA512 82a5c03b98549e315cb037b01b5eb8386df5604850c14d18ce50a9a44e6a3713d0474313aa31a12061f21637388734ebf63e63ec5d118d42649cc0f24ad4714a WHIRLPOOL f4786a19e68d4a883042f351a6363c0ad545ad183eb4d821b0b94758499b90c1eb5290f0468033968f51a0e251d90e2f55fad1f53bc2b640a15e7ed498927790
View
11 dev-haskell/wai-logger-prefork/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <longdescription>
+ A logging system for preforked WAI apps
+ </longdescription>
+</pkgmetadata>
View
28 dev-haskell/wai-logger-prefork/wai-logger-prefork-0.3.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A logging system for preforked WAI apps"
+HOMEPAGE="http://hackage.haskell.org/package/wai-logger-prefork"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/date-cache:=[profile?]
+ dev-haskell/fast-logger:=[profile?]
+ dev-haskell/http-types:=[profile?]
+ dev-haskell/wai:=[profile?]
+ >=dev-haskell/wai-logger-0.3:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
View
1  www-servers/mighttpd2/Manifest
@@ -0,0 +1 @@
+DIST mighttpd2-2.8.4.tar.gz 14127 SHA256 f3f8f8878f14e70fb9fb49c39ea43012d7fe3f3b80559c8d369d472ec7a6236a SHA512 52b3c16542be740ed3ee3f2f5ad3345c8dd90c83d4e692fe9c4e1c0064573585d15232449b7171efeef9f42a348a1a1132a47f78afba61bc7662bb51f3cf1641 WHIRLPOOL 2c1f1398efc554ae373a6832d913e816ede9fe2c5a1e214f64c5ad0234a84ad2df22a17303dcf234fe8c9ef4701b4b4af074a2ce63f51aefdb8efc5df812bdeb
View
19 www-servers/mighttpd2/files/mighttpd2.conf
@@ -0,0 +1,19 @@
+# Configuration for Mighttpd 2
+Port: 80
+Debug_Mode: No # Yes or No
+# If available, "nobody" is much more secure for User:.
+User: mighttpd2
+# If available, "nobody" is much more secure for Group:.
+Group: mighttpd2
+Pid_File: /var/run/mighttpd2.pid
+Logging: Yes # Yes or No
+Log_File: /var/log/mighttpd2 # The directory must be writable by User:
+Log_File_Size: 16777216 # bytes
+Log_Backup_Number: 10
+Index_File: index.html
+Index_Cgi: index.cgi
+Status_File_Dir: /usr/share/mighttpd2/status
+Connection_Timeout: 30 # seconds
+Fd_Cache_Duration: 10 # seconds
+#Server_Name: Mighttpd/2.x.y
+Worker_Processes: 4
View
49 www-servers/mighttpd2/files/mighttpd2.initd
@@ -0,0 +1,49 @@
+#!/sbin/runscript
+
+extra_started_commands="upgrade reload"
+
+description="Mighttpd2 (called mighty) is a simple but practical HTTP server written in Haskell."
+description_upgrade="Upgrade the mighttpd2 binary without losing connections."
+description_reload="Reload the mighttpd2 configuration without losing connections."
+
+mighttpd2_config=${mighttpd2_config:-/etc/mighttpd2/mighttpd2.conf}
+mighttpd2_route=${mighttpd2_route:-/etc/mighttpd2/mighttpd2.route}
+
+command="/usr/bin/mighty"
+ctlcommand="/usr/bin/mightyctl"
+command_args="${mighttpd2_config} ${mighttpd2_route}"
+user=${user:-mighttpd2}
+group=${group:-mighttpd2}
+
+depend() {
+ need net
+ use dns logger netmount
+}
+
+start() {
+ ebegin "Starting mighttpd2"
+ ${command} ${command_args} || return 1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping mighttpd2"
+ ${ctlcommand} stop || return 1
+ eend $?
+}
+
+reload() {
+ ebegin "Refreshing mighttpd2 configuration"
+ ${ctlcommand} reload
+ eend $? "Failed to reload mighttpd2"
+}
+
+upgrade() {
+ ebegin "Upgrading mighttpd2"
+ einfo "Enter the retiring mode"
+ ${ctlcommand} retire
+ sleep 3
+ ${command} ${command_args}
+ einfo "Upgrade completed"
+ eend $? "Upgrade failed"
+}
View
23 www-servers/mighttpd2/files/mighttpd2.route
@@ -0,0 +1,23 @@
+# Routing for Mighttpd 2
+
+# Domain lists
+[localhost]
+
+# Entries are looked up in the specified order
+# All paths must end with "/"
+
+# A path to CGI scripts should be specified with "=>"
+# /~alice/cgi-bin/ => /home/alice/public_html/cgi-bin/
+
+# A path to static files should be specified with "->"
+# /~alice/ -> /home/alice/public_html/
+# /cgi-bin/ => /export/cgi-bin/
+
+# Reverse proxy rules should be specified with ">>"
+# /path >> host:port/path2
+# Either "host" or ":port" can be committed, but not both.
+# /app/cal/ >> example.net/calendar/
+# Yesod app in the same server
+# /app/wiki/ >> 127.0.0.1:3000/
+
+/ -> /var/www/localhost/htdocs
View
14 www-servers/mighttpd2/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <longdescription>
+ High performance web server to handle static
+ files and CGI on WAI/warp.
+ Reverse proxy functionality is also provided
+ to connect web applications behind.
+ </longdescription>
+</pkgmetadata>
View
63 www-servers/mighttpd2/mighttpd2-2.8.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="bin test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="High performance web server on WAI/warp"
+HOMEPAGE="http://www.mew.org/~kazu/proj/mighttpd/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ test? ( >=dev-haskell/hspec-1.3
+ )
+ >=dev-haskell/blaze-html-0.5
+ >=dev-haskell/cabal-1.8
+ dev-haskell/conduit
+ dev-haskell/date-cache
+ dev-haskell/deepseq
+ >=dev-haskell/http-conduit-1.8.2.1
+ dev-haskell/http-date
+ dev-haskell/http-types
+ dev-haskell/io-choice
+ dev-haskell/network
+ dev-haskell/network-conduit
+ >=dev-haskell/parsec-3
+ dev-haskell/process-conduit
+ dev-haskell/transformers
+ dev-haskell/unix-time
+ dev-haskell/unordered-containers
+ >=dev-haskell/wai-1.3
+ dev-haskell/wai-app-file-cgi
+ dev-haskell/wai-logger
+ dev-haskell/wai-logger-prefork
+ >=dev-haskell/warp-1.3
+ >=dev-lang/ghc-6.12.1"
+
+pkg_setup() {
+ ebegin "Creating mighttpd2 user and group"
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+ eend $?
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ mkdir -p "${ED}"/etc/mighttpd2
+ cp "${FILESDIR}"/mighttpd2.conf "${ED}"/etc/mighttpd2/mighttpd2.conf || die
+ cp "${FILESDIR}"/mighttpd2.route "${ED}"/etc/mighttpd2/mighttpd2.route || die
+
+ newinitd "${FILESDIR}"/mighttpd2.initd mighttpd2
+}

No commit comments for this range

Something went wrong with that request. Please try again.