File: mighttpd2.cabal

package info (click to toggle)
mighttpd2 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 176 kB
  • ctags: 2
  • sloc: haskell: 1,208; makefile: 4
file content (130 lines) | stat: -rw-r--r-- 4,548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
Name:                   mighttpd2
Version:                3.1.2
Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
License:                BSD3
License-File:           LICENSE
Synopsis:               High performance web server on WAI/warp
Description:            High performance web server to handle static
                        files and CGI on WAI/warp.
                        Reverse proxy functionality is also provided
                        to connect web applications behind.
Homepage:               http://www.mew.org/~kazu/proj/mighttpd/
Category:               Network, Web
Cabal-Version:          >= 1.10
Build-Type:             Simple
Data-Dir:               conf
Data-Files:             example.conf example.route

Flag tls
  Description:          Support http over tls (https).
  Default:              False

Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall
  Exposed-Modules:      Program.Mighty
                        Program.Mighty.ByteString
                        Program.Mighty.Config
                        Program.Mighty.FileCache
                        Program.Mighty.IORef
                        Program.Mighty.Network
                        Program.Mighty.Parser
                        Program.Mighty.Process
                        Program.Mighty.Report
                        Program.Mighty.Resource
                        Program.Mighty.Route
                        Program.Mighty.Signal
                        Program.Mighty.State
  Build-Depends:        base >= 4.0 && < 5
                      , array
                      , blaze-builder
                      , byteorder
                      , bytestring
                      , case-insensitive
                      , conduit >= 1.1
                      , conduit-extra
                      , directory
                      , filepath
                      , http-date
                      , http-types
                      , io-choice
                      , network
                      , parsec >= 3
                      , resourcet
                      , unix
                      , unix-time
                      , unordered-containers
                      , wai >= 3.0
                      , wai-app-file-cgi >= 3.0
                      , warp >= 3.0

Executable mighty
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  Main-Is:              Mighty.hs
  GHC-Options:          -Wall -threaded -rtsopts
  if flag(tls)
    Cpp-Options:        -DTLS
  Build-Depends:        base >= 4.0 && < 5
                      , bytestring
                      , directory
                      , filepath
                      , http-client
                      , http-date
                      , http-types
                      , mighttpd2
                      , network
                      , conduit-extra
                      , transformers
                      , unix
                      , wai >= 3.0
                      , wai-app-file-cgi >= 3.0
                      , wai-logger >= 2.1
                      , warp >= 3.0
  if flag(tls)
    Build-Depends:      tls
                      , warp-tls >= 1.4.1
  Other-Modules:        Mighty
                        Server
                        WaiApp
                        Paths_mighttpd2

Executable mighty-mkindex
  Default-Language:     Haskell2010
  HS-Source-Dirs:       utils, src
  Main-Is:              mkindex.hs
  GHC-Options:          -Wall
  Build-Depends:        base >= 4 && < 5
                      , directory
                      , old-locale
                      , time
                      , unix

Executable mightyctl
  Default-Language:     Haskell2010
  HS-Source-Dirs:       utils, src
  Main-Is:              mightyctl.hs
  GHC-Options:          -Wall
  Build-Depends:        base >= 4 && < 5
                      , unix
                      , mighttpd2

Test-Suite spec
  Default-Language:     Haskell2010
  Main-Is:              Spec.hs
  Hs-Source-Dirs:       test, src
  Type:                 exitcode-stdio-1.0
  Other-Modules:        ConfigSpec
                        RouteSpec
  Build-Depends:        base >= 4 && < 5
                      , hspec >= 1.3
                      , mighttpd2
                      , http-client
  if flag(tls)
    Build-Depends:      tls
                      , warp-tls >= 1.4.1

Source-Repository head
  Type:                 git
  Location:             git://github.com/kazu-yamamoto/mighttpd2.git