diff options
-rw-r--r-- | doc/pkgsrc.html | 1040 | ||||
-rw-r--r-- | doc/pkgsrc.txt | 58 |
2 files changed, 543 insertions, 555 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 6a4c8b6426f..4247bf6d954 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -19,8 +19,8 @@ alink="#0000FF"> <div class="titlepage"> <div> <div> - <h1 class="title"><a name="id2458394" id= - "id2458394"></a>The pkgsrc guide</h1> + <h1 class="title"><a name="id2458324" id= + "id2458324"></a>The pkgsrc guide</h1> </div> <div> @@ -93,7 +93,7 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2514275">1.1. + <dt><span class="sect1"><a href="#id2514205">1.1. Introduction</a></span></dt> <dt><span class="sect1"><a href="#overview">1.2. @@ -117,13 +117,13 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2514853">2.1. + <dt><span class="sect1"><a href="#id2514784">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2514870">2.2. + <dt><span class="sect1"><a href="#id2514800">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2514970">2.3. + <dt><span class="sect1"><a href="#id2514900">2.3. Via CVS</a></span></dt> </dl> </dd> @@ -133,32 +133,32 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2515148">3.1. + <dt><span class="sect1"><a href="#id2515010">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2515255">3.2. + <dt><span class="sect1"><a href="#id2515185">3.2. Platform specific notes</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2515261">3.2.1. Darwin (Mac OS + "#id2515191">3.2.1. Darwin (Mac OS X)</a></span></dt> <dt><span class="sect2"><a href= - "#id2515492">3.2.2. FreeBSD</a></span></dt> + "#id2515490">3.2.2. FreeBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2515662">3.2.3. Interix</a></span></dt> + "#id2515933">3.2.3. Interix</a></span></dt> <dt><span class="sect2"><a href= - "#id2515753">3.2.4. IRIX</a></span></dt> + "#id2516024">3.2.4. IRIX</a></span></dt> <dt><span class="sect2"><a href= - "#id2516280">3.2.5. OpenBSD</a></span></dt> + "#id2516210">3.2.5. OpenBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2516392">3.2.6. Solaris</a></span></dt> + "#id2516322">3.2.6. Solaris</a></span></dt> </dl> </dd> </dl> @@ -176,38 +176,38 @@ alink="#0000FF"> <dd> <dl> <dt><span class="sect2"><a href= - "#id2516529">4.1.1. Where to get binary + "#id2516458">4.1.1. Where to get binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2516569">4.1.2. How to use binary + "#id2516499">4.1.2. How to use binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2516704">4.1.3. A word of + "#id2516633">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2516715">4.2. + <dt><span class="sect1"><a href="#id2516645">4.2. Building packages from source</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2516725">4.2.1. + "#id2516654">4.2.1. Requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2516745">4.2.2. Fetching + "#id2516675">4.2.2. Fetching distfiles</a></span></dt> <dt><span class="sect2"><a href= - "#id2516866">4.2.3. How to build and + "#id2516795">4.2.3. How to build and install</a></span></dt> <dt><span class="sect2"><a href= - "#id2517182">4.2.4. Selecting the + "#id2517522">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -219,10 +219,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2517337">5.1. + <dt><span class="sect1"><a href="#id2582803">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2517825">5.2. + <dt><span class="sect1"><a href="#id2582881">5.2. Settings for creation of binary packages</a></span></dt> @@ -236,38 +236,38 @@ alink="#0000FF"> Configuration</a></span></dt> <dt><span class="sect2"><a href= - "#id2517964">5.3.2. Other environmental + "#id2583020">5.3.2. Other environmental considerations</a></span></dt> <dt><span class="sect2"><a href= - "#id2518005">5.3.3. Operation</a></span></dt> + "#id2583061">5.3.3. Operation</a></span></dt> <dt><span class="sect2"><a href= - "#id2583270">5.3.4. What it + "#id2583200">5.3.4. What it does</a></span></dt> <dt><span class="sect2"><a href= - "#id2583326">5.3.5. Disk space + "#id2583256">5.3.5. Disk space requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2583421">5.3.6. Setting up a sandbox for + "#id2583351">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> <dt><span class="sect2"><a href= - "#id2583785">5.3.7. Building a partial set of + "#id2583715">5.3.7. Building a partial set of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2583828">5.4. + <dt><span class="sect1"><a href="#id2583757">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2583843">5.4.1. Example of + "#id2583772">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -279,50 +279,50 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2584170">6.1. + <dt><span class="sect1"><a href="#id2584100">6.1. Is there a mailing list for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2584200">6.2. + <dt><span class="sect1"><a href="#id2584130">6.2. Where's the pkgviews documentation?</a></span></dt> <dt><span class="sect1"><a href= "#faq-pkgtools">6.3. Utilities for package management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2584453">6.4. + <dt><span class="sect1"><a href="#id2584382">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2584465">6.5. + <dt><span class="sect1"><a href="#id2584394">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584492">6.6. + <dt><span class="sect1"><a href="#id2584422">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584520">6.7. + <dt><span class="sect1"><a href="#id2584518">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2584534">6.8. + <dt><span class="sect1"><a href="#id2584532">6.8. How do I tell <span><strong class="command">make fetch</strong></span> to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2584722">6.9. + <dt><span class="sect1"><a href="#id2584651">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2584861">6.10. + <dt><span class="sect1"><a href="#id2584791">6.10. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584900">6.11. + <dt><span class="sect1"><a href="#id2584829">6.11. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584957">6.12. + <dt><span class="sect1"><a href="#id2584887">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -360,17 +360,17 @@ alink="#0000FF"> "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2586071">7.4. + <dt><span class="sect1"><a href="#id2586001">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2586197">7.6. + <dt><span class="sect1"><a href="#id2586126">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586284">7.7. + <dt><span class="sect1"><a href="#id2586214">7.7. <code class= "filename">files/*</code></a></span></dt> </dl> @@ -381,10 +381,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2586339">8.1. + <dt><span class="sect1"><a href="#id2586268">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2586354">8.2. + <dt><span class="sect1"><a href="#id2586283">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -396,14 +396,14 @@ alink="#0000FF"> <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2586743">8.5. + <dt><span class="sect1"><a href="#id2586673">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2586785">8.6. + <dt><span class="sect1"><a href="#id2586714">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586802">8.7. + <dt><span class="sect1"><a href="#id2586731">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -418,22 +418,22 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2587074">9.1. + <dt><span class="sect1"><a href="#id2587003">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2587265">9.2. + <dt><span class="sect1"><a href="#id2587194">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2587470">9.2.1. Anatomy of a buildlink3.mk + "#id2587400">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2588048">9.2.2. Updating <code class= + "#id2587977">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in <code class="filename">buildlink3.mk</code> @@ -441,19 +441,19 @@ alink="#0000FF"> </dl> </dd> - <dt><span class="sect1"><a href="#id2588126">9.3. + <dt><span class="sect1"><a href="#id2588056">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2588208">9.3.1. Anatomy of a <code class= + "#id2588137">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> <dt><span class="sect2"><a href= - "#id2588366">9.3.2. Global preferences for + "#id2588296">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -465,10 +465,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2588507">10.1. + <dt><span class="sect1"><a href="#id2588437">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2588522">10.2. + <dt><span class="sect1"><a href="#id2588452">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -483,7 +483,7 @@ alink="#0000FF"> "#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2589198">11.2. + <dt><span class="sect1"><a href="#id2589128">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -497,17 +497,17 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2590531">12.1. + <dt><span class="sect1"><a href="#id2590529">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2590534">12.1.1. How to pull in variables + "#id2590532">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2590685">12.1.2. Restricted + "#id2590615">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -515,15 +515,15 @@ alink="#0000FF"> dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2591201">12.1.4. Handling conflicts with + "#id2591198">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2591251">12.1.5. Packages that cannot or + "#id2591249">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2591413">12.1.6. Packages which should not + "#id2591342">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -531,37 +531,37 @@ alink="#0000FF"> with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2591505">12.1.8. How to handle compiler + "#id2591434">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2591527">12.1.9. How to handle incrementing + "#id2591457">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2591644">12.1.10. Portability of + "#id2591574">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591669">12.2. + <dt><span class="sect1"><a href="#id2591598">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2591672">12.2.1. Packages whose distfiles + "#id2591602">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2591735">12.2.2. How to handle modified + "#id2591665">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591747">12.3. + <dt><span class="sect1"><a href="#id2591676">12.3. Configuration gotchas</a></span></dt> <dd> @@ -571,66 +571,66 @@ alink="#0000FF"> libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592086">12.3.2. Using libtool on GNU + "#id2592016">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592238">12.3.3. GNU + "#id2592168">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592283">12.4. + <dt><span class="sect1"><a href="#id2592213">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592286">12.4.1. CPP + "#id2592216">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592316">12.5. + <dt><span class="sect1"><a href="#id2592314">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592320">12.5.1. Package configuration + "#id2592317">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592490">12.5.2. User + "#id2592420">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2592535">12.5.3. Handling + "#id2592465">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2592686">12.5.4. Creating an account from a + "#id2592616">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2592748">12.5.5. Installing score + "#id2592678">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592929">12.5.6. Packages providing login + "#id2592858">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2593054">12.5.7. Packages containing perl + "#id2592984">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593073">12.5.8. Packages with hardcoded + "#id2593002">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2593094">12.5.9. Packages installing perl + "#id2593024">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -638,36 +638,36 @@ alink="#0000FF"> info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593450">12.5.11. Packages installing + "#id2593380">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593550">12.5.12. Packages installing + "#id2593480">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593602">12.5.13. Packages installing X11 + "#id2593531">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593649">12.5.14. Packages installing GTK2 + "#id2593578">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2593718">12.5.15. Packages installing SGML + "#id2593648">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2593770">12.5.16. Packages installing + "#id2593700">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2593841">12.5.17. Packages using + "#id2593770">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2593854">12.6. + <dt><span class="sect1"><a href="#id2593784">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -680,18 +680,18 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2594385">14.1. + <dt><span class="sect1"><a href="#id2594314">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2594432">14.2. + <dt><span class="sect1"><a href="#id2594361">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2594563">14.3. + <dt><span class="sect1"><a href="#id2594492">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2594582">14.4. + <dt><span class="sect1"><a href="#id2594512">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -703,27 +703,27 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2594808">A.1. + <dt><span class="sect1"><a href="#id2594806">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2594811">A.1.1. + <dt><span class="sect2"><a href="#id2594809">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2594887">A.1.2. + <dt><span class="sect2"><a href="#id2594817">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2594902">A.1.3. + <dt><span class="sect2"><a href="#id2594832">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2594909">A.1.4. + <dt><span class="sect2"><a href="#id2594839">A.1.4. Checking a package with <span><strong class= "command">pkglint</strong></span></a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2594950">A.2. Steps + <dt><span class="sect1"><a href="#id2594880">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </dd> @@ -749,10 +749,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2595665">D.1. + <dt><span class="sect1"><a href="#id2595799">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2595940">D.2. + <dt><span class="sect1"><a href="#id2595869">D.2. Procedure</a></span></dt> </dl> </dd> @@ -773,7 +773,7 @@ alink="#0000FF"> <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2514275">1.1. + <dt><span class="sect1"><a href="#id2514205">1.1. Introduction</a></span></dt> <dt><span class="sect1"><a href="#overview">1.2. @@ -792,8 +792,8 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2514275" id= - "id2514275"></a>1.1. Introduction</h2> + "id2514205" id= + "id2514205"></a>1.1. Introduction</h2> </div> </div> </div> @@ -1098,13 +1098,13 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2514853">2.1. As + <dt><span class="sect1"><a href="#id2514784">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2514870">2.2. Via + <dt><span class="sect1"><a href="#id2514800">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2514970">2.3. Via + <dt><span class="sect1"><a href="#id2514900">2.3. Via CVS</a></span></dt> </dl> </dd> @@ -1114,32 +1114,32 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2515148">3.1. + <dt><span class="sect1"><a href="#id2515010">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2515255">3.2. + <dt><span class="sect1"><a href="#id2515185">3.2. Platform specific notes</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2515261">3.2.1. Darwin (Mac OS + "#id2515191">3.2.1. Darwin (Mac OS X)</a></span></dt> <dt><span class="sect2"><a href= - "#id2515492">3.2.2. FreeBSD</a></span></dt> + "#id2515490">3.2.2. FreeBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2515662">3.2.3. Interix</a></span></dt> + "#id2515933">3.2.3. Interix</a></span></dt> <dt><span class="sect2"><a href= - "#id2515753">3.2.4. IRIX</a></span></dt> + "#id2516024">3.2.4. IRIX</a></span></dt> <dt><span class="sect2"><a href= - "#id2516280">3.2.5. OpenBSD</a></span></dt> + "#id2516210">3.2.5. OpenBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2516392">3.2.6. Solaris</a></span></dt> + "#id2516322">3.2.6. Solaris</a></span></dt> </dl> </dd> </dl> @@ -1157,37 +1157,37 @@ alink="#0000FF"> <dd> <dl> <dt><span class="sect2"><a href= - "#id2516529">4.1.1. Where to get binary + "#id2516458">4.1.1. Where to get binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2516569">4.1.2. How to use binary + "#id2516499">4.1.2. How to use binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2516704">4.1.3. A word of + "#id2516633">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2516715">4.2. + <dt><span class="sect1"><a href="#id2516645">4.2. Building packages from source</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2516725">4.2.1. Requirements</a></span></dt> + "#id2516654">4.2.1. Requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2516745">4.2.2. Fetching + "#id2516675">4.2.2. Fetching distfiles</a></span></dt> <dt><span class="sect2"><a href= - "#id2516866">4.2.3. How to build and + "#id2516795">4.2.3. How to build and install</a></span></dt> <dt><span class="sect2"><a href= - "#id2517182">4.2.4. Selecting the + "#id2517522">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -1199,10 +1199,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2517337">5.1. + <dt><span class="sect1"><a href="#id2582803">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2517825">5.2. + <dt><span class="sect1"><a href="#id2582881">5.2. Settings for creation of binary packages</a></span></dt> @@ -1216,37 +1216,37 @@ alink="#0000FF"> Configuration</a></span></dt> <dt><span class="sect2"><a href= - "#id2517964">5.3.2. Other environmental + "#id2583020">5.3.2. Other environmental considerations</a></span></dt> <dt><span class="sect2"><a href= - "#id2518005">5.3.3. Operation</a></span></dt> + "#id2583061">5.3.3. Operation</a></span></dt> <dt><span class="sect2"><a href= - "#id2583270">5.3.4. What it does</a></span></dt> + "#id2583200">5.3.4. What it does</a></span></dt> <dt><span class="sect2"><a href= - "#id2583326">5.3.5. Disk space + "#id2583256">5.3.5. Disk space requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2583421">5.3.6. Setting up a sandbox for + "#id2583351">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> <dt><span class="sect2"><a href= - "#id2583785">5.3.7. Building a partial set of + "#id2583715">5.3.7. Building a partial set of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2583828">5.4. + <dt><span class="sect1"><a href="#id2583757">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2583843">5.4.1. Example of + "#id2583772">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -1258,48 +1258,48 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2584170">6.1. Is + <dt><span class="sect1"><a href="#id2584100">6.1. Is there a mailing list for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2584200">6.2. + <dt><span class="sect1"><a href="#id2584130">6.2. Where's the pkgviews documentation?</a></span></dt> <dt><span class="sect1"><a href="#faq-pkgtools">6.3. Utilities for package management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2584453">6.4. How + <dt><span class="sect1"><a href="#id2584382">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2584465">6.5. How + <dt><span class="sect1"><a href="#id2584394">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584492">6.6. How + <dt><span class="sect1"><a href="#id2584422">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584520">6.7. How + <dt><span class="sect1"><a href="#id2584518">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2584534">6.8. How + <dt><span class="sect1"><a href="#id2584532">6.8. How do I tell <span><strong class="command">make fetch</strong></span> to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2584722">6.9. How + <dt><span class="sect1"><a href="#id2584651">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2584861">6.10. + <dt><span class="sect1"><a href="#id2584791">6.10. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584900">6.11. + <dt><span class="sect1"><a href="#id2584829">6.11. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584957">6.12. + <dt><span class="sect1"><a href="#id2584887">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -1329,13 +1329,13 @@ alink="#0000FF"> <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2514853">2.1. As + <dt><span class="sect1"><a href="#id2514784">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2514870">2.2. Via + <dt><span class="sect1"><a href="#id2514800">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2514970">2.3. Via + <dt><span class="sect1"><a href="#id2514900">2.3. Via CVS</a></span></dt> </dl> </div> @@ -1349,7 +1349,7 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2514853" id="id2514853"></a>2.1. As tar + "id2514784" id="id2514784"></a>2.1. As tar file</h2> </div> </div> @@ -1357,7 +1357,7 @@ alink="#0000FF"> <p>To get pkgsrc going, you need to get the pkgsrc.tar.gz file from <a href= - "ftp://ftp.NetBSD.org/pub/NetBSD-current/tar_files/pkgsrc.tar.gz" + "ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz" target="_top">ftp.NetBSD.org</a> and unpack it into <code class="filename">/usr/pkgsrc</code>.</p> </div> @@ -1367,7 +1367,7 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2514870" id="id2514870"></a>2.2. Via + "id2514800" id="id2514800"></a>2.2. Via SUP</h2> </div> </div> @@ -1393,7 +1393,7 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2514970" id="id2514970"></a>2.3. Via + "id2514900" id="id2514900"></a>2.3. Via CVS</h2> </div> </div> @@ -1450,30 +1450,30 @@ release=pkgsrc <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2515148">3.1. + <dt><span class="sect1"><a href="#id2515010">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2515255">3.2. + <dt><span class="sect1"><a href="#id2515185">3.2. Platform specific notes</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2515261">3.2.1. + <dt><span class="sect2"><a href="#id2515191">3.2.1. Darwin (Mac OS X)</a></span></dt> - <dt><span class="sect2"><a href="#id2515492">3.2.2. + <dt><span class="sect2"><a href="#id2515490">3.2.2. FreeBSD</a></span></dt> - <dt><span class="sect2"><a href="#id2515662">3.2.3. + <dt><span class="sect2"><a href="#id2515933">3.2.3. Interix</a></span></dt> - <dt><span class="sect2"><a href="#id2515753">3.2.4. + <dt><span class="sect2"><a href="#id2516024">3.2.4. IRIX</a></span></dt> - <dt><span class="sect2"><a href="#id2516280">3.2.5. + <dt><span class="sect2"><a href="#id2516210">3.2.5. OpenBSD</a></span></dt> - <dt><span class="sect2"><a href="#id2516392">3.2.6. + <dt><span class="sect2"><a href="#id2516322">3.2.6. Solaris</a></span></dt> </dl> </dd> @@ -1485,8 +1485,8 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2515148" id= - "id2515148"></a>3.1. Bootstrapping pkgsrc</h2> + "id2515010" id= + "id2515010"></a>3.1. Bootstrapping pkgsrc</h2> </div> </div> </div> @@ -1568,7 +1568,7 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2515255" id="id2515255"></a>3.2. Platform + "id2515185" id="id2515185"></a>3.2. Platform specific notes</h2> </div> </div> @@ -1581,8 +1581,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2515261" id= - "id2515261"></a>3.2.1. Darwin (Mac OS + <h3 class="title"><a name="id2515191" id= + "id2515191"></a>3.2.1. Darwin (Mac OS X)</h3> </div> </div> @@ -1714,8 +1714,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2515492" id= - "id2515492"></a>3.2.2. FreeBSD</h3> + <h3 class="title"><a name="id2515490" id= + "id2515490"></a>3.2.2. FreeBSD</h3> </div> </div> </div> @@ -1771,8 +1771,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2515662" id= - "id2515662"></a>3.2.3. Interix</h3> + <h3 class="title"><a name="id2515933" id= + "id2515933"></a>3.2.3. Interix</h3> </div> </div> </div> @@ -1942,8 +1942,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2515753" id= - "id2515753"></a>3.2.4. IRIX</h3> + <h3 class="title"><a name="id2516024" id= + "id2516024"></a>3.2.4. IRIX</h3> </div> </div> </div> @@ -1987,7 +1987,7 @@ release=pkgsrc options for programs such as imake(1), but you may want to set some options depending on your local setup. Please see <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code> and, of + "filename">pkgsrc/mk/defaults/mk.conf</code> and, of course, your compilers man pages for details.</p> </div> @@ -1995,8 +1995,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516280" id= - "id2516280"></a>3.2.5. OpenBSD</h3> + <h3 class="title"><a name="id2516210" id= + "id2516210"></a>3.2.5. OpenBSD</h3> </div> </div> </div> @@ -2048,7 +2048,7 @@ release=pkgsrc specific parts of the file with:</p> <pre class="programlisting"> .ifdef BSD_PKG_MK -# pkgsrc stuff, e.g. insert bsd.pkg.defaults.mk or similar here +# pkgsrc stuff, e.g. insert defaults/mk.conf or similar here .else # OpenBSD stuff .endif @@ -2062,8 +2062,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516392" id= - "id2516392"></a>3.2.6. Solaris</h3> + <h3 class="title"><a name="id2516322" id= + "id2516322"></a>3.2.6. Solaris</h3> </div> </div> </div> @@ -2107,8 +2107,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2516423" id= - "id2516423"></a>3.2.6.1. If you are using + <h4 class="title"><a name="id2516353" id= + "id2516353"></a>3.2.6.1. If you are using gcc</h4> </div> </div> @@ -2137,8 +2137,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2516444" id= - "id2516444"></a>3.2.6.2. If you are using + <h4 class="title"><a name="id2516374" id= + "id2516374"></a>3.2.6.2. If you are using Sun WorkShop</h4> </div> </div> @@ -2215,32 +2215,32 @@ CFLAGS= -xtarget=ultra -xarch=v9 <dd> <dl> - <dt><span class="sect2"><a href="#id2516529">4.1.1. + <dt><span class="sect2"><a href="#id2516458">4.1.1. Where to get binary packages</a></span></dt> - <dt><span class="sect2"><a href="#id2516569">4.1.2. + <dt><span class="sect2"><a href="#id2516499">4.1.2. How to use binary packages</a></span></dt> - <dt><span class="sect2"><a href="#id2516704">4.1.3. + <dt><span class="sect2"><a href="#id2516633">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2516715">4.2. + <dt><span class="sect1"><a href="#id2516645">4.2. Building packages from source</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2516725">4.2.1. + <dt><span class="sect2"><a href="#id2516654">4.2.1. Requirements</a></span></dt> - <dt><span class="sect2"><a href="#id2516745">4.2.2. + <dt><span class="sect2"><a href="#id2516675">4.2.2. Fetching distfiles</a></span></dt> - <dt><span class="sect2"><a href="#id2516866">4.2.3. + <dt><span class="sect2"><a href="#id2516795">4.2.3. How to build and install</a></span></dt> - <dt><span class="sect2"><a href="#id2517182">4.2.4. + <dt><span class="sect2"><a href="#id2517522">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -2267,8 +2267,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516529" id= - "id2516529"></a>4.1.1. Where to get binary + <h3 class="title"><a name="id2516458" id= + "id2516458"></a>4.1.1. Where to get binary packages</h3> </div> </div> @@ -2299,8 +2299,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516569" id= - "id2516569"></a>4.1.2. How to use binary + <h3 class="title"><a name="id2516499" id= + "id2516499"></a>4.1.2. How to use binary packages</h3> </div> </div> @@ -2344,8 +2344,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516704" id= - "id2516704"></a>4.1.3. A word of + <h3 class="title"><a name="id2516633" id= + "id2516633"></a>4.1.3. A word of warning</h3> </div> </div> @@ -2368,7 +2368,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2516715" id="id2516715"></a>4.2. Building + "id2516645" id="id2516645"></a>4.2. Building packages from source</h2> </div> </div> @@ -2383,8 +2383,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516725" id= - "id2516725"></a>4.2.1. Requirements</h3> + <h3 class="title"><a name="id2516654" id= + "id2516654"></a>4.2.1. Requirements</h3> </div> </div> </div> @@ -2403,8 +2403,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516745" id= - "id2516745"></a>4.2.2. Fetching + <h3 class="title"><a name="id2516675" id= + "id2516675"></a>4.2.2. Fetching distfiles</h3> </div> </div> @@ -2421,7 +2421,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <p>You can overwrite some of the major distribution sites to fit to sites that are close to your own. Have a look at <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code> to find + "filename">pkgsrc/mk/defaults/mk.conf</code> to find some examples - in particular, look for the <code class="varname">MASTER_SORT</code>, <code class= "varname">MASTER_SORT_REGEX</code> and <code class= @@ -2445,8 +2445,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2516866" id= - "id2516866"></a>4.2.3. How to build and + <h3 class="title"><a name="id2516795" id= + "id2516795"></a>4.2.3. How to build and install</h3> </div> </div> @@ -2510,8 +2510,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 "filename">/etc/mk.conf</code> to alter some configuration options at build time. Have a look at <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code> to get - an overview of what will be set there by default. + "filename">pkgsrc/mk/defaults/mk.conf</code> to get an + overview of what will be set there by default. Environment variables such as <code class= "varname">LOCALBASE</code> can be set in <code class= "filename">/etc/mk.conf</code> to save having to @@ -2580,7 +2580,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <span><strong class="command">make package</strong></span>. The list of remote FTP sites searched is kept in the variable <code class= - "varname">BINPKG_SITE</code>, which defaults to + "varname">BINPKG_SITES</code>, which defaults to ftp.NetBSD.org. Any flags that should be added to <a href= "http://netbsd.gw.com/cgi-bin/man-cgi?pkg_add+1+NetBSD-current"> @@ -2588,8 +2588,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 "refentrytitle">pkg_add</span>(1)</span></a> can be put into <code class="varname">BIN_INSTALL_FLAGS</code>. See <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code> for - more details.</p> + "filename">pkgsrc/mk/defaults/mk.conf</code> for more + details.</p> <p>A final word of warning: If you setup a system that has a non-standard setting for <code class= @@ -2610,8 +2610,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2517182" id= - "id2517182"></a>4.2.4. Selecting the + <h3 class="title"><a name="id2517522" id= + "id2517522"></a>4.2.4. Selecting the compiler</h3> </div> </div> @@ -2711,10 +2711,10 @@ CFLAGS= -xtarget=ultra -xarch=v9 <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2517337">5.1. + <dt><span class="sect1"><a href="#id2582803">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2517825">5.2. + <dt><span class="sect1"><a href="#id2582881">5.2. Settings for creation of binary packages</a></span></dt> @@ -2727,34 +2727,34 @@ CFLAGS= -xtarget=ultra -xarch=v9 "#binary.configuration">5.3.1. Configuration</a></span></dt> - <dt><span class="sect2"><a href="#id2517964">5.3.2. + <dt><span class="sect2"><a href="#id2583020">5.3.2. Other environmental considerations</a></span></dt> - <dt><span class="sect2"><a href="#id2518005">5.3.3. + <dt><span class="sect2"><a href="#id2583061">5.3.3. Operation</a></span></dt> - <dt><span class="sect2"><a href="#id2583270">5.3.4. + <dt><span class="sect2"><a href="#id2583200">5.3.4. What it does</a></span></dt> - <dt><span class="sect2"><a href="#id2583326">5.3.5. + <dt><span class="sect2"><a href="#id2583256">5.3.5. Disk space requirements</a></span></dt> - <dt><span class="sect2"><a href="#id2583421">5.3.6. + <dt><span class="sect2"><a href="#id2583351">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> - <dt><span class="sect2"><a href="#id2583785">5.3.7. + <dt><span class="sect2"><a href="#id2583715">5.3.7. Building a partial set of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2583828">5.4. + <dt><span class="sect1"><a href="#id2583757">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2583843">5.4.1. + <dt><span class="sect2"><a href="#id2583772">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -2766,7 +2766,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2517337" id="id2517337"></a>5.1. Building a + "id2582803" id="id2582803"></a>5.1. Building a single binary package</h2> </div> </div> @@ -2820,7 +2820,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2517825" id="id2517825"></a>5.2. Settings + "id2582881" id="id2582881"></a>5.2. Settings for creation of binary packages</h2> </div> </div> @@ -2879,7 +2879,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <p>You may want to set things in <code class= "filename">/etc/mk.conf</code>. Look at <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code> for + "filename">pkgsrc/mk/defaults/mk.conf</code> for details of the default settings. You will want to ensure that <code class= "varname">ACCEPTABLE_LICENSES</code> meet your local @@ -2902,8 +2902,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2517889" id= - "id2517889"></a>5.3.1.2. <code class= + <h4 class="title"><a name="id2582945" id= + "id2582945"></a>5.3.1.2. <code class= "filename">build.conf</code></h4> </div> </div> @@ -2928,8 +2928,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2517925" id= - "id2517925"></a>5.3.1.3. <code class= + <h4 class="title"><a name="id2582981" id= + "id2582981"></a>5.3.1.3. <code class= "filename">pre-build.local</code></h4> </div> </div> @@ -2960,8 +2960,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2517964" id= - "id2517964"></a>5.3.2. Other environmental + <h3 class="title"><a name="id2583020" id= + "id2583020"></a>5.3.2. Other environmental considerations</h3> </div> </div> @@ -3002,8 +3002,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2518005" id= - "id2518005"></a>5.3.3. Operation</h3> + <h3 class="title"><a name="id2583061" id= + "id2583061"></a>5.3.3. Operation</h3> </div> </div> </div> @@ -3049,8 +3049,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2583270" id= - "id2583270"></a>5.3.4. What it does</h3> + <h3 class="title"><a name="id2583200" id= + "id2583200"></a>5.3.4. What it does</h3> </div> </div> </div> @@ -3108,8 +3108,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2583326" id= - "id2583326"></a>5.3.5. Disk space + <h3 class="title"><a name="id2583256" id= + "id2583256"></a>5.3.5. Disk space requirements</h3> </div> </div> @@ -3151,8 +3151,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2583421" id= - "id2583421"></a>5.3.6. Setting up a sandbox + <h3 class="title"><a name="id2583351" id= + "id2583351"></a>5.3.6. Setting up a sandbox for chroot'ed builds</h3> </div> </div> @@ -3328,8 +3328,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2583785" id= - "id2583785"></a>5.3.7. Building a partial + <h3 class="title"><a name="id2583715" id= + "id2583715"></a>5.3.7. Building a partial set of packages</h3> </div> </div> @@ -3382,7 +3382,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2583828" id="id2583828"></a>5.4. Creating a + "id2583757" id="id2583757"></a>5.4. Creating a multiple CD-ROM packages collection</h2> </div> </div> @@ -3405,8 +3405,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2583843" id= - "id2583843"></a>5.4.1. Example of + <h3 class="title"><a name="id2583772" id= + "id2583772"></a>5.4.1. Example of cdpack</h3> </div> </div> @@ -3479,47 +3479,47 @@ fi <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2584170">6.1. Is + <dt><span class="sect1"><a href="#id2584100">6.1. Is there a mailing list for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2584200">6.2. + <dt><span class="sect1"><a href="#id2584130">6.2. Where's the pkgviews documentation?</a></span></dt> <dt><span class="sect1"><a href="#faq-pkgtools">6.3. Utilities for package management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2584453">6.4. How + <dt><span class="sect1"><a href="#id2584382">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2584465">6.5. How + <dt><span class="sect1"><a href="#id2584394">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584492">6.6. How + <dt><span class="sect1"><a href="#id2584422">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2584520">6.7. How + <dt><span class="sect1"><a href="#id2584518">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2584534">6.8. How + <dt><span class="sect1"><a href="#id2584532">6.8. How do I tell <span><strong class="command">make fetch</strong></span> to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2584722">6.9. How + <dt><span class="sect1"><a href="#id2584651">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2584861">6.10. What + <dt><span class="sect1"><a href="#id2584791">6.10. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584900">6.11. What + <dt><span class="sect1"><a href="#id2584829">6.11. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2584957">6.12. + <dt><span class="sect1"><a href="#id2584887">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -3541,7 +3541,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584170" id="id2584170"></a>6.1. Is there a + "id2584100" id="id2584100"></a>6.1. Is there a mailing list for pkg-related discussion?</h2> </div> </div> @@ -3566,7 +3566,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584200" id="id2584200"></a>6.2. Where's + "id2584130" id="id2584130"></a>6.2. Where's the pkgviews documentation?</h2> </div> </div> @@ -3821,7 +3821,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584453" id="id2584453"></a>6.4. How to use + "id2584382" id="id2584382"></a>6.4. How to use pkgsrc as non-root</h2> </div> </div> @@ -3839,7 +3839,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584465" id="id2584465"></a>6.5. How can I + "id2584394" id="id2584394"></a>6.5. How can I install/use XFree86 from pkgsrc?</h2> </div> </div> @@ -3862,7 +3862,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584492" id="id2584492"></a>6.6. How can I + "id2584422" id="id2584422"></a>6.6. How can I install/use X.org from pkgsrc?</h2> </div> </div> @@ -3885,7 +3885,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584520" id="id2584520"></a>6.7. How to + "id2584518" id="id2584518"></a>6.7. How to fetch files from behind a firewall</h2> </div> </div> @@ -3910,7 +3910,7 @@ http_proxy=http://orpheus.amdahl.com:80/ <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584534" id="id2584534"></a>6.8. How do I + "id2584532" id="id2584532"></a>6.8. How do I tell <span><strong class="command">make fetch</strong></span> to do passive FTP?</h2> </div> @@ -3944,7 +3944,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584722" id="id2584722"></a>6.9. How to + "id2584651" id="id2584651"></a>6.9. How to fetch all distfiles at once</h2> </div> </div> @@ -4013,7 +4013,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584861" id="id2584861"></a>6.10. What does + "id2584791" id="id2584791"></a>6.10. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</h2> </div> @@ -4045,7 +4045,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584900" id="id2584900"></a>6.11. What does + "id2584829" id="id2584829"></a>6.11. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</h2> </div> @@ -4074,7 +4074,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2584957" id="id2584957"></a>6.12. Using + "id2584887" id="id2584887"></a>6.12. Using 'sudo' with pkgsrc</h2> </div> </div> @@ -4297,7 +4297,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc audit-packages installation procedure:</p> <pre class="screen"> =========================================================================== -$NetBSD: pkgsrc.html,v 1.9 2004/12/02 22:23:46 dillo Exp $ +$NetBSD: faq.xml,v 1.2 2004/11/20 13:25:22 hubertf Exp $ You may wish to have the vulnerabilities file downloaded daily so that it remains current. This may be done by adding an appropriate entry @@ -4356,17 +4356,17 @@ fi <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2586071">7.4. + <dt><span class="sect1"><a href="#id2586001">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2586197">7.6. + <dt><span class="sect1"><a href="#id2586126">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586284">7.7. + <dt><span class="sect1"><a href="#id2586214">7.7. <code class="filename">files/*</code></a></span></dt> </dl> </dd> @@ -4376,10 +4376,10 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2586339">8.1. RCS + <dt><span class="sect1"><a href="#id2586268">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2586354">8.2. + <dt><span class="sect1"><a href="#id2586283">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -4390,14 +4390,14 @@ fi <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2586743">8.5. + <dt><span class="sect1"><a href="#id2586673">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2586785">8.6. + <dt><span class="sect1"><a href="#id2586714">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586802">8.7. + <dt><span class="sect1"><a href="#id2586731">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -4412,21 +4412,21 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2587074">9.1. + <dt><span class="sect1"><a href="#id2587003">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2587265">9.2. + <dt><span class="sect1"><a href="#id2587194">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2587470">9.2.1. Anatomy of a buildlink3.mk + "#id2587400">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2588048">9.2.2. Updating <code class= + "#id2587977">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in <code class="filename">buildlink3.mk</code> @@ -4434,18 +4434,18 @@ fi </dl> </dd> - <dt><span class="sect1"><a href="#id2588126">9.3. + <dt><span class="sect1"><a href="#id2588056">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2588208">9.3.1. Anatomy of a <code class= + "#id2588137">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> <dt><span class="sect2"><a href= - "#id2588366">9.3.2. Global preferences for native + "#id2588296">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -4457,10 +4457,10 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2588507">10.1. + <dt><span class="sect1"><a href="#id2588437">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2588522">10.2. + <dt><span class="sect1"><a href="#id2588452">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -4474,7 +4474,7 @@ fi <dt><span class="sect1"><a href="#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2589198">11.2. + <dt><span class="sect1"><a href="#id2589128">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -4488,17 +4488,17 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2590531">12.1. + <dt><span class="sect1"><a href="#id2590529">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2590534">12.1.1. How to pull in variables + "#id2590532">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2590685">12.1.2. Restricted + "#id2590615">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -4506,15 +4506,15 @@ fi dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2591201">12.1.4. Handling conflicts with + "#id2591198">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2591251">12.1.5. Packages that cannot or + "#id2591249">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2591413">12.1.6. Packages which should not be + "#id2591342">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -4522,37 +4522,37 @@ fi with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2591505">12.1.8. How to handle compiler + "#id2591434">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2591527">12.1.9. How to handle incrementing + "#id2591457">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2591644">12.1.10. Portability of + "#id2591574">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591669">12.2. + <dt><span class="sect1"><a href="#id2591598">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2591672">12.2.1. Packages whose distfiles + "#id2591602">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2591735">12.2.2. How to handle modified + "#id2591665">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591747">12.3. + <dt><span class="sect1"><a href="#id2591676">12.3. Configuration gotchas</a></span></dt> <dd> @@ -4562,65 +4562,65 @@ fi libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592086">12.3.2. Using libtool on GNU + "#id2592016">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592238">12.3.3. GNU + "#id2592168">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592283">12.4. + <dt><span class="sect1"><a href="#id2592213">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592286">12.4.1. CPP defines</a></span></dt> + "#id2592216">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592316">12.5. + <dt><span class="sect1"><a href="#id2592314">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592320">12.5.1. Package configuration + "#id2592317">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592490">12.5.2. User + "#id2592420">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2592535">12.5.3. Handling + "#id2592465">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2592686">12.5.4. Creating an account from a + "#id2592616">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2592748">12.5.5. Installing score + "#id2592678">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592929">12.5.6. Packages providing login + "#id2592858">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2593054">12.5.7. Packages containing perl + "#id2592984">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593073">12.5.8. Packages with hardcoded + "#id2593002">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2593094">12.5.9. Packages installing perl + "#id2593024">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -4628,36 +4628,36 @@ fi info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593450">12.5.11. Packages installing GConf2 + "#id2593380">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593550">12.5.12. Packages installing + "#id2593480">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593602">12.5.13. Packages installing X11 + "#id2593531">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593649">12.5.14. Packages installing GTK2 + "#id2593578">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2593718">12.5.15. Packages installing SGML or + "#id2593648">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2593770">12.5.16. Packages installing + "#id2593700">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2593841">12.5.17. Packages using + "#id2593770">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2593854">12.6. + <dt><span class="sect1"><a href="#id2593784">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -4670,17 +4670,17 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2594385">14.1. + <dt><span class="sect1"><a href="#id2594314">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2594432">14.2. + <dt><span class="sect1"><a href="#id2594361">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2594563">14.3. + <dt><span class="sect1"><a href="#id2594492">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2594582">14.4. + <dt><span class="sect1"><a href="#id2594512">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -4713,17 +4713,17 @@ fi <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2586071">7.4. Other + <dt><span class="sect1"><a href="#id2586001">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2586197">7.6. + <dt><span class="sect1"><a href="#id2586126">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586284">7.7. + <dt><span class="sect1"><a href="#id2586214">7.7. <code class="filename">files/*</code></a></span></dt> </dl> </div> @@ -5058,7 +5058,7 @@ converters games mbone print x11 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586071" id="id2586071"></a>7.4. Other + "id2586001" id="id2586001"></a>7.4. Other mandatory files</h2> </div> </div> @@ -5182,8 +5182,8 @@ MESSAGE_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586197" id= - "id2586197"></a>7.6. <code class= + "id2586126" id= + "id2586126"></a>7.6. <code class= "filename">work*</code></h2> </div> </div> @@ -5243,8 +5243,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586284" id= - "id2586284"></a>7.7. <code class= + "id2586214" id= + "id2586214"></a>7.7. <code class= "filename">files/*</code></h2> </div> </div> @@ -5276,10 +5276,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2586339">8.1. RCS + <dt><span class="sect1"><a href="#id2586268">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2586354">8.2. + <dt><span class="sect1"><a href="#id2586283">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -5290,14 +5290,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2586743">8.5. + <dt><span class="sect1"><a href="#id2586673">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2586785">8.6. + <dt><span class="sect1"><a href="#id2586714">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2586802">8.7. + <dt><span class="sect1"><a href="#id2586731">8.7. Platform specific and differing PLISTs</a></span></dt> <dt><span class="sect1"><a href="#faq.common-dirs">8.8. @@ -5323,7 +5323,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586339" id="id2586339"></a>8.1. RCS + "id2586268" id="id2586268"></a>8.1. RCS ID</h2> </div> </div> @@ -5332,7 +5332,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <p>Be sure to add a RCS ID line as the first thing in any <code class="filename">PLIST</code> file you write:</p> <pre class="programlisting"> -@comment $NetBSD: pkgsrc.html,v 1.9 2004/12/02 22:23:46 dillo Exp $ +@comment $NetBSD$ </pre> </div> @@ -5341,8 +5341,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586354" id= - "id2586354"></a>8.2. Semi-automatic + "id2586283" id= + "id2586283"></a>8.2. Semi-automatic <code class="filename">PLIST</code> generation</h2> </div> </div> @@ -5536,8 +5536,8 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586743" id= - "id2586743"></a>8.5. Manpage-compression</h2> + "id2586673" id= + "id2586673"></a>8.5. Manpage-compression</h2> </div> </div> </div> @@ -5561,7 +5561,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586785" id="id2586785"></a>8.6. Changing + "id2586714" id="id2586714"></a>8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></h2> </div> @@ -5581,7 +5581,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2586802" id="id2586802"></a>8.7. Platform + "id2586731" id="id2586731"></a>8.7. Platform specific and differing PLISTs</h2> </div> </div> @@ -5723,19 +5723,19 @@ PLIST_SUBST+= SOMEVAR="somevalue" <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2587074">9.1. + <dt><span class="sect1"><a href="#id2587003">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2587265">9.2. + <dt><span class="sect1"><a href="#id2587194">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2587470">9.2.1. + <dt><span class="sect2"><a href="#id2587400">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> - <dt><span class="sect2"><a href="#id2588048">9.2.2. + <dt><span class="sect2"><a href="#id2587977">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in @@ -5744,17 +5744,17 @@ PLIST_SUBST+= SOMEVAR="somevalue" </dl> </dd> - <dt><span class="sect1"><a href="#id2588126">9.3. + <dt><span class="sect1"><a href="#id2588056">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2588208">9.3.1. + <dt><span class="sect2"><a href="#id2588137">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> - <dt><span class="sect2"><a href="#id2588366">9.3.2. + <dt><span class="sect2"><a href="#id2588296">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> @@ -5805,7 +5805,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2587074" id="id2587074"></a>9.1. Converting + "id2587003" id="id2587003"></a>9.1. Converting packages to use buildlink3</h2> </div> </div> @@ -5956,7 +5956,7 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div> <div> <h2 class="title" style="clear: both"><a name= - "id2587265" id="id2587265"></a>9.2. Writing + "id2587194" id="id2587194"></a>9.2. Writing <code class="filename">buildlink3.mk</code> files</h2> </div> @@ -5996,8 +5996,8 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2587470" id= - "id2587470"></a>9.2.1. Anatomy of a buildlink3.mk + <h3 class="title"><a name="id2587400" id= + "id2587400"></a>9.2.1. Anatomy of a buildlink3.mk file</h3> </div> </div> @@ -6007,7 +6007,7 @@ DEPENDS+= foo>=1.1.0:../../category/foo "filename">buildlink3.mk</code> is taken from <code class="filename">pkgsrc/graphics/tiff</code>:</p> <pre class="programlisting"> -# $NetBSD: pkgsrc.html,v 1.9 2004/12/02 22:23:46 dillo Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2004/03/18 09:12:12 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ TIFF_BUILDLINK3_MK:= ${TIFF_BUILDLINK3_MK}+ @@ -6227,8 +6227,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2588048" id= - "id2588048"></a>9.2.2. Updating <code class= + <h3 class="title"><a name="id2587977" id= + "id2587977"></a>9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in <code class="filename">buildlink3.mk</code> @@ -6297,7 +6297,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2588126" id="id2588126"></a>9.3. Writing + "id2588056" id="id2588056"></a>9.3. Writing <code class="filename">builtin.mk</code> files</h2> </div> </div> @@ -6349,8 +6349,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2588208" id= - "id2588208"></a>9.3.1. Anatomy of a + <h3 class="title"><a name="id2588137" id= + "id2588137"></a>9.3.1. Anatomy of a <code class="filename">builtin.mk</code> file</h3> </div> @@ -6475,8 +6475,8 @@ CHECK_BUILTIN.foo?= no <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2588366" id= - "id2588366"></a>9.3.2. Global preferences + <h3 class="title"><a name="id2588296" id= + "id2588296"></a>9.3.2. Global preferences for native or pkgsrc software</h3> </div> </div> @@ -6534,10 +6534,10 @@ CHECK_BUILTIN.foo?= no <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2588507">10.1. + <dt><span class="sect1"><a href="#id2588437">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2588522">10.2. + <dt><span class="sect1"><a href="#id2588452">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -6557,7 +6557,7 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2588507" id="id2588507"></a>10.1. Global + "id2588437" id="id2588437"></a>10.1. Global default options</h2> </div> </div> @@ -6575,8 +6575,8 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2588522" id= - "id2588522"></a>10.2. Converting packages to + "id2588452" id= + "id2588452"></a>10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></h2> </div> @@ -6739,7 +6739,7 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl} <dt><span class="sect1"><a href="#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2589198">11.2. Main + <dt><span class="sect1"><a href="#id2589128">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -6936,7 +6936,7 @@ GTKDIR_DEFAULT= ${LOCALBASE} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2589198" id="id2589198"></a>11.2. Main + "id2589128" id="id2589128"></a>11.2. Main targets</h2> </div> </div> @@ -7132,9 +7132,9 @@ CONFIGURE_ARGS+= netbsd13 otherwise. <code class="varname">MAKEFILE</code> is set to “<span class= "quote">Makefile</span>” by default, and - <code class="varname">BUILD_TARGET</code> defaults to - “<span class="quote">all</span>”. Any - of these variables can be set in the package's + <code class="varname">BUILD_TARGET</code> defaults + to “<span class="quote">all</span>”. + Any of these variables can be set in the package's Makefile to change the default build process.</p> </dd> @@ -7702,17 +7702,17 @@ make build <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2590531">12.1. + <dt><span class="sect1"><a href="#id2590529">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2590534">12.1.1. How to pull in variables from + "#id2590532">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2590685">12.1.2. Restricted + "#id2590615">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -7720,15 +7720,15 @@ make build dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2591201">12.1.4. Handling conflicts with other + "#id2591198">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2591251">12.1.5. Packages that cannot or should + "#id2591249">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2591413">12.1.6. Packages which should not be + "#id2591342">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -7736,37 +7736,37 @@ make build security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2591505">12.1.8. How to handle compiler + "#id2591434">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2591527">12.1.9. How to handle incrementing + "#id2591457">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2591644">12.1.10. Portability of + "#id2591574">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591669">12.2. + <dt><span class="sect1"><a href="#id2591598">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2591672">12.2.1. Packages whose distfiles + "#id2591602">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2591735">12.2.2. How to handle modified + "#id2591665">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2591747">12.3. + <dt><span class="sect1"><a href="#id2591676">12.3. Configuration gotchas</a></span></dt> <dd> @@ -7776,64 +7776,64 @@ make build libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592086">12.3.2. Using libtool on GNU packages + "#id2592016">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2592238">12.3.3. GNU + "#id2592168">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592283">12.4. + <dt><span class="sect1"><a href="#id2592213">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592286">12.4.1. CPP defines</a></span></dt> + "#id2592216">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2592316">12.5. + <dt><span class="sect1"><a href="#id2592314">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2592320">12.5.1. Package configuration + "#id2592317">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592490">12.5.2. User + "#id2592420">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2592535">12.5.3. Handling + "#id2592465">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2592686">12.5.4. Creating an account from a + "#id2592616">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2592748">12.5.5. Installing score + "#id2592678">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2592929">12.5.6. Packages providing login + "#id2592858">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2593054">12.5.7. Packages containing perl + "#id2592984">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593073">12.5.8. Packages with hardcoded paths + "#id2593002">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2593094">12.5.9. Packages installing perl + "#id2593024">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -7841,36 +7841,36 @@ make build files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593450">12.5.11. Packages installing GConf2 + "#id2593380">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593550">12.5.12. Packages installing + "#id2593480">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2593602">12.5.13. Packages installing X11 + "#id2593531">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2593649">12.5.14. Packages installing GTK2 + "#id2593578">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2593718">12.5.15. Packages installing SGML or + "#id2593648">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2593770">12.5.16. Packages installing + "#id2593700">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2593841">12.5.17. Packages using + "#id2593770">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2593854">12.6. + <dt><span class="sect1"><a href="#id2593784">12.6. Feedback to the author</a></span></dt> </dl> </div> @@ -7880,7 +7880,7 @@ make build <div> <div> <h2 class="title" style="clear: both"><a name= - "id2590531" id="id2590531"></a>12.1. General + "id2590529" id="id2590529"></a>12.1. General operation</h2> </div> </div> @@ -7890,8 +7890,8 @@ make build <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2590534" id= - "id2590534"></a>12.1.1. How to pull in + <h3 class="title"><a name="id2590532" id= + "id2590532"></a>12.1.1. How to pull in variables from /etc/mk.conf</h3> </div> </div> @@ -7951,8 +7951,8 @@ CFLAGS+= -your -flags <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2590685" id= - "id2590685"></a>12.1.2. Restricted + <h3 class="title"><a name="id2590615" id= + "id2590615"></a>12.1.2. Restricted packages</h3> </div> </div> @@ -8255,8 +8255,8 @@ pre-clean: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591201" id= - "id2591201"></a>12.1.4. Handling conflicts + <h3 class="title"><a name="id2591198" id= + "id2591198"></a>12.1.4. Handling conflicts with other packages</h3> </div> </div> @@ -8303,8 +8303,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591251" id= - "id2591251"></a>12.1.5. Packages that cannot + <h3 class="title"><a name="id2591249" id= + "id2591249"></a>12.1.5. Packages that cannot or should not be built</h3> </div> </div> @@ -8335,8 +8335,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591413" id= - "id2591413"></a>12.1.6. Packages which + <h3 class="title"><a name="id2591342" id= + "id2591342"></a>12.1.6. Packages which should not be deleted, once installed</h3> </div> </div> @@ -8399,8 +8399,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591505" id= - "id2591505"></a>12.1.8. How to handle + <h3 class="title"><a name="id2591434" id= + "id2591434"></a>12.1.8. How to handle compiler bugs</h3> </div> </div> @@ -8425,8 +8425,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591527" id= - "id2591527"></a>12.1.9. How to handle + <h3 class="title"><a name="id2591457" id= + "id2591457"></a>12.1.9. How to handle incrementing versions when fixing an existing package</h3> </div> @@ -8466,8 +8466,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591644" id= - "id2591644"></a>12.1.10. Portability of + <h3 class="title"><a name="id2591574" id= + "id2591574"></a>12.1.10. Portability of packages</h3> </div> </div> @@ -8483,8 +8483,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2591650" id= - "id2591650"></a>12.1.10.1. ${INSTALL}, + <h4 class="title"><a name="id2591579" id= + "id2591579"></a>12.1.10.1. ${INSTALL}, ${INSTALL_DATA_DIR}, ...</h4> </div> </div> @@ -8509,7 +8509,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2591669" id="id2591669"></a>12.2. Possible + "id2591598" id="id2591598"></a>12.2. Possible downloading issues</h2> </div> </div> @@ -8519,8 +8519,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591672" id= - "id2591672"></a>12.2.1. Packages whose + <h3 class="title"><a name="id2591602" id= + "id2591602"></a>12.2.1. Packages whose distfiles aren't available for plain downloading</h3> </div> @@ -8581,8 +8581,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2591735" id= - "id2591735"></a>12.2.2. How to handle + <h3 class="title"><a name="id2591665" id= + "id2591665"></a>12.2.2. How to handle modified distfiles with the 'old' name</h3> </div> </div> @@ -8611,8 +8611,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2591747" id= - "id2591747"></a>12.3. Configuration + "id2591676" id= + "id2591676"></a>12.3. Configuration gotchas</h2> </div> </div> @@ -8840,8 +8840,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592086" id= - "id2592086"></a>12.3.2. Using libtool on GNU + <h3 class="title"><a name="id2592016" id= + "id2592016"></a>12.3.2. Using libtool on GNU packages that already support libtool</h3> </div> </div> @@ -8920,8 +8920,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592238" id= - "id2592238"></a>12.3.3. GNU + <h3 class="title"><a name="id2592168" id= + "id2592168"></a>12.3.3. GNU Autoconf/Automake</h3> </div> </div> @@ -8987,7 +8987,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2592283" id="id2592283"></a>12.4. Building + "id2592213" id="id2592213"></a>12.4. Building considerations</h2> </div> </div> @@ -8997,8 +8997,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592286" id= - "id2592286"></a>12.4.1. CPP defines</h3> + <h3 class="title"><a name="id2592216" id= + "id2592216"></a>12.4.1. CPP defines</h3> </div> </div> </div> @@ -9037,7 +9037,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2592316" id="id2592316"></a>12.5. Package + "id2592314" id="id2592314"></a>12.5. Package specific actions</h2> </div> </div> @@ -9047,8 +9047,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592320" id= - "id2592320"></a>12.5.1. Package + <h3 class="title"><a name="id2592317" id= + "id2592317"></a>12.5.1. Package configuration files</h3> </div> </div> @@ -9120,8 +9120,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592490" id= - "id2592490"></a>12.5.2. User + <h3 class="title"><a name="id2592420" id= + "id2592420"></a>12.5.2. User interaction</h3> </div> </div> @@ -9170,8 +9170,8 @@ INTERACTIVE_STAGE= configure install <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592535" id= - "id2592535"></a>12.5.3. Handling + <h3 class="title"><a name="id2592465" id= + "id2592465"></a>12.5.3. Handling licenses</h3> </div> </div> @@ -9230,7 +9230,7 @@ ACCEPTABLE_LICENSES+=graphviz-license well as by looking at the list of (commented out) <code class="varname">ACCEPTABLE_LICENSES</code> variable settings in <code class= - "filename">pkgsrc/mk/bsd.pkg.defaults.mk</code>.</p> + "filename">pkgsrc/mk/defaults/mk.conf</code>.</p> <p>Is there is a <span class= "emphasis"><em>really</em></span> pressing need to @@ -9245,8 +9245,8 @@ ACCEPTABLE_LICENSES+=graphviz-license <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592686" id= - "id2592686"></a>12.5.4. Creating an account + <h3 class="title"><a name="id2592616" id= + "id2592616"></a>12.5.4. Creating an account from a package</h3> </div> </div> @@ -9300,8 +9300,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592748" id= - "id2592748"></a>12.5.5. Installing score + <h3 class="title"><a name="id2592678" id= + "id2592678"></a>12.5.5. Installing score files</h3> </div> </div> @@ -9314,7 +9314,7 @@ user:group[:[userid][:[description][:[home][:shell]]]] and the score files owned by the appropriate group and/or owner (traditionally the "games" user/group). The following variables, documented in more detail in - <code class="filename">mk/bsd.pkg.defaults.mk</code>, + <code class="filename">mk/defaults/mk.conf</code>, control this behaviour: <code class= "varname">SETGIDGAME</code>, <code class= "varname">GAMEDATAMODE</code>, <code class= @@ -9338,8 +9338,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2592929" id= - "id2592929"></a>12.5.6. Packages providing + <h3 class="title"><a name="id2592858" id= + "id2592858"></a>12.5.6. Packages providing login shells</h3> </div> </div> @@ -9374,8 +9374,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593054" id= - "id2593054"></a>12.5.7. Packages containing + <h3 class="title"><a name="id2592984" id= + "id2592984"></a>12.5.7. Packages containing perl scripts</h3> </div> </div> @@ -9393,8 +9393,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593073" id= - "id2593073"></a>12.5.8. Packages with + <h3 class="title"><a name="id2593002" id= + "id2593002"></a>12.5.8. Packages with hardcoded paths to other interpreters</h3> </div> </div> @@ -9420,8 +9420,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593094" id= - "id2593094"></a>12.5.9. Packages installing + <h3 class="title"><a name="id2593024" id= + "id2593024"></a>12.5.9. Packages installing perl modules</h3> </div> </div> @@ -9560,8 +9560,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593450" id= - "id2593450"></a>12.5.11. Packages installing + <h3 class="title"><a name="id2593380" id= + "id2593380"></a>12.5.11. Packages installing GConf2 data files</h3> </div> </div> @@ -9635,8 +9635,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593550" id= - "id2593550"></a>12.5.12. Packages installing + <h3 class="title"><a name="id2593480" id= + "id2593480"></a>12.5.12. Packages installing scrollkeeper data files</h3> </div> </div> @@ -9680,8 +9680,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593602" id= - "id2593602"></a>12.5.13. Packages installing + <h3 class="title"><a name="id2593531" id= + "id2593531"></a>12.5.13. Packages installing X11 fonts</h3> </div> </div> @@ -9718,8 +9718,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593649" id= - "id2593649"></a>12.5.14. Packages installing + <h3 class="title"><a name="id2593578" id= + "id2593578"></a>12.5.14. Packages installing GTK2 modules</h3> </div> </div> @@ -9785,8 +9785,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593718" id= - "id2593718"></a>12.5.15. Packages installing + <h3 class="title"><a name="id2593648" id= + "id2593648"></a>12.5.15. Packages installing SGML or XML data</h3> </div> </div> @@ -9847,8 +9847,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593770" id= - "id2593770"></a>12.5.16. Packages installing + <h3 class="title"><a name="id2593700" id= + "id2593700"></a>12.5.16. Packages installing extensions to the MIME database</h3> </div> </div> @@ -9906,8 +9906,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2593841" id= - "id2593841"></a>12.5.17. Packages using + <h3 class="title"><a name="id2593770" id= + "id2593770"></a>12.5.17. Packages using intltool</h3> </div> </div> @@ -9932,7 +9932,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2593854" id="id2593854"></a>12.6. Feedback + "id2593784" id="id2593784"></a>12.6. Feedback to the author</h2> </div> </div> @@ -10168,17 +10168,17 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2594385">14.1. + <dt><span class="sect1"><a href="#id2594314">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2594432">14.2. + <dt><span class="sect1"><a href="#id2594361">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2594563">14.3. + <dt><span class="sect1"><a href="#id2594492">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2594582">14.4. + <dt><span class="sect1"><a href="#id2594512">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </div> @@ -10188,8 +10188,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594385" id= - "id2594385"></a>14.1. Submitting your + "id2594314" id= + "id2594314"></a>14.1. Submitting your packages</h2> </div> </div> @@ -10250,8 +10250,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594432" id= - "id2594432"></a>14.2. Committing: Importing a + "id2594361" id= + "id2594361"></a>14.2. Committing: Importing a package into CVS</h2> </div> </div> @@ -10307,7 +10307,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594563" id="id2594563"></a>14.3. Updating + "id2594492" id="id2594492"></a>14.3. Updating a package to a newer version</h2> </div> </div> @@ -10358,7 +10358,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594582" id="id2594582"></a>14.4. Moving a + "id2594512" id="id2594512"></a>14.4. Moving a package in pkgsrc</h2> </div> </div> @@ -10459,27 +10459,27 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2594808">A.1. + <dt><span class="sect1"><a href="#id2594806">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2594811">A.1.1. + <dt><span class="sect2"><a href="#id2594809">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2594887">A.1.2. + <dt><span class="sect2"><a href="#id2594817">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2594902">A.1.3. + <dt><span class="sect2"><a href="#id2594832">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2594909">A.1.4. + <dt><span class="sect2"><a href="#id2594839">A.1.4. Checking a package with <span><strong class= "command">pkglint</strong></span></a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2594950">A.2. Steps + <dt><span class="sect1"><a href="#id2594880">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </div> @@ -10497,7 +10497,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594808" id="id2594808"></a>A.1. files</h2> + "id2594806" id="id2594806"></a>A.1. files</h2> </div> </div> </div> @@ -10506,13 +10506,13 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2594811" id= - "id2594811"></a>A.1.1. Makefile</h3> + <h3 class="title"><a name="id2594809" id= + "id2594809"></a>A.1.1. Makefile</h3> </div> </div> </div> <pre class="programlisting"> -# $NetBSD: pkgsrc.html,v 1.9 2004/12/02 22:23:46 dillo Exp $ +# $NetBSD$ # DISTNAME= bison-1.25 @@ -10534,8 +10534,8 @@ INFO_FILES= bison.info <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2594887" id= - "id2594887"></a>A.1.2. DESCR</h3> + <h3 class="title"><a name="id2594817" id= + "id2594817"></a>A.1.2. DESCR</h3> </div> </div> </div> @@ -10551,21 +10551,15 @@ of the NetBSD source tree is beyond me. <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2594902" id= - "id2594902"></a>A.1.3. PLIST</h3> + <h3 class="title"><a name="id2594832" id= + "id2594832"></a>A.1.3. PLIST</h3> </div> </div> </div> <pre class="programlisting"> -@comment $NetBSD: pkgsrc.html,v 1.9 2004/12/02 22:23:46 dillo Exp $ +@comment $NetBSD$ bin/bison man/man1/bison.1.gz -info/bison.info -info/bison.info-1 -info/bison.info-2 -info/bison.info-3 -info/bison.info-4 -info/bison.info-5 share/bison.simple share/bison.hairy </pre> @@ -10575,8 +10569,8 @@ share/bison.hairy <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2594909" id= - "id2594909"></a>A.1.4. Checking a package with + <h3 class="title"><a name="id2594839" id= + "id2594839"></a>A.1.4. Checking a package with <span><strong class= "command">pkglint</strong></span></h3> </div> @@ -10614,7 +10608,7 @@ looks fine. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2594950" id="id2594950"></a>A.2. Steps for + "id2594880" id="id2594880"></a>A.2. Steps for building, installing, packaging</h2> </div> </div> @@ -11032,10 +11026,10 @@ Registering depends:. <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2595665">D.1. + <dt><span class="sect1"><a href="#id2595799">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2595940">D.2. + <dt><span class="sect1"><a href="#id2595869">D.2. Procedure</a></span></dt> </dl> </div> @@ -11048,7 +11042,7 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2595665" id="id2595665"></a>D.1. Targets</h2> + "id2595799" id="id2595799"></a>D.1. Targets</h2> </div> </div> </div> @@ -11101,8 +11095,8 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2595940" id= - "id2595940"></a>D.2. Procedure</h2> + "id2595869" id= + "id2595869"></a>D.2. Procedure</h2> </div> </div> </div> @@ -11115,10 +11109,10 @@ Registering depends:. <p>Make sure you have the packages needed to re-generate the pkgsrc guide (and other XML-based NetBSD documentation) installed. These are - “<span class="quote">pkgsrc-doc</span>” + “<span class="quote">netbsd-doc</span>” for creating the ASCII- and HTML-version, and “<span class= - "quote">pkgsrc-doc-print</span>”for the + "quote">netbsd-doc-print</span>”for the PostScript- and PDF version. You will need both packages installed, to make sure documentation is consistent across all formats. The packages can be diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index 3fd386d5e8b..acdd7a024c7 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -14,7 +14,7 @@ The pkgsrc Developers Copyright (C) 1994-2004 The NetBSD Foundation, Inc -$NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +$NetBSD: pkgsrc.xml,v 1.3 2004/10/22 00:24:48 hubertf Exp $ Abstract @@ -739,8 +739,8 @@ filesystem. The bootstrapping process should set all the right options for programs such as imake(1), but you may want to set some options depending on your local setup. -Please see pkgsrc/mk/bsd.pkg.defaults.mk and, of course, your compilers man -pages for details. +Please see pkgsrc/mk/defaults/mk.conf and, of course, your compilers man pages +for details. 3.2.5. OpenBSD @@ -768,7 +768,7 @@ with the OpenBSD userland tools. There are several steps: parts of the file with: .ifdef BSD_PKG_MK - # pkgsrc stuff, e.g. insert bsd.pkg.defaults.mk or similar here + # pkgsrc stuff, e.g. insert defaults/mk.conf or similar here .else # OpenBSD stuff .endif @@ -913,7 +913,7 @@ packages system to be able to build it. If it does not exist, pkgsrc will use ftp(1) to fetch it automatically. You can overwrite some of the major distribution sites to fit to sites that are -close to your own. Have a look at pkgsrc/mk/bsd.pkg.defaults.mk to find some +close to your own. Have a look at pkgsrc/mk/defaults/mk.conf to find some examples - in particular, look for the MASTER_SORT, MASTER_SORT_REGEX and INET_COUNTRY definitions. This may save some of your bandwidth and time. @@ -957,10 +957,10 @@ between programs and other files installed by the package system and whatever else may have been installed there. Some packages look in /etc/mk.conf to alter some configuration options at build -time. Have a look at pkgsrc/mk/bsd.pkg.defaults.mk to get an overview of what -will be set there by default. Environment variables such as LOCALBASE can be -set in /etc/mk.conf to save having to remember to set them each time you want -to use pkgsrc. +time. Have a look at pkgsrc/mk/defaults/mk.conf to get an overview of what will +be set there by default. Environment variables such as LOCALBASE can be set in +/etc/mk.conf to save having to remember to set them each time you want to use +pkgsrc. Occasionally, people want to "look under the covers" to see what is going on when a package is building or being installed. This may be for debugging @@ -990,9 +990,9 @@ If you want to install a binary package that you've either created yourself located on a remote FTP server, you can use the "bin-install" target. This target will install a binary package - if available - via pkg_add(1), else do a make package. The list of remote FTP sites searched is kept in the variable -BINPKG_SITE, which defaults to ftp.NetBSD.org. Any flags that should be added -to pkg_add(1) can be put into BIN_INSTALL_FLAGS. See pkgsrc/mk/ -bsd.pkg.defaults.mk for more details. +BINPKG_SITES, which defaults to ftp.NetBSD.org. Any flags that should be added +to pkg_add(1) can be put into BIN_INSTALL_FLAGS. See pkgsrc/mk/defaults/mk.conf +for more details. A final word of warning: If you setup a system that has a non-standard setting for LOCALBASE, be sure to set that before any packages are installed, as you @@ -1095,10 +1095,10 @@ storage, as this slows things down a lot. 5.3.1.1. /etc/mk.conf -You may want to set things in /etc/mk.conf. Look at pkgsrc/mk/ -bsd.pkg.defaults.mk for details of the default settings. You will want to -ensure that ACCEPTABLE_LICENSES meet your local policy. As used in this -example, _ACCEPTABLE=yes accepts all licenses. +You may want to set things in /etc/mk.conf. Look at pkgsrc/mk/defaults/mk.conf +for details of the default settings. You will want to ensure that +ACCEPTABLE_LICENSES meet your local policy. As used in this example, +_ACCEPTABLE=yes accepts all licenses. PACKAGES?= ${_PKGSRCDIR}/packages/${MACHINE_ARCH} WRKOBJDIR?= /usr/tmp/pkgsrc # build here instead of in pkgsrc @@ -1663,7 +1663,7 @@ The following message is displayed as part of the audit-packages installation procedure: =========================================================================== -$NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +$NetBSD: faq.xml,v 1.2 2004/11/20 13:25:22 hubertf Exp $ You may wish to have the vulnerabilities file downloaded daily so that it remains current. This may be done by adding an appropriate entry @@ -2079,7 +2079,7 @@ the PLIST file (or files, see below!). Be sure to add a RCS ID line as the first thing in any PLIST file you write: -@comment $NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +@comment $NetBSD$ 8.2. Semi-automatic PLIST generation @@ -2354,7 +2354,7 @@ following command will generate a good starting point for buildlink3.mk files: The following real-life example buildlink3.mk is taken from pkgsrc/graphics/ tiff: -# $NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2004/03/18 09:12:12 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ TIFF_BUILDLINK3_MK:= ${TIFF_BUILDLINK3_MK}+ @@ -3789,7 +3789,7 @@ ACCEPTABLE_LICENSES+=graphviz-license When adding a package with a new license, the license text should be added to pkgsrc/licenses for displaying. A list of known licenses can be seen in this directory as well as by looking at the list of (commented out) -ACCEPTABLE_LICENSES variable settings in pkgsrc/mk/bsd.pkg.defaults.mk. +ACCEPTABLE_LICENSES variable settings in pkgsrc/mk/defaults/mk.conf. Is there is a really pressing need to accept all licenses at once, like when trying to download or mirror all distfiles or doing a bulk build to test if all @@ -3831,8 +3831,8 @@ Certain packages, most of them in the games category, install a score file that allows all users on the system to record their highscores. In order for this to work, the binaries need to be installed setgid and the score files owned by the appropriate group and/or owner (traditionally the "games" user/group). The -following variables, documented in more detail in mk/bsd.pkg.defaults.mk, -control this behaviour: SETGIDGAME, GAMEDATAMODE, GAMEGRP, GAMEMODE, GAMEOWN. +following variables, documented in more detail in mk/defaults/mk.conf, control +this behaviour: SETGIDGAME, GAMEDATAMODE, GAMEGRP, GAMEMODE, GAMEOWN. Note that per default, setgid installation of games is disabled; setting SETGIDGAME=YES will set all the other variables accordingly. @@ -4316,7 +4316,7 @@ A.1. files A.1.1. Makefile -# $NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +# $NetBSD$ # DISTNAME= bison-1.25 @@ -4340,15 +4340,9 @@ of the NetBSD source tree is beyond me. A.1.3. PLIST -@comment $NetBSD: pkgsrc.txt,v 1.9 2004/12/02 22:23:47 dillo Exp $ +@comment $NetBSD$ bin/bison man/man1/bison.1.gz -info/bison.info -info/bison.info-1 -info/bison.info-2 -info/bison.info-3 -info/bison.info-4 -info/bison.info-5 share/bison.simple share/bison.hairy @@ -4704,8 +4698,8 @@ D.2. Procedure The procedure to edit the pkgsrc guide is: * Make sure you have the packages needed to re-generate the pkgsrc guide (and - other XML-based NetBSD documentation) installed. These are "pkgsrc-doc" for - creating the ASCII- and HTML-version, and "pkgsrc-doc-print"for the + other XML-based NetBSD documentation) installed. These are "netbsd-doc" for + creating the ASCII- and HTML-version, and "netbsd-doc-print"for the PostScript- and PDF version. You will need both packages installed, to make sure documentation is consistent across all formats. The packages can be found in pkgsrc/meta-pkgs/netbsd-doc and pkgsrc/meta-pkgs/netbsd-doc-print. |