[DHG_packages] 01/04: Resurrect ed25519

Joachim Breitner nomeata at moszumanska.debian.org
Sun Dec 20 22:52:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository DHG_packages.

commit 048458419013367d88b437cce0e086ad1c6c10f4
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sun Dec 20 23:43:49 2015 +0100

    Resurrect ed25519
---
 p/haskell-ed25519/debian/changelog                 | 38 ++++++++++++++
 p/haskell-ed25519/debian/compat                    |  1 +
 p/haskell-ed25519/debian/control                   | 61 ++++++++++++++++++++++
 p/haskell-ed25519/debian/copyright                 | 32 ++++++++++++
 .../debian/patches/hlint-test-failure.diff         | 10 ++++
 .../debian/patches/hlint-test-failure2.diff        | 10 ++++
 .../debian/patches/newer-quickcheck.diff           | 13 +++++
 p/haskell-ed25519/debian/patches/series            |  3 ++
 p/haskell-ed25519/debian/rules                     |  7 +++
 p/haskell-ed25519/debian/source/format             |  1 +
 p/haskell-ed25519/debian/watch                     |  2 +
 11 files changed, 178 insertions(+)

diff --git a/p/haskell-ed25519/debian/changelog b/p/haskell-ed25519/debian/changelog
new file mode 100644
index 0000000..463cc56
--- /dev/null
+++ b/p/haskell-ed25519/debian/changelog
@@ -0,0 +1,38 @@
+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 at 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 at 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 at 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 at 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 at 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 at debian.org>  Sat, 01 Feb 2014 01:35:34 -0500
diff --git a/p/haskell-ed25519/debian/compat b/p/haskell-ed25519/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/p/haskell-ed25519/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/p/haskell-ed25519/debian/control b/p/haskell-ed25519/debian/control
new file mode 100644
index 0000000..708a374
--- /dev/null
+++ b/p/haskell-ed25519/debian/control
@@ -0,0 +1,61 @@
+Source: haskell-ed25519
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at 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}
diff --git a/p/haskell-ed25519/debian/copyright b/p/haskell-ed25519/debian/copyright
new file mode 100644
index 0000000..2863c4d
--- /dev/null
+++ b/p/haskell-ed25519/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ed25519
+Upstream-Contact: Austin Seipp <aseipp at 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.
diff --git a/p/haskell-ed25519/debian/patches/hlint-test-failure.diff b/p/haskell-ed25519/debian/patches/hlint-test-failure.diff
new file mode 100644
index 0000000..75f7180
--- /dev/null
+++ b/p/haskell-ed25519/debian/patches/hlint-test-failure.diff
@@ -0,0 +1,10 @@
+--- 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 #-}
diff --git a/p/haskell-ed25519/debian/patches/hlint-test-failure2.diff b/p/haskell-ed25519/debian/patches/hlint-test-failure2.diff
new file mode 100644
index 0000000..714a17b
--- /dev/null
+++ b/p/haskell-ed25519/debian/patches/hlint-test-failure2.diff
@@ -0,0 +1,10 @@
+--- 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
diff --git a/p/haskell-ed25519/debian/patches/newer-quickcheck.diff b/p/haskell-ed25519/debian/patches/newer-quickcheck.diff
new file mode 100644
index 0000000..d151860
--- /dev/null
+++ b/p/haskell-ed25519/debian/patches/newer-quickcheck.diff
@@ -0,0 +1,13 @@
+--- 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)
diff --git a/p/haskell-ed25519/debian/patches/series b/p/haskell-ed25519/debian/patches/series
new file mode 100644
index 0000000..54753b5
--- /dev/null
+++ b/p/haskell-ed25519/debian/patches/series
@@ -0,0 +1,3 @@
+hlint-test-failure.diff
+hlint-test-failure2.diff
+newer-quickcheck.diff
diff --git a/p/haskell-ed25519/debian/rules b/p/haskell-ed25519/debian/rules
new file mode 100755
index 0000000..0e6380b
--- /dev/null
+++ b/p/haskell-ed25519/debian/rules
@@ -0,0 +1,7 @@
+#!/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
diff --git a/p/haskell-ed25519/debian/source/format b/p/haskell-ed25519/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-ed25519/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-ed25519/debian/watch b/p/haskell-ed25519/debian/watch
new file mode 100644
index 0000000..b939874
--- /dev/null
+++ b/p/haskell-ed25519/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/ed25519/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list