diff options
author | bsiegert <bsiegert> | 2015-01-06 20:35:59 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2015-01-06 20:35:59 +0000 |
commit | 798c15d72750c0c12267541b8fbb8d0d86f3327e (patch) | |
tree | c72b79cb14e60dd3305b82267688fa0cbd073cb6 /doc | |
parent | 5d2e1798d450e85f2ff0350c4375e2994835a074 (diff) | |
download | pkgsrc-798c15d72750c0c12267541b8fbb8d0d86f3327e.tar.gz |
Fix some problems in the "configuring" section of the pkgsrc guide and
regenerate html and txt version. From Ray Phillips in PR misc/49367.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide/files/configuring.xml | 6 | ||||
-rw-r--r-- | doc/pkgsrc.html | 184 | ||||
-rw-r--r-- | doc/pkgsrc.txt | 155 |
3 files changed, 161 insertions, 184 deletions
diff --git a/doc/guide/files/configuring.xml b/doc/guide/files/configuring.xml index 45f92bc04a7..30c1c8b727f 100644 --- a/doc/guide/files/configuring.xml +++ b/doc/guide/files/configuring.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: configuring.xml,v 1.46 2015/01/05 12:13:48 prlw1 Exp $ --> +<!-- $NetBSD: configuring.xml,v 1.47 2015/01/06 20:35:59 bsiegert Exp $ --> <chapter id="configuring"> <title>Configuring pkgsrc</title> @@ -47,7 +47,7 @@ works.</para> </listitem> <listitem><para><varname>X11BASE</varname>: Where X11 is installed on the system. The default is - <filename>/usr/X11R6</filename>.</para> + <filename>/usr/X11R7</filename>.</para> </listitem> <listitem><para><varname>DISTDIR</varname>: Where to store the downloaded copies of the original source distributions used @@ -349,7 +349,7 @@ LDFLAGS+= -your -linkerflags <title>Developer/advanced settings</title> <!-- USE_ABI_DEPENDS --> - <para>XXX + <para><!-- XXX --> <itemizedlist> <listitem><para><varname>PKG_DEVELOPER</varname>: Run some sanity checks that package developers want: diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 5259f2a617a..44ce275b0c2 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -30,8 +30,8 @@ The pkgsrc Developers </h3> </div></div> -<div><p class="copyright">Copyright © 1994-2014 The NetBSD Foundation, Inc</p></div> -<div><p class="pubdate">$NetBSD: pkgsrc.xml,v 1.27 2014/09/19 04:53:09 jnemeth Exp $</p></div> +<div><p class="copyright">Copyright © 1994-2015 The NetBSD Foundation, Inc</p></div> +<div><p class="pubdate">$NetBSD: pkgsrc.xml,v 1.28 2015/01/01 05:19:02 jnemeth Exp $</p></div> <div><div class="abstract"> <p class="title"><b>Abstract</b></p> <p>pkgsrc is a centralized package management system for @@ -148,24 +148,23 @@ builds)</a></span></dt> <dt><span class="chapter"><a href="#faq">9. Frequently Asked Questions</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> -<dt><span class="sect1"><a href="#pkgviews-docs">9.2. Where's the pkgviews documentation?</a></span></dt> -<dt><span class="sect1"><a href="#faq-pkgtools">9.3. Utilities for package management (pkgtools)</a></span></dt> -<dt><span class="sect1"><a href="#non-root-pkgsrc">9.4. How to use pkgsrc as non-root</a></span></dt> -<dt><span class="sect1"><a href="#resume-transfers">9.5. How to resume transfers when fetching distfiles?</a></span></dt> -<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.6. How can I install/use modular X.org from pkgsrc?</a></span></dt> -<dt><span class="sect1"><a href="#fetch-behind-firewall">9.7. How to fetch files from behind a firewall</a></span></dt> -<dt><span class="sect1"><a href="#fetch-https">9.8. How to fetch files from HTTPS sites</a></span></dt> -<dt><span class="sect1"><a href="#passive-ftp">9.9. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> -<dt><span class="sect1"><a href="#fetching-all-distfiles">9.10. How to fetch all distfiles at once</a></span></dt> -<dt><span class="sect1"><a href="#tmac.andoc-missing">9.11. What does <span class="quote">“<span class="quote">Don't know how to make +<dt><span class="sect1"><a href="#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt> +<dt><span class="sect1"><a href="#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt> +<dt><span class="sect1"><a href="#resume-transfers">9.4. How to resume transfers when fetching distfiles?</a></span></dt> +<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.5. How can I install/use modular X.org from pkgsrc?</a></span></dt> +<dt><span class="sect1"><a href="#fetch-behind-firewall">9.6. How to fetch files from behind a firewall</a></span></dt> +<dt><span class="sect1"><a href="#fetch-https">9.7. How to fetch files from HTTPS sites</a></span></dt> +<dt><span class="sect1"><a href="#passive-ftp">9.8. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> +<dt><span class="sect1"><a href="#fetching-all-distfiles">9.9. How to fetch all distfiles at once</a></span></dt> +<dt><span class="sect1"><a href="#tmac.andoc-missing">9.10. What does <span class="quote">“<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.12. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.13. Using 'sudo' with pkgsrc</a></span></dt> -<dt><span class="sect1"><a href="#faq.conf">9.14. How do I change the location of configuration files?</a></span></dt> -<dt><span class="sect1"><a href="#audit-packages">9.15. Automated security checks</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-cflags">9.16. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-fail">9.17. A package does not build. What shall I do?</a></span></dt> -<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.18. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.11. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.12. Using 'sudo' with pkgsrc</a></span></dt> +<dt><span class="sect1"><a href="#faq.conf">9.13. How do I change the location of configuration files?</a></span></dt> +<dt><span class="sect1"><a href="#audit-packages">9.14. Automated security checks</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-cflags">9.15. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-fail">9.16. A package does not build. What shall I do?</a></span></dt> +<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.17. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> </dl></dd> </dl></dd> <dt><span class="part"><a href="#developers-guide">II. The pkgsrc developer's guide</a></span></dt> @@ -876,24 +875,23 @@ builds)</a></span></dt> <dt><span class="chapter"><a href="#faq">9. Frequently Asked Questions</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> -<dt><span class="sect1"><a href="#pkgviews-docs">9.2. Where's the pkgviews documentation?</a></span></dt> -<dt><span class="sect1"><a href="#faq-pkgtools">9.3. Utilities for package management (pkgtools)</a></span></dt> -<dt><span class="sect1"><a href="#non-root-pkgsrc">9.4. How to use pkgsrc as non-root</a></span></dt> -<dt><span class="sect1"><a href="#resume-transfers">9.5. How to resume transfers when fetching distfiles?</a></span></dt> -<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.6. How can I install/use modular X.org from pkgsrc?</a></span></dt> -<dt><span class="sect1"><a href="#fetch-behind-firewall">9.7. How to fetch files from behind a firewall</a></span></dt> -<dt><span class="sect1"><a href="#fetch-https">9.8. How to fetch files from HTTPS sites</a></span></dt> -<dt><span class="sect1"><a href="#passive-ftp">9.9. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> -<dt><span class="sect1"><a href="#fetching-all-distfiles">9.10. How to fetch all distfiles at once</a></span></dt> -<dt><span class="sect1"><a href="#tmac.andoc-missing">9.11. What does <span class="quote">“<span class="quote">Don't know how to make +<dt><span class="sect1"><a href="#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt> +<dt><span class="sect1"><a href="#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt> +<dt><span class="sect1"><a href="#resume-transfers">9.4. How to resume transfers when fetching distfiles?</a></span></dt> +<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.5. How can I install/use modular X.org from pkgsrc?</a></span></dt> +<dt><span class="sect1"><a href="#fetch-behind-firewall">9.6. How to fetch files from behind a firewall</a></span></dt> +<dt><span class="sect1"><a href="#fetch-https">9.7. How to fetch files from HTTPS sites</a></span></dt> +<dt><span class="sect1"><a href="#passive-ftp">9.8. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> +<dt><span class="sect1"><a href="#fetching-all-distfiles">9.9. How to fetch all distfiles at once</a></span></dt> +<dt><span class="sect1"><a href="#tmac.andoc-missing">9.10. What does <span class="quote">“<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.12. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.13. Using 'sudo' with pkgsrc</a></span></dt> -<dt><span class="sect1"><a href="#faq.conf">9.14. How do I change the location of configuration files?</a></span></dt> -<dt><span class="sect1"><a href="#audit-packages">9.15. Automated security checks</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-cflags">9.16. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-fail">9.17. A package does not build. What shall I do?</a></span></dt> -<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.18. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.11. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.12. Using 'sudo' with pkgsrc</a></span></dt> +<dt><span class="sect1"><a href="#faq.conf">9.13. How do I change the location of configuration files?</a></span></dt> +<dt><span class="sect1"><a href="#audit-packages">9.14. Automated security checks</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-cflags">9.15. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-fail">9.16. A package does not build. What shall I do?</a></span></dt> +<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.17. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> </dl></dd> </dl> </div> @@ -2152,7 +2150,7 @@ works.</p> <code class="filename">${LOCALBASE}/cross</code>.</p></li> <li class="listitem"><p><code class="varname">X11BASE</code>: Where X11 is installed on the system. The default is - <code class="filename">/usr/X11R6</code>.</p></li> + <code class="filename">/usr/X11R7</code>.</p></li> <li class="listitem"><p><code class="varname">DISTDIR</code>: Where to store the downloaded copies of the original source distributions used for building pkgsrc packages. The default is @@ -2221,7 +2219,7 @@ works.</p> package is created for them. You can set this variable to <code class="literal">package-install</code> to automatically create binary packages after installing dependencies. Please note that the - <code class="varname">PKGSRC_KEEP_BIN_PKGS</code>can be set to + <code class="varname">PKGSRC_KEEP_BIN_PKGS</code> can be set to <code class="literal">yes</code> to preserve binary packages when using the <code class="literal">install</code> as well.</p></li> </ul></div> @@ -2391,7 +2389,7 @@ LDFLAGS+= -your -linkerflags <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="developer-advanced-settings"></a>5.5. Developer/advanced settings</h2></div></div></div> -<p>XXX +<p> </p> <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> @@ -2861,24 +2859,23 @@ currently running.</p></dd> <p><b>Table of Contents</b></p> <dl> <dt><span class="sect1"><a href="#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> -<dt><span class="sect1"><a href="#pkgviews-docs">9.2. Where's the pkgviews documentation?</a></span></dt> -<dt><span class="sect1"><a href="#faq-pkgtools">9.3. Utilities for package management (pkgtools)</a></span></dt> -<dt><span class="sect1"><a href="#non-root-pkgsrc">9.4. How to use pkgsrc as non-root</a></span></dt> -<dt><span class="sect1"><a href="#resume-transfers">9.5. How to resume transfers when fetching distfiles?</a></span></dt> -<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.6. How can I install/use modular X.org from pkgsrc?</a></span></dt> -<dt><span class="sect1"><a href="#fetch-behind-firewall">9.7. How to fetch files from behind a firewall</a></span></dt> -<dt><span class="sect1"><a href="#fetch-https">9.8. How to fetch files from HTTPS sites</a></span></dt> -<dt><span class="sect1"><a href="#passive-ftp">9.9. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> -<dt><span class="sect1"><a href="#fetching-all-distfiles">9.10. How to fetch all distfiles at once</a></span></dt> -<dt><span class="sect1"><a href="#tmac.andoc-missing">9.11. What does <span class="quote">“<span class="quote">Don't know how to make +<dt><span class="sect1"><a href="#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt> +<dt><span class="sect1"><a href="#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt> +<dt><span class="sect1"><a href="#resume-transfers">9.4. How to resume transfers when fetching distfiles?</a></span></dt> +<dt><span class="sect1"><a href="#x.org-from-pkgsrc">9.5. How can I install/use modular X.org from pkgsrc?</a></span></dt> +<dt><span class="sect1"><a href="#fetch-behind-firewall">9.6. How to fetch files from behind a firewall</a></span></dt> +<dt><span class="sect1"><a href="#fetch-https">9.7. How to fetch files from HTTPS sites</a></span></dt> +<dt><span class="sect1"><a href="#passive-ftp">9.8. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt> +<dt><span class="sect1"><a href="#fetching-all-distfiles">9.9. How to fetch all distfiles at once</a></span></dt> +<dt><span class="sect1"><a href="#tmac.andoc-missing">9.10. What does <span class="quote">“<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.12. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> -<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.13. Using 'sudo' with pkgsrc</a></span></dt> -<dt><span class="sect1"><a href="#faq.conf">9.14. How do I change the location of configuration files?</a></span></dt> -<dt><span class="sect1"><a href="#audit-packages">9.15. Automated security checks</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-cflags">9.16. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> -<dt><span class="sect1"><a href="#ufaq-fail">9.17. A package does not build. What shall I do?</a></span></dt> -<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.18. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#bsd.own.mk-missing">9.11. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt> +<dt><span class="sect1"><a href="#using-sudo-with-pkgsrc">9.12. Using 'sudo' with pkgsrc</a></span></dt> +<dt><span class="sect1"><a href="#faq.conf">9.13. How do I change the location of configuration files?</a></span></dt> +<dt><span class="sect1"><a href="#audit-packages">9.14. Automated security checks</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-cflags">9.15. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt> +<dt><span class="sect1"><a href="#ufaq-fail">9.16. A package does not build. What shall I do?</a></span></dt> +<dt><span class="sect1"><a href="#faq.rcs-conflicts">9.17. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt> </dl> </div> <p>This section contains hints, tips & tricks on special things in @@ -2917,14 +2914,7 @@ it contains items for both pkgsrc users and developers.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="pkgviews-docs"></a>9.2. Where's the pkgviews documentation?</h2></div></div></div> -<p>Pkgviews is tightly integrated with buildlink. You can find a -pkgviews User's guide in -<code class="filename">pkgsrc/mk/buildlink3/PKGVIEWS_UG</code>.</p> -</div> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="faq-pkgtools"></a>9.3. Utilities for package management (pkgtools)</h2></div></div></div> +<a name="faq-pkgtools"></a>9.2. Utilities for package management (pkgtools)</h2></div></div></div> <p>The directory <code class="filename">pkgsrc/pkgtools</code> contains a number of useful utilities for both users and developers of pkgsrc. This section attempts only to make the reader aware of the utilities and when @@ -3000,7 +2990,7 @@ utilities)</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="non-root-pkgsrc"></a>9.4. How to use pkgsrc as non-root</h2></div></div></div> +<a name="non-root-pkgsrc"></a>9.3. How to use pkgsrc as non-root</h2></div></div></div> <p>If you want to use pkgsrc as non-root user, you can set some variables to make pkgsrc work under these conditions. At the very least, you need to set <code class="varname">UNPRIVILEGED</code> to <span class="quote">“<span class="quote">yes</span>”</span>; this @@ -3021,7 +3011,7 @@ that allow finer tuning of the tree layout.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="resume-transfers"></a>9.5. How to resume transfers when fetching distfiles?</h2></div></div></div> +<a name="resume-transfers"></a>9.4. How to resume transfers when fetching distfiles?</h2></div></div></div> <p>By default, resuming transfers in pkgsrc is disabled, but you can enable this feature by adding the option <code class="varname">PKG_RESUME_TRANSFERS=YES</code> into @@ -3045,7 +3035,7 @@ FETCH_USING= wget </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="x.org-from-pkgsrc"></a>9.6. How can I install/use modular X.org from pkgsrc?</h2></div></div></div> +<a name="x.org-from-pkgsrc"></a>9.5. How can I install/use modular X.org from pkgsrc?</h2></div></div></div> <p>If you want to use modular X.org from pkgsrc instead of your system's own X11 (<code class="filename">/usr/X11R6</code>, <code class="filename">/usr/openwin</code>, ...) you will have to add the following line into @@ -3061,7 +3051,7 @@ X11_TYPE=modular </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="fetch-behind-firewall"></a>9.7. How to fetch files from behind a firewall</h2></div></div></div> +<a name="fetch-behind-firewall"></a>9.6. How to fetch files from behind a firewall</h2></div></div></div> <p>If you are sitting behind a firewall which does not allow direct connections to Internet hosts (i.e. non-NAT), you may specify the relevant proxy hosts. This is done using an environment variable in the @@ -3076,7 +3066,7 @@ http_proxy=http://orpheus.amdahl.com:80/ </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="fetch-https"></a>9.8. How to fetch files from HTTPS sites</h2></div></div></div> +<a name="fetch-https"></a>9.7. How to fetch files from HTTPS sites</h2></div></div></div> <p>Some fetch tools are not prepared to support HTTPS by default (for example, the one in NetBSD 6.0), or the one installed by the pkgsrc bootstrap (to avoid an openssl dependency that low in the @@ -3091,7 +3081,7 @@ installed before you can use them this way.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="passive-ftp"></a>9.9. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</h2></div></div></div> +<a name="passive-ftp"></a>9.8. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</h2></div></div></div> <p>This depends on which utility is used to retrieve distfiles. From <code class="filename">bsd.pkg.mk</code>, <code class="varname">FETCH_CMD</code> is assigned the first available command from the following list:</p> @@ -3111,7 +3101,7 @@ transfers.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="fetching-all-distfiles"></a>9.10. How to fetch all distfiles at once</h2></div></div></div> +<a name="fetching-all-distfiles"></a>9.9. How to fetch all distfiles at once</h2></div></div></div> <p>You would like to download all the distfiles in a single batch from work or university, where you can't run a <span class="command"><strong>make fetch</strong></span>. There is an archive of distfiles on <a class="ulink" href="ftp://ftp.NetBSD.org/pub/pkgsrc/distfiles/" target="_top">ftp.NetBSD.org</a>, @@ -3143,7 +3133,7 @@ by running:</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="tmac.andoc-missing"></a>9.11. What does <span class="quote">“<span class="quote">Don't know how to make +<a name="tmac.andoc-missing"></a>9.10. What does <span class="quote">“<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>”</span> mean?</h2></div></div></div> <p>When compiling the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_install/README.html" target="_top"><code class="filename">pkgtools/pkg_install</code></a> package, you get the error from make that it doesn't know how to make @@ -3157,7 +3147,7 @@ environment or in <a class="link" href="#mk.conf"><code class="filename">mk.conf </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="bsd.own.mk-missing"></a>9.12. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</h2></div></div></div> +<a name="bsd.own.mk-missing"></a>9.11. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</h2></div></div></div> <p>You didn't install the compiler set, <code class="filename">comp.tgz</code>, when you installed your NetBSD machine. Please get and install it, by extracting it in <code class="filename">/</code>:</p> @@ -3169,7 +3159,7 @@ the one that corresponds to your release (determine via <span class="command"><s </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="using-sudo-with-pkgsrc"></a>9.13. Using 'sudo' with pkgsrc</h2></div></div></div> +<a name="using-sudo-with-pkgsrc"></a>9.12. Using 'sudo' with pkgsrc</h2></div></div></div> <p>When installing packages as non-root user and using the just-in-time <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?su+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">su</span>(1)</span></a> feature of pkgsrc, it can become annoying to type in the root password for each required package installed. To avoid this, the sudo @@ -3187,7 +3177,7 @@ SU_CMD= ${LOCALBASE}/bin/sudo /bin/sh -c </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="faq.conf"></a>9.14. How do I change the location of configuration files?</h2></div></div></div> +<a name="faq.conf"></a>9.13. How do I change the location of configuration files?</h2></div></div></div> <p>As the system administrator, you can choose where configuration files are installed. The default settings make all these files go into <code class="filename">${PREFIX}/etc</code> or some of its subdirectories; this may @@ -3209,7 +3199,7 @@ reinstall any affected packages.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="audit-packages"></a>9.15. Automated security checks</h2></div></div></div> +<a name="audit-packages"></a>9.14. Automated security checks</h2></div></div></div> <p>Please be aware that there can often be bugs in third-party software, and some of these bugs can leave a machine vulnerable to exploitation by attackers. In an effort to lessen the exposure, the NetBSD packages team @@ -3242,7 +3232,7 @@ check.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="ufaq-cflags"></a>9.16. Why do some packages ignore my <code class="varname">CFLAGS</code>?</h2></div></div></div> +<a name="ufaq-cflags"></a>9.15. Why do some packages ignore my <code class="varname">CFLAGS</code>?</h2></div></div></div> <p>When you add your own preferences to the <code class="varname">CFLAGS</code> variable in your <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a>, these flags are passed in @@ -3264,7 +3254,7 @@ check.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="ufaq-fail"></a>9.17. A package does not build. What shall I do?</h2></div></div></div> +<a name="ufaq-fail"></a>9.16. A package does not build. What shall I do?</h2></div></div></div> <div class="procedure"><ol class="procedure" type="1"> <li class="step"><p>Make sure that your copy of pkgsrc is consistent. A case that occurs often is that people only update pkgsrc in @@ -3285,7 +3275,7 @@ check.</p> </div> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="faq.rcs-conflicts"></a>9.18. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</h2></div></div></div> +<a name="faq.rcs-conflicts"></a>9.17. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</h2></div></div></div> <p>You have modified a file from pkgsrc, and someone else has modified that same file afterwards in the CVS repository. Both changes are in the same region of the file, so when you updated pkgsrc, the @@ -5330,13 +5320,11 @@ BUILDLINK_TREE+= -tiff <code class="filename">+CONTENTS</code> input into a list of files relative to <code class="filename">${BUILDLINK_PREFIX.<em class="replaceable"><code>pkg</code></em>}</code> - on stdout. By default for overwrite packages, + on stdout. By default, <code class="varname">BUILDLINK_CONTENTS_FILTER.<em class="replaceable"><code>pkg</code></em></code> outputs the contents of the <code class="filename">include</code> and <code class="filename">lib</code> directories in the package - <code class="filename">+CONTENTS</code>, and for pkgviews packages, - it outputs any libtool archives in - <code class="filename">lib</code> directories.</p></li> + <code class="filename">+CONTENTS</code>.</p></li> <li class="listitem"><p><code class="varname">BUILDLINK_FNAME_TRANSFORM.<em class="replaceable"><code>pkg</code></em></code> (not shown above) is a list of sed arguments used to transform the name of the source filename into a @@ -7348,7 +7336,7 @@ TOOLS_PLATFORM.true?= true # shell builtin <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> <div class="qandaset"> -<a name="idm77799312"></a><dl> +<a name="idm74667440"></a><dl> <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> </dt> <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available @@ -7367,7 +7355,7 @@ TOOLS_PLATFORM.true?= true # shell builtin <tbody> <tr class="question"> <td align="left" valign="top"> -<a name="tools.new"></a><a name="idm77798928"></a><p><b>18.4.1.</b></p> +<a name="tools.new"></a><a name="idm74667056"></a><p><b>18.4.1.</b></p> </td> <td align="left" valign="top"><p>How do I add a new tool?</p></td> </tr> @@ -7377,7 +7365,7 @@ TOOLS_PLATFORM.true?= true # shell builtin </tr> <tr class="question"> <td align="left" valign="top"> -<a name="tools.listall"></a><a name="idm77797904"></a><p><b>18.4.2.</b></p> +<a name="tools.listall"></a><a name="idm74666032"></a><p><b>18.4.2.</b></p> </td> <td align="left" valign="top"><p>How do I get a list of all available tools?</p></td> @@ -7388,7 +7376,7 @@ TOOLS_PLATFORM.true?= true # shell builtin </tr> <tr class="question"> <td align="left" valign="top"> -<a name="tools.used"></a><a name="idm77796752"></a><p><b>18.4.3.</b></p> +<a name="tools.used"></a><a name="idm74665008"></a><p><b>18.4.3.</b></p> </td> <td align="left" valign="top"><p>How can I get a list of all the tools that a package is using while being built? I want to know whether it @@ -8905,7 +8893,7 @@ PERL5_PACKLIST= auto/Pg/.packlist need to manually patch the package.</p></li> <li class="listitem"><p>Check the PLIST and remove any entries under the etc/gconf directory, as they will be handled automatically. See - <a class="xref" href="#faq.conf" title="9.14. How do I change the location of configuration files?">Section 9.14, “How do I change the location of configuration files?”</a> for more information.</p></li> + <a class="xref" href="#faq.conf" title="9.13. How do I change the location of configuration files?">Section 9.13, “How do I change the location of configuration files?”</a> for more information.</p></li> <li class="listitem"><p>Define the <code class="varname">GCONF_SCHEMAS</code> variable in your <code class="filename">Makefile</code> with a list of all <code class="filename">.schemas</code> files installed by the package, if @@ -9483,7 +9471,7 @@ place.</p></li> and if you still don't have the answer, ask on the <code class="literal">pkgsrc-users</code> mailing list.</p> <div class="qandaset"> -<a name="idm77235344"></a><dl> +<a name="idm74107696"></a><dl> <dt>22.1. <a href="#devfaq.makeflags">What is the difference between MAKEFLAGS, .MAKEFLAGS and MAKE_FLAGS?</a> @@ -9528,7 +9516,7 @@ do?</a> <tbody> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.makeflags"></a><a name="idm77234960"></a><p><b>22.1.</b></p> +<a name="devfaq.makeflags"></a><a name="idm74107312"></a><p><b>22.1.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and @@ -9544,7 +9532,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.make"></a><a name="idm77230992"></a><p><b>22.2.</b></p> +<a name="devfaq.make"></a><a name="idm74103216"></a><p><b>22.2.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and @@ -9562,7 +9550,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.cc"></a><a name="idm77226512"></a><p><b>22.3.</b></p> +<a name="devfaq.cc"></a><a name="idm74098864"></a><p><b>22.3.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and @@ -9580,7 +9568,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.bl3flags"></a><a name="idm77222416"></a><p><b>22.4.</b></p> +<a name="devfaq.bl3flags"></a><a name="idm74094640"></a><p><b>22.4.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">BUILDLINK_LDFLAGS</code>, @@ -9593,7 +9581,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.bl3prefix"></a><a name="idm77220240"></a><p><b>22.5.</b></p> +<a name="devfaq.bl3prefix"></a><a name="idm74092464"></a><p><b>22.5.</b></p> </td> <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> @@ -9609,7 +9597,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.master_sites"></a><a name="idm77208848"></a><p><b>22.6.</b></p> +<a name="devfaq.master_sites"></a><a name="idm74085168"></a><p><b>22.6.</b></p> </td> <td align="left" valign="top"><p>What does <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I @@ -9633,7 +9621,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.mailinglists"></a><a name="idm77200784"></a><p><b>22.7.</b></p> +<a name="devfaq.mailinglists"></a><a name="idm74068912"></a><p><b>22.7.</b></p> </td> <td align="left" valign="top"><p>Which mailing lists are there for package developers?</p></td> @@ -9658,7 +9646,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.documentation"></a><a name="idm77197072"></a><p><b>22.8.</b></p> +<a name="devfaq.documentation"></a><a name="idm74065200"></a><p><b>22.8.</b></p> </td> <td align="left" valign="top"><p>Where is the pkgsrc documentation?</p></td> @@ -9706,7 +9694,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.too-much-time"></a><a name="idm77190544"></a><p><b>22.9.</b></p> +<a name="devfaq.too-much-time"></a><a name="idm74058672"></a><p><b>22.9.</b></p> </td> <td align="left" valign="top"><p>I have a little time to kill. What shall I do?</p></td> diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index d38a6e62d5e..12f36a2c847 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -12,9 +12,9 @@ Hubert Feyrer The pkgsrc Developers -Copyright 1994-2014 The NetBSD Foundation, Inc +Copyright 1994-2015 The NetBSD Foundation, Inc -$NetBSD: pkgsrc.xml,v 1.27 2014/09/19 04:53:09 jnemeth Exp $ +$NetBSD: pkgsrc.xml,v 1.28 2015/01/01 05:19:02 jnemeth Exp $ Abstract @@ -131,24 +131,23 @@ I. The pkgsrc user's guide 9. Frequently Asked Questions 9.1. Are there any mailing lists for pkg-related discussion? - 9.2. Where's the pkgviews documentation? - 9.3. Utilities for package management (pkgtools) - 9.4. How to use pkgsrc as non-root - 9.5. How to resume transfers when fetching distfiles? - 9.6. How can I install/use modular X.org from pkgsrc? - 9.7. How to fetch files from behind a firewall - 9.8. How to fetch files from HTTPS sites - 9.9. How do I tell make fetch to do passive FTP? - 9.10. How to fetch all distfiles at once - 9.11. What does "Don't know how to make /usr/share/tmac/tmac.andoc" + 9.2. Utilities for package management (pkgtools) + 9.3. How to use pkgsrc as non-root + 9.4. How to resume transfers when fetching distfiles? + 9.5. How can I install/use modular X.org from pkgsrc? + 9.6. How to fetch files from behind a firewall + 9.7. How to fetch files from HTTPS sites + 9.8. How do I tell make fetch to do passive FTP? + 9.9. How to fetch all distfiles at once + 9.10. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? - 9.12. What does "Could not find bsd.own.mk" mean? - 9.13. Using 'sudo' with pkgsrc - 9.14. How do I change the location of configuration files? - 9.15. Automated security checks - 9.16. Why do some packages ignore my CFLAGS? - 9.17. A package does not build. What shall I do? - 9.18. What does "Makefile appears to contain unresolved cvs/rcs/??? + 9.11. What does "Could not find bsd.own.mk" mean? + 9.12. Using 'sudo' with pkgsrc + 9.13. How do I change the location of configuration files? + 9.14. Automated security checks + 9.15. Why do some packages ignore my CFLAGS? + 9.16. A package does not build. What shall I do? + 9.17. What does "Makefile appears to contain unresolved cvs/rcs/??? merge conflicts" mean? II. The pkgsrc developer's guide @@ -776,23 +775,22 @@ Table of Contents 9. Frequently Asked Questions 9.1. Are there any mailing lists for pkg-related discussion? - 9.2. Where's the pkgviews documentation? - 9.3. Utilities for package management (pkgtools) - 9.4. How to use pkgsrc as non-root - 9.5. How to resume transfers when fetching distfiles? - 9.6. How can I install/use modular X.org from pkgsrc? - 9.7. How to fetch files from behind a firewall - 9.8. How to fetch files from HTTPS sites - 9.9. How do I tell make fetch to do passive FTP? - 9.10. How to fetch all distfiles at once - 9.11. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? - 9.12. What does "Could not find bsd.own.mk" mean? - 9.13. Using 'sudo' with pkgsrc - 9.14. How do I change the location of configuration files? - 9.15. Automated security checks - 9.16. Why do some packages ignore my CFLAGS? - 9.17. A package does not build. What shall I do? - 9.18. What does "Makefile appears to contain unresolved cvs/rcs/??? merge + 9.2. Utilities for package management (pkgtools) + 9.3. How to use pkgsrc as non-root + 9.4. How to resume transfers when fetching distfiles? + 9.5. How can I install/use modular X.org from pkgsrc? + 9.6. How to fetch files from behind a firewall + 9.7. How to fetch files from HTTPS sites + 9.8. How do I tell make fetch to do passive FTP? + 9.9. How to fetch all distfiles at once + 9.10. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? + 9.11. What does "Could not find bsd.own.mk" mean? + 9.12. Using 'sudo' with pkgsrc + 9.13. How do I change the location of configuration files? + 9.14. Automated security checks + 9.15. Why do some packages ignore my CFLAGS? + 9.16. A package does not build. What shall I do? + 9.17. What does "Makefile appears to contain unresolved cvs/rcs/??? merge conflicts" mean? Chapter 2. Where to get pkgsrc and how to keep it up-to-date @@ -1885,7 +1883,7 @@ each variable's intent. * CROSSBASE: Where "cross" category packages will be installed. The default is ${LOCALBASE}/cross. - * X11BASE: Where X11 is installed on the system. The default is /usr/X11R6. + * X11BASE: Where X11 is installed on the system. The default is /usr/X11R7. * DISTDIR: Where to store the downloaded copies of the original source distributions used for building pkgsrc packages. The default is $ @@ -1937,7 +1935,7 @@ XXX * DEPENDS_TARGET: By default, dependencies are only installed, and no binary package is created for them. You can set this variable to package-install to automatically create binary packages after installing dependencies. - Please note that the PKGSRC_KEEP_BIN_PKGScan be set to yes to preserve + Please note that the PKGSRC_KEEP_BIN_PKGS can be set to yes to preserve binary packages when using the install as well. 5.3. Variables affecting the installation process @@ -2056,8 +2054,6 @@ LDFLAGS+= -your -linkerflags 5.5. Developer/advanced settings -XXX - * PKG_DEVELOPER: Run some sanity checks that package developers want: + make sure patches apply with zero fuzz @@ -2483,23 +2479,22 @@ Chapter 9. Frequently Asked Questions Table of Contents 9.1. Are there any mailing lists for pkg-related discussion? -9.2. Where's the pkgviews documentation? -9.3. Utilities for package management (pkgtools) -9.4. How to use pkgsrc as non-root -9.5. How to resume transfers when fetching distfiles? -9.6. How can I install/use modular X.org from pkgsrc? -9.7. How to fetch files from behind a firewall -9.8. How to fetch files from HTTPS sites -9.9. How do I tell make fetch to do passive FTP? -9.10. How to fetch all distfiles at once -9.11. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? -9.12. What does "Could not find bsd.own.mk" mean? -9.13. Using 'sudo' with pkgsrc -9.14. How do I change the location of configuration files? -9.15. Automated security checks -9.16. Why do some packages ignore my CFLAGS? -9.17. A package does not build. What shall I do? -9.18. What does "Makefile appears to contain unresolved cvs/rcs/??? merge +9.2. Utilities for package management (pkgtools) +9.3. How to use pkgsrc as non-root +9.4. How to resume transfers when fetching distfiles? +9.5. How can I install/use modular X.org from pkgsrc? +9.6. How to fetch files from behind a firewall +9.7. How to fetch files from HTTPS sites +9.8. How do I tell make fetch to do passive FTP? +9.9. How to fetch all distfiles at once +9.10. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? +9.11. What does "Could not find bsd.own.mk" mean? +9.12. Using 'sudo' with pkgsrc +9.13. How do I change the location of configuration files? +9.14. Automated security checks +9.15. Why do some packages ignore my CFLAGS? +9.16. A package does not build. What shall I do? +9.17. What does "Makefile appears to contain unresolved cvs/rcs/??? merge conflicts" mean? This section contains hints, tips & tricks on special things in pkgsrc that we @@ -2533,12 +2528,7 @@ To subscribe, do: Archives for all these mailing lists are available from http:// mail-index.NetBSD.org/. -9.2. Where's the pkgviews documentation? - -Pkgviews is tightly integrated with buildlink. You can find a pkgviews User's -guide in pkgsrc/mk/buildlink3/PKGVIEWS_UG. - -9.3. Utilities for package management (pkgtools) +9.2. Utilities for package management (pkgtools) The directory pkgsrc/pkgtools contains a number of useful utilities for both users and developers of pkgsrc. This section attempts only to make the reader @@ -2606,7 +2596,7 @@ Utilities for people maintaining pkgsrc (or: more obscure pkg utilities) * pkgtools/libkver: Spoof kernel version for chrooted cross builds. -9.4. How to use pkgsrc as non-root +9.3. How to use pkgsrc as non-root If you want to use pkgsrc as non-root user, you can set some variables to make pkgsrc work under these conditions. At the very least, you need to set @@ -2624,7 +2614,7 @@ choose and use multiple default directories under ~/pkg as the installation targets. These directories can be overridden by the "--prefix" flag provided by the script, as well as some others that allow finer tuning of the tree layout. -9.5. How to resume transfers when fetching distfiles? +9.4. How to resume transfers when fetching distfiles? By default, resuming transfers in pkgsrc is disabled, but you can enable this feature by adding the option PKG_RESUME_TRANSFERS=YES into mk.conf. If, during @@ -2642,7 +2632,7 @@ like: FETCH_USING= wget -9.6. How can I install/use modular X.org from pkgsrc? +9.5. How can I install/use modular X.org from pkgsrc? If you want to use modular X.org from pkgsrc instead of your system's own X11 (/usr/X11R6, /usr/openwin, ...) you will have to add the following line into @@ -2654,7 +2644,7 @@ Note The DragonFly operating system defaults to using modular X.org from pkgsrc. -9.7. How to fetch files from behind a firewall +9.6. How to fetch files from behind a firewall If you are sitting behind a firewall which does not allow direct connections to Internet hosts (i.e. non-NAT), you may specify the relevant proxy hosts. This @@ -2665,7 +2655,7 @@ the proxy port number. So the proxy environment variables are: ftp_proxy=ftp://orpheus.amdahl.com:80/ http_proxy=http://orpheus.amdahl.com:80/ -9.8. How to fetch files from HTTPS sites +9.7. How to fetch files from HTTPS sites Some fetch tools are not prepared to support HTTPS by default (for example, the one in NetBSD 6.0), or the one installed by the pkgsrc bootstrap (to avoid an @@ -2677,7 +2667,7 @@ pkgsrc-current. In that case, set FETCH_USING in your mk.conf file to "curl" or "wget", which are both compiled with HTTPS support by default. Of course, these tools need to be installed before you can use them this way. -9.9. How do I tell make fetch to do passive FTP? +9.8. How do I tell make fetch to do passive FTP? This depends on which utility is used to retrieve distfiles. From bsd.pkg.mk, FETCH_CMD is assigned the first available command from the following list: @@ -2694,7 +2684,7 @@ following to your mk.conf file: PASSIVE_FETCH=1. Having that option present will prevent /usr/bin/ftp from falling back to active transfers. -9.10. How to fetch all distfiles at once +9.9. How to fetch all distfiles at once You would like to download all the distfiles in a single batch from work or university, where you can't run a make fetch. There is an archive of distfiles @@ -2729,7 +2719,7 @@ everything by running: % make fetch NO_SKIP=yes -9.11. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? +9.10. What does "Don't know how to make /usr/share/tmac/tmac.andoc" mean? When compiling the pkgtools/pkg_install package, you get the error from make that it doesn't know how to make /usr/share/tmac/tmac.andoc? This indicates @@ -2739,7 +2729,7 @@ distribution on your machine. It is recommended to do that to format man pages. In the case of the pkgtools/pkg_install package, you can get away with setting NOMAN=YES either in the environment or in mk.conf. -9.12. What does "Could not find bsd.own.mk" mean? +9.11. What does "Could not find bsd.own.mk" mean? You didn't install the compiler set, comp.tgz, when you installed your NetBSD machine. Please get and install it, by extracting it in /: @@ -2750,7 +2740,7 @@ machine. Please get and install it, by extracting it in /: comp.tgz is part of every NetBSD release. Get the one that corresponds to your release (determine via uname -r). -9.13. Using 'sudo' with pkgsrc +9.12. Using 'sudo' with pkgsrc When installing packages as non-root user and using the just-in-time su(1) feature of pkgsrc, it can become annoying to type in the root password for each @@ -2763,7 +2753,7 @@ mk.conf, somewhere after the definition of the LOCALBASE variable: SU_CMD= ${LOCALBASE}/bin/sudo /bin/sh -c .endif -9.14. How do I change the location of configuration files? +9.13. How do I change the location of configuration files? As the system administrator, you can choose where configuration files are installed. The default settings make all these files go into ${PREFIX}/etc or @@ -2783,7 +2773,7 @@ of PKGBASE. Note that after changing these settings, you must rebuild and reinstall any affected packages. -9.15. Automated security checks +9.14. Automated security checks Please be aware that there can often be bugs in third-party software, and some of these bugs can leave a machine vulnerable to exploitation by attackers. In @@ -2812,7 +2802,7 @@ If this package is installed, pkgsrc builds will use it to perform a security check before building any package. See Section 5.2, "Variables affecting the build process" for ways to control this check. -9.16. Why do some packages ignore my CFLAGS? +9.15. Why do some packages ignore my CFLAGS? When you add your own preferences to the CFLAGS variable in your mk.conf, these flags are passed in environment variables to the ./configure scripts and to @@ -2826,7 +2816,7 @@ Usually you can remove these lines. But be aware that some "smart" programmers write so bad code that it only works for the specific combination of CFLAGS they have chosen. -9.17. A package does not build. What shall I do? +9.16. A package does not build. What shall I do? 1. Make sure that your copy of pkgsrc is consistent. A case that occurs often is that people only update pkgsrc in parts, because of performance reasons. @@ -2842,7 +2832,7 @@ they have chosen. 4. If the problem still exists, write a mail to the pkgsrc-users mailing list. -9.18. What does "Makefile appears to contain unresolved cvs/rcs/??? merge +9.17. What does "Makefile appears to contain unresolved cvs/rcs/??? merge conflicts" mean? You have modified a file from pkgsrc, and someone else has modified that same @@ -4518,10 +4508,9 @@ symlinking: * BUILDLINK_CONTENTS_FILTER.pkg (not shown above) is a filter command that filters +CONTENTS input into a list of files relative to $ - {BUILDLINK_PREFIX.pkg} on stdout. By default for overwrite packages, - BUILDLINK_CONTENTS_FILTER.pkg outputs the contents of the include and lib - directories in the package +CONTENTS, and for pkgviews packages, it outputs - any libtool archives in lib directories. + {BUILDLINK_PREFIX.pkg} on stdout. By default, BUILDLINK_CONTENTS_FILTER.pkg + outputs the contents of the include and lib directories in the package + +CONTENTS. * BUILDLINK_FNAME_TRANSFORM.pkg (not shown above) is a list of sed arguments used to transform the name of the source filename into a destination @@ -7395,7 +7384,7 @@ take some extra steps to make sure they get registered in the database: manually patch the package. 3. Check the PLIST and remove any entries under the etc/gconf directory, as - they will be handled automatically. See Section 9.14, "How do I change the + they will be handled automatically. See Section 9.13, "How do I change the location of configuration files?" for more information. 4. Define the GCONF_SCHEMAS variable in your Makefile with a list of all |