Mon Nov 24 09:50:34 2014 UTC ()
New sentence, new line. Sort options in SYNOPSIS. Bump date for previous.


(wiz)
diff -r1.2 -r1.3 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.0
diff -r1.3 -r1.4 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.1

cvs diff -r1.2 -r1.3 pkgsrc/pkgtools/lintpkgsrc/files/Attic/lintpkgsrc.0 (expand / switch to unified diff)

--- pkgsrc/pkgtools/lintpkgsrc/files/Attic/lintpkgsrc.0 2014/11/24 09:41:25 1.2
+++ pkgsrc/pkgtools/lintpkgsrc/files/Attic/lintpkgsrc.0 2014/11/24 09:50:34 1.3
@@ -1,137 +1,137 @@ @@ -1,137 +1,137 @@
1 1LINTPKGSRC(1) General Commands Manual LINTPKGSRC(1)
2LINTPKGSRC(1) BSD General Commands Manual LINTPKGSRC(1) 
3 2
4NNAAMMEE 3NNAAMMEE
5 lliinnttppkkggssrrcc -- verifier for the pkgsrc tree 4 lliinnttppkkggssrrcc -- verifier for the pkgsrc tree
6 5
7SSYYNNOOPPSSIISS 6SSYYNNOOPPSSIISS
8 lliinnttppkkggssrrcc [--BBDDLLOORRSSVVddhhiillmmoopprruuyyzz] [--EE _f_i_l_e] [--gg _p_k_g_s_r_c_m_a_p] [--II _f_i_l_e] 7 lliinnttppkkggssrrcc [--BBDDddLLllmmOOooppRRrrSSuuVVyyzz] [--EE _f_i_l_e] [--gg _p_k_g_s_r_c_m_a_p] [--II _f_i_l_e]
9 [--KK _P_A_C_K_A_G_E_S] [--MM _D_I_S_T_D_I_R] [--PP _P_K_G_S_R_C_D_I_R] [_m_a_k_e_f_i_l_e _._._.] 8 [--KK _P_A_C_K_A_G_E_S] [--MM _D_I_S_T_D_I_R] [--PP _P_K_G_S_R_C_D_I_R] [_m_a_k_e_f_i_l_e _._._.]
10 9
11DDEESSCCRRIIPPTTIIOONN 10DDEESSCCRRIIPPTTIIOONN
12 lliinnttppkkggssrrcc tries to verify the entire contents of the pkgsrc tree. 11 lliinnttppkkggssrrcc tries to verify the entire contents of the pkgsrc tree.
13 lliinnttppkkggssrrcc uses simple regular-expression matching for verifying files 12 lliinnttppkkggssrrcc uses simple regular-expression matching for verifying files
14 that make up a pkgsrc directory. Note that it does NOT implement com- 13 that make up a pkgsrc directory. Note that it does NOT implement a
15 plete Makefile parser. 14 complete Makefile parser.
16 15
17 OOppttiioonnss 16 OOppttiioonnss
18 --BB List packages marked as BROKEN. 17 --BB List packages marked as BROKEN.
19 18
20 --DD _p_a_t_h_s Parse Makefiles and output contents (useful for debugging). 19 --DD _p_a_t_h_s Parse Makefiles and output contents (useful for debugging).
21 20
22 --dd Extract the `DEPENDS' listing from each pkgsrc package 21 --dd Extract the `DEPENDS' listing from each pkgsrc package
23 Makefile, then verify the version specified in each DEPEND 22 Makefile, then verify the version specified in each DEPEND
24 correctly matches a current pkgsrc package. 23 correctly matches a current pkgsrc package.
25 24
26 --EE _f_i_l_e Exports the internal database generated from the pkgsrc 25 --EE _f_i_l_e Exports the internal database generated from the pkgsrc
27 Makefiles to a file for faster loading at a later time. 26 Makefiles to a file for faster loading at a later time.
28 Note that some of the stored data is, in all likelihood, 27 Note that some of the stored data is, in all likelihood,
29 dependent on the architecture and operating system of the 28 dependent on the architecture and operating system of the
30 machine where it is generated. However, the database does 29 machine where it is generated. However, the database does
31 make the task of, eg, checking for out of date packages on 30 make the task of, eg, checking for out of date packages on
32 a set of similarly configured machines (in the absence of 31 a set of similarly configured machines (in the absence of
33 extra copies of the pkgsrc tree) both quick and possible. 32 extra copies of the pkgsrc tree) both quick and possible.
34 33
35 --gg _p_k_g_s_r_c_m_a_p Generate pkgsrcmap file containing an entry for each pack- 34 --gg _p_k_g_s_r_c_m_a_p Generate pkgsrcmap file containing an entry for each
36 age of `pkgname pkgdir pkgver'. 35 package of `pkgname pkgdir pkgver'.
37 36
38 --hh Basic help and usage. 37 --hh Basic help and usage.
39 38
40 --II _f_i_l_e Imports the data to construct the internal database for 39 --II _f_i_l_e Imports the data to construct the internal database for
41 checking the installed versions of packages, among other 40 checking the installed versions of packages, among other
42 things, against the current version found in pkgsrc. This 41 things, against the current version found in pkgsrc. This
43 database provides most or all of the data required for run- 42 database provides most or all of the data required for
44 ning lliinnttppkkggssrrcc with any combination of --BB, --OO, --RR, --SS, --VV, 43 running lliinnttppkkggssrrcc with any combination of --BB, --OO, --RR, --SS,
45 --dd, --gg, --ii, --pp, or --uu. 44 --VV, --dd, --gg, --ii, --pp, or --uu.
46 45
47 --ii Check the version of each installed package against the 46 --ii Check the version of each installed package against the
48 current version in pkgsrc. 47 current version in pkgsrc.
49 48
50 --KK _P_A_C_K_A_G_E_S Override binary packages base directory, normally set from 49 --KK _P_A_C_K_A_G_E_S Override binary packages base directory, normally set from
51 _/_e_t_c_/_m_k_._c_o_n_f or defaulted to _$_{_P_K_G_S_R_C_D_I_R_}_/_p_a_c_k_a_g_e_s. 50 _/_e_t_c_/_m_k_._c_o_n_f or defaulted to _$_{_P_K_G_S_R_C_D_I_R_}_/_p_a_c_k_a_g_e_s.
52 51
53 Note: lintpkgsrc treats _P_A_C_K_A_G_E_S slightly differently to 52 Note: lintpkgsrc treats _P_A_C_K_A_G_E_S slightly differently to
54 the pkgsrc build system. --pp, --RR and --VV check for binary 53 the pkgsrc build system. --pp, --RR, and --VV check for binary
55 packages in any depth of PACKAGES subdirs - this allows 54 packages in any depth of PACKAGES subdirs - this allows
56 packages for all architectures/OS versions to be checked 55 packages for all architectures/OS versions to be checked
57 simultaneously with an _/_e_t_c_/_m_k_._c_o_n_f construct of the form: 56 simultaneously with an _/_e_t_c_/_m_k_._c_o_n_f construct of the form:
58 57
59 .ifdef LINTPKGSRC 58 .ifdef LINTPKGSRC
60 PACKAGES=${PKGSRCDIR}/packages 59 PACKAGES=${PKGSRCDIR}/packages
61 .else 60 .else
62 PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} 61 PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH}
63 .endif 62 .endif
64 63
65 Which would be an alternative to --KK. 64 Which would be an alternative to --KK.
66 65
67 --LL List the filenames of Makefiles as they are parsed (for 66 --LL List the filenames of Makefiles as they are parsed (for
68 debugging). 67 debugging).
69 68
70 --MM _D_I_S_T_D_I_R Set directory for distfiles, defaults to 69 --MM _D_I_S_T_D_I_R Set directory for distfiles, defaults to
71 _$_{_P_K_G_S_R_C_D_I_R_}_/_d_i_s_t_f_i_l_e_s. 70 _$_{_P_K_G_S_R_C_D_I_R_}_/_d_i_s_t_f_i_l_e_s.
72 71
73 --mm For each current distfile, verify its checksum against the 72 --mm For each current distfile, verify its checksum against the
74 appropriate package's distinfo file. Also report if any 73 appropriate package's distinfo file. Also report if any
75 package's distinfo file references the same distfile with a 74 package's distinfo file references the same distfile with a
76 different distinfo checksum. 75 different distinfo checksum.
77 76
78 --OO Report any binary packages in any subdirs of _P_A_C_K_A_G_E_S, for 77 --OO Report any binary packages in any subdirs of _P_A_C_K_A_G_E_S, for
79 whom the source Makefile lists _O_S_V_E_R_S_I_O_N___S_P_E_C_I_F_I_C. This is 78 whom the source Makefile lists _O_S_V_E_R_S_I_O_N___S_P_E_C_I_F_I_C. This is
80 intended to help those making binary packages available for 79 intended to help those making binary packages available for
81 ftp. 80 ftp.
82 81
83 --oo Report any old distfiles (not referenced by any package's 82 --oo Report any old distfiles (not referenced by any package's
84 distinfo file). 83 distinfo file).
85 84
86 --PP _P_K_G_S_R_C_D_I_R Set base of pkgsrc tree, normally set from _/_e_t_c_/_m_k_._c_o_n_f or 85 --PP _P_K_G_S_R_C_D_I_R Set base of pkgsrc tree, normally set from _/_e_t_c_/_m_k_._c_o_n_f or
87 defaulted to _/_u_s_r_/_p_k_g_s_r_c. 86 defaulted to _/_u_s_r_/_p_k_g_s_r_c.
88 87
89 --pp Report any old binary packages in any subdirs of _P_A_C_K_A_G_E_S. 88 --pp Report any old binary packages in any subdirs of _P_A_C_K_A_G_E_S.
90 89
91 --RR Report any binary packages in any subdirs of _P_A_C_K_A_G_E_S, for 90 --RR Report any binary packages in any subdirs of _P_A_C_K_A_G_E_S, for
92 whom the source Makefile lists _N_O___B_I_N___O_N___F_T_P or _R_E_S_T_R_I_C_T_E_D. 91 whom the source Makefile lists _N_O___B_I_N___O_N___F_T_P or _R_E_S_T_R_I_C_T_E_D.
93 This is intended to help those making binary packages 92 This is intended to help those making binary packages
94 available for ftp. 93 available for ftp.
95 94
96 --rr Remove distfiles which are not referenced from any pack- 95 --rr Remove distfiles which are not referenced from any
97 age's distinfo file, or have an incorrect checksum (usually 96 package's distinfo file, or have an incorrect checksum
98 due to an interrupted download), and any old binary pack- 97 (usually due to an interrupted download), and any old
99 ages. To remove any given type, additionally specify the 98 binary packages. To remove any given type, additionally
100 --oo, --mm, or --pp flags respectively. 99 specify the --oo, --mm, or --pp flags respectively.
101 100
102 --SS List packages missing from category _S_U_B_D_I_R lists. 101 --SS List packages missing from category _S_U_B_D_I_R lists.
103 102
104 --uu As --ii plus for mismatched packages, display REQUIRED 103 --uu As --ii plus for mismatched packages, display REQUIRED
105 details and run `@MAKE@ fetch-list | sh' to ensure all the 104 details and run `@MAKE@ fetch-list | sh' to ensure all the
106 distfiles needed for the latest version are present. 105 distfiles needed for the latest version are present.
107 106
108 Warning: The behaviour of this command may change in a 107 Warning: The behaviour of this command may change in a
109 later version. 108 later version.
110 109
111 --VV List any prebuilt packages in any subdirs of _P_A_C_K_A_G_E_S with 110 --VV List any prebuilt packages in any subdirs of _P_A_C_K_A_G_E_S with
112 known vulnerabilities, based on the data in 111 known vulnerabilities, based on the data in
113 _$_{_P_K_G_S_R_C_D_I_R_}_/_d_i_s_t_f_i_l_e_s_/_p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s. 112 _$_{_P_K_G_S_R_C_D_I_R_}_/_d_i_s_t_f_i_l_e_s_/_p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s.
114 113
115 --yy Remove orphaned distfiles, i.e. those that do not belong to 114 --yy Remove orphaned distfiles, i.e., those that do not belong
116 any currently installed package. 115 to any currently installed package.
117 116
118 --zz Remove distfiles for currently installed packages. 117 --zz Remove distfiles for currently installed packages.
119 118
120AAUUTTHHOORRSS 119AAUUTTHHOORRSS
121 David Brownlee <_a_b_s_@_n_e_t_b_s_d_._o_r_g> 120 David Brownlee <_a_b_s_@_n_e_t_b_s_d_._o_r_g>
122 121
123BBUUGGSS 122BBUUGGSS
124 The --RR, --VV, and --pp options default to using _P_A_C_K_A_G_E_S as the base direc- 123 The --RR, --VV, and --pp options default to using _P_A_C_K_A_G_E_S as the base
125 tory from which to search for binary packages. If this includes OS or 124 directory from which to search for binary packages. If this includes OS
126 architecture information then packages for other OS/architecture combina- 125 or architecture information then packages for other OS/architecture
127 tions will be missed. In this case _P_A_C_K_A_G_E_S can be overridden with --KK or 126 combinations will be missed. In this case _P_A_C_K_A_G_E_S can be overridden
128 set conditionally in _/_e_t_c_/_m_k_._c_o_n_f based on the value of _L_I_N_T_P_K_G_S_R_C. 127 with --KK or set conditionally in _/_e_t_c_/_m_k_._c_o_n_f based on the value of
 128 _L_I_N_T_P_K_G_S_R_C.
129 129
130 The `Makefile parsing' algorithm used to obtain package versions and 130 The `Makefile parsing' algorithm used to obtain package versions and
131 DEPENDS information is geared towards speed rather than perfection, 131 DEPENDS information is geared towards speed rather than perfection,
132 though it has got somewhat better over time, it only parses the simplest 132 though it has got somewhat better over time, it only parses the simplest
133 Makefile conditionals. (a == b, no && etc). 133 Makefile conditionals. (a == b, no && etc).
134 134
135 Potentially others, but non serious to date. 135 Potentially others, but non serious to date.
136 136
137 November 8, 2005 137LOCAL November 24, 2014 LOCAL

cvs diff -r1.3 -r1.4 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.1 (expand / switch to unified diff)

--- pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.1 2014/11/24 09:41:25 1.3
+++ pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.1 2014/11/24 09:50:34 1.4
@@ -1,40 +1,40 @@ @@ -1,40 +1,40 @@
1.\" $NetBSD: lintpkgsrc.1,v 1.3 2014/11/24 09:41:25 bsiegert Exp $ 1.\" $NetBSD: lintpkgsrc.1,v 1.4 2014/11/24 09:50:34 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 1999 by David Brownlee (abs@netbsd.org) 3.\" Copyright (c) 1999 by David Brownlee (abs@netbsd.org)
4.\" Absolutely no warranty. 4.\" Absolutely no warranty.
5.\" 5.\"
6.Dd November 8, 2005 6.Dd November 24, 2014
7.Dt LINTPKGSRC 1 7.Dt LINTPKGSRC 1
8.Sh NAME 8.Sh NAME
9.Nm lintpkgsrc 9.Nm lintpkgsrc
10.Nd verifier for the pkgsrc tree 10.Nd verifier for the pkgsrc tree
11.Sh SYNOPSIS 11.Sh SYNOPSIS
12.Nm 12.Nm
13.Op Fl BDLORSVdhilmopruyz 13.Op Fl BDdLlmOopRrSuVyz
14.Op Fl E Ar file 14.Op Fl E Ar file
15.Op Fl g Ar pkgsrcmap 15.Op Fl g Ar pkgsrcmap
16.Op Fl I Ar file 16.Op Fl I Ar file
17.Op Fl K Ar PACKAGES 17.Op Fl K Ar PACKAGES
18.Op Fl M Ar DISTDIR 18.Op Fl M Ar DISTDIR
19.Op Fl P Ar PKGSRCDIR 19.Op Fl P Ar PKGSRCDIR
20.Op Pa makefile ... 20.Op Pa makefile ...
21.Sh DESCRIPTION 21.Sh DESCRIPTION
22.Nm 22.Nm
23tries to verify the entire contents of the pkgsrc tree. 23tries to verify the entire contents of the pkgsrc tree.
24.Nm 24.Nm
25uses simple regular-expression matching for verifying 25uses simple regular-expression matching for verifying
26files that make up a pkgsrc directory. 26files that make up a pkgsrc directory.
27Note that it does NOT implement complete Makefile parser. 27Note that it does NOT implement a complete Makefile parser.
28.Ss Options 28.Ss Options
29.Bl -tag -width xxxxxxxxxxxx 29.Bl -tag -width xxxxxxxxxxxx
30.It Fl B 30.It Fl B
31List packages marked as BROKEN. 31List packages marked as BROKEN.
32.It Fl D Ar paths 32.It Fl D Ar paths
33Parse Makefiles and output contents (useful for debugging). 33Parse Makefiles and output contents (useful for debugging).
34.It Fl d 34.It Fl d
35Extract the 35Extract the
36.Ql DEPENDS 36.Ql DEPENDS
37listing from each pkgsrc package Makefile, then 37listing from each pkgsrc package Makefile, then
38verify the version specified in each DEPEND correctly matches a current 38verify the version specified in each DEPEND correctly matches a current
39pkgsrc package. 39pkgsrc package.
40.It Fl E Ar file 40.It Fl E Ar file
@@ -72,52 +72,53 @@ or @@ -72,52 +72,53 @@ or
72.It Fl i 72.It Fl i
73Check the version of each installed package against the current version in 73Check the version of each installed package against the current version in
74pkgsrc. 74pkgsrc.
75.It Fl K Ar PACKAGES 75.It Fl K Ar PACKAGES
76Override binary packages base directory, normally set from 76Override binary packages base directory, normally set from
77.Pa /etc/mk.conf 77.Pa /etc/mk.conf
78or defaulted to 78or defaulted to
79.Pa ${PKGSRCDIR}/packages . 79.Pa ${PKGSRCDIR}/packages .
80.Pp 80.Pp
81Note: lintpkgsrc treats 81Note: lintpkgsrc treats
82.Em PACKAGES 82.Em PACKAGES
83slightly differently to the pkgsrc build system. 83slightly differently to the pkgsrc build system.
84.Fl p , 84.Fl p ,
85.Fl R 85.Fl R ,
86and 86and
87.Fl V 87.Fl V
88check for 88check for
89binary packages in any depth of PACKAGES subdirs - this allows packages for all 89binary packages in any depth of PACKAGES subdirs - this allows packages for all
90architectures/OS versions to be checked simultaneously with an 90architectures/OS versions to be checked simultaneously with an
91.Pa /etc/mk.conf 91.Pa /etc/mk.conf
92construct of the form: 92construct of the form:
93.Bd -literal 93.Bd -literal
94\&.ifdef LINTPKGSRC 94\&.ifdef LINTPKGSRC
95PACKAGES=${PKGSRCDIR}/packages 95PACKAGES=${PKGSRCDIR}/packages
96\&.else 96\&.else
97PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} 97PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH}
98\&.endif 98\&.endif
99.Ed 99.Ed
100.Pp 100.Pp
101Which would be an alternative to 101Which would be an alternative to
102.Fl K . 102.Fl K .
103.It Fl L 103.It Fl L
104List the filenames of Makefiles as they are parsed (for debugging). 104List the filenames of Makefiles as they are parsed (for debugging).
105.It Fl M Ar DISTDIR 105.It Fl M Ar DISTDIR
106Set directory for distfiles, defaults to 106Set directory for distfiles, defaults to
107.Pa ${PKGSRCDIR}/distfiles . 107.Pa ${PKGSRCDIR}/distfiles .
108.It Fl m 108.It Fl m
109For each current distfile, verify its checksum against the appropriate 109For each current distfile, verify its checksum against the appropriate
110package's distinfo file. Also report if any package's distinfo file references 110package's distinfo file.
 111Also report if any package's distinfo file references
111the same distfile with a different distinfo checksum. 112the same distfile with a different distinfo checksum.
112.It Fl O 113.It Fl O
113Report any binary packages in any subdirs of 114Report any binary packages in any subdirs of
114.Em PACKAGES , 115.Em PACKAGES ,
115for whom the source Makefile lists 116for whom the source Makefile lists
116.Em OSVERSION_SPECIFIC . 117.Em OSVERSION_SPECIFIC .
117This is intended to help those making binary packages available for ftp. 118This is intended to help those making binary packages available for ftp.
118.It Fl o 119.It Fl o
119Report any old distfiles (not referenced by any package's distinfo file). 120Report any old distfiles (not referenced by any package's distinfo file).
120.It Fl P Ar PKGSRCDIR 121.It Fl P Ar PKGSRCDIR
121Set base of pkgsrc tree, normally set from 122Set base of pkgsrc tree, normally set from
122.Pa /etc/mk.conf 123.Pa /etc/mk.conf
123or defaulted to 124or defaulted to
@@ -126,74 +127,76 @@ or defaulted to @@ -126,74 +127,76 @@ or defaulted to
126Report any old binary packages in any subdirs of 127Report any old binary packages in any subdirs of
127.Em PACKAGES . 128.Em PACKAGES .
128.It Fl R 129.It Fl R
129Report any binary packages in any subdirs of 130Report any binary packages in any subdirs of
130.Em PACKAGES , 131.Em PACKAGES ,
131for whom the source Makefile lists 132for whom the source Makefile lists
132.Em NO_BIN_ON_FTP 133.Em NO_BIN_ON_FTP
133or 134or
134.Em RESTRICTED . 135.Em RESTRICTED .
135This is intended to help those making binary packages available for ftp. 136This is intended to help those making binary packages available for ftp.
136.It Fl r 137.It Fl r
137Remove distfiles which are not referenced from any package's distinfo file, 138Remove distfiles which are not referenced from any package's distinfo file,
138or have an incorrect checksum (usually due to an interrupted download), 139or have an incorrect checksum (usually due to an interrupted download),
139and any old binary packages. To remove any given type, additionally 140and any old binary packages.
140specify the 141To remove any given type, additionally specify the
141.Fl o , 142.Fl o ,
142.Fl m , 143.Fl m ,
143or 144or
144.Fl p 145.Fl p
145flags respectively. 146flags respectively.
146.It Fl S 147.It Fl S
147List packages missing from category 148List packages missing from category
148.Em SUBDIR 149.Em SUBDIR
149lists. 150lists.
150.It Fl u 151.It Fl u
151As 152As
152.Fl i 153.Fl i
153plus for mismatched packages, display REQUIRED details and run 154plus for mismatched packages, display REQUIRED details and run
154.Ql @MAKE@ fetch-list | sh 155.Ql @MAKE@ fetch-list | sh
155to ensure all the distfiles needed for 156to ensure all the distfiles needed for
156the latest version are present. 157the latest version are present.
157.Pp 158.Pp
158Warning: The behaviour of this command may change in a later version. 159Warning: The behaviour of this command may change in a later version.
159.It Fl V 160.It Fl V
160List any prebuilt packages in any subdirs of 161List any prebuilt packages in any subdirs of
161.Em PACKAGES 162.Em PACKAGES
162with known vulnerabilities, based on the data in 163with known vulnerabilities, based on the data in
163.Pa ${PKGSRCDIR}/distfiles/pkg-vulnerabilities . 164.Pa ${PKGSRCDIR}/distfiles/pkg-vulnerabilities .
164.It Fl y 165.It Fl y
165Remove orphaned distfiles, i.e. those that do not belong to any 166Remove orphaned distfiles, i.e., those that do not belong to any
166currently installed package. 167currently installed package.
167.It Fl z 168.It Fl z
168Remove distfiles for currently installed packages. 169Remove distfiles for currently installed packages.
169.El 170.El
170.Sh AUTHORS 171.Sh AUTHORS
171.An David Brownlee Aq Mt abs@netbsd.org 172.An David Brownlee Aq Mt abs@netbsd.org
172.Sh BUGS 173.Sh BUGS
173The 174The
174.Fl R , 175.Fl R ,
175.Fl V , 176.Fl V ,
176and 177and
177.Fl p 178.Fl p
178options default to using 179options default to using
179.Em PACKAGES 180.Em PACKAGES
180as the base directory from which to 181as the base directory from which to
181search for binary packages. If this includes OS or architecture information 182search for binary packages.
 183If this includes OS or architecture information
182then packages for other OS/architecture combinations will be missed. 184then packages for other OS/architecture combinations will be missed.
183In this case 185In this case
184.Em PACKAGES 186.Em PACKAGES
185can be overridden with 187can be overridden with
186.Fl K 188.Fl K
187or set conditionally in 189or set conditionally in
188.Pa /etc/mk.conf 190.Pa /etc/mk.conf
189based on the value of 191based on the value of
190.Em LINTPKGSRC . 192.Em LINTPKGSRC .
191.Pp 193.Pp
192The 194The
193.Ql Makefile parsing 195.Ql Makefile parsing
194algorithm used to obtain package versions 196algorithm used to obtain package versions
195and DEPENDS information is geared towards speed rather than 197and DEPENDS information is geared towards speed rather than
196perfection, though it has got somewhat better over time, it only 198perfection, though it has got somewhat better over time, it only
197parses the simplest Makefile conditionals. (a == b, no \*[Am]\*[Am] etc). 199parses the simplest Makefile conditionals.
 200(a == b, no \*[Am]\*[Am] etc).
198.Pp 201.Pp
199Potentially others, but non serious to date. 202Potentially others, but non serious to date.