pkgsrc-wip/pkg_summary-utils/files/pkg_lint_summary.1
2010-03-12 22:13:10 +00:00

82 lines
2.1 KiB
Groff

.\" $NetBSD: pkg_lint_summary.1,v 1.3 2010/03/12 22:13:10 cheusov Exp $
.\"
.\" Copyright (c) 2008 by Aleksey Cheusov (vle@gmx.net)
.\" Absolutely no warranty.
.\"
.\" ------------------------------------------------------------------
.de VB \" Verbatim Begin
.ft CW
.nf
.ne \\$1
..
.de VE \" Verbatim End
.ft R
.fi
..
.\" ------------------------------------------------------------------
.TH PKG_LINT_SUMMARY 1 "Feb 10, 2010" "" ""
.SH NAME
pkg_lint_summary \- attempts to detect problems in input summaries
.SH SYNOPSIS
.BI pkg_lint_summary " [OPTIONS] [files...]"
.SH DESCRIPTION
.B pkg_lint_summary
attempts to detect problems in input summaries.
.SH OPTIONS
.TP
.B "-h|--help"
display help message
.TP
.B "-l"
analyses REQUIRES/PROVIDES fields of pkg_summary(5) given on
input. Format of the output:
.VB
l: not_found SO_LIBRARY PKGPATH PKGNAME
.VE
This means that the package PKGNAME from PKGPATH requires SO_LIBRARY but
there is no package that provide it.
Sample of usage:
.VB
$ pkg_info -Xa | pkg_lint_summary -l
l: not_found /usr/pkg/lib/libmaa.so.2 wip/dict-client dict-client-1.11.2
l: not_found /usr/pkg/lib/libz.so.1 wip/dict-client dict-client-1.11.2
l: not_found /usr/pkg/lib/libz.so.1 wip/dict-server dict-server-1.11.2
$
.VE
.TP
.B "-d"
checks that ALL required dependencies are present. Format of the output:
.VB
d: not_found ABSENT <- PKGPATH PKGBASE
.VE
This means that the package PKGNAME from PKGPATH requires package ABSENT but
it is absent in input summary.
Sample of usage:
.VB
$ pkg_delete -f gtk2+
$ pkg_delete -f paexec
$ pkg_info -Xa | pkg_lint_summary -d
d: not_found gtk2+ <- net/avahi avahi
d: not_found gtk2+ <- devel/xulrunner xulrunner
d: not_found gtk2+ <- graphics/graphviz graphviz
d: not_found paexec <- wip/distbb distbb
d: not_found gtk2+ <- www/firefox firefox
d: not_found gtk2+ <- devel/libglade libglade
d: not_found gtk2+ <- www/nspluginwrapper nspluginwrapper
$
.VE
.SH SEE ALSO
.BR pkg_summary-utils(7) ,
.BR pkg_summary(5) ,
.BR pkg_src_summary(1) ,
.BR pkg_info(1)
.SH AUTHOR
Aleksey Cheusov <vle@gmx.net>