Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: itkovian/hMollom
base: 26f413731a
...
head fork: itkovian/hMollom
compare: c0a710a892
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
5 README.markdown
View
@@ -5,6 +5,11 @@ Mollom anti-spam service. For more information about Mollom, see http://mollom.c
## Release versions
+- 0.4.0 Minor fixes to the site API paths used.
+ Added the createSite API call, extending the service with a non-authorising
+ version, to be used only when registering a site with Mollom.
+ Builds on ghc-7.4.1.
+ Depends on a bugfix to Crypto-4.2.4, see also patches.
- 0.3.1 Minor fix to the exported functions and data types from the Network.Mollom
module. If you need anything besides runMollom, you should import the other
modules in a qualified form, since severel data types have been given the
22 hMollom.cabal
View
@@ -1,6 +1,6 @@
name: hMollom
-version: 0.3.1
-cabal-version: >= 1.6
+version: 0.4.0
+cabal-version: >= 1.14
stability: experimental
synopsis: Library to interact with the @Mollom anti-spam service
description: Library to interact with the @Mollom anti-spam service
@@ -24,18 +24,18 @@ extra-source-files: src/Network/Mollom/OAuth.hs
library
build-depends:
- aeson >= 0.5.0.0,
+ aeson >= 0.6.0.2,
attoparsec >= 0.10,
- base >= 3 && < 5,
+ base >= 4 && < 5,
ghc-prim,
old-locale >= 1,
- time >= 1.1.4,
- Crypto >= 4.2.0,
- bytestring >= 0.9.1.4,
- dataenc >= 0.13,
- mtl >= 1.1.0.2,
- HTTP >= 4000.2.2,
- pureMD5 >= 2.1.0.2,
+ time >= 1.4,
+ Crypto >= 4.2.4,
+ bytestring >= 0.9.2.1,
+ dataenc >= 0.14.0.3,
+ mtl >= 2.0.1.0,
+ HTTP >= 4000.2.3,
+ pureMD5 >= 2.1.0.3,
old-time,
random
exposed-modules:
27 patches/Crypto-4.2.4-ghc-7.4.1.patch
View
@@ -0,0 +1,27 @@
+--- Crypto-4.2.4/Data/Digest/SHA2.hs 2011-09-08 02:30:07.000000000 +0200
++++ Crypto-4.2.4-fix/Data/Digest/SHA2.hs 2012-04-25 12:24:49.000000000 +0200
+@@ -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

No commit comments for this range

Something went wrong with that request. Please try again.