Reference

ceve(1)

parse package metadata

NAME

ceve - parse package metadata

SYNOPSIS

ceve [-output-type output-type] [-output-file output-file] [-input-type input-type] [-extract-cone package=version] [-cone-dep-types code-dependency-types] [-stop-extraction package=version] [-dose-date yyyy-mm-dd] [-dose-archive archive-name] [-resolve-dependencies] [-rpm-versions] [-debian-versions] [-verbose] [-help] files [-ignore-file-deps file]

DESCRIPTION

Ceve is a generalized metadata parser. It reads package specifications, extracts package metadata from them, performs some manipulations, and outputs the package metadata in one of several formats.

OPTIONS

-cone-dep-types list

A comma-separated list of dependency types to use for dependency closure generation. By default, all dependency types are used. Possible values are:

•

conflicts

•

depends

•

enhances

•

predepends

•

recommends

•

replaces

•

suggests

-debian-versions

Force usage of the Debian version numbering scheme, as well as the Debian syntax for virtual packages (dependencies with a version specification cannot be satisfied by a virtual package).

-dose-architecture architecture

Use architecture as the default Dose architecture.

-dose-archive archive

Use archive as the default Dose archive name.

-dose-date date

Set date as the lifetime for the packages to add to a Dose database.

-extract-cone package

Only output the package package and its dependency closure. The package specification can be either a package name, or a package name and version in the form name=version. This option can be abbreviated as -x.

-help

Not particularly useful, given that you're already reading this manpage.

-input-type input-type

The input type. Possible values are:

•

debian One Debian package (.deb)

•

debian-pool A Debian pool or cache file

•

rpm One RPM package

•

hdlist An uncompressed RPM hdlist file

•

pkgsrc A pkgsrc pkg_summary file

•

egraph A n EGraph file (GraphML-based)

•

synthesis-hdlist An RPM synthesis hdlist (uncompressed)

This option can be abbreviated as -p.

-output-dir directory

Set the directory to output to. This is only useful when using the dose output type.

-output-file file

Set the file to output to. This option can be abbreviated as -o.

-output-type output-type

Set the type of output to produce. Possible values are:

•

prettyprint Pretty printer.

•

egraph EGraph format (GraphML-based)

•

dose Dose database format (use the -output-dir option to specify which directory to write to)

•

oz Oz data structure

•

graphviz GraphVIZ graph

•

tart or cnf CNF formula, readable by Tart

This option can be abbreviated as -t.

-resolve-dependencies

If specified, resolve dependencies so that a dependency on a virtual package is replaced by the disjunction of all packages that provide the virtual package.

-rpm-versions

Force usage of the RPM version numbering scheme, as well as the RPM semantics for virtual packages (all provides have versions). This is default when using the rpm or hdlist input types.

-stop-extraction package

When computing the dependency closure, stop at package package (i.e. do not take its dependencies into account). Specification is the same as for the -extract-cone option.

-verbose

Be verbose (mostly useful for debugging).

-ignore-file-deps file

file should countain a list of file dependencies that are assumed to be available, and thus will not generate a warning during dependency resolution if not provided by any package.