X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fharbl.git;a=blobdiff_plain;f=harbl.cabal;h=8a5191b172ccece97c856487f4460180994bfd99;hp=1d22e0cdca30dddd36f0221e5326f5da32418819;hb=349c5a80e0b729b0e030a1ff3e47667d8afa0d36;hpb=9c0dbbefd192b1fe55181c33f7052c978d18cd38 diff --git a/harbl.cabal b/harbl.cabal index 1d22e0c..8a5191b 100644 --- a/harbl.cabal +++ b/harbl.cabal @@ -4,7 +4,7 @@ cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky category: Utils -license: GPL-3 +license: AGPL-3 license-file: doc/LICENSE build-type: Simple synopsis: @@ -13,22 +13,62 @@ description: Provides utility functions for performing blacklist lookups. -executable harbl +library build-depends: base >= 4.6 && < 5, + bytestring >= 0.9, + dns >= 2, + iproute >= 1.4, parsec >= 3, tasty >= 0.8, tasty-hunit >= 0.8 - main-is: - Main.hs + exposed-modules: + Network.DNS.RBL + Network.DNS.RBL.Tests other-modules: - DnsblSite - IPv4Pattern + Network.DNS.RBL.Domain + Network.DNS.RBL.Host + Network.DNS.RBL.IPv4Pattern + Network.DNS.RBL.Pretty + Network.DNS.RBL.Reversible + Network.DNS.RBL.Site + + hs-source-dirs: harbl/src + + ghc-options: + -Wall + -fwarn-hi-shadowing + -fwarn-missing-signatures + -fwarn-name-shadowing + -fwarn-orphans + -fwarn-type-defaults + -fwarn-tabs + -fwarn-incomplete-record-updates + -fwarn-monomorphism-restriction + -fwarn-unused-do-bind + -O2 + + ghc-prof-options: + -prof + -fprof-auto + -fprof-cafs + - hs-source-dirs: - src/ +executable harbl + build-depends: + base >= 4.6 && < 5, + cmdargs >= 0.10.6, + configurator >= 0.2, + directory, + filepath, + harbl, + parsec >= 3 + + main-is: Main.hs + + hs-source-dirs: harbl-cli/src ghc-options: -Wall @@ -51,11 +91,11 @@ executable harbl test-suite testsuite type: exitcode-stdio-1.0 - hs-source-dirs: src test + hs-source-dirs: test main-is: TestSuite.hs build-depends: base >= 4.6 && < 5, - parsec >= 3, + harbl, tasty >= 0.8, tasty-hunit >= 0.8