8f4401fd7e0c823baba01f34fd49ba472e2110fd
[dead/harbl.git] / harbl.cabal
1 name: harbl
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 category: Utils
7 license: AGPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 synopsis:
11 Real-time Blacklist (RBL) library.
12 description:
13 Provides utility functions for performing blacklist lookups.
14
15
16 library
17 build-depends:
18 base >= 4.6 && < 5,
19 bytestring >= 0.9,
20 dns >= 2,
21 iproute >= 1.4,
22 parsec >= 3,
23 tasty >= 0.8,
24 tasty-hunit >= 0.8
25
26 exposed-modules:
27 Network.DNS.RBL
28
29 other-modules:
30 Network.DNS.RBL.Domain
31 Network.DNS.RBL.Host
32 Network.DNS.RBL.IPv4Pattern
33 Network.DNS.RBL.Pretty
34 Network.DNS.RBL.Site
35
36 hs-source-dirs:
37 harbl/src/
38
39 ghc-options:
40 -Wall
41 -fwarn-hi-shadowing
42 -fwarn-missing-signatures
43 -fwarn-name-shadowing
44 -fwarn-orphans
45 -fwarn-type-defaults
46 -fwarn-tabs
47 -fwarn-incomplete-record-updates
48 -fwarn-monomorphism-restriction
49 -fwarn-unused-do-bind
50 -O2
51
52 ghc-prof-options:
53 -prof
54 -fprof-auto
55 -fprof-cafs
56
57
58 executable harbl
59 build-depends:
60 base >= 4.6 && < 5,
61 cmdargs >= 0.10.6,
62 configurator >= 0.2,
63 directory,
64 filepath,
65 harbl,
66 parsec >= 3
67
68 main-is:
69 Main.hs
70
71 hs-source-dirs:
72 harbl-cli/src/
73
74 ghc-options:
75 -Wall
76 -fwarn-hi-shadowing
77 -fwarn-missing-signatures
78 -fwarn-name-shadowing
79 -fwarn-orphans
80 -fwarn-type-defaults
81 -fwarn-tabs
82 -fwarn-incomplete-record-updates
83 -fwarn-monomorphism-restriction
84 -fwarn-unused-do-bind
85 -O2
86
87 ghc-prof-options:
88 -prof
89 -fprof-auto
90 -fprof-cafs
91
92
93 test-suite testsuite
94 type: exitcode-stdio-1.0
95 hs-source-dirs: src test
96 main-is: TestSuite.hs
97 build-depends:
98 base >= 4.6 && < 5,
99 bytestring >= 0.9,
100 dns >= 2,
101 iproute >= 1.4,
102 parsec >= 3,
103 tasty >= 0.8,
104 tasty-hunit >= 0.8
105
106 -- It's not entirely clear to me why I have to reproduce all of this.
107 ghc-options:
108 -Wall
109 -fwarn-hi-shadowing
110 -fwarn-missing-signatures
111 -fwarn-name-shadowing
112 -fwarn-orphans
113 -fwarn-type-defaults
114 -fwarn-tabs
115 -fwarn-incomplete-record-updates
116 -fwarn-monomorphism-restriction
117 -fwarn-unused-do-bind
118 -O2
119
120
121 test-suite doctests
122 type: exitcode-stdio-1.0
123 hs-source-dirs: test
124 main-is: Doctests.hs
125 build-depends:
126 base >= 4.6 && < 5,
127 -- Additional test dependencies.
128 doctest >= 0.9,
129 filemanip >= 0.3.6
130
131 -- It's not entirely clear to me why I have to reproduce all of this.
132 ghc-options:
133 -Wall
134 -fwarn-hi-shadowing
135 -fwarn-missing-signatures
136 -fwarn-name-shadowing
137 -fwarn-orphans
138 -fwarn-type-defaults
139 -fwarn-tabs
140 -fwarn-incomplete-record-updates
141 -fwarn-monomorphism-restriction
142 -fwarn-unused-do-bind
143 -rtsopts
144 -threaded
145 -optc-O3
146 -optc-march=native
147 -O2
148
149
150 source-repository head
151 type: git
152 location: http://michael.orlitzky.com/git/harbl.git
153 branch: master