aboutsummaryrefslogtreecommitdiff
path: root/doc/gsc.texi
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-10 20:18:12 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-09-10 20:18:12 +0000
commite28c42f72f95e3c5761ec3837431c4479f314e60 (patch)
treeb28f6405ea89d41c191966e8d7eb2c9397c2e2d7 /doc/gsc.texi
parent4f63071414a312af0c336deec3347d85fb75fb33 (diff)
downloadgsc-e28c42f72f95e3c5761ec3837431c4479f314e60.tar.gz
gsc-e28c42f72f95e3c5761ec3837431c4479f314e60.tar.bz2
(rc.firewall,dict-setup): Documented
git-svn-id: file:///svnroot/gsc/trunk@141 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'doc/gsc.texi')
-rw-r--r--doc/gsc.texi147
1 files changed, 131 insertions, 16 deletions
diff --git a/doc/gsc.texi b/doc/gsc.texi
index 0738cae..6b61768 100644
--- a/doc/gsc.texi
+++ b/doc/gsc.texi
@@ -936,21 +936,24 @@ create. Possible values are:
To compile them you must have @command{sendmail} source tree
installed.
- When configuring the package, use one of the following options:
+ By default, @command{configure} will look for @command{sendmail}
+source directory in @file{/usr/src} and @file{/usr/local/src}. If it
+finds several @command{sendmail} versions, it will use the one with
+the greatest version number.
-@table @option
-@item --with-sendmail-cfdir=@var{dir}
-@cindex @option{--with-sendmail-cfdir}, @command{configure} command line option
- Set @command{sendmail} configuration directory (@file{cf} in the
-@command{sendmail} source tree).
-
-@item --with-sendmail-version=@var{version}
-@cindex @option{--with-sendmail-version}, @command{configure} command line option
- Set @command{sendmail} version number. The @command{sendmail}
-configuration @file{Makefile} will be searched in directories
-@file{/usr/src/sendmail-@var{version}/cf} and
-@file{/usr/local/src/sendmail-@var{version}/cf}.
-@end table
+@cindex @option{--with-sendmail-cfdir}
+ If the @command{sendmail} source directory is located elsewhere,
+specify its exact location with
+@option{--with-sendmail-cfdir=@var{dir}}, for example:
+
+@smallexample
+./configure --with-sendmail-cfdir=$HOME/sendmail-8.13.1
+@end smallexample
+
+@cindex @option{--with-sendmail-version}
+ Otherwise, to force @command{configure} to pick up a specified
+version of @command{sendmail}, use
+@option{--with-sendmail-version=@var{version}} option.
Once the package is configured, you can create all @file{.cf}
files using following command:
@@ -1242,8 +1245,49 @@ recommended.
@node rc.firewall
@section rc.firewall
-@UNREVISED{}
+@cindex rc.firewall
+ This startup script sets firewall using @command{m4} firewall
+wrappers (@pxref{firewall}). It tajes a single mandatory command line
+argument:
+@table @asis
+@item start
+@itemx restart
+ Set up firewall.
+
+@item stop
+ Flush all firewall rules.
+
+@item status
+ List all installed firewall rules.
+
+@item check
+@itemx test
+ Produce a list of shell commands that will be used to set up
+firewall rules. Equivalent to @command{rc.firewall -d start}.
+@end table
+
+ Option @option{-d} can be given before the argument to make
+@command{rc.firewall} produce a list of shell commands it would have
+used to perform a given task. For example
+
+@smallexample
+rc.firewall -d start
+@end smallexample
+
+@noindent
+prints commands that would be executed by @command{rc.firewall start}.
+
+@vindex FWDIR
+ The script searches for @command{m4} wrappers in
+@file{/etc/firewall}. This location can be changed by setting
+@code{FWDIR} environment variable.
+
+@vindex START
+ The list of firewall rules is expected to be located in
+@file{@code{$FWDIR}/rules.m4}. This location can be changed by setting
+@code{START} environment variable.
+
@node rc.ipacct
@section rc.ipacct
@pindex rc.ipacct
@@ -1361,7 +1405,78 @@ script.
@node dict-setup
@section dict-setup
-@UNREVISED{}
+@cindex dict-setup
+ @command{Dict-setup} automates setting up a set of
+@command{aspell} dictonaries (@pxref{Top,,Overview,aspell,GNU Aspell
+Manual}). It takes a list of file names as its arguments. Each file
+must contain a list of languages for which spell checking dictionaries
+must be installed. The languages should be specified as ISO 639
+language abbreviations, one per line. Empty lines and shell-style
+comments are ignored.
+
+ For each language, @command{dict-setup} downloads its latest
+spell checking dictionary from
+@url{ftp://ftp.gnu.org.ua/gnu/aspell/dict}, builds and installs it.
+
+@cindex @option{-u} command line option, @command{dict-setup}.
+ If you wish to use another @acronym{URL}, specify it via
+@option{-u} command line option, for example
+
+@smallexample
+dict-setup -u ftp://ftp.gnu.org FILE
+@end smallexample
+
+@vindex SUF
+ To save bandwidth, @command{dict-setup} looks for dictionaries
+compressed via @command{bzip2} command. This can be altered by setting
+@code{SUF} variable to the desired file suffix, e.g. @code{SUF=.tar.gz}.
+
+@cindex @option{-c} command line option, @command{dict-setup}.
+ By default, @command{dict-setup} installs the latest dictionary
+version. If this behavior is not desired, you can select which
+dictionary to install by invoking the program with @option{-c} option.
+
+@cindex @command{lynx}
+ When run with this option, @command{dict-setup} prints a list of
+available dictionaries for each language and allows you to select one
+for download (it uses @command{lynx} to display the list, so make sure
+it is in your @code{PATH}). Use following commands to navigate through
+the list:
+
+@table @key
+@item v
+ View index file.
+@item x
+ Do not install dictionaries for this language. Proceed to the
+next language.
+@item q
+ Abort installation immediately.
+@item @var{number}
+ Install @var{number}th dictionary from the list.
+@end table
+
+@cindex @command{dict-setup} command line options
+ Following is the complete list of @command{dict-setup} options:
+
+@table @option
+@item -c
+@cindex @option{-c} command line option, @command{dict-setup}.
+ Run in confirm mode: for each language, present the user with a
+list of available dictionaries and allow him to select which one to
+install.
+
+@item -h
+@cindex @option{-h} command line option, @command{dict-setup}.
+ Print a short usage summary and exit.
+
+@item -v
+@cindex @option{-v} command line option, @command{dict-setup}.
+ Verbosely list each action executed.
+
+@item -u @var{url}
+@cindex @option{-u} command line option, @command{dict-setup}.
+ Use @var{url} instead of the default @url{ftp://ftp.gnu.org.ua/gnu/aspell/dict}.
+@end table
@node consoleconf
@section consoleconf

Return to:

Send suggestions and report system problems to the System administrator.