summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/sha
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/sha')
-rw-r--r--dev-haskell/sha/Manifest6
-rw-r--r--dev-haskell/sha/files/sha-1.6.0-no-tests.patch55
-rw-r--r--dev-haskell/sha/metadata.xml17
-rw-r--r--dev-haskell/sha/sha-1.5.0.0.ebuild29
-rw-r--r--dev-haskell/sha/sha-1.6.0.ebuild31
-rw-r--r--dev-haskell/sha/sha-1.6.1.ebuild29
-rw-r--r--dev-haskell/sha/sha-1.6.4-r1.ebuild38
-rw-r--r--dev-haskell/sha/sha-1.6.4.1-r1.ebuild48
-rw-r--r--dev-haskell/sha/sha-1.6.4.2.ebuild41
9 files changed, 294 insertions, 0 deletions
diff --git a/dev-haskell/sha/Manifest b/dev-haskell/sha/Manifest
new file mode 100644
index 000000000000..185cc55153db
--- /dev/null
+++ b/dev-haskell/sha/Manifest
@@ -0,0 +1,6 @@
+DIST SHA-1.5.0.0.tar.gz 2714032 SHA256 9361cf9dffb8640e435b7b61bc4922c7bdf4c26d96bb42de423ede4a570b5f8b SHA512 7899133f0a86807ef7760ffd55e3e43bdc8abd8493f6e9b3fbde76a74a792d6a27e19577258625b3043a03b60b532171d6ed1929081330107ed7250e67555689 WHIRLPOOL 312c037add03fef9ab60f5311d111c82f6b9fc5d438d04466b949e8974688d69880b98987b126f8e7b155d3798910c24607952dae5a988803c830ee99e91a443
+DIST SHA-1.6.0.tar.gz 2714319 SHA256 f37fc02aec825f341847c0e28207c35288af7ddbd87324c825d923307314bd44 SHA512 65fb3b9f6ac2d5806edb53499e290bc1f78aa25354e421723203a5e0099e242d77cc3741f975e81e35daac68b94b429746c33381909c7cb2bcf4cf1e6be553f5 WHIRLPOOL 549924408f71be607ddd3f39f22aa94c72f1aa564a6792036513e3779f87fc44e074ef6a489d3482c0fc3cdbf667f53c46ee5647bb99a6052644f7af7df90b50
+DIST SHA-1.6.1.tar.gz 2714264 SHA256 fdb9924aa31493ad198e3b3498a8204cc7013e0ef86215faf1c4e435a7166aec SHA512 1e51e84836ebc383d6094f2b012a0bdfd816838055e873f748c0c73da8ac34873f3f32fa287123d084c0aeb651cd3749f524cdb3b9884cae2af8ccb424196d8e WHIRLPOOL 684ba34a5ddec52be534ecd6412b65c67d3f6b062d3ba889a140c8e898830973a38b17550683110db21500802ab7d19da6b7dd751e54dd431c4c9c763c9792ab
+DIST SHA-1.6.4.1.tar.gz 2715446 SHA256 743bc6d7dd3e74a44bfca8920f0f0ba5855722a62f6cc44f0a38d10c11bddc0d SHA512 cc4e5aec818a6f16f7e69e8a17b37d65e04bbc3688cd1e9fd174ac2b23acc24e43f2053f6b4b08b91414d94dbba0bc6af47b2eb2514bea2e847c93e23240e3ff WHIRLPOOL 1a48c33e07548266c09580d02b67b32db6ccf33e8bc8c9d9f6acc9c9f1a2a53cf3e2476f66f8b4a14fb31da89bb362bf7e6868862275c7f9363c21bb0937a056
+DIST SHA-1.6.4.2.tar.gz 2715266 SHA256 c470176f63cbe49fd0502a1b32ef22bc01b1af42385583b8be94547750958a8c SHA512 aa1178f08ad3364c504ee790dac9b0774b7461fa7ea0a8f2c3ad82943d109602debcf4a8a83090815fef487ceac40019f8b5594ab0043f36e019d69bc5f76853 WHIRLPOOL f5276133475ea2e7568c1ed0f4b9d4cf7db58e2fb75d6f6221918c4ba6e9a7fcbe3fd7b43846e7aef7046f537e65c8afee24df45dd22528e2bb2038faee202a5
+DIST SHA-1.6.4.tar.gz 2715426 SHA256 72ed2dd6ede7348a1d0738a049a87dc843054b683c5bb58a201a6390d1d3a78d SHA512 308235c8dab971f0751eba1634915274094559e1294b2afdee067c6076fa06de1a27dca444a7388ae2d93d11c0b59a1e4a31239fb22b0c4857e83ccfb7ccfa0e WHIRLPOOL e3a89839418eb647eaf0b396ddfcc6cce97db365a8ac219a0190a71947c74f04a8727cec37838aac2e11c017cf3cb13c9d5d9eb6092d6d8e98d17cd6505ed2d1
diff --git a/dev-haskell/sha/files/sha-1.6.0-no-tests.patch b/dev-haskell/sha/files/sha-1.6.0-no-tests.patch
new file mode 100644
index 000000000000..040430b5d7b8
--- /dev/null
+++ b/dev-haskell/sha/files/sha-1.6.0-no-tests.patch
@@ -0,0 +1,55 @@
+From 28704350d7b6148b2edbd5e8883c1c2dfba4f0ba Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Wed, 21 Nov 2012 23:44:33 +0300
+Subject: [PATCH] cabal: make depends on test libraries optional
+
+before the patch 'QuickCheck' and friends were required unconditionally:
+
+ $ runhaskell Setup.hs configure -v -ftest | grep QuickCheck
+ Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
+ $ runhaskell Setup.hs configure -v -f-test | grep QuickCheck
+ Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
+
+the patch fixes it by putting 'build-depends' under condition
+
+ $ runhaskell Setup.hs configure -v -f-test | grep -i quickcheck
+ $ runhaskell Setup.hs configure -v -ftest | grep -i quickcheck
+ Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
+
+Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+---
+ SHA.cabal | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/SHA.cabal b/SHA.cabal
+index a146b52..1ec2624 100644
+--- a/SHA.cabal
++++ b/SHA.cabal
+@@ -37,9 +37,12 @@ Library
+ Ghc-Options: -fregs-graph
+
+ Executable test_sha
+- build-depends: base >= 4 && < 6, bytestring, binary, array,
+- QuickCheck == 2.*, test-framework >= 0.3,
+- test-framework-quickcheck2 >= 0.2
++ if flag(test)
++ build-depends: base >= 4 && < 6, bytestring, binary, array,
++ QuickCheck == 2.*, test-framework >= 0.3,
++ test-framework-quickcheck2 >= 0.2
++ else
++ buildable: False
+ Main-Is: Test.hs
+ Other-Modules: Data.Digest.Pure.SHA
+
+@@ -51,8 +54,6 @@ Executable test_sha
+ if impl(ghc >= 6.12)
+ Ghc-Options: -fregs-graph
+
+- if !flag(test)
+- buildable: False
+
+ Executable sha1
+ build-depends: base >= 4 && < 6, bytestring, binary, array, directory
+--
+1.8.0
+
diff --git a/dev-haskell/sha/metadata.xml b/dev-haskell/sha/metadata.xml
new file mode 100644
index 000000000000..b824ba547d89
--- /dev/null
+++ b/dev-haskell/sha/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <use>
+ <flag name="exe">Build a sha1 and a sha384 executable similar to 'md5sum'.</flag>
+ </use>
+ <longdescription>
+ This library implements the SHA suite of message digest functions,
+ according to NIST FIPS 180-2 (with the SHA-224 addendum), as well
+ as the SHA-based HMAC routines. The functions have been tested
+ against most of the NIST and RFC test vectors for the various
+ functions. While some attention has been paid to performance,
+ these do not presently reach the speed of well-tuned libraries,
+ like OpenSSL.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/sha/sha-1.5.0.0.ebuild b/dev-haskell/sha/sha-1.5.0.0.ebuild
new file mode 100644
index 000000000000..abf44e5d3faf
--- /dev/null
+++ b/dev-haskell/sha/sha-1.5.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/binary
+ >=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/sha/sha-1.6.0.ebuild b/dev-haskell/sha/sha-1.6.0.ebuild
new file mode 100644
index 000000000000..9295511d35f3
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/binary:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=("${FILESDIR}"/${P}-no-tests.patch)
diff --git a/dev-haskell/sha/sha-1.6.1.ebuild b/dev-haskell/sha/sha-1.6.1.ebuild
new file mode 100644
index 000000000000..acbf113ad97f
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="dev-haskell/binary:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/sha/sha-1.6.4-r1.ebuild b/dev-haskell/sha/sha-1.6.4-r1.ebuild
new file mode 100644
index 000000000000..7ebff34198fc
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.4-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+#hackport: flags: -decoderinterface
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="exe"
+
+RDEPEND=">=dev-haskell/binary-0.7:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=decoderinterface \
+ $(cabal_flag exe exe)
+}
diff --git a/dev-haskell/sha/sha-1.6.4.1-r1.ebuild b/dev-haskell/sha/sha-1.6.4.1-r1.ebuild
new file mode 100644
index 000000000000..ca6fead1e3df
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.4.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: +decoderinterface
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="exe test"
+
+RDEPEND=">=dev-haskell/binary-0.7:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/quickcheck-2.5:2=[profile?] <dev-haskell/quickcheck-3:2=[profile?]
+ >=dev-haskell/test-framework-0.8.0.3:=[profile?]
+ >=dev-haskell/test-framework-quickcheck2-0.3.0.2:=[profile?] )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=decoderinterface \
+ $(cabal_flag exe exe) \
+ $(cabal_flag test test)
+}
+
+src_test() {
+ # This package builds a test executable called test_sha, but the
+ # suite isn't integrated with cabal yet. It's fixed upstream in git.
+ dist/build/test_sha/test_sha || die "test suite failed"
+}
diff --git a/dev-haskell/sha/sha-1.6.4.2.ebuild b/dev-haskell/sha/sha-1.6.4.2.ebuild
new file mode 100644
index 000000000000..c1c37c05ab7f
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.4.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: +decoderinterface
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="exe"
+
+RDEPEND=">=dev-haskell/binary-0.7:=[profile?] <dev-haskell/binary-10000:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-3
+ >=dev-haskell/test-framework-0.8.0.3 <dev-haskell/test-framework-10000
+ >=dev-haskell/test-framework-quickcheck2-0.3.0.2 <dev-haskell/test-framework-quickcheck2-10000 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=decoderinterface \
+ $(cabal_flag exe exe)
+}