OpenBSD package items

Handles packages installed by pkg_add on OpenBSD systems.

pkg_openbsd = {
    "foo": {
        "installed": True,  # default
    },
    "bar": {
        "installed": True,
        "version": "1.0",
    },
    "baz": {
        "installed": False,
    },
    "qux": {
        "flavor": "no_x11",
    },
}



Attribute reference

See also: The list of generic builtin item attributes


installed

True when the package is expected to be present on the system; False if it should be purged.


flavor

Optional, defaults to the "normal" flavor.

Can be used together with version. Ignored when installed is False.


version

Optional version string. Can be used to select one specific version of a package.

Can be used together with flavor. Ignored when installed is False.