.\" $NetBSD: pbulk-resolve.1,v 1.1.1.1 2007/06/19 19:49:57 joerg Exp $ .\" .\" Copyright (c) 2007 Thomas Klausner and Joerg Sonnenberger. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd June 12, 2007 .Dt PBULK-RESOLVE 1 .Os .Sh NAME .Nm pbulk-resolve .Nd resolves dependencies in .Xr pbulk-scan 1 output .Sh SYNOPSIS .Nm .Op Fl v .Op Fl i Ar missing .Ar input Op ... .Sh DESCRIPTION .Nm resolves dependencies based on the output of .Xr pbulk-scan 1 saved in .Ar input . .Pp Supported options are: .Bl -tag -offset indent .It Fl i Ar missing Enter incremental mode. For incremental mode, the package in .Ar input and the packages used to fulfill dependencies from the other input files are written to standard output including the resolved dependencies. The location of each unresolved dependency is written to .Ar missing . In normal mode, unresolvable dependencies are printed and the program exits with an error. .It Fl v If .Fl v is specified once and incremental mode is not active, a warning is printed whenever the best matching package has a different location than recorded in the dependency. If .Fl v is specified twice, additionally a warning is printed whenever two different packages can be used to fulfill a dependency. .El .Sh EXIT STATUS .Nm exits with return value 1 if an error occurred, or 0 if all dependencies have been resolved successfully. In incremental mode, .Ar missing contains all correct, but unresolvable dependencies.