X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=htsn.cabal;h=2e3358918b8b14fefeb5830f17d93aa1008e188b;hb=97168adc8c0cf7b3bc9c64f1129457e84aef2b28;hp=2d3e6767366683f9e96ebf53d9907edf4d136721;hpb=7de80b4fdfc8e4cef9144570be926fd02706fd2d;p=dead%2Fhtsn.git diff --git a/htsn.cabal b/htsn.cabal index 2d3e676..2e33589 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -1,5 +1,5 @@ name: htsn -version: 0.0.3 +version: 0.0.5 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -89,7 +89,7 @@ description: . If you specify a file here, logs will be written to it (possibly in addition to syslog). Can be either a relative or absolute path. It - will not be auto-rotated; use something log logrotate for that. + will not be auto-rotated; use something like logrotate for that. . Default: none . @@ -97,10 +97,11 @@ description: \--log-level @ . - How verbose should the logs be? We log notifications at three levels: - INFO, WARN, and ERROR. Specify the \"most boring\" level of + How verbose should the logs be? We log notifications at four levels: + DEBUG, INFO, WARN, and ERROR. Specify the \"most boring\" level of notifications you would like to receive (in all-caps); more - interesting notifications will be logged as well. + interesting notifications will be logged as well. The debug output is + extremely verbose and will not be written to syslog even if you try. . Default: INFO . @@ -128,8 +129,10 @@ description: . (Daemon mode only) Create a PID file in the given location. This is used by the init system on Unix to keep track of the running daemon. - Its parent directory must be writable by the user/group that we will - run as! + . + If necessary, its parent directory will be created with owner/group + set to the appropriate user/group, but at most one directory will + be created (that is, we won't create an entire directory tree). . Default: \/run\/htsn\/htsn.pid . @@ -189,7 +192,7 @@ description: \".htsnrc\" in the user's home directory. The latter will override the former. . - The user's home directory is simply $HOME on Unix; on Windows its + The user's home directory is simply $HOME on Unix; on Windows it's wherever %APPDATA% points. The system configuration directory is determined by Cabal; the /sysconfdir/ parameter during the \"configure\" step is used. @@ -203,7 +206,6 @@ description: executable htsn build-depends: - ansi-terminal == 0.6.*, base == 4.*, cmdargs >= 0.10.6, configurator == 0.2.*, @@ -211,12 +213,12 @@ executable htsn filepath == 1.3.*, hdaemonize == 0.4.*, hslogger == 1.2.*, + htsn-common == 0.0.1, hxt == 9.3.*, MissingH == 1.2.*, network == 2.4.*, - tasty == 0.6.*, + tasty == 0.7.*, tasty-hunit == 0.4.*, - transformers == 0.3.*, unix == 2.6.* main-is: @@ -229,12 +231,10 @@ executable htsn CommandLine Configuration ExitCodes - Logging + FeedHosts OptionalConfiguration - Terminal - TSN.FeedHosts - TSN.Xml Unix + Xml ghc-options: -Wall @@ -247,16 +247,12 @@ executable htsn -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -rtsopts - -threaded - -optc-O3 - -optc-march=native -O2 ghc-prof-options: -prof - -auto-all - -caf-all + -fprof-auto + -fprof-cafs @@ -265,7 +261,6 @@ test-suite testsuite hs-source-dirs: src test main-is: TestSuite.hs build-depends: - ansi-terminal == 0.6.*, base == 4.*, cmdargs >= 0.10.6, configurator == 0.2.*, @@ -273,12 +268,12 @@ test-suite testsuite filepath == 1.3.*, hdaemonize == 0.4.*, hslogger == 1.2.*, + htsn-common == 0.0.1, hxt == 9.3.*, MissingH == 1.2.*, network == 2.4.*, - tasty == 0.6.*, + tasty == 0.7.*, tasty-hunit == 0.4.*, - transformers == 0.3.*, unix == 2.6.* -- It's not entirely clear to me why I have to reproduce all of this. @@ -293,10 +288,6 @@ test-suite testsuite -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -rtsopts - -threaded - -optc-O3 - -optc-march=native -O2