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
16       directory, it will scan that directory for any files that it has
17       updates defined for, try to perform those updates, and replace the
18       files with updated versions if applying the updates resulted in any
19       changes.  The old versions of the files will be saved with a ".OLD"
20       extension.
21
22       If the -f flag is used, only that file will be updated.  If the file
23       name doesn't match the standard file name of an INN configuration file,
24       the optional -t flag may be given to specify the type.  See "EXAMPLES"
25       for an example of this.
26
27       Currently, innupgrade knows how to apply the following updates:
28
29       inn.conf
30         · Quote values with whitespace and comment out keys with no values,
31           required for the change in configuration parsers introduced in
32           INN 2.4.  The new format is not backward compatible with the
33           previous parser, since the previous parser will include the double-
34           quotes in the value of the parameter.
35
36         · Add the hismethod parameter if not found (introduced in INN 2.4,
37           with the default value "hisv6") and rename nntpactsync to
38           incominglogfrequency (since INN 2.5).
39
40         · If the overview.fmt file exists, its content is merged in the
41           extraoverviewadvertised and extraoverviewhidden parameters
42           introduced in INN 2.5.  The file is then renamed to
43           overview.fmt.OLD.
44
45         · If the sasl.conf file exists, its content is merged in the
46           tlscapath, tlscafile, tlscertfile and tlskeyfile parameters
47           introduced in INN 2.5.   The file is then renamed to sasl.conf.OLD.
48
49       newsfeeds
50         · Replace the use of startinnfeed with the appropriate direct
51           invocation of innfeed or imapfeed.
52
53       A few obsolete programs or configuration files are renamed with a
54       ".OLD" extension by innupgrade.  Obsolete man pages are directly
55       removed.
56
57       Normally, innupgrade should be run at least on the pathetc directory
58       after any upgrade of INN other than a patch release (any upgrade that
59       changes the first or second version numbers).  This may occur
60       automatically during the upgrade process.
61

OPTIONS

63       -f file
64           Only act on file rather than working on an entire directory.
65
66       -t type
67           For a file specified with -f, parse it and upgrade it as if it were
68           named type.  Used for upgrading files with the same syntax as
69           normal INN configuration files but with different names.  Only
70           makes sense in combination with -f.
71

EXAMPLES

73       Upgrade any configuration files found in pathetc and append a ".OLD"
74       extension to obsolete files in pathetc:
75
76           innupgrade <pathetc in inn.conf>
77
78       Upgrade only /news/etc/inn.conf:
79
80           innupgrade -f /news/etc/inn.conf
81
82       Upgrade a file named inn-special.conf that should have the same syntax
83       as inn.conf:
84
85           innupgrade -t inn.conf -f inn-special.conf
86
87       Any upgrade rules that apply to inn.conf will be applied to the
88       alternate file.
89

HISTORY

91       Written by Russ Allbery <rra@stanford.edu> for InterNetNews.
92
93       $Id: innupgrade.pod 8415 2009-04-12 20:19:35Z iulius $
94
95
96
97INN 2.5.2                         2010-08-11                     INNUPGRADE(8)
Impressum