summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-09-11 10:41:30 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-09-11 11:01:30 +0100
commitf65390c4c4c260930dc7e547b24d1c8f5fa93faf (patch)
treeb8e71dc0a42825efda8a29cc709c78037c073d97 /dev-haskell/system-posix-redirect
parentdev-haskell/ac-ppm: PPM image writer, a depend of app-forensics/quickfuzz (diff)
downloadgentoo-f65390c4c4c260930dc7e547b24d1c8f5fa93faf.tar.gz
gentoo-f65390c4c4c260930dc7e547b24d1c8f5fa93faf.tar.bz2
gentoo-f65390c4c4c260930dc7e547b24d1c8f5fa93faf.zip
dev-haskell/system-posix-redirect: stdout redirector, a depend of dev-haskell/thyme
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-haskell/system-posix-redirect')
-rw-r--r--dev-haskell/system-posix-redirect/Manifest1
-rw-r--r--dev-haskell/system-posix-redirect/metadata.xml18
-rw-r--r--dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild25
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-haskell/system-posix-redirect/Manifest b/dev-haskell/system-posix-redirect/Manifest
new file mode 100644
index 000000000000..a670dee7971b
--- /dev/null
+++ b/dev-haskell/system-posix-redirect/Manifest
@@ -0,0 +1 @@
+DIST system-posix-redirect-1.1.0.1.tar.gz 3581 SHA256 53535011e64c1792052987bc1e8799222286c30c349dd36d3fc08c8612fa6ef2 SHA512 3a41668540ebff5ce706db331bb3c736895bd6a8fc11926884ff3e96622bb047c5b715468f4db81d0ac6acd15144ae9dbb71f087173244e29ba5b2a242f43c95 WHIRLPOOL ea57e93bb5ba662162501110a887ce5a0f4afff89dd55e825d7c1ccaffc795020bd14d898d4f087e5dc41da86952692ff52d0c58a5b93d50ccd20f995bf30e40
diff --git a/dev-haskell/system-posix-redirect/metadata.xml b/dev-haskell/system-posix-redirect/metadata.xml
new file mode 100644
index 000000000000..01dac7da10fe
--- /dev/null
+++ b/dev-haskell/system-posix-redirect/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ Due to the design of POSIX, it is possible to temporarily overload the
+ file descriptors corresponding to stdout and stderr to point to an
+ arbitrary pipe. It is, however, tricky to get right. This module gets
+ it right, as far as such a terrible hack can be made right. It can be
+ used to make misbehaving third-party C libraries stop spewing to
+ standard output. Warning: the module author has concluded that due to
+ lack of portability, this module should not be used in any serious
+ sytem. But, for those who like living dangerously...
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild b/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild
new file mode 100644
index 000000000000..9c4391d15b74
--- /dev/null
+++ b/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 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"
+inherit haskell-cabal
+
+DESCRIPTION="A toy module to temporarily redirect a program's stdout"
+HOMEPAGE="http://hackage.haskell.org/package/system-posix-redirect"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"