Fri Dec 6 14:28:11 2019 UTC ()
doc/pkgsrc.*: regen


(leot)
diff -r1.278 -r1.279 pkgsrc/doc/pkgsrc.html
diff -r1.276 -r1.277 pkgsrc/doc/pkgsrc.txt

cvs diff -r1.278 -r1.279 pkgsrc/doc/pkgsrc.html (expand / switch to unified diff)

--- pkgsrc/doc/pkgsrc.html 2019/11/22 19:56:26 1.278
+++ pkgsrc/doc/pkgsrc.html 2019/12/06 14:28:11 1.279
@@ -1315,30 +1315,30 @@ and you can still use binary packages fr @@ -1315,30 +1315,30 @@ and you can still use binary packages fr
1315 will remove jpeg and all the packages that used it; this allows 1315 will remove jpeg and all the packages that used it; this allows
1316 upgrading the jpeg package.</p> 1316 upgrading the jpeg package.</p>
1317</div> 1317</div>
1318<div class="sect2"> 1318<div class="sect2">
1319<div class="titlepage"><div><div><h3 class="title"> 1319<div class="titlepage"><div><div><h3 class="title">
1320<a name="using.pkg_info"></a>5.1.4. Getting information about installed packages</h3></div></div></div> 1320<a name="using.pkg_info"></a>5.1.4. Getting information about installed packages</h3></div></div></div>
1321<p>The <span class="command"><strong>pkg_info</strong></span> shows information about 1321<p>The <span class="command"><strong>pkg_info</strong></span> shows information about
1322 installed packages or binary package files.</p> 1322 installed packages or binary package files.</p>
1323</div> 1323</div>
1324<div class="sect2"> 1324<div class="sect2">
1325<div class="titlepage"><div><div><h3 class="title"> 1325<div class="titlepage"><div><div><h3 class="title">
1326<a name="vulnerabilities"></a>5.1.5. Checking for security vulnerabilities in installed packages</h3></div></div></div> 1326<a name="vulnerabilities"></a>5.1.5. Checking for security vulnerabilities in installed packages</h3></div></div></div>
1327<p> 1327<p>
1328 The NetBSD Security-Officer and Packages Groups maintain a list of 1328 The pkgsrc Security Team and Packages Groups maintain a list of
1329 known security vulnerabilities to packages which are (or have been) 1329 known security vulnerabilities to packages which are (or have been)
1330 included in pkgsrc. The list is available from the NetBSD 1330 included in pkgsrc. The list is available from the NetBSD
1331 FTP site at <a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/distfiles/vulnerabilities" target="_top">http://ftp.NetBSD.org/pub/pkgsrc/distfiles/vulnerabilities</a>. 1331 FTP site at <a class="ulink" href="http://ftp.netbsd.org/pub/NetBSD/packages/vulns/pkg-vulnerabilities" target="_top">http://ftp.netbsd.org/pub/NetBSD/packages/vulns/pkg-vulnerabilities</a>.
1332 </p> 1332 </p>
1333<p> 1333<p>
1334 Through <span class="command"><strong>pkg_admin fetch-pkg-vulnerabilities</strong></span>, 1334 Through <span class="command"><strong>pkg_admin fetch-pkg-vulnerabilities</strong></span>,
1335 this list can be downloaded 1335 this list can be downloaded
1336 automatically, and a security audit of all packages installed on a system 1336 automatically, and a security audit of all packages installed on a system
1337 can take place. 1337 can take place.
1338 </p> 1338 </p>
1339<p> 1339<p>
1340 There are two components to auditing. The first 1340 There are two components to auditing. The first
1341 step, <span class="command"><strong>pkg_admin fetch-pkg-vulnerabilities</strong></span>, 1341 step, <span class="command"><strong>pkg_admin fetch-pkg-vulnerabilities</strong></span>,
1342 is for downloading 1342 is for downloading
1343 the list of vulnerabilities from the NetBSD FTP site. The second 1343 the list of vulnerabilities from the NetBSD FTP site. The second
1344 step, <span class="command"><strong>pkg_admin audit</strong></span>, checks to see if any of your 1344 step, <span class="command"><strong>pkg_admin audit</strong></span>, checks to see if any of your
@@ -9014,27 +9014,27 @@ place.

 @@ -9014,27 +9014,27 @@ place.

9014</li> 9014</li>
9015</ol></div> 9015</ol></div>
9016</div> 9016</div>
9017</div> 9017</div>
9018<div class="chapter"> 9018<div class="chapter">
9019<div class="titlepage"><div><div><h2 class="title"> 9019<div class="titlepage"><div><div><h2 class="title">
9020<a name="devfaq"></a>Chapter 24. Frequently Asked Questions</h2></div></div></div> 9020<a name="devfaq"></a>Chapter 24. Frequently Asked Questions</h2></div></div></div>
9021<p>This section contains the answers to questions that may 9021<p>This section contains the answers to questions that may
9022 arise when you are writing a package. If you don't find your 9022 arise when you are writing a package. If you don't find your
9023 question answered here, first have a look in the other chapters, 9023 question answered here, first have a look in the other chapters,
9024 and if you still don't have the answer, ask on the 9024 and if you still don't have the answer, ask on the
9025 <code class="literal">pkgsrc-users</code> mailing list.</p> 9025 <code class="literal">pkgsrc-users</code> mailing list.</p>
9026<div class="qandaset"> 9026<div class="qandaset">
9027<a name="idm79147248"></a><dl> 9027<a name="idm74766032"></a><dl>
9028<dt>24.1. <a href="#devfaq.makeflags">What is the difference between 9028<dt>24.1. <a href="#devfaq.makeflags">What is the difference between
9029 MAKEFLAGS, .MAKEFLAGS and 9029 MAKEFLAGS, .MAKEFLAGS and
9030 MAKE_FLAGS?</a> 9030 MAKE_FLAGS?</a>
9031</dt> 9031</dt>
9032<dt>24.2. <a href="#devfaq.make">What is the difference between 9032<dt>24.2. <a href="#devfaq.make">What is the difference between
9033 MAKE, GMAKE and 9033 MAKE, GMAKE and
9034 MAKE_PROGRAM?</a> 9034 MAKE_PROGRAM?</a>
9035</dt> 9035</dt>
9036<dt>24.3. <a href="#devfaq.cc">What is the difference between 9036<dt>24.3. <a href="#devfaq.cc">What is the difference between
9037 CC, PKG_CC and 9037 CC, PKG_CC and
9038 PKGSRC_COMPILER?</a> 9038 PKGSRC_COMPILER?</a>
9039</dt> 9039</dt>
9040<dt>24.4. <a href="#devfaq.bl3flags">What is the difference between 9040<dt>24.4. <a href="#devfaq.bl3flags">What is the difference between
@@ -9059,157 +9059,157 @@ place.

 @@ -9059,157 +9059,157 @@ place.

9059</dt> 9059</dt>
9060<dt>24.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I 9060<dt>24.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I
9061do?</a> 9061do?</a>
9062</dt> 9062</dt>
9063</dl> 9063</dl>
9064<table border="0" style="width: 100%;"> 9064<table border="0" style="width: 100%;">
9065<colgroup> 9065<colgroup>
9066<col align="left" width="1%"> 9066<col align="left" width="1%">
9067<col> 9067<col>
9068</colgroup> 9068</colgroup>
9069<tbody> 9069<tbody>
9070<tr class="question"> 9070<tr class="question">
9071<td align="left" valign="top"> 9071<td align="left" valign="top">
9072<a name="devfaq.makeflags"></a><a name="idm79146864"></a><p><b>24.1.</b></p> 9072<a name="devfaq.makeflags"></a><a name="idm74773840"></a><p><b>24.1.</b></p>
9073</td> 9073</td>
9074<td align="left" valign="top"><p>What is the difference between 9074<td align="left" valign="top"><p>What is the difference between
9075 <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and 9075 <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and
9076 <code class="varname">MAKE_FLAGS</code>?</p></td> 9076 <code class="varname">MAKE_FLAGS</code>?</p></td>
9077</tr> 9077</tr>
9078<tr class="answer"> 9078<tr class="answer">
9079<td align="left" valign="top"></td> 9079<td align="left" valign="top"></td>
9080<td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed 9080<td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed
9081 to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while 9081 to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while
9082 <code class="varname">MAKE_FLAGS</code> are the flags that are passed to 9082 <code class="varname">MAKE_FLAGS</code> are the flags that are passed to
9083 the <code class="varname">MAKE_PROGRAM</code> when building the 9083 the <code class="varname">MAKE_PROGRAM</code> when building the
9084 package. [FIXME: What is .MAKEFLAGS for?]</p></td> 9084 package. [FIXME: What is .MAKEFLAGS for?]</p></td>
9085</tr> 9085</tr>
9086<tr class="question"> 9086<tr class="question">
9087<td align="left" valign="top"> 9087<td align="left" valign="top">
9088<a name="devfaq.make"></a><a name="idm79142768"></a><p><b>24.2.</b></p> 9088<a name="devfaq.make"></a><a name="idm74790352"></a><p><b>24.2.</b></p>
9089</td> 9089</td>
9090<td align="left" valign="top"><p>What is the difference between 9090<td align="left" valign="top"><p>What is the difference between
9091 <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and 9091 <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and
9092 <code class="varname">MAKE_PROGRAM</code>?</p></td> 9092 <code class="varname">MAKE_PROGRAM</code>?</p></td>
9093</tr> 9093</tr>
9094<tr class="answer"> 9094<tr class="answer">
9095<td align="left" valign="top"></td> 9095<td align="left" valign="top"></td>
9096<td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the 9096<td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the
9097 <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc 9097 <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc
9098 infrastructure. <code class="varname">GMAKE</code> is the path to GNU 9098 infrastructure. <code class="varname">GMAKE</code> is the path to GNU
9099 Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to 9099 Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to
9100 use that. <code class="varname">MAKE_PROGRAM</code> is the path to the 9100 use that. <code class="varname">MAKE_PROGRAM</code> is the path to the
9101 Make program that is used for building the 9101 Make program that is used for building the
9102 package.</p></td> 9102 package.</p></td>
9103</tr> 9103</tr>
9104<tr class="question"> 9104<tr class="question">
9105<td align="left" valign="top"> 9105<td align="left" valign="top">
9106<a name="devfaq.cc"></a><a name="idm79138416"></a><p><b>24.3.</b></p> 9106<a name="devfaq.cc"></a><a name="idm74794192"></a><p><b>24.3.</b></p>
9107</td> 9107</td>
9108<td align="left" valign="top"><p>What is the difference between 9108<td align="left" valign="top"><p>What is the difference between
9109 <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and 9109 <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and
9110 <code class="varname">PKGSRC_COMPILER</code>?</p></td> 9110 <code class="varname">PKGSRC_COMPILER</code>?</p></td>
9111</tr> 9111</tr>
9112<tr class="answer"> 9112<tr class="answer">
9113<td align="left" valign="top"></td> 9113<td align="left" valign="top"></td>
9114<td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C 9114<td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C
9115 compiler, which can be configured by the pkgsrc user. 9115 compiler, which can be configured by the pkgsrc user.
9116 <code class="varname">PKG_CC</code> is the path to the compiler wrapper. 9116 <code class="varname">PKG_CC</code> is the path to the compiler wrapper.
9117 <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a 9117 <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a
9118 path to a compiler, but the type of compiler that should be 9118 path to a compiler, but the type of compiler that should be
9119 used. See <code class="filename">mk/compiler.mk</code> for more 9119 used. See <code class="filename">mk/compiler.mk</code> for more
9120 information about the latter variable.</p></td> 9120 information about the latter variable.</p></td>
9121</tr> 9121</tr>
9122<tr class="question"> 9122<tr class="question">
9123<td align="left" valign="top"> 9123<td align="left" valign="top">
9124<a name="devfaq.bl3flags"></a><a name="idm79134192"></a><p><b>24.4.</b></p> 9124<a name="devfaq.bl3flags"></a><a name="idm74798288"></a><p><b>24.4.</b></p>
9125</td> 9125</td>
9126<td align="left" valign="top"><p>What is the difference between 9126<td align="left" valign="top"><p>What is the difference between
9127 <code class="varname">BUILDLINK_LDFLAGS</code>, 9127 <code class="varname">BUILDLINK_LDFLAGS</code>,
9128 <code class="varname">BUILDLINK_LDADD</code> and 9128 <code class="varname">BUILDLINK_LDADD</code> and
9129 <code class="varname">BUILDLINK_LIBS</code>?</p></td> 9129 <code class="varname">BUILDLINK_LIBS</code>?</p></td>
9130</tr> 9130</tr>
9131<tr class="answer"> 9131<tr class="answer">
9132<td align="left" valign="top"></td> 9132<td align="left" valign="top"></td>
9133<td align="left" valign="top"><p>[FIXME]</p></td> 9133<td align="left" valign="top"><p>[FIXME]</p></td>
9134</tr> 9134</tr>
9135<tr class="question"> 9135<tr class="question">
9136<td align="left" valign="top"> 9136<td align="left" valign="top">
9137<a name="devfaq.bl3prefix"></a><a name="idm79132016"></a><p><b>24.5.</b></p> 9137<a name="devfaq.bl3prefix"></a><a name="idm74796112"></a><p><b>24.5.</b></p>
9138</td> 9138</td>
9139<td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var 9139<td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var
9140 VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> 9140 VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span>
9141 say it's empty?</p></td> 9141 say it's empty?</p></td>
9142</tr> 9142</tr>
9143<tr class="answer"> 9143<tr class="answer">
9144<td align="left" valign="top"></td> 9144<td align="left" valign="top"></td>
9145<td align="left" valign="top"><p>For optimization reasons, some variables are only 9145<td align="left" valign="top"><p>For optimization reasons, some variables are only
9146 available in the <span class="quote">&#8220;<span class="quote">wrapper</span>&#8221;</span> phase and later. To 9146 available in the <span class="quote">&#8220;<span class="quote">wrapper</span>&#8221;</span> phase and later. To
9147 <span class="quote">&#8220;<span class="quote">simulate</span>&#8221;</span> the wrapper phase, append 9147 <span class="quote">&#8220;<span class="quote">simulate</span>&#8221;</span> the wrapper phase, append
9148 <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above 9148 <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above
9149 command.</p></td> 9149 command.</p></td>
9150</tr> 9150</tr>
9151<tr class="question"> 9151<tr class="question">
9152<td align="left" valign="top"> 9152<td align="left" valign="top">
9153<a name="devfaq.master_sites"></a><a name="idm79128944"></a><p><b>24.6.</b></p> 9153<a name="devfaq.master_sites"></a><a name="idm74801232"></a><p><b>24.6.</b></p>
9154</td> 9154</td>
9155<td align="left" valign="top"><p>What does 9155<td align="left" valign="top"><p>What does
9156 <code class="code">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I 9156 <code class="code">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I
9157 don't understand the <code class="code">:=</code> inside 9157 don't understand the <code class="code">:=</code> inside
9158 it.</p></td> 9158 it.</p></td>
9159</tr> 9159</tr>
9160<tr class="answer"> 9160<tr class="answer">
9161<td align="left" valign="top"></td> 9161<td align="left" valign="top"></td>
9162<td align="left" valign="top"><p>The <code class="code">:=</code> is not really an 9162<td align="left" valign="top"><p>The <code class="code">:=</code> is not really an
9163 assignment operator, although it looks like it. 9163 assignment operator, although it looks like it.
9164 Instead, it is a degenerate form of 9164 Instead, it is a degenerate form of
9165 <code class="code">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, 9165 <code class="code">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>,
9166 which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which is 9166 which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which is
9167 commonly used in the form <code class="code">${SRCS:.c=.o}</code>. In the 9167 commonly used in the form <code class="code">${SRCS:.c=.o}</code>. In the
9168 case of <code class="varname">MASTER_SITE_*</code>, 9168 case of <code class="varname">MASTER_SITE_*</code>,
9169 <em class="replaceable"><code>old_string</code></em> is the empty string and 9169 <em class="replaceable"><code>old_string</code></em> is the empty string and
9170 <em class="replaceable"><code>new_string</code></em> is 9170 <em class="replaceable"><code>new_string</code></em> is
9171 <code class="code">package/</code>. That's where the 9171 <code class="code">package/</code>. That's where the
9172 <code class="code">:</code> and the <code class="code">=</code> fall 9172 <code class="code">:</code> and the <code class="code">=</code> fall
9173 together.</p></td> 9173 together.</p></td>
9174</tr> 9174</tr>
9175<tr class="question"> 9175<tr class="question">
9176<td align="left" valign="top"> 9176<td align="left" valign="top">
9177<a name="devfaq.mailinglists"></a><a name="idm79122032"></a><p><b>24.7.</b></p> 9177<a name="devfaq.mailinglists"></a><a name="idm74831312"></a><p><b>24.7.</b></p>
9178</td> 9178</td>
9179<td align="left" valign="top"><p>Which mailing lists are there for package 9179<td align="left" valign="top"><p>Which mailing lists are there for package
9180 developers?</p></td> 9180 developers?</p></td>
9181</tr> 9181</tr>
9182<tr class="answer"> 9182<tr class="answer">
9183<td align="left" valign="top"></td> 9183<td align="left" valign="top"></td>
9184<td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> 9184<td align="left" valign="top"><div class="variablelist"><dl class="variablelist">
9185<dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> 9185<dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt>
9186<dd><p>This is a list for technical discussions related 9186<dd><p>This is a list for technical discussions related
9187 to pkgsrc development, e.g. soliciting feedback for changes to 9187 to pkgsrc development, e.g. soliciting feedback for changes to
9188 pkgsrc infrastructure, proposed new features, questions related 9188 pkgsrc infrastructure, proposed new features, questions related
9189 to porting pkgsrc to a new platform, advice for maintaining a 9189 to porting pkgsrc to a new platform, advice for maintaining a
9190 package, patches that affect many packages, help requests moved 9190 package, patches that affect many packages, help requests moved
9191 from pkgsrc-users when an infrastructure bug is found, 9191 from pkgsrc-users when an infrastructure bug is found,
9192 etc.</p></dd> 9192 etc.</p></dd>
9193<dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> 9193<dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt>
9194<dd><p>All bug reports in category "pkg" sent with 9194<dd><p>All bug reports in category "pkg" sent with
9195 <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here 9195 <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1.i386+NetBSD-8.1"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here
9196 directly; use one of the other mailing 9196 directly; use one of the other mailing
9197 lists.</p></dd> 9197 lists.</p></dd>
9198</dl></div></td> 9198</dl></div></td>
9199</tr> 9199</tr>
9200<tr class="question"> 9200<tr class="question">
9201<td align="left" valign="top"> 9201<td align="left" valign="top">
9202<a name="devfaq.documentation"></a><a name="idm79110000"></a><p><b>24.8.</b></p> 9202<a name="devfaq.documentation"></a><a name="idm74827600"></a><p><b>24.8.</b></p>
9203</td> 9203</td>
9204<td align="left" valign="top"><p>Where is the pkgsrc 9204<td align="left" valign="top"><p>Where is the pkgsrc
9205 documentation?</p></td> 9205 documentation?</p></td>
9206</tr> 9206</tr>
9207<tr class="answer"> 9207<tr class="answer">
9208<td align="left" valign="top"></td> 9208<td align="left" valign="top"></td>
9209<td align="left" valign="top"> 9209<td align="left" valign="top">
9210<p>There are many places where you can find 9210<p>There are many places where you can find
9211 documentation about pkgsrc:</p> 9211 documentation about pkgsrc:</p>
9212<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 9212<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
9213<li class="listitem"><p>The pkgsrc guide (this document) is a collection 9213<li class="listitem"><p>The pkgsrc guide (this document) is a collection
9214 of chapters that explain large parts of pkgsrc, but some 9214 of chapters that explain large parts of pkgsrc, but some
9215 chapters tend to be outdated. Which ones they are is hard to 9215 chapters tend to be outdated. Which ones they are is hard to
@@ -9237,27 +9237,27 @@ do? @@ -9237,27 +9237,27 @@ do?
9237 documented</span>&#8221;</span>, that is the documentation exists only in the 9237 documented</span>&#8221;</span>, that is the documentation exists only in the
9238 mind of the developer who wrote the code. To get this 9238 mind of the developer who wrote the code. To get this
9239 information, use the <span class="command"><strong>cvs annotate</strong></span> command 9239 information, use the <span class="command"><strong>cvs annotate</strong></span> command
9240 to see who has written it and ask on the 9240 to see who has written it and ask on the
9241 <code class="literal">tech-pkg</code> mailing list, so that others can 9241 <code class="literal">tech-pkg</code> mailing list, so that others can
9242 find your questions later (see above). To be sure that the 9242 find your questions later (see above). To be sure that the
9243 developer in charge reads the mail, you may CC him or 9243 developer in charge reads the mail, you may CC him or
9244 her.</p></li> 9244 her.</p></li>
9245</ul></div> 9245</ul></div>
9246</td> 9246</td>
9247</tr> 9247</tr>
9248<tr class="question"> 9248<tr class="question">
9249<td align="left" valign="top"> 9249<td align="left" valign="top">
9250<a name="devfaq.too-much-time"></a><a name="idm79103472"></a><p><b>24.9.</b></p> 9250<a name="devfaq.too-much-time"></a><a name="idm74837584"></a><p><b>24.9.</b></p>
9251</td> 9251</td>
9252<td align="left" valign="top"><p>I have a little time to kill. What shall I 9252<td align="left" valign="top"><p>I have a little time to kill. What shall I
9253do?</p></td> 9253do?</p></td>
9254</tr> 9254</tr>
9255<tr class="answer"> 9255<tr class="answer">
9256<td align="left" valign="top"></td> 9256<td align="left" valign="top"></td>
9257<td align="left" valign="top"> 9257<td align="left" valign="top">
9258<p>This is not really an FAQ yet, but here's the answer 9258<p>This is not really an FAQ yet, but here's the answer
9259anyway.</p> 9259anyway.</p>
9260<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 9260<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
9261<li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the 9261<li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the
9262 <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It 9262 <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It
9263 will tell you about newer versions of installed packages that are 9263 will tell you about newer versions of installed packages that are

cvs diff -r1.276 -r1.277 pkgsrc/doc/pkgsrc.txt (expand / switch to unified diff)

--- pkgsrc/doc/pkgsrc.txt 2019/11/22 19:56:26 1.276
+++ pkgsrc/doc/pkgsrc.txt 2019/12/06 14:28:11 1.277
@@ -1128,30 +1128,30 @@ package in question and then removes the @@ -1128,30 +1128,30 @@ package in question and then removes the
1128# pkg_delete -r jpeg 1128# pkg_delete -r jpeg
1129 1129
1130 1130
1131will remove jpeg and all the packages that used it; this allows upgrading the 1131will remove jpeg and all the packages that used it; this allows upgrading the
1132jpeg package. 1132jpeg package.
1133 1133
11345.1.4. Getting information about installed packages 11345.1.4. Getting information about installed packages
1135 1135
1136The pkg_info shows information about installed packages or binary package 1136The pkg_info shows information about installed packages or binary package
1137files. 1137files.
1138 1138
11395.1.5. Checking for security vulnerabilities in installed packages 11395.1.5. Checking for security vulnerabilities in installed packages
1140 1140
1141The NetBSD Security-Officer and Packages Groups maintain a list of known 1141The pkgsrc Security Team and Packages Groups maintain a list of known security
1142security vulnerabilities to packages which are (or have been) included in 1142vulnerabilities to packages which are (or have been) included in pkgsrc. The
1143pkgsrc. The list is available from the NetBSD FTP site at http://ftp.NetBSD.org 1143list is available from the NetBSD FTP site at http://ftp.netbsd.org/pub/NetBSD/
1144/pub/pkgsrc/distfiles/vulnerabilities. 1144packages/vulns/pkg-vulnerabilities.
1145 1145
1146Through pkg_admin fetch-pkg-vulnerabilities, this list can be downloaded 1146Through pkg_admin fetch-pkg-vulnerabilities, this list can be downloaded
1147automatically, and a security audit of all packages installed on a system can 1147automatically, and a security audit of all packages installed on a system can
1148take place. 1148take place.
1149 1149
1150There are two components to auditing. The first step, pkg_admin 1150There are two components to auditing. The first step, pkg_admin
1151fetch-pkg-vulnerabilities, is for downloading the list of vulnerabilities from 1151fetch-pkg-vulnerabilities, is for downloading the list of vulnerabilities from
1152the NetBSD FTP site. The second step, pkg_admin audit, checks to see if any of 1152the NetBSD FTP site. The second step, pkg_admin audit, checks to see if any of
1153your installed packages are vulnerable. If a package is vulnerable, you will 1153your installed packages are vulnerable. If a package is vulnerable, you will
1154see output similar to the following: 1154see output similar to the following:
1155 1155
1156Package samba-2.0.9 has a local-root-shell vulnerability, see 1156Package samba-2.0.9 has a local-root-shell vulnerability, see
1157 http://www.samba.org/samba/whatsnew/macroexploit.html 1157 http://www.samba.org/samba/whatsnew/macroexploit.html