[Pkg-haskell-commits] darcs: haskell-crypto: New upstream release
Joachim Breitner
mail at joachim-breitner.de
Tue Jun 3 14:28:30 UTC 2014
Tue Jun 3 13:29:41 UTC 2014 Joachim Breitner <mail at joachim-breitner.de>
* New upstream release
M ./changelog -2 +3
R ./patches/class-constraints.diff
M ./patches/series -1
Tue Jun 3 13:29:41 UTC 2014 Joachim Breitner <mail at joachim-breitner.de>
* New upstream release
diff -rN -u old-haskell-crypto/changelog new-haskell-crypto/changelog
--- old-haskell-crypto/changelog 2014-06-03 14:28:30.148907833 +0000
+++ new-haskell-crypto/changelog 2014-06-03 14:28:30.164907836 +0000
@@ -1,8 +1,9 @@
-haskell-crypto (4.2.5-4) UNRELEASED; urgency=low
+haskell-crypto (4.2.5.1-1) UNRELEASED; urgency=low
* Adjust watch file to new hackage layout
+ * New upstream release
- -- Joachim Breitner <nomeata at debian.org> Sat, 05 Oct 2013 18:19:56 +0200
+ -- Joachim Breitner <nomeata at debian.org> Tue, 03 Jun 2014 15:29:18 +0200
haskell-crypto (4.2.5-3) unstable; urgency=low
diff -rN -u old-haskell-crypto/patches/class-constraints.diff new-haskell-crypto/patches/class-constraints.diff
--- old-haskell-crypto/patches/class-constraints.diff 2014-06-03 14:28:30.148907833 +0000
+++ new-haskell-crypto/patches/class-constraints.diff 1970-01-01 00:00:00.000000000 +0000
@@ -1,77 +0,0 @@
-Description: ghc 7.6 class constraints
-Author: Joachim Breitner <nomeata at debian.org>
-
-Index: haskell-crypto-4.2.5/Data/Digest/SHA2.hs
-===================================================================
---- haskell-crypto-4.2.5.orig/Data/Digest/SHA2.hs 2012-05-14 13:58:24.000000000 +0200
-+++ haskell-crypto-4.2.5/Data/Digest/SHA2.hs 2012-10-21 14:21:17.359966255 +0200
-@@ -25,7 +25,7 @@
- ch x y z = (x .&. y) `xor` (complement x .&. z)
- maj x y z = (x .&. y) `xor` (x .&. z) `xor` (y .&. z)
-
--class (Bits w) => ShaData w where
-+class (Bits w, Num w) => ShaData w where
- bigSigma0 :: w -> w
- bigSigma1 :: w -> w
- smallSigma0 :: w -> w
-Index: haskell-crypto-4.2.5/Data/LargeWord.hs
-===================================================================
---- haskell-crypto-4.2.5.orig/Data/LargeWord.hs 2012-05-14 13:58:24.000000000 +0200
-+++ haskell-crypto-4.2.5/Data/LargeWord.hs 2012-10-21 14:25:31.855955472 +0200
-@@ -62,7 +62,7 @@
- data LargeKey a b = LargeKey a b
- deriving (Eq, Ord)
-
--instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) =>
-+instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) =>
- LargeWord (LargeKey a b) where
- largeWordToInteger (LargeKey lo hi) =
- largeWordToInteger lo + (2^(bitSize lo)) * largeWordToInteger hi
-@@ -96,17 +96,17 @@
- where conv = integerToLargeWord . largeWordToInteger
- largeBitSize ~(LargeKey lo hi) = largeBitSize lo + largeBitSize hi
-
--instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Show (LargeKey a b) where
-+instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) => Show (LargeKey a b) where
- showsPrec p = showInt . largeWordToInteger
-
--instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) =>
-+instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) =>
- Num (LargeKey a b) where
- (+) = largeWordPlus
- fromInteger = integerToLargeWord
-
- -- Larger keys are instances of Bits provided their constituents are keys.
-
--instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) =>
-+instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) =>
- Bits (LargeKey a b) where
- (.&.) = largeWordAnd
- (.|.) = largeWordOr
-@@ -130,11 +130,11 @@
- boflk :: (LargeKey a b) -> b
- boflk = undefined
-
--instance (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) =>
-+instance (Ord a, Bits a, Num a, LargeWord a, Ord b, Bits b, Num b, LargeWord b) =>
- Integral (LargeKey a b) where
- toInteger = largeWordToInteger
-
--instance (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) =>
-+instance (Ord a, Bits a, Num a, LargeWord a, Ord b, Bits b, Num b, LargeWord b) =>
- Real (LargeKey a b)
-
- instance Enum (LargeKey a b)
-Index: haskell-crypto-4.2.5/Data/Digest/SHA1.hs
-===================================================================
---- haskell-crypto-4.2.5.orig/Data/Digest/SHA1.hs 2012-05-14 13:58:24.000000000 +0200
-+++ haskell-crypto-4.2.5/Data/Digest/SHA1.hs 2012-10-21 14:26:57.551951840 +0200
-@@ -93,7 +93,7 @@
- g [] = Nothing
- g xs = Just (splitAt 64 xs)
-
--fromBytes :: (Bits a) => [a] -> a
-+fromBytes :: (Bits a, Num a) => [a] -> a
- fromBytes input =
- let dofb accum [] = accum
- dofb accum (x:xs) = dofb ((shiftL accum 8) .|. x) xs
diff -rN -u old-haskell-crypto/patches/series new-haskell-crypto/patches/series
--- old-haskell-crypto/patches/series 2014-06-03 14:28:30.148907833 +0000
+++ new-haskell-crypto/patches/series 2014-06-03 14:28:30.156907835 +0000
@@ -1,2 +1 @@
-class-constraints.diff
no-quickcheck.patch
More information about the Pkg-haskell-commits
mailing list