[Pkg-haskell-commits] darcs: haskell-crypto: New upstream version 4.2.4.

Clint Adams clint at debian.org
Mon Feb 13 03:47:26 UTC 2012


Mon Feb 13 03:46:52 UTC 2012  Clint Adams <clint at debian.org>
  * New upstream version 4.2.4.
  Ignore-this: f6e256b669f388f6cb202d631434f663

    M ./changelog +8
    M ./control -2 +5
    A ./patches/class-constraints.diff
    M ./patches/series +1

Mon Feb 13 03:46:52 UTC 2012  Clint Adams <clint at debian.org>
  * New upstream version 4.2.4.
  Ignore-this: f6e256b669f388f6cb202d631434f663
diff -rN -u old-haskell-crypto//changelog new-haskell-crypto//changelog
--- old-haskell-crypto//changelog	2012-02-13 03:47:25.759247487 +0000
+++ new-haskell-crypto//changelog	2012-02-13 03:47:25.759247487 +0000
@@ -1,3 +1,11 @@
+haskell-crypto (4.2.4-1) unstable; urgency=low
+
+  * New upstream version.
+  * Bump to Standards-Version 3.9.2.
+  * Add missing class constraints.
+
+ -- Clint Adams <clint at debian.org>  Sun, 12 Feb 2012 22:25:32 -0500
+
 haskell-crypto (4.2.3-2) unstable; urgency=low
 
   * Disable quickcheck, thanks to joey for the patch. (Closes: #624140)
diff -rN -u old-haskell-crypto//control new-haskell-crypto//control
--- old-haskell-crypto//control	2012-02-13 03:47:25.755249170 +0000
+++ new-haskell-crypto//control	2012-02-13 03:47:25.763249468 +0000
@@ -8,11 +8,14 @@
   , haskell-devscripts (>= 0.8)
   , ghc
   , ghc-prof
-  , libghc-hunit-dev 
+  , libghc-hunit-dev
   , libghc-hunit-prof
+  , libghc-random-dev
+  , libghc-random-prof
 Build-Depends-Indep: ghc-doc
   , libghc-hunit-doc
-Standards-Version: 3.9.1
+  , libghc-random-doc
+Standards-Version: 3.9.2
 Homepage: http://hackage.haskell.org/package/Crypto
 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-crypto
 Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-crypto
diff -rN -u old-haskell-crypto//patches/class-constraints.diff new-haskell-crypto//patches/class-constraints.diff
--- old-haskell-crypto//patches/class-constraints.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-crypto//patches/class-constraints.diff	2012-02-13 03:47:25.763249468 +0000
@@ -0,0 +1,27 @@
+--- a/Data/Digest/SHA2.hs
++++ b/Data/Digest/SHA2.hs
+@@ -106,7 +106,7 @@
+ data Hash384 = Hash384 !Word64 !Word64 !Word64 !Word64 !Word64 !Word64 deriving (Eq, Ord)
+ data Hash224 = Hash224 !Word32 !Word32 !Word32 !Word32 !Word32 !Word32 !Word32 deriving (Eq, Ord)
+ 
+-instance (Integral a) => Show (Hash8 a) where
++instance (Integral a, Show a) => Show (Hash8 a) where
+  showsPrec _ (Hash8 a b c d e f g h) =
+   (showHex a) . (' ':) .
+   (showHex b) . (' ':) .
+@@ -146,7 +146,7 @@
+      where
+       bs = bitSize (head r)
+ 
+-instance (Integral h, Bits h) => Hash (Hash8 h) where
++instance (Integral h, Bits h, Show h) => Hash (Hash8 h) where
+   toOctets (Hash8 x0 x1 x2 x3 x4 x5 x6 x7) = bitsToOctets =<< [x0, x1, x2, x3, x4, x5, x6, x7]
+ 
+ instance Hash Hash384 where
+@@ -282,4 +282,4 @@
+ 
+ -- Test with:
+ -- ghc -no-recomp -O --make Data/Digest/SHA2.hs -main-is Data.Digest.SHA2.moduleTest -o moduleTest && ./moduleTest && rm moduleTest
+-moduleTest = runTestTT test_sha2
+\ No newline at end of file
++moduleTest = runTestTT test_sha2
diff -rN -u old-haskell-crypto//patches/series new-haskell-crypto//patches/series
--- old-haskell-crypto//patches/series	2012-02-13 03:47:25.735250409 +0000
+++ new-haskell-crypto//patches/series	2012-02-13 03:47:25.767248843 +0000
@@ -1 +1,2 @@
+class-constraints.diff
 no-quickcheck.patch





More information about the Pkg-haskell-commits mailing list