From 8bddae333fd096caab3190fd94e659de1af03994 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 4 Feb 2005 15:44:50 +0000 Subject: Sort option descriptions in man page. --- pkgtools/pkglint/files/lintpkgsrc.1 | 76 ++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/files/lintpkgsrc.1 b/pkgtools/pkglint/files/lintpkgsrc.1 index 560a1cc219d..c31a32e53e4 100644 --- a/pkgtools/pkglint/files/lintpkgsrc.1 +++ b/pkgtools/pkglint/files/lintpkgsrc.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: lintpkgsrc.1,v 1.24 2004/10/16 19:47:49 he Exp $ +.\" $NetBSD: lintpkgsrc.1,v 1.25 2005/02/04 15:44:50 wiz Exp $ .\" .\" Copyright (c) 1999 by David Brownlee (abs@netbsd.org) .\" Absolutely no warranty. @@ -12,11 +12,11 @@ .Nm .Op Fl BDLORSVdhilmopru .Op Fl E Ar file +.Op Fl g Ar pkgsrcmap .Op Fl I Ar file .Op Fl K Ar PACKAGES .Op Fl M Ar DISTDIR .Op Fl P Ar PKGSRCDIR -.Op Fl g Ar pkgsrcmap .Op Pa makefile ... .Sh DESCRIPTION .Nm @@ -31,6 +31,12 @@ Note that it does NOT implement complete Makefile parser. List packages marked as BROKEN. .It Fl D Ar paths Parse Makefiles and output contents (useful for debugging). +.It Fl d +Extract the +.Ql DEPENDS +listing from each pkgsrc package Makefile, then +verify the version specified in each DEPEND correctly matches a current +pkgsrc package. .It Fl E Ar file Exports the internal database generated from the pkgsrc Makefiles to a file for faster loading at a later time. @@ -40,6 +46,11 @@ generated. However, the database does make the task of, eg, checking for out of date packages on a set of similarly configured machines (in the absence of extra copies of the pkgsrc tree) both quick and possible. +.It Fl g Ar pkgsrcmap +Generate pkgsrcmap file containing an entry for each package of +.Ql pkgname pkgdir pkgver . +.It Fl h +Basic help and usage. .It Fl I Ar file Imports the data to construct the internal database for checking the installed versions of packages, among other things, against the @@ -58,6 +69,9 @@ with any combination of .Fl p , or .Fl u . +.It Fl i +Check the version of each installed package against the current version in +pkgsrc. .It Fl K Ar PACKAGES Override binary packages base directory, normally set from .Pa /etc/mk.conf @@ -88,20 +102,33 @@ Which would be an alternative to .Fl K . .It Fl L List the filenames of Makefiles as they are parsed (for debugging). +.It Fl l +Run +.Xr pkglint 1 +on every package in pkgsrc. .It Fl M Ar DISTDIR Set directory for distfiles, defaults to .Pa ${PKGSRCDIR}/distfiles . +.It Fl m +For each current distfile, verify its checksum against the appropriate +package's distinfo file. Also report if any package's distinfo file references +the same distfile with a different distinfo checksum. .It Fl O Report any binary packages in any subdirs of .Em PACKAGES , for whom the source Makefile lists .Em OSVERSION_SPECIFIC . This is intended to help those making binary packages available for ftp. +.It Fl o +Report any old distfiles (not referenced by any package's distinfo file). .It Fl P Ar PKGSRCDIR Set base of pkgsrc tree, normally set from .Pa /etc/mk.conf or defaulted to .Pa /usr/pkgsrc . +.It Fl p +Report any old binary packages in any subdirs of +.Em PACKAGES . .It Fl R Report any binary packages in any subdirs of .Em PACKAGES , @@ -110,42 +137,6 @@ for whom the source Makefile lists or .Em RESTRICTED . This is intended to help those making binary packages available for ftp. -.It Fl S -List packages missing from category -.Em SUBDIR -lists. -.It Fl V -List any prebuilt packages in any subdirs of -.Em PACKAGES -with known vulnerabilities, based on the data in -.Pa ${PKGSRCDIR}/distfiles/pkg-vulnerabilities . -.It Fl d -Extract the -.Ql DEPENDS -listing from each pkgsrc package Makefile, then -verify the version specified in each DEPEND correctly matches a current -pkgsrc package. -.It Fl g Ar pkgsrcmap -Generate pkgsrcmap file containing an entry for each package of -.Ql pkgname pkgdir pkgver . -.It Fl h -Basic help and usage. -.It Fl i -Check the version of each installed package against the current version in -pkgsrc. -.It Fl l -Run -.Xr pkglint 1 -on every package in pkgsrc. -.It Fl m -For each current distfile, verify its checksum against the appropriate -package's distinfo file. Also report if any package's distinfo file references -the same distfile with a different distinfo checksum. -.It Fl o -Report any old distfiles (not referenced by any package's distinfo file). -.It Fl p -Report any old binary packages in any subdirs of -.Em PACKAGES . .It Fl r Remove distfiles which are not referenced from any package's distinfo file, or have an incorrect checksum (usually due to an interrupted download), @@ -156,6 +147,10 @@ specify the or .Fl p flags respectively. +.It Fl S +List packages missing from category +.Em SUBDIR +lists. .It Fl u As .Fl i @@ -165,6 +160,11 @@ to ensure all the distfiles needed for the latest version are present. .Pp Warning: The behaviour of this command may change in a later version. +.It Fl V +List any prebuilt packages in any subdirs of +.Em PACKAGES +with known vulnerabilities, based on the data in +.Pa ${PKGSRCDIR}/distfiles/pkg-vulnerabilities . .El .Sh AUTHORS .An David Brownlee Aq abs@netbsd.org -- cgit v1.2.3