Manual pages › Character sets, environment, package files (5)
compver(5)
versions a package is compatible with
Package: APKGENG, added for amigaux.
Also by this name: compver(4), File formats and configuration files
NAME
compver - versions a package is compatible with
SYNOPSIS
install/compver
DESCRIPTION
A package may carry a compver file, named in its prototype(5) as i compver. It lists earlier versions of the package that this version can stand in for, one per line. Lines starting with # are comments.
pkgadd(1M) keeps the file of the installed package in /var/sadm/pkg/pkginst/install/compver. When another package's depend(5) file asks for a version of this package, the request is met if the installed version equals it, or else if a line of the installed package's compver does. Versions are compared as text: leading and trailing white space is ignored and a run of white space inside a version counts as one space; otherwise the characters must match exactly. There are no ranges and no ordering.
EXAMPLE
A package at VERSION=2.1 that can replace its 2.0 releases:
# versions this one is compatible with 2.0 2.0.1
FILES
- /var/sadm/pkg/pkginst/install/compver
- the installed package's copy
SEE ALSO
| November 2026 | APKGENG 1.12.6 |