]> gitweb.michael.orlitzky.com - dead/htsn.git/blobdiff - htsn.cabal
Version bump to 0.0.3 just for the fixed openrc init.
[dead/htsn.git] / htsn.cabal
index 3aeab950d6327fe52b2f8bbc9ec630d4e90cad15..2d3e6767366683f9e96ebf53d9907edf4d136721 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn
-version:        0.0.1
+version:        0.0.3
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -8,7 +8,10 @@ license:        GPL-3
 license-file:   doc/LICENSE
 build-type:     Simple
 extra-source-files:
-  doc/man1/htsn.1 test/xml/*.xml
+  doc/htsnrc.example
+  doc/man1/htsn.1
+  doc/init.openrc
+  test/xml/*.xml
 synopsis:
   Parse XML files from The Sports Network feed.
 description:
@@ -95,7 +98,7 @@ description:
   @
   .
   How verbose should the logs be? We log notifications at three levels:
-  INFO, WARN, and ERROR. Specify the "most boring" level of
+  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.
   .
@@ -125,8 +128,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!
   .
-  Default: \/run\/htsn.pid
+  Default: \/run\/htsn\/htsn.pid
   .
   @
   \--run-as-group
@@ -179,15 +184,20 @@ description:
   /Configuration File/:
   .
   Any of the command-line options mentioned above can be specified in a
-  configuration file instead. We look for a file named ".htsnrc"
-  in the user's home directory; its syntax is given by examples in the
-  htsnrc.example file (included with /htsn/).
+  configuration file instead. We first look for \"htsnrc\" in the
+  system configuration directory. We then look for a file named
+  \".htsnrc\" in the user's home directory. The latter will override
+  the former.
   .
-  If you are using the @--run-as-user@ option, that means that
-  the configuration file will need to go in that user's home directory
-  (and not, for example, root's).
+  The user's home directory is simply $HOME on Unix; on Windows its
+  wherever %APPDATA% points. The system configuration directory
+  is determined by Cabal; the /sysconfdir/ parameter during
+  the \"configure\" step is used.
   .
-  Options specified on the command-line override those in the
+  The file's syntax is given by examples in the htsnrc.example file
+  (included with /htsn/).
+  .
+  Options specified on the command-line override those in either
   configuration file.
 
 
@@ -204,7 +214,7 @@ executable htsn
     hxt                         == 9.3.*,
     MissingH                    == 1.2.*,
     network                     == 2.4.*,
-    tasty                       == 0.5.*,
+    tasty                       == 0.6.*,
     tasty-hunit                 == 0.4.*,
     transformers                == 0.3.*,
     unix                        == 2.6.*
@@ -266,7 +276,7 @@ test-suite testsuite
     hxt                         == 9.3.*,
     MissingH                    == 1.2.*,
     network                     == 2.4.*,
-    tasty                       == 0.5.*,
+    tasty                       == 0.6.*,
     tasty-hunit                 == 0.4.*,
     transformers                == 0.3.*,
     unix                        == 2.6.*