1compver(4) File Formats compver(4)
2
3
4
6 compver - compatible versions file
7
9 compver is an ASCII file used to specify previous versions of the asso‐
10 ciated package which are upward compatible. It is created by a package
11 developer.
12
13
14 Each line of the file specifies a previous version of the associated
15 package with which the current version is backward compatible.
16
17
18 Since some packages may require installation of a specific version of
19 another software package, compatibility information is extremely cru‐
20 cial. Consider, for example, a package called "A" which requires ver‐
21 sion "1.0" of application "B" as a prerequisite for installation. If
22 the customer installing "A" has a newer version of "B" (version 1.3),
23 the compver file for "B" must indicate that "1.3" is compatible with
24 version "1.0" in order for the customer to install package "A".
25
27 Example 1 Sample compver file.
28
29
30 A sample compver file is shown below:
31
32
33 Version 1.3
34 Version 1.0
35
36
37
39 pkginfo(4)
40
41
42 Application Packaging Developer's Guide
43
45 The comparison of the version string disregards white space and tabs.
46 It is performed on a word-by-word basis. Thus, "Version 1.3" and "Ver‐
47 sion 1.3" would be considered the same.
48
49
50 The entries in the compver file must match the values assigned to the
51 VERSION parameter in the pkginfo(4) files.
52
53
54
55SunOS 5.11 4 Oct 1996 compver(4)