diff options
author | leot <leot@pkgsrc.org> | 2015-08-31 11:55:36 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2015-08-31 11:55:36 +0000 |
commit | 2bae6bf974fbbe7b941655ca22cad99c29edf71a (patch) | |
tree | f3db817fa309c9fd0e65de6a42c88a10f859b496 /doc/pkgsrc.html | |
parent | a488dae01427b1baab93164ab5b2aa138ed88854 (diff) | |
download | pkgsrc-2bae6bf974fbbe7b941655ca22cad99c29edf71a.tar.gz |
regen
Diffstat (limited to 'doc/pkgsrc.html')
-rw-r--r-- | doc/pkgsrc.html | 145 |
1 files changed, 78 insertions, 67 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 1bbd8b01dfd..b9e71fb54f8 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -45,7 +45,7 @@ </div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="chapter"><a href="#introduction">1. What is pkgsrc?</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#introduction-section">1.1. Introduction</a></span></dt> @@ -484,7 +484,7 @@ source packages</a></span></dt> <a name="introduction"></a>Chapter 1. What is pkgsrc?</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#introduction-section">1.1. Introduction</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#why-pkgsrc">1.1.1. Why pkgsrc?</a></span></dt> @@ -695,11 +695,6 @@ minutes!</p> <td align="center">Jul 2013</td> <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.GNUkFreeBSD" target="_top">README.GNUkFreeBSD</a></td> </tr> -<tr> -<td><a class="ulink" href="http://www.bitrig.org/" target="_top">Bitrig</a></td> -<td align="center">Jun 2014</td> -<td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Bitrig" target="_top">README.Bitrig</a></td> -</tr> </tbody> </table></div> </div> @@ -816,7 +811,7 @@ minutes!</p> <a name="users-guide"></a>Part I. The pkgsrc user's guide</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="chapter"><a href="#getting">2. Where to get pkgsrc and how to keep it up-to-date</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#getting-first">2.1. Getting pkgsrc for the first time</a></span></dt> @@ -930,7 +925,7 @@ builds)</a></span></dt> <a name="getting"></a>Chapter 2. Where to get pkgsrc and how to keep it up-to-date</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#getting-first">2.1. Getting pkgsrc for the first time</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#getting-via-tar">2.1.1. As tar archive</a></span></dt> @@ -1116,7 +1111,7 @@ release -d <a name="platforms"></a>Chapter 3. Using pkgsrc on systems other than NetBSD</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> @@ -1693,7 +1688,7 @@ WRAPPER_SHELL= ${LOCALBASE}/bin/bash <a name="using"></a>Chapter 4. Using pkgsrc</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt> @@ -2130,7 +2125,7 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00 <a name="configuring"></a>Chapter 5. Configuring pkgsrc</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#general-configuration">5.1. General configuration</a></span></dt> <dt><span class="sect1"><a href="#variables-affecting-build">5.2. Variables affecting the build process</a></span></dt> <dt><span class="sect1"><a href="#variables-affecting-installation">5.3. Variables affecting the installation process</a></span></dt> @@ -2524,7 +2519,7 @@ PKG_OPTIONS.apache= suexec </pre> <a name="binary"></a>Chapter 6. Creating binary packages</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#building-a-single-binary-package">6.1. Building a single binary package</a></span></dt> <dt><span class="sect1"><a href="#settings-for-creationg-of-binary-packages">6.2. Settings for creation of binary packages</a></span></dt> </dl> @@ -2567,7 +2562,7 @@ PKG_OPTIONS.apache= suexec </pre> builds)</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#bulk.pre">7.1. Preparations</a></span></dt> <dt><span class="sect1"><a href="#bulk.pbulk">7.2. Running a pbulk-style bulk build</a></span></dt> <dd><dl><dt><span class="sect2"><a href="#bulk.pbulk.conf">7.2.1. Configuration</a></span></dt></dl></dd> @@ -2746,7 +2741,7 @@ temporary filesystems, others must survive a sudden reboot.</p> <a name="files"></a>Chapter 8. Directory layout of the installed files</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#files.localbase">8.1. File system layout in <code class="literal">${LOCALBASE}</code></a></span></dt> <dt><span class="sect1"><a href="#files.varbase">8.2. File system layout in <code class="literal">${VARBASE}</code></a></span></dt> </dl> @@ -2887,7 +2882,7 @@ currently running.</p></dd> <a name="faq"></a>Chapter 9. Frequently Asked Questions</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt> <dt><span class="sect1"><a href="#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt> <dt><span class="sect1"><a href="#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt> @@ -3329,7 +3324,7 @@ anymore, you can remove that file and run <span class="command"><strong>cvs -q u like a reference manual for pkgsrc.</p> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="chapter"><a href="#creating">10. Creating a new pkgsrc package from scratch</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#creating.common">10.1. Common types of packages</a></span></dt> @@ -3564,7 +3559,7 @@ anymore, you can remove that file and run <span class="command"><strong>cvs -q u <a name="creating"></a>Chapter 10. Creating a new pkgsrc package from scratch</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#creating.common">10.1. Common types of packages</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#creating.perl-module">10.1.1. Perl modules</a></span></dt> @@ -3963,7 +3958,7 @@ everything worked.</p> <a name="components"></a>Chapter 11. Package components - files, directories and contents</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#components.Makefile">11.1. <code class="filename">Makefile</code></a></span></dt> <dt><span class="sect1"><a href="#components.distinfo">11.2. <code class="filename">distinfo</code></a></span></dt> <dt><span class="sect1"><a href="#components.patches">11.3. patches/*</a></span></dt> @@ -4570,7 +4565,7 @@ FILESDIR=${.CURDIR}/../xemacs/files <a name="makefile"></a>Chapter 12. Programming in <code class="filename">Makefile</code>s</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#makefile.style">12.1. Caveats</a></span></dt> <dt><span class="sect1"><a href="#makefile.variables">12.2. <code class="filename">Makefile</code> variables</a></span></dt> <dd><dl><dt><span class="sect2"><a href="#makefile.variables.names">12.2.1. Naming conventions</a></span></dt></dl></dd> @@ -4896,7 +4891,7 @@ VAR:= ${VAR:N${_othervar_:C/-//}} <a name="plist"></a>Chapter 13. PLIST issues</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#rcs-id">13.1. RCS ID</a></span></dt> <dt><span class="sect1"><a href="#automatic-plist-generation">13.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt> <dt><span class="sect1"><a href="#print-PLIST">13.3. Tweaking output of <span class="command"><strong>make print-PLIST</strong></span></a></span></dt> @@ -5116,7 +5111,7 @@ ${PLIST.foo}share/bar/foo.data <a name="buildlink"></a>Chapter 14. Buildlink methodology</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#converting-to-buildlink3">14.1. Converting packages to use buildlink3</a></span></dt> <dt><span class="sect1"><a href="#creating-buildlink3.mk">14.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt> <dd><dl> @@ -5604,7 +5599,7 @@ PREFER_NATIVE= getopt skey tcp_wrappers <a name="pkginstall"></a>Chapter 15. The pkginstall framework</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#files-and-dirs-outside-prefix">15.1. Files and directories outside the installation prefix</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#dirs-outside-prefix">15.1.1. Directory manipulation</a></span></dt> @@ -6007,7 +6002,7 @@ environment variable to <code class="literal">NO</code>.</p> <a name="options"></a>Chapter 16. Options handling</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#global-default-options">16.1. Global default options</a></span></dt> <dt><span class="sect1"><a href="#converting-to-options">16.2. Converting packages to use <code class="filename">bsd.options.mk</code></a></span></dt> <dt><span class="sect1"><a href="#option-names">16.3. Option Names</a></span></dt> @@ -6248,7 +6243,7 @@ details.</p> <a name="build"></a>Chapter 17. The build process</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#build.intro">17.1. Introduction</a></span></dt> <dt><span class="sect1"><a href="#build.prefix">17.2. Program location</a></span></dt> <dt><span class="sect1"><a href="#build.builddirs">17.3. Directories used during the build process</a></span></dt> @@ -6846,6 +6841,9 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} <dt><span class="term"><code class="varname">INSTALL_MAN_DIR</code></span></dt> <dd><p>directories that contain man pages</p></dd> +<dt><span class="term"><code class="varname">INSTALL_GAME_DIR</code></span></dt> +<dd><p>directories that contain data files for games + </p></dd> <dt><span class="term"><code class="varname">INSTALL_PROGRAM</code></span></dt> <dd><p>binaries that can be stripped from debugging symbols</p></dd> @@ -7275,7 +7273,7 @@ builds)</i></a>). <a name="tools"></a>Chapter 18. Tools needed for building or running</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#pkgsrc-tools">18.1. Tools for pkgsrc builds</a></span></dt> <dt><span class="sect1"><a href="#package-tools">18.2. Tools needed by packages</a></span></dt> <dt><span class="sect1"><a href="#platform-tools">18.3. Tools provided by platforms</a></span></dt> @@ -7355,7 +7353,7 @@ TOOLS_PLATFORM.true?= true # shell builtin <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> <div class="qandaset"> -<a name="idp2098580500"></a><dl> +<a name="idm79382608"></a><dl> <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> </dt> <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available @@ -7374,7 +7372,7 @@ TOOLS_PLATFORM.true?= true # shell builtin <tbody> <tr class="question"> <td align="left" valign="top"> -<a name="tools.new"></a><a name="idp2098580836"></a><p><b>18.4.1.</b></p> +<a name="tools.new"></a><a name="idm79382224"></a><p><b>18.4.1.</b></p> </td> <td align="left" valign="top"><p>How do I add a new tool?</p></td> </tr> @@ -7384,7 +7382,7 @@ TOOLS_PLATFORM.true?= true # shell builtin </tr> <tr class="question"> <td align="left" valign="top"> -<a name="tools.listall"></a><a name="idp2098581540"></a><p><b>18.4.2.</b></p> +<a name="tools.listall"></a><a name="idm79381200"></a><p><b>18.4.2.</b></p> </td> <td align="left" valign="top"><p>How do I get a list of all available tools?</p></td> @@ -7395,7 +7393,7 @@ TOOLS_PLATFORM.true?= true # shell builtin </tr> <tr class="question"> <td align="left" valign="top"> -<a name="tools.used"></a><a name="idp2098582292"></a><p><b>18.4.3.</b></p> +<a name="tools.used"></a><a name="idm79380176"></a><p><b>18.4.3.</b></p> </td> <td align="left" valign="top"><p>How can I get a list of all the tools that a package is using while being built? I want to know whether it @@ -7416,7 +7414,7 @@ TOOLS_PLATFORM.true?= true # shell builtin <a name="fixes"></a>Chapter 19. Making your package work</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#general-operation">19.1. General operation</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#portability-of-packages">19.1.1. Portability of packages</a></span></dt> @@ -7859,18 +7857,6 @@ DEPENDS+= ImageMagick>=6.0:../../graphics/ImageMagick vulnerabilities file. See <a class="xref" href="#security-handling" title="19.1.10. Handling packages with security problems">Section 19.1.10, “Handling packages with security problems”</a> for more information.</p> </li> -<li class="listitem"> -<p>If the package depends on either one of two (or more) - packages, specify the <span class="quote">“<span class="quote">pre-req-package-name</span>”</span> as a - comma-separated list between curly braces.</p> -<p>As an example, take a package that depends on the Perl - <span class="quote">“<span class="quote">version</span>”</span> module, which has been part of Perl - itself since version 5.10.0. This either/or dependency is - expressed as:</p> -<pre class="programlisting"> -DEPENDS+= {perl>=5.10.0,p5-version-[0-9]*}:../../devel/p5-version - </pre> -</li> </ol></div> <p>If your package needs files from another package to build, add the relevant distribution files to @@ -8762,11 +8748,36 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <code class="filename">mk/defaults/mk.conf</code>, control this behaviour: <code class="varname">GAMEDATAMODE</code>, <code class="varname">GAMEDIRMODE</code>, <code class="varname">GAMES_GROUP</code>, - <code class="varname">GAMEMODE</code>, <code class="varname">GAME_USER</code>.</p> + <code class="varname">GAMEMODE</code>, <code class="varname">GAME_USER</code>. + Other useful variables are: <code class="varname">GAMEDIR_PERMS</code>, + <code class="varname">GAMEDATA_PERMS</code> and + <code class="varname">SETGID_GAMES_PERMS</code>.</p> +<p>An example that illustrates some of the variables described above is + <code class="filename">games/moon-buggy</code>. <code class="varname">OWN_DIRS_PERMS</code> is + used to properly set directory permissions of the directory where the + scorefile is saved, <code class="varname">REQD_FILES_PERMS</code> is used to create a + dummy scorefile (<code class="filename">mbscore</code>) with the proper permissions + and <code class="varname">SPECIAL_PERMS</code> is used to install setgid the game + binary:</p> +<pre class="programlisting"> +USE_GAMESGROUP= yes + +BUILD_DEFS+= VARBASE + +OWN_DIRS_PERMS+= ${VARBASE}/games/moon-buggy ${GAMEDIR_PERMS} +REQD_FILES_PERMS+= /dev/null ${VARBASE}/games/moon-buggy/mbscore ${GAMEDATA_PERMS} +SPECIAL_PERMS+= ${PREFIX}/bin/moon-buggy ${SETGID_GAMES_PERMS} + </pre> +<p>Various <code class="varname">INSTALL_*</code> variables are also available: + <code class="varname">INSTALL_GAME</code> to install setgid game binaries, + <code class="varname">INSTALL_GAME_DIR</code> to install game directories that are + needed to be accessed by setgid games and + <code class="varname">INSTALL_GAME_DATA</code> to install scorefiles.</p> <p>A package should therefore never hard code file ownership or - access permissions but rely on <code class="varname">INSTALL_GAME</code> and - <code class="varname">INSTALL_GAME_DATA</code> to set these - correctly.</p> + access permissions but rely on <code class="varname">*_PERMS</code> as described above + or alternatively on <code class="varname">INSTALL_GAME</code>, + <code class="varname">INSTALL_GAME_DATA</code> and + <code class="varname">INSTALL_GAME_DIR</code> to set these correctly.</p> </div> <div class="sect2"> <div class="titlepage"><div><div><h3 class="title"> @@ -9321,7 +9332,7 @@ PERL5_PACKLIST= auto/Pg/.packlist <a name="submit"></a>Chapter 21. Submitting and Committing</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#submitting-binary-packages">21.1. Submitting binary packages</a></span></dt> <dt><span class="sect1"><a href="#submitting-your-package">21.2. Submitting source packages (for non-NetBSD-developers)</a></span></dt> <dt><span class="sect1"><a href="#general-notes-for-changes">21.3. General notes when adding, updating, or removing packages</a></span></dt> @@ -9543,7 +9554,7 @@ place.</p></li> and if you still don't have the answer, ask on the <code class="literal">pkgsrc-users</code> mailing list.</p> <div class="qandaset"> -<a name="idp2098923732"></a><dl> +<a name="idm80911696"></a><dl> <dt>22.1. <a href="#devfaq.makeflags">What is the difference between MAKEFLAGS, .MAKEFLAGS and MAKE_FLAGS?</a> @@ -9588,7 +9599,7 @@ do?</a> <tbody> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.makeflags"></a><a name="idp2098922660"></a><p><b>22.1.</b></p> +<a name="devfaq.makeflags"></a><a name="idm80911312"></a><p><b>22.1.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and @@ -9604,7 +9615,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.make"></a><a name="idp2098926532"></a><p><b>22.2.</b></p> +<a name="devfaq.make"></a><a name="idm80907344"></a><p><b>22.2.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and @@ -9622,7 +9633,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.cc"></a><a name="idp2098929268"></a><p><b>22.3.</b></p> +<a name="devfaq.cc"></a><a name="idm80902864"></a><p><b>22.3.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and @@ -9640,7 +9651,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.bl3flags"></a><a name="idp2098931972"></a><p><b>22.4.</b></p> +<a name="devfaq.bl3flags"></a><a name="idm80898768"></a><p><b>22.4.</b></p> </td> <td align="left" valign="top"><p>What is the difference between <code class="varname">BUILDLINK_LDFLAGS</code>, @@ -9653,7 +9664,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.bl3prefix"></a><a name="idp2098933428"></a><p><b>22.5.</b></p> +<a name="devfaq.bl3prefix"></a><a name="idm80896592"></a><p><b>22.5.</b></p> </td> <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> @@ -9669,7 +9680,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.master_sites"></a><a name="idp2098935636"></a><p><b>22.6.</b></p> +<a name="devfaq.master_sites"></a><a name="idm80893392"></a><p><b>22.6.</b></p> </td> <td align="left" valign="top"><p>What does <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I @@ -9693,7 +9704,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.mailinglists"></a><a name="idp2098940932"></a><p><b>22.7.</b></p> +<a name="devfaq.mailinglists"></a><a name="idm80885328"></a><p><b>22.7.</b></p> </td> <td align="left" valign="top"><p>Which mailing lists are there for package developers?</p></td> @@ -9718,7 +9729,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.documentation"></a><a name="idp2098943828"></a><p><b>22.8.</b></p> +<a name="devfaq.documentation"></a><a name="idm80881616"></a><p><b>22.8.</b></p> </td> <td align="left" valign="top"><p>Where is the pkgsrc documentation?</p></td> @@ -9766,7 +9777,7 @@ do?</a> </tr> <tr class="question"> <td align="left" valign="top"> -<a name="devfaq.too-much-time"></a><a name="idp2098949220"></a><p><b>22.9.</b></p> +<a name="devfaq.too-much-time"></a><a name="idm80875088"></a><p><b>22.9.</b></p> </td> <td align="left" valign="top"><p>I have a little time to kill. What shall I do?</p></td> @@ -9800,7 +9811,7 @@ anyway.</p> <a name="gnome"></a>Chapter 23. GNOME packaging and porting</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#meta-packages">23.1. Meta packages</a></span></dt> <dt><span class="sect1"><a href="#new-package">23.2. Packaging a GNOME application</a></span></dt> <dt><span class="sect1"><a href="#full-update">23.3. Updating GNOME to a newer version</a></span></dt> @@ -10101,7 +10112,7 @@ details.</p> need anything from this part.</p> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="chapter"><a href="#infr.design">24. Design of the pkgsrc infrastructure</a></span></dt> <dd><dl> <dt><span class="sect1"><a href="#infr.vardef">24.1. The meaning of variable definitions</a></span></dt> @@ -10146,7 +10157,7 @@ details.</p> <a name="infr.design"></a>Chapter 24. Design of the pkgsrc infrastructure</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#infr.vardef">24.1. The meaning of variable definitions</a></span></dt> <dt><span class="sect1"><a href="#infr.vardef.problems">24.2. Avoiding problems before they arise</a></span></dt> <dt><span class="sect1"><a href="#infr.var">24.3. Variable evaluation</a></span></dt> @@ -10419,7 +10430,7 @@ CFLAGS+= -Wall <a name="regression"></a>Chapter 25. Regression tests</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#regression.descr">25.1. The regression tests framework</a></span></dt> <dt><span class="sect1"><a href="#regression.run">25.2. Running the regression tests</a></span></dt> <dt><span class="sect1"><a href="#regression.new">25.3. Adding a new regression test</a></span></dt> @@ -10514,7 +10525,7 @@ CFLAGS+= -Wall <a name="porting"></a>Chapter 26. Porting pkgsrc</h2></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#porting.opsys">26.1. Porting pkgsrc to a new operating system</a></span></dt> <dt><span class="sect1"><a href="#porting.compiler">26.2. Adding support for a new compiler</a></span></dt> </dl> @@ -10568,7 +10579,7 @@ CFLAGS+= -Wall <a name="examples"></a>Appendix A. A simple example package: bison</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#example-files">A.1. files</a></span></dt> <dd><dl> <dt><span class="sect2"><a href="#example-Makefile">A.1.1. Makefile</a></span></dt> @@ -10759,7 +10770,7 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'</pre> <a name="logs"></a>Appendix B. Build logs</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#logs.building">B.1. Building figlet</a></span></dt> <dt><span class="sect1"><a href="#logs.package">B.2. Packaging figlet</a></span></dt> </dl> @@ -10874,7 +10885,7 @@ Registering depends:. <a name="ftp-layout"></a>Appendix C. Directory layout of the pkgsrc FTP server</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#ftp-distfiles">C.1. <code class="filename">distfiles</code>: The distributed source files</a></span></dt> <dt><span class="sect1"><a href="#ftp-misc">C.2. <code class="filename">misc</code>: Miscellaneous things</a></span></dt> <dt><span class="sect1"><a href="#ftp-packages">C.3. <code class="filename">packages</code>: Binary packages</a></span></dt> @@ -10982,7 +10993,7 @@ source packages</h2></div></div></div> <a name="editing"></a>Appendix D. Editing guidelines for the pkgsrc guide</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="sect1"><a href="#targets">D.1. Make targets</a></span></dt> <dt><span class="sect1"><a href="#procedure">D.2. Procedure</a></span></dt> </dl> |