diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-08 13:57:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-08 13:57:08 +0000 |
commit | 2914985d6f448c681e03890a5480a60f258e1a9e (patch) | |
tree | c0084f8603eddd8f6712e46093a44ab61b72e7c6 /doc/pkgsrc.html | |
parent | 64448e2d6d0a2292ed7ea4f77feb7ea9a319ea4a (diff) | |
download | pkgsrc-2914985d6f448c681e03890a5480a60f258e1a9e.tar.gz |
regen
XXX: we need to add many more "id"s, most of the diff is automatically
generated id numbers that differ from one build to the next.
Diffstat (limited to 'doc/pkgsrc.html')
-rw-r--r-- | doc/pkgsrc.html | 1197 |
1 files changed, 632 insertions, 565 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index e2dfd84586e..850945adf06 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="id2510578" id= - "id2510578"></a>The pkgsrc guide</h1> + <h1 class="title"><a name="id2510574" id= + "id2510574"></a>The pkgsrc guide</h1> </div> <div> @@ -93,7 +93,7 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2623536">1.1. + <dt><span class="sect1"><a href="#id2623537">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="#id2569303">2.1. + <dt><span class="sect1"><a href="#id2569236">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2569319">2.2. + <dt><span class="sect1"><a href="#id2569252">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2569351">2.3. + <dt><span class="sect1"><a href="#id2569420">2.3. Via CVS</a></span></dt> </dl> </dd> @@ -133,35 +133,35 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2569529">3.1. + <dt><span class="sect1"><a href="#id2569530">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2569710">3.2. + <dt><span class="sect1"><a href="#id2569712">3.2. Platform specific notes</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2569717">3.2.1. Darwin (Mac OS + "#id2569718">3.2.1. Darwin (Mac OS X)</a></span></dt> <dt><span class="sect2"><a href= - "#id2569879">3.2.2. FreeBSD</a></span></dt> + "#id2569880">3.2.2. FreeBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2570459">3.2.3. Interix</a></span></dt> + "#id2570324">3.2.3. Interix</a></span></dt> <dt><span class="sect2"><a href= - "#id2570693">3.2.4. IRIX</a></span></dt> + "#id2570557">3.2.4. IRIX</a></span></dt> <dt><span class="sect2"><a href= - "#id2570777">3.2.5. Linux</a></span></dt> + "#id2570654">3.2.5. Linux</a></span></dt> <dt><span class="sect2"><a href= - "#id2570838">3.2.6. OpenBSD</a></span></dt> + "#id2570723">3.2.6. OpenBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2570950">3.2.7. Solaris</a></span></dt> + "#id2570835">3.2.7. Solaris</a></span></dt> </dl> </dd> </dl> @@ -179,38 +179,38 @@ alink="#0000FF"> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571155">4.1.1. Where to get binary + "#id2571040">4.1.1. Where to get binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571264">4.1.2. How to use binary + "#id2571080">4.1.2. How to use binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571371">4.1.3. A word of + "#id2571256">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571383">4.2. + <dt><span class="sect1"><a href="#id2571336">4.2. Building packages from source</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571393">4.2.1. + "#id2571346">4.2.1. Requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2571822">4.2.2. Fetching + "#id2571366">4.2.2. Fetching distfiles</a></span></dt> <dt><span class="sect2"><a href= - "#id2571875">4.2.3. How to build and + "#id2571418">4.2.3. How to build and install</a></span></dt> <dt><span class="sect2"><a href= - "#id2623810">4.2.4. Selecting the + "#id2623831">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -222,10 +222,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2623896">5.1. + <dt><span class="sect1"><a href="#id2623917">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2623974">5.2. + <dt><span class="sect1"><a href="#id2623995">5.2. Settings for creation of binary packages</a></span></dt> @@ -239,26 +239,26 @@ alink="#0000FF"> Configuration</a></span></dt> <dt><span class="sect2"><a href= - "#id2624115">5.3.2. Other environmental + "#id2624142">5.3.2. Other environmental considerations</a></span></dt> <dt><span class="sect2"><a href= - "#id2624155">5.3.3. Operation</a></span></dt> + "#id2624183">5.3.3. Operation</a></span></dt> <dt><span class="sect2"><a href= - "#id2624225">5.3.4. What it + "#id2624252">5.3.4. What it does</a></span></dt> <dt><span class="sect2"><a href= - "#id2624281">5.3.5. Disk space + "#id2624309">5.3.5. Disk space requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2624308">5.3.6. Setting up a sandbox for + "#id2624336">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> <dt><span class="sect2"><a href= - "#id2624905">5.3.7. Building a partial set of + "#id2624865">5.3.7. Building a partial set of packages</a></span></dt> <dt><span class="sect2"><a href= @@ -267,14 +267,14 @@ alink="#0000FF"> </dl> </dd> - <dt><span class="sect1"><a href="#id2625274">5.4. + <dt><span class="sect1"><a href="#id2625321">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2625289">5.4.1. Example of + "#id2625336">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -286,54 +286,54 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2625481">6.1. + <dt><span class="sect1"><a href="#id2625528">6.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2625616">6.2. + <dt><span class="sect1"><a href="#id2625662">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="#id2625937">6.4. + <dt><span class="sect1"><a href="#id2625984">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2625948">6.5. + <dt><span class="sect1"><a href="#id2625995">6.5. How to resume transfers when fetching distfiles?</a></span></dt> - <dt><span class="sect1"><a href="#id2625991">6.6. + <dt><span class="sect1"><a href="#id2626045">6.6. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626019">6.7. + <dt><span class="sect1"><a href="#id2626073">6.7. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626046">6.8. + <dt><span class="sect1"><a href="#id2626101">6.8. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2626060">6.9. + <dt><span class="sect1"><a href="#id2626115">6.9. 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="#id2626112">6.10. + <dt><span class="sect1"><a href="#id2626166">6.10. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2626251">6.11. + <dt><span class="sect1"><a href="#id2626313">6.11. 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="#id2626290">6.12. + <dt><span class="sect1"><a href="#id2626352">6.12. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2626347">6.13. + <dt><span class="sect1"><a href="#id2626409">6.13. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.14. @@ -371,7 +371,7 @@ alink="#0000FF"> "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2627420">7.4. + <dt><span class="sect1"><a href="#id2627489">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= @@ -381,7 +381,7 @@ alink="#0000FF"> <dt><span class="sect1"><a href="#id2627614">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2627702">7.7. + <dt><span class="sect1"><a href="#id2627770">7.7. <code class= "filename">files/*</code></a></span></dt> </dl> @@ -392,10 +392,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2627825">8.1. + <dt><span class="sect1"><a href="#id2627961">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2627840">8.2. + <dt><span class="sect1"><a href="#id2627976">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -407,14 +407,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="#id2628229">8.5. + <dt><span class="sect1"><a href="#id2628297">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2628270">8.6. + <dt><span class="sect1"><a href="#id2628339">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2628288">8.7. + <dt><span class="sect1"><a href="#id2628363">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -429,22 +429,22 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2628486">9.1. + <dt><span class="sect1"><a href="#id2628562">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2628872">9.2. + <dt><span class="sect1"><a href="#id2628948">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2628941">9.2.1. Anatomy of a buildlink3.mk + "#id2629017">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2629382">9.2.2. Updating <code class= + "#id2629458">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in <code class="filename">buildlink3.mk</code> @@ -452,19 +452,19 @@ alink="#0000FF"> </dl> </dd> - <dt><span class="sect1"><a href="#id2629461">9.3. + <dt><span class="sect1"><a href="#id2629537">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2629542">9.3.1. Anatomy of a <code class= + "#id2629618">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> <dt><span class="sect2"><a href= - "#id2629837">9.3.2. Global preferences for + "#id2629913">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -476,10 +476,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2629910">10.1. + <dt><span class="sect1"><a href="#id2629986">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2629925">10.2. + <dt><span class="sect1"><a href="#id2630001">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -494,7 +494,7 @@ alink="#0000FF"> "#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2630533">11.2. + <dt><span class="sect1"><a href="#id2630624">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -508,17 +508,17 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2632070">12.1. + <dt><span class="sect1"><a href="#id2632120">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2632073">12.1.1. How to pull in variables + "#id2632123">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2632156">12.1.2. Restricted + "#id2632275">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -526,15 +526,15 @@ alink="#0000FF"> dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2632672">12.1.4. Handling conflicts with + "#id2632728">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2632790">12.1.5. Packages that cannot or + "#id2632846">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2632816">12.1.6. Packages which should not + "#id2632872">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -542,37 +542,37 @@ alink="#0000FF"> with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2632907">12.1.8. How to handle compiler + "#id2632964">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2632930">12.1.9. How to handle incrementing + "#id2633054">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2632979">12.1.10. Portability of + "#id2633104">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633003">12.2. + <dt><span class="sect1"><a href="#id2633128">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633006">12.2.1. Packages whose distfiles + "#id2633131">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2633069">12.2.2. How to handle modified + "#id2633194">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633081">12.3. + <dt><span class="sect1"><a href="#id2633206">12.3. Configuration gotchas</a></span></dt> <dd> @@ -582,66 +582,66 @@ alink="#0000FF"> libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633438">12.3.2. Using libtool on GNU + "#id2633640">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633588">12.3.3. GNU + "#id2633721">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633701">12.4. + <dt><span class="sect1"><a href="#id2633834">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633704">12.4.1. CPP + "#id2633837">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633802">12.5. + <dt><span class="sect1"><a href="#id2633867">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633805">12.5.1. Package configuration + "#id2633870">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2633908">12.5.2. User + "#id2633973">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2633953">12.5.3. Handling + "#id2634018">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2634036">12.5.4. Creating an account from a + "#id2634169">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2634166">12.5.5. Installing score + "#id2634231">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634210">12.5.6. Packages providing login + "#id2634411">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2634267">12.5.7. Packages containing perl + "#id2634469">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634422">12.5.8. Packages with hardcoded + "#id2634555">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2634443">12.5.9. Packages installing perl + "#id2634577">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -649,40 +649,40 @@ alink="#0000FF"> info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634663">12.5.11. Packages installing + "#id2634865">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634763">12.5.12. Packages installing + "#id2634965">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634814">12.5.13. Packages installing X11 + "#id2635016">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634861">12.5.14. Packages installing GTK2 + "#id2635063">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2634931">12.5.15. Packages installing SGML + "#id2635201">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2635051">12.5.16. Packages installing + "#id2635253">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2635190">12.5.17. Packages using + "#id2635323">12.5.17. Packages using intltool</a></span></dt> <dt><span class="sect2"><a href= - "#id2635204">12.5.18. Packages installing + "#id2635337">12.5.18. Packages installing startup scripts</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2635225">12.6. + <dt><span class="sect1"><a href="#id2635358">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -695,18 +695,18 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2635824">14.1. + <dt><span class="sect1"><a href="#id2635957">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2635875">14.2. + <dt><span class="sect1"><a href="#id2636014">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2635938">14.3. + <dt><span class="sect1"><a href="#id2636077">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2635957">14.4. + <dt><span class="sect1"><a href="#id2636097">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -718,27 +718,27 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2636183">A.1. + <dt><span class="sect1"><a href="#id2636323">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2636186">A.1.1. + <dt><span class="sect2"><a href="#id2636326">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2636194">A.1.2. + <dt><span class="sect2"><a href="#id2636333">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2636209">A.1.3. + <dt><span class="sect2"><a href="#id2636348">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2636216">A.1.4. + <dt><span class="sect2"><a href="#id2636356">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="#id2636257">A.2. Steps + <dt><span class="sect1"><a href="#id2636465">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </dd> @@ -764,10 +764,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2637176">D.1. + <dt><span class="sect1"><a href="#id2637111">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2637378">D.2. + <dt><span class="sect1"><a href="#id2637517">D.2. Procedure</a></span></dt> </dl> </dd> @@ -788,7 +788,7 @@ alink="#0000FF"> <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2623536">1.1. + <dt><span class="sect1"><a href="#id2623537">1.1. Introduction</a></span></dt> <dt><span class="sect1"><a href="#overview">1.2. @@ -807,8 +807,8 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2623536" id= - "id2623536"></a>1.1. Introduction</h2> + "id2623537" id= + "id2623537"></a>1.1. Introduction</h2> </div> </div> </div> @@ -1118,13 +1118,13 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2569303">2.1. As + <dt><span class="sect1"><a href="#id2569236">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2569319">2.2. Via + <dt><span class="sect1"><a href="#id2569252">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2569351">2.3. Via + <dt><span class="sect1"><a href="#id2569420">2.3. Via CVS</a></span></dt> </dl> </dd> @@ -1134,35 +1134,35 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2569529">3.1. + <dt><span class="sect1"><a href="#id2569530">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2569710">3.2. + <dt><span class="sect1"><a href="#id2569712">3.2. Platform specific notes</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2569717">3.2.1. Darwin (Mac OS + "#id2569718">3.2.1. Darwin (Mac OS X)</a></span></dt> <dt><span class="sect2"><a href= - "#id2569879">3.2.2. FreeBSD</a></span></dt> + "#id2569880">3.2.2. FreeBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2570459">3.2.3. Interix</a></span></dt> + "#id2570324">3.2.3. Interix</a></span></dt> <dt><span class="sect2"><a href= - "#id2570693">3.2.4. IRIX</a></span></dt> + "#id2570557">3.2.4. IRIX</a></span></dt> <dt><span class="sect2"><a href= - "#id2570777">3.2.5. Linux</a></span></dt> + "#id2570654">3.2.5. Linux</a></span></dt> <dt><span class="sect2"><a href= - "#id2570838">3.2.6. OpenBSD</a></span></dt> + "#id2570723">3.2.6. OpenBSD</a></span></dt> <dt><span class="sect2"><a href= - "#id2570950">3.2.7. Solaris</a></span></dt> + "#id2570835">3.2.7. Solaris</a></span></dt> </dl> </dd> </dl> @@ -1180,37 +1180,37 @@ alink="#0000FF"> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571155">4.1.1. Where to get binary + "#id2571040">4.1.1. Where to get binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571264">4.1.2. How to use binary + "#id2571080">4.1.2. How to use binary packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571371">4.1.3. A word of + "#id2571256">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571383">4.2. + <dt><span class="sect1"><a href="#id2571336">4.2. Building packages from source</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571393">4.2.1. Requirements</a></span></dt> + "#id2571346">4.2.1. Requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2571822">4.2.2. Fetching + "#id2571366">4.2.2. Fetching distfiles</a></span></dt> <dt><span class="sect2"><a href= - "#id2571875">4.2.3. How to build and + "#id2571418">4.2.3. How to build and install</a></span></dt> <dt><span class="sect2"><a href= - "#id2623810">4.2.4. Selecting the + "#id2623831">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -1222,10 +1222,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2623896">5.1. + <dt><span class="sect1"><a href="#id2623917">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2623974">5.2. + <dt><span class="sect1"><a href="#id2623995">5.2. Settings for creation of binary packages</a></span></dt> @@ -1239,25 +1239,25 @@ alink="#0000FF"> Configuration</a></span></dt> <dt><span class="sect2"><a href= - "#id2624115">5.3.2. Other environmental + "#id2624142">5.3.2. Other environmental considerations</a></span></dt> <dt><span class="sect2"><a href= - "#id2624155">5.3.3. Operation</a></span></dt> + "#id2624183">5.3.3. Operation</a></span></dt> <dt><span class="sect2"><a href= - "#id2624225">5.3.4. What it does</a></span></dt> + "#id2624252">5.3.4. What it does</a></span></dt> <dt><span class="sect2"><a href= - "#id2624281">5.3.5. Disk space + "#id2624309">5.3.5. Disk space requirements</a></span></dt> <dt><span class="sect2"><a href= - "#id2624308">5.3.6. Setting up a sandbox for + "#id2624336">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> <dt><span class="sect2"><a href= - "#id2624905">5.3.7. Building a partial set of + "#id2624865">5.3.7. Building a partial set of packages</a></span></dt> <dt><span class="sect2"><a href= @@ -1266,14 +1266,14 @@ alink="#0000FF"> </dl> </dd> - <dt><span class="sect1"><a href="#id2625274">5.4. + <dt><span class="sect1"><a href="#id2625321">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2625289">5.4.1. Example of + "#id2625336">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -1285,52 +1285,52 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2625481">6.1. Are + <dt><span class="sect1"><a href="#id2625528">6.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2625616">6.2. + <dt><span class="sect1"><a href="#id2625662">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="#id2625937">6.4. How + <dt><span class="sect1"><a href="#id2625984">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2625948">6.5. How + <dt><span class="sect1"><a href="#id2625995">6.5. How to resume transfers when fetching distfiles?</a></span></dt> - <dt><span class="sect1"><a href="#id2625991">6.6. How + <dt><span class="sect1"><a href="#id2626045">6.6. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626019">6.7. How + <dt><span class="sect1"><a href="#id2626073">6.7. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626046">6.8. How + <dt><span class="sect1"><a href="#id2626101">6.8. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2626060">6.9. How + <dt><span class="sect1"><a href="#id2626115">6.9. 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="#id2626112">6.10. + <dt><span class="sect1"><a href="#id2626166">6.10. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2626251">6.11. + <dt><span class="sect1"><a href="#id2626313">6.11. 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="#id2626290">6.12. + <dt><span class="sect1"><a href="#id2626352">6.12. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2626347">6.13. + <dt><span class="sect1"><a href="#id2626409">6.13. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.14. @@ -1360,13 +1360,13 @@ alink="#0000FF"> <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2569303">2.1. As + <dt><span class="sect1"><a href="#id2569236">2.1. As tar file</a></span></dt> - <dt><span class="sect1"><a href="#id2569319">2.2. Via + <dt><span class="sect1"><a href="#id2569252">2.2. Via SUP</a></span></dt> - <dt><span class="sect1"><a href="#id2569351">2.3. Via + <dt><span class="sect1"><a href="#id2569420">2.3. Via CVS</a></span></dt> </dl> </div> @@ -1380,7 +1380,7 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569303" id="id2569303"></a>2.1. As tar + "id2569236" id="id2569236"></a>2.1. As tar file</h2> </div> </div> @@ -1398,7 +1398,7 @@ alink="#0000FF"> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569319" id="id2569319"></a>2.2. Via + "id2569252" id="id2569252"></a>2.2. Via SUP</h2> </div> </div> @@ -1424,7 +1424,7 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569351" id="id2569351"></a>2.3. Via + "id2569420" id="id2569420"></a>2.3. Via CVS</h2> </div> </div> @@ -1481,33 +1481,33 @@ release=pkgsrc <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2569529">3.1. + <dt><span class="sect1"><a href="#id2569530">3.1. Bootstrapping pkgsrc</a></span></dt> - <dt><span class="sect1"><a href="#id2569710">3.2. + <dt><span class="sect1"><a href="#id2569712">3.2. Platform specific notes</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2569717">3.2.1. + <dt><span class="sect2"><a href="#id2569718">3.2.1. Darwin (Mac OS X)</a></span></dt> - <dt><span class="sect2"><a href="#id2569879">3.2.2. + <dt><span class="sect2"><a href="#id2569880">3.2.2. FreeBSD</a></span></dt> - <dt><span class="sect2"><a href="#id2570459">3.2.3. + <dt><span class="sect2"><a href="#id2570324">3.2.3. Interix</a></span></dt> - <dt><span class="sect2"><a href="#id2570693">3.2.4. + <dt><span class="sect2"><a href="#id2570557">3.2.4. IRIX</a></span></dt> - <dt><span class="sect2"><a href="#id2570777">3.2.5. + <dt><span class="sect2"><a href="#id2570654">3.2.5. Linux</a></span></dt> - <dt><span class="sect2"><a href="#id2570838">3.2.6. + <dt><span class="sect2"><a href="#id2570723">3.2.6. OpenBSD</a></span></dt> - <dt><span class="sect2"><a href="#id2570950">3.2.7. + <dt><span class="sect2"><a href="#id2570835">3.2.7. Solaris</a></span></dt> </dl> </dd> @@ -1519,8 +1519,8 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569529" id= - "id2569529"></a>3.1. Bootstrapping pkgsrc</h2> + "id2569530" id= + "id2569530"></a>3.1. Bootstrapping pkgsrc</h2> </div> </div> </div> @@ -1610,7 +1610,7 @@ release=pkgsrc <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569710" id="id2569710"></a>3.2. Platform + "id2569712" id="id2569712"></a>3.2. Platform specific notes</h2> </div> </div> @@ -1623,8 +1623,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2569717" id= - "id2569717"></a>3.2.1. Darwin (Mac OS + <h3 class="title"><a name="id2569718" id= + "id2569718"></a>3.2.1. Darwin (Mac OS X)</h3> </div> </div> @@ -1756,8 +1756,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2569879" id= - "id2569879"></a>3.2.2. FreeBSD</h3> + <h3 class="title"><a name="id2569880" id= + "id2569880"></a>3.2.2. FreeBSD</h3> </div> </div> </div> @@ -1813,8 +1813,8 @@ release=pkgsrc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570459" id= - "id2570459"></a>3.2.3. Interix</h3> + <h3 class="title"><a name="id2570324" id= + "id2570324"></a>3.2.3. Interix</h3> </div> </div> </div> @@ -1995,8 +1995,8 @@ interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570693" id= - "id2570693"></a>3.2.4. IRIX</h3> + <h3 class="title"><a name="id2570557" id= + "id2570557"></a>3.2.4. IRIX</h3> </div> </div> </div> @@ -2012,8 +2012,15 @@ interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: <p>Please note that you will need IRIX 6.5.17 or higher, as this is the earliest version of IRIX - providing support for if_indextoname(3), - if_nametoindex(3), etc.</p> + providing support for <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?if_indextoname+3+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">if_indextoname</span>(3)</span></a>, + <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?if_nametoindex+3+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">if_nametoindex</span>(3)</span></a>, + etc.</p> <p>At this point in time, pkgsrc only supports one ABI. That is, you can not switch between the old 32-bit ABI, @@ -2069,8 +2076,8 @@ PKGSRC_COMPILER=mipspro <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570777" id= - "id2570777"></a>3.2.5. Linux</h3> + <h3 class="title"><a name="id2570654" id= + "id2570654"></a>3.2.5. Linux</h3> </div> </div> </div> @@ -2131,20 +2138,24 @@ ICCBASE=/opt/icc installed.</p> <p>Libtool, however, extracts a list of libraries from - the ld(1) command run when linking a C++ shared library - and records it, throwing away the -Bstatic and - -Bdynamic options interspersed between the libraries. - This means that libtool-linked C++ shared libraries - will have a runtime dependency on the icc libraries - until this is fixed in libtool.</p> + the <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?ld+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">ld</span>(1)</span></a> command run + when linking a C++ shared library and records it, + throwing away the -Bstatic and -Bdynamic options + interspersed between the libraries. This means that + libtool-linked C++ shared libraries will have a runtime + dependency on the icc libraries until this is fixed in + libtool.</p> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570838" id= - "id2570838"></a>3.2.6. OpenBSD</h3> + <h3 class="title"><a name="id2570723" id= + "id2570723"></a>3.2.6. OpenBSD</h3> </div> </div> </div> @@ -2210,8 +2221,8 @@ ICCBASE=/opt/icc <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570950" id= - "id2570950"></a>3.2.7. Solaris</h3> + <h3 class="title"><a name="id2570835" id= + "id2570835"></a>3.2.7. Solaris</h3> </div> </div> </div> @@ -2255,8 +2266,8 @@ ICCBASE=/opt/icc <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2570981" id= - "id2570981"></a>3.2.7.1. If you are using + <h4 class="title"><a name="id2570934" id= + "id2570934"></a>3.2.7.1. If you are using gcc</h4> </div> </div> @@ -2285,8 +2296,8 @@ ICCBASE=/opt/icc <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2571070" id= - "id2571070"></a>3.2.7.2. If you are using + <h4 class="title"><a name="id2570955" id= + "id2570955"></a>3.2.7.2. If you are using Sun WorkShop</h4> </div> </div> @@ -2363,32 +2374,32 @@ CFLAGS= -xtarget=ultra -xarch=v9 <dd> <dl> - <dt><span class="sect2"><a href="#id2571155">4.1.1. + <dt><span class="sect2"><a href="#id2571040">4.1.1. Where to get binary packages</a></span></dt> - <dt><span class="sect2"><a href="#id2571264">4.1.2. + <dt><span class="sect2"><a href="#id2571080">4.1.2. How to use binary packages</a></span></dt> - <dt><span class="sect2"><a href="#id2571371">4.1.3. + <dt><span class="sect2"><a href="#id2571256">4.1.3. A word of warning</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571383">4.2. + <dt><span class="sect1"><a href="#id2571336">4.2. Building packages from source</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2571393">4.2.1. + <dt><span class="sect2"><a href="#id2571346">4.2.1. Requirements</a></span></dt> - <dt><span class="sect2"><a href="#id2571822">4.2.2. + <dt><span class="sect2"><a href="#id2571366">4.2.2. Fetching distfiles</a></span></dt> - <dt><span class="sect2"><a href="#id2571875">4.2.3. + <dt><span class="sect2"><a href="#id2571418">4.2.3. How to build and install</a></span></dt> - <dt><span class="sect2"><a href="#id2623810">4.2.4. + <dt><span class="sect2"><a href="#id2623831">4.2.4. Selecting the compiler</a></span></dt> </dl> </dd> @@ -2415,8 +2426,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571155" id= - "id2571155"></a>4.1.1. Where to get binary + <h3 class="title"><a name="id2571040" id= + "id2571040"></a>4.1.1. Where to get binary packages</h3> </div> </div> @@ -2447,8 +2458,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571264" id= - "id2571264"></a>4.1.2. How to use binary + <h3 class="title"><a name="id2571080" id= + "id2571080"></a>4.1.2. How to use binary packages</h3> </div> </div> @@ -2518,8 +2529,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571371" id= - "id2571371"></a>4.1.3. A word of + <h3 class="title"><a name="id2571256" id= + "id2571256"></a>4.1.3. A word of warning</h3> </div> </div> @@ -2542,7 +2553,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2571383" id="id2571383"></a>4.2. Building + "id2571336" id="id2571336"></a>4.2. Building packages from source</h2> </div> </div> @@ -2557,8 +2568,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571393" id= - "id2571393"></a>4.2.1. Requirements</h3> + <h3 class="title"><a name="id2571346" id= + "id2571346"></a>4.2.1. Requirements</h3> </div> </div> </div> @@ -2577,8 +2588,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571822" id= - "id2571822"></a>4.2.2. Fetching + <h3 class="title"><a name="id2571366" id= + "id2571366"></a>4.2.2. Fetching distfiles</h3> </div> </div> @@ -2619,8 +2630,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571875" id= - "id2571875"></a>4.2.3. How to build and + <h3 class="title"><a name="id2571418" id= + "id2571418"></a>4.2.3. How to build and install</h3> </div> </div> @@ -2788,8 +2799,8 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2623810" id= - "id2623810"></a>4.2.4. Selecting the + <h3 class="title"><a name="id2623831" id= + "id2623831"></a>4.2.4. Selecting the compiler</h3> </div> </div> @@ -2889,10 +2900,10 @@ CFLAGS= -xtarget=ultra -xarch=v9 <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2623896">5.1. + <dt><span class="sect1"><a href="#id2623917">5.1. Building a single binary package</a></span></dt> - <dt><span class="sect1"><a href="#id2623974">5.2. + <dt><span class="sect1"><a href="#id2623995">5.2. Settings for creation of binary packages</a></span></dt> @@ -2905,23 +2916,23 @@ CFLAGS= -xtarget=ultra -xarch=v9 "#binary.configuration">5.3.1. Configuration</a></span></dt> - <dt><span class="sect2"><a href="#id2624115">5.3.2. + <dt><span class="sect2"><a href="#id2624142">5.3.2. Other environmental considerations</a></span></dt> - <dt><span class="sect2"><a href="#id2624155">5.3.3. + <dt><span class="sect2"><a href="#id2624183">5.3.3. Operation</a></span></dt> - <dt><span class="sect2"><a href="#id2624225">5.3.4. + <dt><span class="sect2"><a href="#id2624252">5.3.4. What it does</a></span></dt> - <dt><span class="sect2"><a href="#id2624281">5.3.5. + <dt><span class="sect2"><a href="#id2624309">5.3.5. Disk space requirements</a></span></dt> - <dt><span class="sect2"><a href="#id2624308">5.3.6. + <dt><span class="sect2"><a href="#id2624336">5.3.6. Setting up a sandbox for chroot'ed builds</a></span></dt> - <dt><span class="sect2"><a href="#id2624905">5.3.7. + <dt><span class="sect2"><a href="#id2624865">5.3.7. Building a partial set of packages</a></span></dt> <dt><span class="sect2"><a href= @@ -2930,13 +2941,13 @@ CFLAGS= -xtarget=ultra -xarch=v9 </dl> </dd> - <dt><span class="sect1"><a href="#id2625274">5.4. + <dt><span class="sect1"><a href="#id2625321">5.4. Creating a multiple CD-ROM packages collection</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2625289">5.4.1. + <dt><span class="sect2"><a href="#id2625336">5.4.1. Example of cdpack</a></span></dt> </dl> </dd> @@ -2948,7 +2959,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2623896" id="id2623896"></a>5.1. Building a + "id2623917" id="id2623917"></a>5.1. Building a single binary package</h2> </div> </div> @@ -3002,7 +3013,7 @@ CFLAGS= -xtarget=ultra -xarch=v9 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2623974" id="id2623974"></a>5.2. Settings + "id2623995" id="id2623995"></a>5.2. Settings for creation of binary packages</h2> </div> </div> @@ -3084,8 +3095,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2624039" id= - "id2624039"></a>5.3.1.2. <code class= + <h4 class="title"><a name="id2624060" id= + "id2624060"></a>5.3.1.2. <code class= "filename">build.conf</code></h4> </div> </div> @@ -3110,8 +3121,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2624075" id= - "id2624075"></a>5.3.1.3. <code class= + <h4 class="title"><a name="id2624097" id= + "id2624097"></a>5.3.1.3. <code class= "filename">pre-build.local</code></h4> </div> </div> @@ -3122,10 +3133,13 @@ _ACCEPTABLE= yes pre-build stage. If the file <code class= "filename">pre-build.local</code> exists in <code class="filename">/usr/pkgsrc/mk/bulk</code>, it - will be executed (as a sh(1) script) at the end of - the usual pre-build stage. An example use of - <code class="filename">pre-build.local</code> is to - have the line:</p> + will be executed (as a <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?sh+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">sh</span>(1)</span></a> script) at + the end of the usual pre-build stage. An example use + of <code class="filename">pre-build.local</code> is + to have the line:</p> <pre class="screen"> <code class="prompt">#</code> <strong class= "userinput"><code>echo "I do not have enough disk space to build this pig." \ @@ -3142,8 +3156,8 @@ _ACCEPTABLE= yes <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624115" id= - "id2624115"></a>5.3.2. Other environmental + <h3 class="title"><a name="id2624142" id= + "id2624142"></a>5.3.2. Other environmental considerations</h3> </div> </div> @@ -3184,8 +3198,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624155" id= - "id2624155"></a>5.3.3. Operation</h3> + <h3 class="title"><a name="id2624183" id= + "id2624183"></a>5.3.3. Operation</h3> </div> </div> </div> @@ -3231,8 +3245,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624225" id= - "id2624225"></a>5.3.4. What it does</h3> + <h3 class="title"><a name="id2624252" id= + "id2624252"></a>5.3.4. What it does</h3> </div> </div> </div> @@ -3290,8 +3304,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624281" id= - "id2624281"></a>5.3.5. Disk space + <h3 class="title"><a name="id2624309" id= + "id2624309"></a>5.3.5. Disk space requirements</h3> </div> </div> @@ -3333,8 +3347,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624308" id= - "id2624308"></a>5.3.6. Setting up a sandbox + <h3 class="title"><a name="id2624336" id= + "id2624336"></a>5.3.6. Setting up a sandbox for chroot'ed builds</h3> </div> </div> @@ -3523,8 +3537,8 @@ fi <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2624905" id= - "id2624905"></a>5.3.7. Building a partial + <h3 class="title"><a name="id2624865" id= + "id2624865"></a>5.3.7. Building a partial set of packages</h3> </div> </div> @@ -3676,8 +3690,18 @@ chroot-<code class="prompt">#</code> <strong class= </pre> <p>The upload process may take quite some time. Use - "ls" or "du" on the FTP server to monitor progress of - the upload.</p> + <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?ls+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">ls</span>(1)</span></a> or <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?du+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">du</span>(1)</span></a> on the FTP + server to monitor progress of the upload. The upload + script will take care of not uploading restricted + packages and putting vulnerable packages into the + <code class="filename">vulnerable</code> + subdirectory.</p> <p>After the upload has ended, first thing is to revoke ssh access:</p> @@ -3707,7 +3731,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625274" id="id2625274"></a>5.4. Creating a + "id2625321" id="id2625321"></a>5.4. Creating a multiple CD-ROM packages collection</h2> </div> </div> @@ -3730,8 +3754,8 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2625289" id= - "id2625289"></a>5.4.1. Example of + <h3 class="title"><a name="id2625336" id= + "id2625336"></a>5.4.1. Example of cdpack</h3> </div> </div> @@ -3804,51 +3828,51 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2625481">6.1. Are + <dt><span class="sect1"><a href="#id2625528">6.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> - <dt><span class="sect1"><a href="#id2625616">6.2. + <dt><span class="sect1"><a href="#id2625662">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="#id2625937">6.4. How + <dt><span class="sect1"><a href="#id2625984">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2625948">6.5. How + <dt><span class="sect1"><a href="#id2625995">6.5. How to resume transfers when fetching distfiles?</a></span></dt> - <dt><span class="sect1"><a href="#id2625991">6.6. How + <dt><span class="sect1"><a href="#id2626045">6.6. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626019">6.7. How + <dt><span class="sect1"><a href="#id2626073">6.7. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2626046">6.8. How + <dt><span class="sect1"><a href="#id2626101">6.8. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2626060">6.9. How + <dt><span class="sect1"><a href="#id2626115">6.9. 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="#id2626112">6.10. How + <dt><span class="sect1"><a href="#id2626166">6.10. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2626251">6.11. What + <dt><span class="sect1"><a href="#id2626313">6.11. 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="#id2626290">6.12. What + <dt><span class="sect1"><a href="#id2626352">6.12. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2626347">6.13. + <dt><span class="sect1"><a href="#id2626409">6.13. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.14. @@ -3870,7 +3894,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625481" id="id2625481"></a>6.1. Are there + "id2625528" id="id2625528"></a>6.1. Are there any mailing lists for pkg-related discussion?</h2> </div> </div> @@ -3929,7 +3953,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625616" id="id2625616"></a>6.2. Where's + "id2625662" id="id2625662"></a>6.2. Where's the pkgviews documentation?</h2> </div> </div> @@ -4184,7 +4208,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625937" id="id2625937"></a>6.4. How to use + "id2625984" id="id2625984"></a>6.4. How to use pkgsrc as non-root</h2> </div> </div> @@ -4202,7 +4226,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625948" id="id2625948"></a>6.5. How to + "id2625995" id="id2625995"></a>6.5. How to resume transfers when fetching distfiles?</h2> </div> </div> @@ -4216,11 +4240,15 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> pkgsrc will try to resume it.</p> <p>You can also use a different program than the default - ftp(1) by changing the <code class= - "varname">FETCH_CMD</code> variable. Don't forget to set - <code class="varname">FETCH_RESUME_ARGS</code> and - <code class="varname">FETCH_OUTPUT_ARGS</code> if you are - not using default values.</p> + <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?ftp+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">ftp</span>(1)</span></a> by changing the + <code class="varname">FETCH_CMD</code> variable. Don't + forget to set <code class= + "varname">FETCH_RESUME_ARGS</code> and <code class= + "varname">FETCH_OUTPUT_ARGS</code> if you are not using + default values.</p> <p>For example, if you want to use <code class= "filename">wget</code> to resume downloads, you'll have @@ -4241,7 +4269,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2625991" id="id2625991"></a>6.6. How can I + "id2626045" id="id2626045"></a>6.6. How can I install/use XFree86 from pkgsrc?</h2> </div> </div> @@ -4264,7 +4292,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626019" id="id2626019"></a>6.7. How can I + "id2626073" id="id2626073"></a>6.7. How can I install/use X.org from pkgsrc?</h2> </div> </div> @@ -4287,7 +4315,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong> <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626046" id="id2626046"></a>6.8. How to + "id2626101" id="id2626101"></a>6.8. How to fetch files from behind a firewall</h2> </div> </div> @@ -4312,7 +4340,7 @@ http_proxy=http://orpheus.amdahl.com:80/ <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626060" id="id2626060"></a>6.9. How do I + "id2626115" id="id2626115"></a>6.9. How do I tell <span><strong class="command">make fetch</strong></span> to do passive FTP?</h2> </div> @@ -4346,7 +4374,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626112" id="id2626112"></a>6.10. How to + "id2626166" id="id2626166"></a>6.10. How to fetch all distfiles at once</h2> </div> </div> @@ -4366,9 +4394,13 @@ ${LOCALBASE}/bin/ftp "filename">/usr/pkgsrc</code> or one of it's subdirectories, carry the resulting list to your machine at work/school and use it there. If you don't have a - NetBSD-compatible ftp(1) (like lukemftp) at work, don't - forget to set <code class="varname">FETCH_CMD</code> to - something that fetches a URL:</p> + NetBSD-compatible <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?ftp+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">ftp</span>(1)</span></a> (like lukemftp) + at work, don't forget to set <code class= + "varname">FETCH_CMD</code> to something that fetches a + URL:</p> <p>At home:</p> <pre class="screen"> @@ -4415,7 +4447,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626251" id="id2626251"></a>6.11. What does + "id2626313" id="id2626313"></a>6.11. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</h2> </div> @@ -4447,7 +4479,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626290" id="id2626290"></a>6.12. What does + "id2626352" id="id2626352"></a>6.12. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</h2> </div> @@ -4476,19 +4508,23 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2626347" id="id2626347"></a>6.13. Using + "id2626409" id="id2626409"></a>6.13. Using 'sudo' with pkgsrc</h2> </div> </div> </div> <p>When installing packages as non-root user and using - the just-in-time su(1) feature of pkgsrc, it can become - annoying to type in the root password for each required - package installed. To avoid this, the sudo package can be - used, which does password caching over a limited time. To - use it, install sudo (either as binary package or from - <a xmlns="http://www.w3.org/TR/xhtml1/transitional" href= + the just-in-time <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?su+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">su</span>(1)</span></a> feature of + pkgsrc, it can become annoying to type in the root + password for each required package installed. To avoid + this, the sudo package can be used, which does password + caching over a limited time. To use it, install sudo + (either as binary package or from <a xmlns= + "http://www.w3.org/TR/xhtml1/transitional" href= "ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/security/sudo/README.html" class="pkgname">security/sudo</a>) and then put the following into your <code class= @@ -4737,7 +4773,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2627420">7.4. + <dt><span class="sect1"><a href="#id2627489">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= @@ -4747,7 +4783,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href="#id2627614">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2627702">7.7. + <dt><span class="sect1"><a href="#id2627770">7.7. <code class="filename">files/*</code></a></span></dt> </dl> </dd> @@ -4757,10 +4793,10 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dd> <dl> - <dt><span class="sect1"><a href="#id2627825">8.1. RCS + <dt><span class="sect1"><a href="#id2627961">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2627840">8.2. + <dt><span class="sect1"><a href="#id2627976">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -4771,14 +4807,14 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2628229">8.5. + <dt><span class="sect1"><a href="#id2628297">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2628270">8.6. + <dt><span class="sect1"><a href="#id2628339">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2628288">8.7. + <dt><span class="sect1"><a href="#id2628363">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -4793,21 +4829,21 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dd> <dl> - <dt><span class="sect1"><a href="#id2628486">9.1. + <dt><span class="sect1"><a href="#id2628562">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2628872">9.2. + <dt><span class="sect1"><a href="#id2628948">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2628941">9.2.1. Anatomy of a buildlink3.mk + "#id2629017">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2629382">9.2.2. Updating <code class= + "#id2629458">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in <code class="filename">buildlink3.mk</code> @@ -4815,18 +4851,18 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc </dl> </dd> - <dt><span class="sect1"><a href="#id2629461">9.3. + <dt><span class="sect1"><a href="#id2629537">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2629542">9.3.1. Anatomy of a <code class= + "#id2629618">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> <dt><span class="sect2"><a href= - "#id2629837">9.3.2. Global preferences for native + "#id2629913">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -4838,10 +4874,10 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dd> <dl> - <dt><span class="sect1"><a href="#id2629910">10.1. + <dt><span class="sect1"><a href="#id2629986">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2629925">10.2. + <dt><span class="sect1"><a href="#id2630001">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -4855,7 +4891,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href="#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2630533">11.2. + <dt><span class="sect1"><a href="#id2630624">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -4869,17 +4905,17 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dd> <dl> - <dt><span class="sect1"><a href="#id2632070">12.1. + <dt><span class="sect1"><a href="#id2632120">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2632073">12.1.1. How to pull in variables + "#id2632123">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2632156">12.1.2. Restricted + "#id2632275">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -4887,15 +4923,15 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2632672">12.1.4. Handling conflicts with + "#id2632728">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2632790">12.1.5. Packages that cannot or + "#id2632846">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2632816">12.1.6. Packages which should not be + "#id2632872">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -4903,37 +4939,37 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2632907">12.1.8. How to handle compiler + "#id2632964">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2632930">12.1.9. How to handle incrementing + "#id2633054">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2632979">12.1.10. Portability of + "#id2633104">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633003">12.2. + <dt><span class="sect1"><a href="#id2633128">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633006">12.2.1. Packages whose distfiles + "#id2633131">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2633069">12.2.2. How to handle modified + "#id2633194">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633081">12.3. + <dt><span class="sect1"><a href="#id2633206">12.3. Configuration gotchas</a></span></dt> <dd> @@ -4943,65 +4979,65 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633438">12.3.2. Using libtool on GNU + "#id2633640">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633588">12.3.3. GNU + "#id2633721">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633701">12.4. + <dt><span class="sect1"><a href="#id2633834">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633704">12.4.1. CPP defines</a></span></dt> + "#id2633837">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633802">12.5. + <dt><span class="sect1"><a href="#id2633867">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633805">12.5.1. Package configuration + "#id2633870">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2633908">12.5.2. User + "#id2633973">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2633953">12.5.3. Handling + "#id2634018">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2634036">12.5.4. Creating an account from a + "#id2634169">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2634166">12.5.5. Installing score + "#id2634231">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634210">12.5.6. Packages providing login + "#id2634411">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2634267">12.5.7. Packages containing perl + "#id2634469">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634422">12.5.8. Packages with hardcoded + "#id2634555">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2634443">12.5.9. Packages installing perl + "#id2634577">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -5009,40 +5045,40 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634663">12.5.11. Packages installing GConf2 + "#id2634865">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634763">12.5.12. Packages installing + "#id2634965">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634814">12.5.13. Packages installing X11 + "#id2635016">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634861">12.5.14. Packages installing GTK2 + "#id2635063">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2634931">12.5.15. Packages installing SGML or + "#id2635201">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2635051">12.5.16. Packages installing + "#id2635253">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2635190">12.5.17. Packages using + "#id2635323">12.5.17. Packages using intltool</a></span></dt> <dt><span class="sect2"><a href= - "#id2635204">12.5.18. Packages installing startup + "#id2635337">12.5.18. Packages installing startup scripts</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2635225">12.6. + <dt><span class="sect1"><a href="#id2635358">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -5055,17 +5091,17 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dd> <dl> - <dt><span class="sect1"><a href="#id2635824">14.1. + <dt><span class="sect1"><a href="#id2635957">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2635875">14.2. + <dt><span class="sect1"><a href="#id2636014">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2635938">14.3. + <dt><span class="sect1"><a href="#id2636077">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2635957">14.4. + <dt><span class="sect1"><a href="#id2636097">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -5098,7 +5134,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2627420">7.4. Other + <dt><span class="sect1"><a href="#id2627489">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= @@ -5108,7 +5144,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc <dt><span class="sect1"><a href="#id2627614">7.6. <code class="filename">work*</code></a></span></dt> - <dt><span class="sect1"><a href="#id2627702">7.7. + <dt><span class="sect1"><a href="#id2627770">7.7. <code class="filename">files/*</code></a></span></dt> </dl> </div> @@ -5487,7 +5523,7 @@ converters games mbone print x11 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2627420" id="id2627420"></a>7.4. Other + "id2627489" id="id2627489"></a>7.4. Other mandatory files</h2> </div> </div> @@ -5672,8 +5708,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2627702" id= - "id2627702"></a>7.7. <code class= + "id2627770" id= + "id2627770"></a>7.7. <code class= "filename">files/*</code></h2> </div> </div> @@ -5705,10 +5741,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2627825">8.1. RCS + <dt><span class="sect1"><a href="#id2627961">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2627840">8.2. + <dt><span class="sect1"><a href="#id2627976">8.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> @@ -5719,14 +5755,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="#id2628229">8.5. + <dt><span class="sect1"><a href="#id2628297">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2628270">8.6. + <dt><span class="sect1"><a href="#id2628339">8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></a></span></dt> - <dt><span class="sect1"><a href="#id2628288">8.7. + <dt><span class="sect1"><a href="#id2628363">8.7. Platform specific and differing PLISTs</a></span></dt> <dt><span class="sect1"><a href="#faq.common-dirs">8.8. @@ -5752,7 +5788,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2627825" id="id2627825"></a>8.1. RCS + "id2627961" id="id2627961"></a>8.1. RCS ID</h2> </div> </div> @@ -5770,8 +5806,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2627840" id= - "id2627840"></a>8.2. Semi-automatic + "id2627976" id= + "id2627976"></a>8.2. Semi-automatic <code class="filename">PLIST</code> generation</h2> </div> </div> @@ -5965,8 +6001,8 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2628229" id= - "id2628229"></a>8.5. Manpage-compression</h2> + "id2628297" id= + "id2628297"></a>8.5. Manpage-compression</h2> </div> </div> </div> @@ -5990,7 +6026,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2628270" id="id2628270"></a>8.6. Changing + "id2628339" id="id2628339"></a>8.6. Changing PLIST source with <code class= "varname">PLIST_SRC</code></h2> </div> @@ -6001,8 +6037,11 @@ PLIST_SUBST+= SOMEVAR="somevalue" <code class="filename">PLIST</code> used in generating the binary package, set the variable <code class= "varname">PLIST_SRC</code> to the names of that file(s). - The files are later concatenated using cat(1), and order - of things is important.</p> + The files are later concatenated using <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?cat+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">cat</span>(1)</span></a>, and order of + things is important.</p> </div> <div class="sect1" lang="en" xml:lang="en"> @@ -6010,7 +6049,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2628288" id="id2628288"></a>8.7. Platform + "id2628363" id="id2628363"></a>8.7. Platform specific and differing PLISTs</h2> </div> </div> @@ -6155,19 +6194,19 @@ PLIST_SUBST+= SOMEVAR="somevalue" <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2628486">9.1. + <dt><span class="sect1"><a href="#id2628562">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2628872">9.2. + <dt><span class="sect1"><a href="#id2628948">9.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2628941">9.2.1. + <dt><span class="sect2"><a href="#id2629017">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> - <dt><span class="sect2"><a href="#id2629382">9.2.2. + <dt><span class="sect2"><a href="#id2629458">9.2.2. Updating <code class= "varname">BUILDLINK_DEPENDS.<em class= "replaceable"><code>pkg</code></em></code> in @@ -6176,17 +6215,17 @@ PLIST_SUBST+= SOMEVAR="somevalue" </dl> </dd> - <dt><span class="sect1"><a href="#id2629461">9.3. + <dt><span class="sect1"><a href="#id2629537">9.3. Writing <code class="filename">builtin.mk</code> files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2629542">9.3.1. + <dt><span class="sect2"><a href="#id2629618">9.3.1. Anatomy of a <code class= "filename">builtin.mk</code> file</a></span></dt> - <dt><span class="sect2"><a href="#id2629837">9.3.2. + <dt><span class="sect2"><a href="#id2629913">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> @@ -6237,7 +6276,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2628486" id="id2628486"></a>9.1. Converting + "id2628562" id="id2628562"></a>9.1. Converting packages to use buildlink3</h2> </div> </div> @@ -6382,7 +6421,7 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div> <div> <h2 class="title" style="clear: both"><a name= - "id2628872" id="id2628872"></a>9.2. Writing + "id2628948" id="id2628948"></a>9.2. Writing <code class="filename">buildlink3.mk</code> files</h2> </div> @@ -6422,8 +6461,8 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2628941" id= - "id2628941"></a>9.2.1. Anatomy of a buildlink3.mk + <h3 class="title"><a name="id2629017" id= + "id2629017"></a>9.2.1. Anatomy of a buildlink3.mk file</h3> </div> </div> @@ -6653,8 +6692,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2629382" id= - "id2629382"></a>9.2.2. Updating <code class= + <h3 class="title"><a name="id2629458" id= + "id2629458"></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> @@ -6723,7 +6762,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2629461" id="id2629461"></a>9.3. Writing + "id2629537" id="id2629537"></a>9.3. Writing <code class="filename">builtin.mk</code> files</h2> </div> </div> @@ -6775,8 +6814,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2629542" id= - "id2629542"></a>9.3.1. Anatomy of a + <h3 class="title"><a name="id2629618" id= + "id2629618"></a>9.3.1. Anatomy of a <code class="filename">builtin.mk</code> file</h3> </div> @@ -6901,8 +6940,8 @@ CHECK_BUILTIN.foo?= no <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2629837" id= - "id2629837"></a>9.3.2. Global preferences + <h3 class="title"><a name="id2629913" id= + "id2629913"></a>9.3.2. Global preferences for native or pkgsrc software</h3> </div> </div> @@ -6960,10 +6999,10 @@ CHECK_BUILTIN.foo?= no <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2629910">10.1. + <dt><span class="sect1"><a href="#id2629986">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2629925">10.2. + <dt><span class="sect1"><a href="#id2630001">10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></a></span></dt> </dl> @@ -6983,7 +7022,7 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2629910" id="id2629910"></a>10.1. Global + "id2629986" id="id2629986"></a>10.1. Global default options</h2> </div> </div> @@ -7001,8 +7040,8 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2629925" id= - "id2629925"></a>10.2. Converting packages to + "id2630001" id= + "id2630001"></a>10.2. Converting packages to use <code class= "filename">bsd.options.mk</code></h2> </div> @@ -7165,7 +7204,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="#id2630533">11.2. Main + <dt><span class="sect1"><a href="#id2630624">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -7314,10 +7353,13 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl} used. It takes pairs in the format “<span class= "quote">DIRNAME=<package></span>”, and - the make(1) variable <code class= - "varname">DIRNAME</code> will be set to the prefix - of the installed package <package>, or - “<span class= + the <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">make</span>(1)</span></a> variable + <code class="varname">DIRNAME</code> will be set to + the prefix of the installed package + <package>, or “<span class= "quote">${X11PREFIX}</span>” if the package is not installed.</p> @@ -7347,10 +7389,12 @@ GTKDIR_DEFAULT= ${LOCALBASE} <li> <p>Within <code class="filename">${PREFIX}</code>, - packages should install files according to hier(7), - with the exception that manual pages go into - <code class="filename">${PREFIX}/man</code>, not - <code class= + packages should install files according to <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?hier+7+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">hier</span>(7)</span></a>, with the + exception that manual pages go into <code class= + "filename">${PREFIX}/man</code>, not <code class= "filename">${PREFIX}/share/man</code>.</p> </li> </ul> @@ -7362,7 +7406,7 @@ GTKDIR_DEFAULT= ${LOCALBASE} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2630533" id="id2630533"></a>11.2. Main + "id2630624" id="id2630624"></a>11.2. Main targets</h2> </div> </div> @@ -7482,19 +7526,26 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} are applied, files ending in <code class= "filename">.orig</code> or <code class= "filename">.rej</code> are ignored. Any special - options to patch(1) can be handed in <code class= + options to <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?patch+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">patch</span>(1)</span></a> can be + handed in <code class= "varname">PATCH_DIST_ARGS</code>. See <a href= "#components.patches" title= "7.3. patches/*">Section 7.3, “patches/*”</a> for more details.</p> - <p>By default patch(1) is given special args to - make it fail if the patches apply with some lines - of fuzz. Please fix (regen) the patches so that - they apply cleanly. The rationale behind this is - that patches that don't apply cleanly may end up - being applied in the wrong place, and cause severe - harm there.</p> + <p>By default <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?patch+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">patch</span>(1)</span></a> is given + special args to make it fail if the patches apply + with some lines of fuzz. Please fix (regen) the + patches so that they apply cleanly. The rationale + behind this is that patches that don't apply + cleanly may end up being applied in the wrong + place, and cause severe harm there.</p> </dd> <dt><span class="term">configure</span></dt> @@ -7655,10 +7706,13 @@ make build <dt><span class="term">deinstall</span></dt> <dd> - <p>This target does a pkg_delete(1) in the current - directory, effectively de-installing the package. - The following variables can be used to tune the - behaviour:</p> + <p>This target does a <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?pkg_delete+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">pkg_delete</span>(1)</span></a> in + the current directory, effectively de-installing + the package. The following variables can be used to + tune the behaviour:</p> <div class="variablelist"> <dl> @@ -8031,9 +8085,12 @@ make build command against an already existing <code class= "filename">PLIST</code> file.</p> - <p>If the package installs files via tar(1) or - other methods that don't update file access times, - be sure to add these files manually to your + <p>If the package installs files via <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?tar+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">tar</span>(1)</span></a> or other + methods that don't update file access times, be + sure to add these files manually to your <code class="filename">PLIST</code>, as the “<span class="quote">find -newer</span>” command used by this target @@ -8128,17 +8185,17 @@ make build <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2632070">12.1. + <dt><span class="sect1"><a href="#id2632120">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2632073">12.1.1. How to pull in variables from + "#id2632123">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2632156">12.1.2. Restricted + "#id2632275">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -8146,15 +8203,15 @@ make build dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2632672">12.1.4. Handling conflicts with other + "#id2632728">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2632790">12.1.5. Packages that cannot or should + "#id2632846">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2632816">12.1.6. Packages which should not be + "#id2632872">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -8162,37 +8219,37 @@ make build security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2632907">12.1.8. How to handle compiler + "#id2632964">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2632930">12.1.9. How to handle incrementing + "#id2633054">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2632979">12.1.10. Portability of + "#id2633104">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633003">12.2. + <dt><span class="sect1"><a href="#id2633128">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633006">12.2.1. Packages whose distfiles + "#id2633131">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2633069">12.2.2. How to handle modified + "#id2633194">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633081">12.3. + <dt><span class="sect1"><a href="#id2633206">12.3. Configuration gotchas</a></span></dt> <dd> @@ -8202,64 +8259,64 @@ make build libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633438">12.3.2. Using libtool on GNU packages + "#id2633640">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2633588">12.3.3. GNU + "#id2633721">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633701">12.4. + <dt><span class="sect1"><a href="#id2633834">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633704">12.4.1. CPP defines</a></span></dt> + "#id2633837">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2633802">12.5. + <dt><span class="sect1"><a href="#id2633867">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2633805">12.5.1. Package configuration + "#id2633870">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2633908">12.5.2. User + "#id2633973">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2633953">12.5.3. Handling + "#id2634018">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2634036">12.5.4. Creating an account from a + "#id2634169">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2634166">12.5.5. Installing score + "#id2634231">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634210">12.5.6. Packages providing login + "#id2634411">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2634267">12.5.7. Packages containing perl + "#id2634469">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634422">12.5.8. Packages with hardcoded paths + "#id2634555">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2634443">12.5.9. Packages installing perl + "#id2634577">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -8267,40 +8324,40 @@ make build files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634663">12.5.11. Packages installing GConf2 + "#id2634865">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634763">12.5.12. Packages installing + "#id2634965">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2634814">12.5.13. Packages installing X11 + "#id2635016">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2634861">12.5.14. Packages installing GTK2 + "#id2635063">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2634931">12.5.15. Packages installing SGML or + "#id2635201">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2635051">12.5.16. Packages installing + "#id2635253">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2635190">12.5.17. Packages using + "#id2635323">12.5.17. Packages using intltool</a></span></dt> <dt><span class="sect2"><a href= - "#id2635204">12.5.18. Packages installing startup + "#id2635337">12.5.18. Packages installing startup scripts</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2635225">12.6. + <dt><span class="sect1"><a href="#id2635358">12.6. Feedback to the author</a></span></dt> </dl> </div> @@ -8310,7 +8367,7 @@ make build <div> <div> <h2 class="title" style="clear: both"><a name= - "id2632070" id="id2632070"></a>12.1. General + "id2632120" id="id2632120"></a>12.1. General operation</h2> </div> </div> @@ -8320,8 +8377,8 @@ make build <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632073" id= - "id2632073"></a>12.1.1. How to pull in + <h3 class="title"><a name="id2632123" id= + "id2632123"></a>12.1.1. How to pull in variables from /etc/mk.conf</h3> </div> </div> @@ -8381,8 +8438,8 @@ CFLAGS+= -your -flags <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632156" id= - "id2632156"></a>12.1.2. Restricted + <h3 class="title"><a name="id2632275" id= + "id2632275"></a>12.1.2. Restricted packages</h3> </div> </div> @@ -8668,9 +8725,13 @@ pre-clean: "varname">BUILD_USES_MSGFMT</code> and <code class= "varname">BUILD_USES_GETTEXT_M4</code> definitions, which are provided as convenience definitions. The - former works out whether msgfmt(1) is part of the base - system, and, if it isn't, installs the <a xmlns= - "http://www.w3.org/TR/xhtml1/transitional" href= + former works out whether <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?msgfmt+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">msgfmt</span>(1)</span></a> is part of + the base system, and, if it isn't, installs the + <a xmlns="http://www.w3.org/TR/xhtml1/transitional" + href= "ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/devel/gettext/README.html" class="pkgname">devel/gettext</a> package. The latter adds a build dependency on either an installed version @@ -8685,8 +8746,8 @@ pre-clean: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632672" id= - "id2632672"></a>12.1.4. Handling conflicts + <h3 class="title"><a name="id2632728" id= + "id2632728"></a>12.1.4. Handling conflicts with other packages</h3> </div> </div> @@ -8733,8 +8794,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632790" id= - "id2632790"></a>12.1.5. Packages that cannot + <h3 class="title"><a name="id2632846" id= + "id2632846"></a>12.1.5. Packages that cannot or should not be built</h3> </div> </div> @@ -8765,8 +8826,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632816" id= - "id2632816"></a>12.1.6. Packages which + <h3 class="title"><a name="id2632872" id= + "id2632872"></a>12.1.6. Packages which should not be deleted, once installed</h3> </div> </div> @@ -8829,8 +8890,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632907" id= - "id2632907"></a>12.1.8. How to handle + <h3 class="title"><a name="id2632964" id= + "id2632964"></a>12.1.8. How to handle compiler bugs</h3> </div> </div> @@ -8855,8 +8916,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632930" id= - "id2632930"></a>12.1.9. How to handle + <h3 class="title"><a name="id2633054" id= + "id2633054"></a>12.1.9. How to handle incrementing versions when fixing an existing package</h3> </div> @@ -8896,8 +8957,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2632979" id= - "id2632979"></a>12.1.10. Portability of + <h3 class="title"><a name="id2633104" id= + "id2633104"></a>12.1.10. Portability of packages</h3> </div> </div> @@ -8913,8 +8974,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2632984" id= - "id2632984"></a>12.1.10.1. ${INSTALL}, + <h4 class="title"><a name="id2633109" id= + "id2633109"></a>12.1.10.1. ${INSTALL}, ${INSTALL_DATA_DIR}, ...</h4> </div> </div> @@ -8939,7 +9000,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2633003" id="id2633003"></a>12.2. Possible + "id2633128" id="id2633128"></a>12.2. Possible downloading issues</h2> </div> </div> @@ -8949,8 +9010,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633006" id= - "id2633006"></a>12.2.1. Packages whose + <h3 class="title"><a name="id2633131" id= + "id2633131"></a>12.2.1. Packages whose distfiles aren't available for plain downloading</h3> </div> @@ -9011,8 +9072,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633069" id= - "id2633069"></a>12.2.2. How to handle + <h3 class="title"><a name="id2633194" id= + "id2633194"></a>12.2.2. How to handle modified distfiles with the 'old' name</h3> </div> </div> @@ -9041,8 +9102,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2633081" id= - "id2633081"></a>12.3. Configuration + "id2633206" id= + "id2633206"></a>12.3. Configuration gotchas</h2> </div> </div> @@ -9173,10 +9234,13 @@ dynamic linker chooses the library with the greater REVISION number. <li> <p>When linking shared object (<code class= "filename">.so</code>) files, i.e. files that are - loaded via dlopen(3), NOT shared libraries, use - “<span class="quote">-module - -avoid-version</span>” to prevent them - getting version tacked on.</p> + loaded via <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?dlopen+3+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">dlopen</span>(3)</span></a>, NOT + shared libraries, use “<span class= + "quote">-module -avoid-version</span>” to + prevent them getting version tacked on.</p> <p>The <code class="filename">PLIST</code> file gets the <code class="filename">foo.so</code> @@ -9258,8 +9322,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633438" id= - "id2633438"></a>12.3.2. Using libtool on GNU + <h3 class="title"><a name="id2633640" id= + "id2633640"></a>12.3.2. Using libtool on GNU packages that already support libtool</h3> </div> </div> @@ -9337,8 +9401,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633588" id= - "id2633588"></a>12.3.3. GNU + <h3 class="title"><a name="id2633721" id= + "id2633721"></a>12.3.3. GNU Autoconf/Automake</h3> </div> </div> @@ -9404,7 +9468,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2633701" id="id2633701"></a>12.4. Building + "id2633834" id="id2633834"></a>12.4. Building considerations</h2> </div> </div> @@ -9414,8 +9478,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633704" id= - "id2633704"></a>12.4.1. CPP defines</h3> + <h3 class="title"><a name="id2633837" id= + "id2633837"></a>12.4.1. CPP defines</h3> </div> </div> </div> @@ -9454,7 +9518,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2633802" id="id2633802"></a>12.5. Package + "id2633867" id="id2633867"></a>12.5. Package specific actions</h2> </div> </div> @@ -9464,8 +9528,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633805" id= - "id2633805"></a>12.5.1. Package + <h3 class="title"><a name="id2633870" id= + "id2633870"></a>12.5.1. Package configuration files</h3> </div> </div> @@ -9537,8 +9601,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633908" id= - "id2633908"></a>12.5.2. User + <h3 class="title"><a name="id2633973" id= + "id2633973"></a>12.5.2. User interaction</h3> </div> </div> @@ -9587,8 +9651,8 @@ INTERACTIVE_STAGE= configure install <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2633953" id= - "id2633953"></a>12.5.3. Handling + <h3 class="title"><a name="id2634018" id= + "id2634018"></a>12.5.3. Handling licenses</h3> </div> </div> @@ -9662,8 +9726,8 @@ ACCEPTABLE_LICENSES+=graphviz-license <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634036" id= - "id2634036"></a>12.5.4. Creating an account + <h3 class="title"><a name="id2634169" id= + "id2634169"></a>12.5.4. Creating an account from a package</h3> </div> </div> @@ -9717,8 +9781,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634166" id= - "id2634166"></a>12.5.5. Installing score + <h3 class="title"><a name="id2634231" id= + "id2634231"></a>12.5.5. Installing score files</h3> </div> </div> @@ -9755,8 +9819,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634210" id= - "id2634210"></a>12.5.6. Packages providing + <h3 class="title"><a name="id2634411" id= + "id2634411"></a>12.5.6. Packages providing login shells</h3> </div> </div> @@ -9791,8 +9855,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634267" id= - "id2634267"></a>12.5.7. Packages containing + <h3 class="title"><a name="id2634469" id= + "id2634469"></a>12.5.7. Packages containing perl scripts</h3> </div> </div> @@ -9810,8 +9874,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634422" id= - "id2634422"></a>12.5.8. Packages with + <h3 class="title"><a name="id2634555" id= + "id2634555"></a>12.5.8. Packages with hardcoded paths to other interpreters</h3> </div> </div> @@ -9837,8 +9901,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634443" id= - "id2634443"></a>12.5.9. Packages installing + <h3 class="title"><a name="id2634577" id= + "id2634577"></a>12.5.9. Packages installing perl modules</h3> </div> </div> @@ -9977,8 +10041,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634663" id= - "id2634663"></a>12.5.11. Packages installing + <h3 class="title"><a name="id2634865" id= + "id2634865"></a>12.5.11. Packages installing GConf2 data files</h3> </div> </div> @@ -10052,8 +10116,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634763" id= - "id2634763"></a>12.5.12. Packages installing + <h3 class="title"><a name="id2634965" id= + "id2634965"></a>12.5.12. Packages installing scrollkeeper data files</h3> </div> </div> @@ -10097,8 +10161,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634814" id= - "id2634814"></a>12.5.13. Packages installing + <h3 class="title"><a name="id2635016" id= + "id2635016"></a>12.5.13. Packages installing X11 fonts</h3> </div> </div> @@ -10135,8 +10199,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634861" id= - "id2634861"></a>12.5.14. Packages installing + <h3 class="title"><a name="id2635063" id= + "id2635063"></a>12.5.14. Packages installing GTK2 modules</h3> </div> </div> @@ -10202,8 +10266,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2634931" id= - "id2634931"></a>12.5.15. Packages installing + <h3 class="title"><a name="id2635201" id= + "id2635201"></a>12.5.15. Packages installing SGML or XML data</h3> </div> </div> @@ -10264,8 +10328,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2635051" id= - "id2635051"></a>12.5.16. Packages installing + <h3 class="title"><a name="id2635253" id= + "id2635253"></a>12.5.16. Packages installing extensions to the MIME database</h3> </div> </div> @@ -10323,8 +10387,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2635190" id= - "id2635190"></a>12.5.17. Packages using + <h3 class="title"><a name="id2635323" id= + "id2635323"></a>12.5.17. Packages using intltool</h3> </div> </div> @@ -10347,8 +10411,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2635204" id= - "id2635204"></a>12.5.18. Packages installing + <h3 class="title"><a name="id2635337" id= + "id2635337"></a>12.5.18. Packages installing startup scripts</h3> </div> </div> @@ -10371,7 +10435,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2635225" id="id2635225"></a>12.6. Feedback + "id2635358" id="id2635358"></a>12.6. Feedback to the author</h2> </div> </div> @@ -10607,17 +10671,17 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2635824">14.1. + <dt><span class="sect1"><a href="#id2635957">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2635875">14.2. + <dt><span class="sect1"><a href="#id2636014">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2635938">14.3. + <dt><span class="sect1"><a href="#id2636077">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2635957">14.4. + <dt><span class="sect1"><a href="#id2636097">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </div> @@ -10627,8 +10691,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2635824" id= - "id2635824"></a>14.1. Submitting your + "id2635957" id= + "id2635957"></a>14.1. Submitting your packages</h2> </div> </div> @@ -10663,7 +10727,10 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist compiles and runs well; see <a href="#debug" title= "Chapter 13. Debugging">Chapter 13, <i>Debugging</i></a> and the rest of this document. - Next, generate an uuencoded gzipped tar(1) archive, + Next, generate an uuencoded gzipped <a href= + "http://netbsd.gw.com/cgi-bin/man-cgi?tar+1+NetBSD-current"> + <span class="citerefentry"><span class= + "refentrytitle">tar</span>(1)</span></a> archive, preferably with all files in a single directory. Finally, <span><strong class= "command">send-pr</strong></span> with category @@ -10694,8 +10761,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2635875" id= - "id2635875"></a>14.2. Committing: Importing a + "id2636014" id= + "id2636014"></a>14.2. Committing: Importing a package into CVS</h2> </div> </div> @@ -10751,7 +10818,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2635938" id="id2635938"></a>14.3. Updating + "id2636077" id="id2636077"></a>14.3. Updating a package to a newer version</h2> </div> </div> @@ -10802,7 +10869,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2635957" id="id2635957"></a>14.4. Moving a + "id2636097" id="id2636097"></a>14.4. Moving a package in pkgsrc</h2> </div> </div> @@ -10903,27 +10970,27 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2636183">A.1. + <dt><span class="sect1"><a href="#id2636323">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2636186">A.1.1. + <dt><span class="sect2"><a href="#id2636326">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2636194">A.1.2. + <dt><span class="sect2"><a href="#id2636333">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2636209">A.1.3. + <dt><span class="sect2"><a href="#id2636348">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2636216">A.1.4. + <dt><span class="sect2"><a href="#id2636356">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="#id2636257">A.2. Steps + <dt><span class="sect1"><a href="#id2636465">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </div> @@ -10941,7 +11008,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2636183" id="id2636183"></a>A.1. files</h2> + "id2636323" id="id2636323"></a>A.1. files</h2> </div> </div> </div> @@ -10950,8 +11017,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2636186" id= - "id2636186"></a>A.1.1. Makefile</h3> + <h3 class="title"><a name="id2636326" id= + "id2636326"></a>A.1.1. Makefile</h3> </div> </div> </div> @@ -10978,8 +11045,8 @@ INFO_FILES= bison.info <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2636194" id= - "id2636194"></a>A.1.2. DESCR</h3> + <h3 class="title"><a name="id2636333" id= + "id2636333"></a>A.1.2. DESCR</h3> </div> </div> </div> @@ -10995,8 +11062,8 @@ of the NetBSD source tree is beyond me. <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2636209" id= - "id2636209"></a>A.1.3. PLIST</h3> + <h3 class="title"><a name="id2636348" id= + "id2636348"></a>A.1.3. PLIST</h3> </div> </div> </div> @@ -11013,8 +11080,8 @@ share/bison.hairy <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2636216" id= - "id2636216"></a>A.1.4. Checking a package with + <h3 class="title"><a name="id2636356" id= + "id2636356"></a>A.1.4. Checking a package with <span><strong class= "command">pkglint</strong></span></h3> </div> @@ -11052,7 +11119,7 @@ looks fine. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2636257" id="id2636257"></a>A.2. Steps for + "id2636465" id="id2636465"></a>A.2. Steps for building, installing, packaging</h2> </div> </div> @@ -11470,10 +11537,10 @@ Registering depends:. <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2637176">D.1. + <dt><span class="sect1"><a href="#id2637111">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2637378">D.2. + <dt><span class="sect1"><a href="#id2637517">D.2. Procedure</a></span></dt> </dl> </div> @@ -11486,7 +11553,7 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2637176" id="id2637176"></a>D.1. Targets</h2> + "id2637111" id="id2637111"></a>D.1. Targets</h2> </div> </div> </div> @@ -11537,8 +11604,8 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2637378" id= - "id2637378"></a>D.2. Procedure</h2> + "id2637517" id= + "id2637517"></a>D.2. Procedure</h2> </div> </div> </div> |