X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=README.make-secnet-sites;h=cbf304e80eb3feb129ce72df6c59eefe6c1ef1c6;hb=4d9d6e20e19c1aaa0d138e70897d136b36d673c0;hp=413bcf862c7b2959cebeb37a132ded143a89aeab;hpb=9da1f13b367a9e3cc6f65a16cb319708fd5f4dbf;p=secnet.git diff --git a/README.make-secnet-sites b/README.make-secnet-sites index 413bcf8..cbf304e 100644 --- a/README.make-secnet-sites +++ b/README.make-secnet-sites @@ -1,16 +1,22 @@ USAGE - make-secnet-sites [-P PREFIX] [IN [OUT]] - make-secnet-sites -u HEADER GRPDIR SITESFILE GROUP + make-secnet-sites [-P PREFIX] [--conf] [IN [OUTCONF]] + make-secnet-sites --filter [IN [OUT]] + make-secnet-sites -u|--userv HEADER GRPDIR SITESFILE GROUP The `-P' option sets the PREFIX string, mentioned below in `OUTPUT STRUCTURE'; the default is empty. - In the former mode, `make-secnet-sites' reads a single input + In --conf mode, `make-secnet-sites' reads a single input file from IN (defaulting to standard input), and writes a Secnet - configuration fragment to OUT (defaulting to standard output). + configuration fragment to OUTCONF (defaulting to standard output). - In the latter, `make-secnet-sites' expects to have been invoked + In --filter mode, `make-secnet-sites' reads a single input + file from IN (defaulting to standard input), and writes a + version of that sites file to OUT (defaulting to standard + output). The output is filtered according to --output-version. + + In --userv mode, `make-secnet-sites' expects to have been invoked via GNU Userv. It verifies that GROUP is listed in the `USERV_GROUP' environment variable. It then processes the HEADER input, which should say `end-defintions' somewhere, to @@ -64,6 +70,12 @@ OPTIONS keys defined for any site, in the input. --pubkeys-single is the default. + --pubkeys-elide + + In the sites.conf output, just write the peer-keys + entry referring to keys in PUBKEYS. But do not write + public keys anywhere. + --pubkeys-dir PUBKEYS Specifies the live pubkeys area pathname.