1INNUPGRADE(8)             InterNetNews Documentation             INNUPGRADE(8)
2
3
4

NAME

6       innupgrade - Upgrade INN configuration files
7

SYNOPSIS

9       innupgrade directory
10
11       innupgrade [-t type] -f file
12

DESCRIPTION

14       innupgrade is intended to be run during a major upgrade of INN to fix
15       the configuration files with any required changes.  If given a direc‐
16       tory, it will scan that directory for any files that it has updates
17       defined for, try to perform those updates, and replace the files with
18       updated versions if applying the updates resulted in any changes.  The
19       old versions of the files will be saved with a ".OLD" extension.
20
21       If the -f flag is used, only that file will be updated.  If the file
22       name doesn't match the standard file name of an INN configuration file,
23       the optional -t flag may be given to specify the type.  See "EXAMPLES"
24       for an example of this.
25
26       Currently, innupgrade knows how to apply the following updates:
27
28       · inn.conf:  Quote values with whitespace and comment out keys with no
29         values, required for the change in configuration parsers introduced
30         in INN 2.4.  The new format is not backward compatible with the pre‐
31         vious parser, since the previous parser will include the double-
32         quotes in the value of the parameter.
33
34       Normally, innupgrade should be run on the pathetc directory after any
35       upgrade of INN other than a patch release (any upgrade that changes the
36       first or second version numbers).  This may occur automatically during
37       the upgrade process.
38

OPTIONS

40       -f file
41           Only act on file rather than working on an entire directory.
42
43       -t type
44           For a file specified with -f, parse it and upgrade it as if it were
45           named type.  Used for upgrading files with the same syntax as nor‐
46           mal INN configuration files but with different names.  Only makes
47           sense in combination with -f.
48

EXAMPLES

50       Upgrade any configuration files found in /usr/local/news/etc:
51
52           innupgrade /usr/local/news/etc
53
54       Upgrade only /news/etc/inn.conf:
55
56           innupgrade -f /news/etc/inn.conf
57
58       Upgrade a file named inn-special.conf that should have the same syntax
59       as inn.conf:
60
61           innupgrade -t inn.conf -f inn-special.conf
62
63       Any upgrade rules that apply to inn.conf will be applied to the alter‐
64       nate file.
65

HISTORY

67       Written by Russ Allbery <rra@stanford.edu> for InterNetNews.
68
69       $Id: innupgrade.8 5912 2002-12-03 05:31:11Z vinocur $
70
71
72
73INN 2.4.0                         2002-12-03                     INNUPGRADE(8)
Impressum