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