~ubuntu-branches/ubuntu/raring/haskell-clientsession/raring-proposed

« back to all changes in this revision

Viewing changes to clientsession.cabal

  • Committer: Package Import Robot
  • Author(s): Iain Lane, Joachim Breitner, Iain Lane
  • Date: 2011-10-05 13:57:33 UTC
  • mfrom: (2.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20111005135733-yw72ctv12x5acyb1
[ Joachim Breitner ]
* New upstream release

[ Iain Lane ]
* Update BDs in line with cabal file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
name:            clientsession
2
 
version:         0.4.1
 
2
version:         0.7.3.1
3
3
license:         BSD3
4
4
license-file:    LICENSE
5
 
author:          Michael Snoyman <michael@snoyman.com>
 
5
author:          Michael Snoyman <michael@snoyman.com>, Felipe Lessa <felipe.lessa@gmail.com>
6
6
maintainer:      Michael Snoyman <michael@snoyman.com>
7
 
synopsis:        Store session data in a cookie.
8
 
description:     Achieves security through AES encryption and MD5 hashing.
9
 
                 Uses base64 encoding to avoid any issues with characters.
 
7
synopsis:        Securely store session data in a client-side cookie.
 
8
description:     Achieves security through AES-CTR encryption and
 
9
                 Skein-MAC-512-256 authentication.  Uses Base64
 
10
                 encoding to avoid any issues with characters.
10
11
category:        Web
11
12
stability:       stable
12
 
cabal-version:   >= 1.6
 
13
cabal-version:   >= 1.8
13
14
build-type:      Simple
14
15
homepage:        http://github.com/snoyberg/clientsession/tree/master
 
16
data-files:      bench.hs
 
17
extra-source-files: tests/runtests.hs
15
18
 
16
 
flag buildtests
 
19
flag test
17
20
  description: Build the executable to run unit tests
18
21
  default: False
19
22
 
20
23
library
21
 
    build-depends:   base >=4 && <5,
22
 
                     bytestring >= 0.9 && < 0.10,
23
 
                     directory >= 1 && < 1.2,
24
 
                     random >= 1.0.0.2 && < 1.1,
25
 
                     template-haskell
 
24
    build-depends:   base                >=4           && < 5
 
25
                   , bytestring          >= 0.9        && < 0.10
 
26
                   , cereal              >= 0.3        && < 0.4
 
27
                   , directory           >= 1          && < 1.2
 
28
                   , crypto-api          >= 0.6.4      && < 0.7
 
29
                   , cryptocipher        >= 0.2.5      && < 0.3
 
30
                   , skein               >= 0.1        && < 0.2
 
31
                   , base64-bytestring   >= 0.1.0.3    && < 0.2
26
32
    exposed-modules: Web.ClientSession
27
33
    ghc-options:     -Wall
28
 
    c-sources:       c/aestable.c c/helper.c
 
34
    hs-source-dirs:  src
29
35
 
30
 
executable             runtests
31
 
    if flag(buildtests)
32
 
        Buildable: True
33
 
        cpp-options:   -DTEST
34
 
        build-depends: test-framework,
35
 
                       test-framework-quickcheck2,
36
 
                       test-framework-hunit,
37
 
                       QuickCheck >= 2 && < 3,
38
 
                       HUnit
39
 
    else
40
 
        Buildable: False
 
36
test-suite runtests
 
37
    type: exitcode-stdio-1.0
 
38
    build-depends:   base                >=4           && < 5
 
39
                   , bytestring          >= 0.9        && < 0.10
 
40
                   , cryptocipher        >= 0.2.5      && < 0.3
 
41
                   , hspec               == 0.6.*
 
42
                   , QuickCheck          >= 2          && < 3
 
43
                   , HUnit
 
44
                   -- finally, our own package
 
45
                   , clientsession
41
46
    ghc-options:     -Wall
 
47
    hs-source-dirs:  tests
42
48
    main-is:         runtests.hs
43
 
    c-sources:       c/aestable.c c/helper.c
44
49
 
45
50
source-repository head
46
51
  type:     git