Annotation of htdocs/docs/pkgsrc/users-guide.html, revision 1.26
1.1 dsieger 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5: <title>Part I. The pkgsrc user's guide</title>
1.9 spz 6: <link rel="stylesheet" type="text/css" href="/global.css">
1.1 dsieger 7: <meta name="generator" content="DocBook XSL Stylesheets VX.X.X">
1.7 rillig 8: <link rel="home" href="index.html" title="The pkgsrc guide">
1.1 dsieger 9: <link rel="up" href="index.html" title="The pkgsrc guide">
10: <link rel="prev" href="introduction.html" title="Chapter 1. What is pkgsrc?">
11: <link rel="next" href="getting.html" title="Chapter 2. Where to get pkgsrc and how to keep it up-to-date">
12: </head>
13: <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14: <div class="navheader">
15: <table width="100%" summary="Navigation header">
16: <tr><th colspan="3" align="center">Part I. The pkgsrc user's guide</th></tr>
17: <tr>
18: <td width="20%" align="left">
19: <a accesskey="p" href="introduction.html">Prev</a> </td>
20: <th width="60%" align="center"> </th>
21: <td width="20%" align="right"> <a accesskey="n" href="getting.html">Next</a>
22: </td>
23: </tr>
24: </table>
25: <hr>
26: </div>
1.10 asau 27: <div class="part">
1.1 dsieger 28: <div class="titlepage"><div><div><h1 class="title">
29: <a name="users-guide"></a>Part I. The pkgsrc user's guide</h1></div></div></div>
30: <div class="toc">
31: <p><b>Table of Contents</b></p>
1.26 ! sevan 32: <dl>
1.1 dsieger 33: <dt><span class="chapter"><a href="getting.html">2. Where to get pkgsrc and how to keep it up-to-date</a></span></dt>
34: <dd><dl>
35: <dt><span class="sect1"><a href="getting.html#getting-first">2.1. Getting pkgsrc for the first time</a></span></dt>
36: <dd><dl>
1.12 asau 37: <dt><span class="sect2"><a href="getting.html#getting-via-tar">2.1.1. As tar archive</a></span></dt>
1.8 wiz 38: <dt><span class="sect2"><a href="getting.html#getting-via-cvs">2.1.2. Via anonymous CVS</a></span></dt>
1.1 dsieger 39: </dl></dd>
40: <dt><span class="sect1"><a href="getting.html#uptodate">2.2. Keeping pkgsrc up-to-date</a></span></dt>
41: <dd><dl>
42: <dt><span class="sect2"><a href="getting.html#uptodate-tar">2.2.1. Via tar files</a></span></dt>
43: <dt><span class="sect2"><a href="getting.html#uptodate-cvs">2.2.2. Via CVS</a></span></dt>
44: </dl></dd>
45: </dl></dd>
46: <dt><span class="chapter"><a href="platforms.html">3. Using pkgsrc on systems other than NetBSD</a></span></dt>
47: <dd><dl>
48: <dt><span class="sect1"><a href="platforms.html#binarydist">3.1. Binary distribution</a></span></dt>
49: <dt><span class="sect1"><a href="platforms.html#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt>
50: <dt><span class="sect1"><a href="platforms.html#platform-specific-notes">3.3. Platform-specific notes</a></span></dt>
51: <dd><dl>
1.11 obache 52: <dt><span class="sect2"><a href="platforms.html#cygwin">3.3.1. Cygwin</a></span></dt>
53: <dt><span class="sect2"><a href="platforms.html#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt>
54: <dt><span class="sect2"><a href="platforms.html#freebsd">3.3.3. FreeBSD</a></span></dt>
1.14 ryoon 55: <dt><span class="sect2"><a href="platforms.html#gnukfreebsd">3.3.4. GNU/kFreeBSD</a></span></dt>
56: <dt><span class="sect2"><a href="platforms.html#interix">3.3.5. Interix</a></span></dt>
57: <dt><span class="sect2"><a href="platforms.html#irix">3.3.6. IRIX</a></span></dt>
58: <dt><span class="sect2"><a href="platforms.html#linux">3.3.7. Linux</a></span></dt>
59: <dt><span class="sect2"><a href="platforms.html#mirbsd">3.3.8. MirBSD</a></span></dt>
60: <dt><span class="sect2"><a href="platforms.html#openbsd">3.3.9. OpenBSD</a></span></dt>
61: <dt><span class="sect2"><a href="platforms.html#solaris">3.3.10. Solaris</a></span></dt>
1.1 dsieger 62: </dl></dd>
63: </dl></dd>
64: <dt><span class="chapter"><a href="using.html">4. Using pkgsrc</a></span></dt>
65: <dd><dl>
66: <dt><span class="sect1"><a href="using.html#using-pkg">4.1. Using binary packages</a></span></dt>
67: <dd><dl>
68: <dt><span class="sect2"><a href="using.html#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt>
69: <dt><span class="sect2"><a href="using.html#installing-binary-packages">4.1.2. Installing binary packages</a></span></dt>
70: <dt><span class="sect2"><a href="using.html#using.pkg_delete">4.1.3. Deinstalling packages</a></span></dt>
71: <dt><span class="sect2"><a href="using.html#using.pkg_info">4.1.4. Getting information about installed packages</a></span></dt>
72: <dt><span class="sect2"><a href="using.html#vulnerabilities">4.1.5. Checking for security vulnerabilities in installed packages</a></span></dt>
73: <dt><span class="sect2"><a href="using.html#pkg_versions">4.1.6. Finding if newer versions of your installed packages are in pkgsrc</a></span></dt>
74: <dt><span class="sect2"><a href="using.html#using.pkg_admin">4.1.7. Other administrative functions</a></span></dt>
75: <dt><span class="sect2"><a href="using.html#a-word-of-warning">4.1.8. A word of warning</a></span></dt>
76: </dl></dd>
77: <dt><span class="sect1"><a href="using.html#building-packages-from-source">4.2. Building packages from source</a></span></dt>
78: <dd><dl>
79: <dt><span class="sect2"><a href="using.html#requirements">4.2.1. Requirements</a></span></dt>
80: <dt><span class="sect2"><a href="using.html#fetching-distfiles">4.2.2. Fetching distfiles</a></span></dt>
81: <dt><span class="sect2"><a href="using.html#how-to-build-and-install">4.2.3. How to build and install</a></span></dt>
82: </dl></dd>
83: </dl></dd>
84: <dt><span class="chapter"><a href="configuring.html">5. Configuring pkgsrc</a></span></dt>
85: <dd><dl>
86: <dt><span class="sect1"><a href="configuring.html#general-configuration">5.1. General configuration</a></span></dt>
87: <dt><span class="sect1"><a href="configuring.html#variables-affecting-build">5.2. Variables affecting the build process</a></span></dt>
1.5 rillig 88: <dt><span class="sect1"><a href="configuring.html#variables-affecting-installation">5.3. Variables affecting the installation process</a></span></dt>
1.3 rillig 89: <dt><span class="sect1"><a href="configuring.html#conf.compiler">5.4. Selecting and configuring the compiler</a></span></dt>
1.1 dsieger 90: <dd><dl>
1.3 rillig 91: <dt><span class="sect2"><a href="configuring.html#selecting-the-compiler">5.4.1. Selecting the compiler</a></span></dt>
1.8 wiz 92: <dt><span class="sect2"><a href="configuring.html#conf.cflags">5.4.2. Additional flags to the compiler (<code class="varname">CFLAGS</code>)</a></span></dt>
93: <dt><span class="sect2"><a href="configuring.html#conf.ldflags">5.4.3. Additional flags to the linker (<code class="varname">LDFLAGS</code>)</a></span></dt>
1.1 dsieger 94: </dl></dd>
1.3 rillig 95: <dt><span class="sect1"><a href="configuring.html#developer-advanced-settings">5.5. Developer/advanced settings</a></span></dt>
96: <dt><span class="sect1"><a href="configuring.html#selecting-build-options">5.6. Selecting Build Options</a></span></dt>
1.1 dsieger 97: </dl></dd>
98: <dt><span class="chapter"><a href="binary.html">6. Creating binary packages</a></span></dt>
99: <dd><dl>
100: <dt><span class="sect1"><a href="binary.html#building-a-single-binary-package">6.1. Building a single binary package</a></span></dt>
101: <dt><span class="sect1"><a href="binary.html#settings-for-creationg-of-binary-packages">6.2. Settings for creation of binary packages</a></span></dt>
1.4 rillig 102: </dl></dd>
103: <dt><span class="chapter"><a href="bulk.html">7. Creating binary packages for everything in pkgsrc (bulk
104: builds)</a></span></dt>
105: <dd><dl>
1.18 wiz 106: <dt><span class="sect1"><a href="bulk.html#bulk.pre">7.1. Preparations</a></span></dt>
107: <dt><span class="sect1"><a href="bulk.html#bulk.pbulk">7.2. Running a pbulk-style bulk build</a></span></dt>
108: <dd><dl><dt><span class="sect2"><a href="bulk.html#bulk.pbulk.conf">7.2.1. Configuration</a></span></dt></dl></dd>
109: <dt><span class="sect1"><a href="bulk.html#bulk.req">7.3. Requirements of a full bulk build</a></span></dt>
1.16 asau 110: <dt><span class="sect1"><a href="bulk.html#creating-cdroms">7.4. Creating a multiple CD-ROM packages collection</a></span></dt>
111: <dd><dl><dt><span class="sect2"><a href="bulk.html#cdpack-example">7.4.1. Example of cdpack</a></span></dt></dl></dd>
1.1 dsieger 112: </dl></dd>
1.4 rillig 113: <dt><span class="chapter"><a href="files.html">8. Directory layout of the installed files</a></span></dt>
1.1 dsieger 114: <dd><dl>
1.8 wiz 115: <dt><span class="sect1"><a href="files.html#files.localbase">8.1. File system layout in <code class="literal">${LOCALBASE}</code></a></span></dt>
116: <dt><span class="sect1"><a href="files.html#files.varbase">8.2. File system layout in <code class="literal">${VARBASE}</code></a></span></dt>
1.1 dsieger 117: </dl></dd>
1.4 rillig 118: <dt><span class="chapter"><a href="faq.html">9. Frequently Asked Questions</a></span></dt>
1.1 dsieger 119: <dd><dl>
1.4 rillig 120: <dt><span class="sect1"><a href="faq.html#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt>
1.21 wiz 121: <dt><span class="sect1"><a href="faq.html#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt>
122: <dt><span class="sect1"><a href="faq.html#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt>
123: <dt><span class="sect1"><a href="faq.html#resume-transfers">9.4. How to resume transfers when fetching distfiles?</a></span></dt>
124: <dt><span class="sect1"><a href="faq.html#x.org-from-pkgsrc">9.5. How can I install/use modular X.org from pkgsrc?</a></span></dt>
125: <dt><span class="sect1"><a href="faq.html#fetch-behind-firewall">9.6. How to fetch files from behind a firewall</a></span></dt>
126: <dt><span class="sect1"><a href="faq.html#fetch-https">9.7. How to fetch files from HTTPS sites</a></span></dt>
127: <dt><span class="sect1"><a href="faq.html#passive-ftp">9.8. How do I tell <span class="command"><strong>make fetch</strong></span> to do passive FTP?</a></span></dt>
128: <dt><span class="sect1"><a href="faq.html#fetching-all-distfiles">9.9. How to fetch all distfiles at once</a></span></dt>
129: <dt><span class="sect1"><a href="faq.html#tmac.andoc-missing">9.10. What does <span class="quote">“<span class="quote">Don't know how to make
1.8 wiz 130: /usr/share/tmac/tmac.andoc</span>”</span> mean?</a></span></dt>
1.21 wiz 131: <dt><span class="sect1"><a href="faq.html#bsd.own.mk-missing">9.11. What does <span class="quote">“<span class="quote">Could not find bsd.own.mk</span>”</span> mean?</a></span></dt>
132: <dt><span class="sect1"><a href="faq.html#using-sudo-with-pkgsrc">9.12. Using 'sudo' with pkgsrc</a></span></dt>
133: <dt><span class="sect1"><a href="faq.html#faq.conf">9.13. How do I change the location of configuration files?</a></span></dt>
134: <dt><span class="sect1"><a href="faq.html#audit-packages">9.14. Automated security checks</a></span></dt>
135: <dt><span class="sect1"><a href="faq.html#ufaq-cflags">9.15. Why do some packages ignore my <code class="varname">CFLAGS</code>?</a></span></dt>
136: <dt><span class="sect1"><a href="faq.html#ufaq-fail">9.16. A package does not build. What shall I do?</a></span></dt>
137: <dt><span class="sect1"><a href="faq.html#faq.rcs-conflicts">9.17. What does <span class="quote">“<span class="quote">Makefile appears to contain unresolved cvs/rcs/??? merge conflicts</span>”</span> mean?</a></span></dt>
1.1 dsieger 138: </dl></dd>
139: </dl>
140: </div>
141: </div>
142: <div class="navfooter">
143: <hr>
144: <table width="100%" summary="Navigation footer">
145: <tr>
146: <td width="40%" align="left">
147: <a accesskey="p" href="introduction.html">Prev</a> </td>
148: <td width="20%" align="center"> </td>
149: <td width="40%" align="right"> <a accesskey="n" href="getting.html">Next</a>
150: </td>
151: </tr>
152: <tr>
153: <td width="40%" align="left" valign="top">Chapter 1. What is pkgsrc? </td>
154: <td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
155: <td width="40%" align="right" valign="top"> Chapter 2. Where to get pkgsrc and how to keep it up-to-date</td>
156: </tr>
157: </table>
158: </div>
159: </body>
160: </html>
CVSweb <webmaster@jp.NetBSD.org>