]> gitweb.michael.orlitzky.com - dead/harbl.git/blob - harbl.cabal
Add a "threshold" to the configuration.
[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 cmdargs >= 0.10.6,
21 configurator >= 0.2,
22 dns >= 2,
23 iproute >= 1.4,
24 parsec >= 3,
25 tasty >= 0.8,
26 tasty-hunit >= 0.8
27
28 exposed-modules:
29 Network.DNS.RBL
30 Network.DNS.RBL.Tests
31 Network.DNS.RBL.Weight
32
33 other-modules:
34 Network.DNS.RBL.Domain.Digit
35 Network.DNS.RBL.Domain.Domain
36 Network.DNS.RBL.Domain.Hyphen
37 Network.DNS.RBL.Domain.Label
38 Network.DNS.RBL.Domain.LdhStr
39 Network.DNS.RBL.Domain.LdhStrLetDig
40 Network.DNS.RBL.Domain.LetDig
41 Network.DNS.RBL.Domain.LetDigHyp
42 Network.DNS.RBL.Domain.Letter
43 Network.DNS.RBL.Domain.Subdomain
44 Network.DNS.RBL.Host
45 Network.DNS.RBL.IPv4Pattern
46 Network.DNS.RBL.Pretty
47 Network.DNS.RBL.Reversible
48 Network.DNS.RBL.Site
49
50 hs-source-dirs: harbl/src
51
52 ghc-options:
53 -Wall
54 -fwarn-hi-shadowing
55 -fwarn-missing-signatures
56 -fwarn-name-shadowing
57 -fwarn-orphans
58 -fwarn-type-defaults
59 -fwarn-tabs
60 -fwarn-incomplete-record-updates
61 -fwarn-monomorphism-restriction
62 -fwarn-unused-do-bind
63 -O2
64
65 ghc-prof-options:
66 -prof
67 -fprof-auto
68 -fprof-cafs
69
70
71 executable harbl
72 build-depends:
73 base >= 4.6 && < 5,
74 cmdargs >= 0.10.6,
75 configurator >= 0.2,
76 directory,
77 filepath,
78 harbl,
79 parsec >= 3
80
81 main-is: Main.hs
82
83 hs-source-dirs: harbl-cli/src
84
85 -- Other modules needed...
86
87 ghc-options:
88 -Wall
89 -fwarn-hi-shadowing
90 -fwarn-missing-signatures
91 -fwarn-name-shadowing
92 -fwarn-orphans
93 -fwarn-type-defaults
94 -fwarn-tabs
95 -fwarn-incomplete-record-updates
96 -fwarn-monomorphism-restriction
97 -fwarn-unused-do-bind
98 -O2
99
100 ghc-prof-options:
101 -prof
102 -fprof-auto
103 -fprof-cafs
104
105
106 test-suite testsuite
107 type: exitcode-stdio-1.0
108 hs-source-dirs: test
109 main-is: TestSuite.hs
110 build-depends:
111 base >= 4.6 && < 5,
112 harbl,
113 tasty >= 0.8,
114 tasty-hunit >= 0.8
115
116 -- It's not entirely clear to me why I have to reproduce all of this.
117 ghc-options:
118 -Wall
119 -fwarn-hi-shadowing
120 -fwarn-missing-signatures
121 -fwarn-name-shadowing
122 -fwarn-orphans
123 -fwarn-type-defaults
124 -fwarn-tabs
125 -fwarn-incomplete-record-updates
126 -fwarn-monomorphism-restriction
127 -fwarn-unused-do-bind
128 -O2
129
130
131 test-suite doctests
132 type: exitcode-stdio-1.0
133 hs-source-dirs: test
134 main-is: Doctests.hs
135 build-depends:
136 base >= 4.6 && < 5,
137 -- Additional test dependencies.
138 doctest >= 0.9,
139 filemanip >= 0.3.6
140
141 -- It's not entirely clear to me why I have to reproduce all of this.
142 ghc-options:
143 -Wall
144 -fwarn-hi-shadowing
145 -fwarn-missing-signatures
146 -fwarn-name-shadowing
147 -fwarn-orphans
148 -fwarn-type-defaults
149 -fwarn-tabs
150 -fwarn-incomplete-record-updates
151 -fwarn-monomorphism-restriction
152 -fwarn-unused-do-bind
153 -rtsopts
154 -threaded
155 -optc-O3
156 -optc-march=native
157 -O2
158
159
160 source-repository head
161 type: git
162 location: http://michael.orlitzky.com/git/harbl.git
163 branch: master