Only parse valid octets (0 - 255).
[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: GPL-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 executable harbl
17 build-depends:
18 base >= 4.6 && < 5,
19 parsec >= 3,
20 tasty >= 0.8,
21 tasty-hunit >= 0.8
22
23 main-is:
24 Main.hs
25
26 other-modules:
27 IPv4Pattern
28
29 hs-source-dirs:
30 src/
31
32 ghc-options:
33 -Wall
34 -fwarn-hi-shadowing
35 -fwarn-missing-signatures
36 -fwarn-name-shadowing
37 -fwarn-orphans
38 -fwarn-type-defaults
39 -fwarn-tabs
40 -fwarn-incomplete-record-updates
41 -fwarn-monomorphism-restriction
42 -fwarn-unused-do-bind
43 -O2
44
45 ghc-prof-options:
46 -prof
47 -fprof-auto
48 -fprof-cafs
49
50
51 test-suite testsuite
52 type: exitcode-stdio-1.0
53 hs-source-dirs: src test
54 main-is: TestSuite.hs
55 build-depends:
56 base >= 4.6 && < 5,
57 parsec >= 3,
58 tasty >= 0.8,
59 tasty-hunit >= 0.8
60
61 -- It's not entirely clear to me why I have to reproduce all of this.
62 ghc-options:
63 -Wall
64 -fwarn-hi-shadowing
65 -fwarn-missing-signatures
66 -fwarn-name-shadowing
67 -fwarn-orphans
68 -fwarn-type-defaults
69 -fwarn-tabs
70 -fwarn-incomplete-record-updates
71 -fwarn-monomorphism-restriction
72 -fwarn-unused-do-bind
73 -O2
74
75
76 test-suite doctests
77 type: exitcode-stdio-1.0
78 hs-source-dirs: test
79 main-is: Doctests.hs
80 build-depends:
81 base >= 4.6 && < 5,
82 -- Additional test dependencies.
83 doctest >= 0.9,
84 filemanip >= 0.3.6
85
86 -- It's not entirely clear to me why I have to reproduce all of this.
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 -rtsopts
99 -threaded
100 -optc-O3
101 -optc-march=native
102 -O2
103
104
105 source-repository head
106 type: git
107 location: http://michael.orlitzky.com/git/harbl.git
108 branch: master