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