Commit 04845841 authored by Joachim Breitner's avatar Joachim Breitner

Resurrect ed25519

parent 21d9b516
haskell-ed25519 (0.0.2.0-6) experimental; urgency=medium
* Depend on haskell-devscripts >= 0.10 to ensure that this package
builds against GHC in experimental
-- Joachim Breitner <nomeata@debian.org> Thu, 20 Aug 2015 10:27:32 +0200
haskell-ed25519 (0.0.2.0-5) unstable; urgency=medium
* Do not build hlint tests, simplifies dependencies
-- Joachim Breitner <nomeata@debian.org> Mon, 11 May 2015 14:44:53 +0200
haskell-ed25519 (0.0.2.0-4) experimental; urgency=medium
* Depend on haskell-devscripts 0.9, found in experimental
-- Joachim Breitner <nomeata@debian.org> Sat, 20 Dec 2014 17:10:22 +0100
haskell-ed25519 (0.0.2.0-3) unstable; urgency=medium
* Patch for QuickCheck 2.7.
-- Clint Adams <clint@debian.org> Tue, 25 Nov 2014 11:16:26 -0500
haskell-ed25519 (0.0.2.0-2) unstable; urgency=high
* Disable hlint testing of benchmarks (which we don't run)
and fudge hlint test of properties, since an apparent
change in hlint leads to failures. closes: #752940.
-- Clint Adams <clint@debian.org> Sat, 28 Jun 2014 20:50:03 -0400
haskell-ed25519 (0.0.2.0-1) unstable; urgency=low
* Initial release.
-- Clint Adams <clint@debian.org> Sat, 01 Feb 2014 01:35:34 -0500
Source: haskell-ed25519
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Uploaders: Clint Adams <clint@debian.org>
Priority: extra
Section: haskell
Build-Depends: debhelper (>= 9),
haskell-devscripts (>= 0.10),
cdbs,
ghc,
ghc-prof,
libghc-quickcheck2-dev (>= 2.4),
hlint,
Build-Depends-Indep: ghc-doc,
Standards-Version: 3.9.6
Homepage: http://thoughtpolice.github.com/hs-ed25519
Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-ed25519
Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-ed25519
X-Description: Ed25519 cryptographic signatures
This package provides a simple, portable implementation of the
ed25519 public-key signature system. It also includes support for
detached signatures.
.
The underlying implementation uses the ref10 implementation of
ed25519 from SUPERCOP, and should be relatively fast.
Package: libghc-ed25519-dev
Architecture: any
Depends: ${haskell:Depends},
${shlibs:Depends},
${misc:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Provides: ${haskell:Provides},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
Package: libghc-ed25519-prof
Architecture: any
Depends: ${haskell:Depends},
${misc:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Provides: ${haskell:Provides},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
Package: libghc-ed25519-doc
Architecture: all
Section: doc
Depends: ${misc:Depends},
${haskell:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ed25519
Upstream-Contact: Austin Seipp <aseipp@pobox.com>
Source: http://hackage.haskell.org/package/ed25519
Files: *
Copyright: 2013 Austin Seipp
License: Expat
Files: debian/*
Copyright: 2014 Clint Adams
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- a/src/Crypto/Sign/Ed25519.hs
+++ b/src/Crypto/Sign/Ed25519.hs
@@ -84,7 +84,7 @@
SU.unsafeUseAsCString sk $ \psk ->
SI.createAndTrim (mlen+cryptoSignBYTES) $ \out ->
alloca $ \smlen -> do
- _ <- (c_crypto_sign out smlen mstr (fromIntegral mlen) psk)
+ _ <- c_crypto_sign out smlen mstr (fromIntegral mlen) psk
fromIntegral `fmap` peek smlen
{-# INLINE sign #-}
--- a/tests/hlint.hs
+++ b/tests/hlint.hs
@@ -9,6 +9,6 @@
main :: IO ()
main = do
args <- getArgs
- hints <- hlint $ ["src", "benchmarks", "tests",
+ hints <- hlint $ ["src", "tests", "--cpp-define=MIN_VERSION_QuickCheck(X)=1",
"--cpp-define=HLINT"] `mappend` args
unless (null hints) exitFailure
--- a/tests/properties.hs
+++ b/tests/properties.hs
@@ -86,7 +86,9 @@
case r of
Success n _ _ -> return (True, n)
GaveUp n _ _ -> return (True, n)
-#if MIN_VERSION_QuickCheck(2,6,0)
+#if MIN_VERSION_QuickCheck(2,7,0)
+ Failure n _ _ _ _ _ _ _ _ _ -> return (False, n)
+#elif MIN_VERSION_QuickCheck(2,6,0)
Failure n _ _ _ _ _ _ _ -> return (False, n)
#else
Failure n _ _ _ _ _ _ -> return (False, n)
hlint-test-failure.diff
hlint-test-failure2.diff
newer-quickcheck.diff
#!/usr/bin/make -f
DEB_ENABLE_TESTS = yes
DEB_SETUP_GHC_CONFIGURE_ARGS = -f-test-hlint
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
version=3
http://hackage.haskell.org/package/ed25519/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment