| @@ -72,32 +72,33 @@ | | | @@ -72,32 +72,33 @@ |
72 | <dt><span class="sect2"><a href="#uptodate-tar">2.2.1. Via tar files</a></span></dt> | | 72 | <dt><span class="sect2"><a href="#uptodate-tar">2.2.1. Via tar files</a></span></dt> |
73 | <dt><span class="sect2"><a href="#uptodate-cvs">2.2.2. Via CVS</a></span></dt> | | 73 | <dt><span class="sect2"><a href="#uptodate-cvs">2.2.2. Via CVS</a></span></dt> |
74 | </dl></dd> | | 74 | </dl></dd> |
75 | </dl></dd> | | 75 | </dl></dd> |
76 | <dt><span class="chapter"><a href="#platforms">3. Using pkgsrc on systems other than NetBSD</a></span></dt> | | 76 | <dt><span class="chapter"><a href="#platforms">3. Using pkgsrc on systems other than NetBSD</a></span></dt> |
77 | <dd><dl> | | 77 | <dd><dl> |
78 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> | | 78 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> |
79 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> | | 79 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> |
80 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> | | 80 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> |
81 | <dd><dl> | | 81 | <dd><dl> |
82 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> | | 82 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> |
83 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> | | 83 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> |
84 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> | | 84 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> |
85 | <dt><span class="sect2"><a href="#interix">3.3.4. Interix</a></span></dt> | | 85 | <dt><span class="sect2"><a href="#gnukfreebsd">3.3.4. GNU/kFreeBSD</a></span></dt> |
86 | <dt><span class="sect2"><a href="#irix">3.3.5. IRIX</a></span></dt> | | 86 | <dt><span class="sect2"><a href="#interix">3.3.5. Interix</a></span></dt> |
87 | <dt><span class="sect2"><a href="#linux">3.3.6. Linux</a></span></dt> | | 87 | <dt><span class="sect2"><a href="#irix">3.3.6. IRIX</a></span></dt> |
88 | <dt><span class="sect2"><a href="#mirbsd">3.3.7. MirBSD</a></span></dt> | | 88 | <dt><span class="sect2"><a href="#linux">3.3.7. Linux</a></span></dt> |
89 | <dt><span class="sect2"><a href="#openbsd">3.3.8. OpenBSD</a></span></dt> | | 89 | <dt><span class="sect2"><a href="#mirbsd">3.3.8. MirBSD</a></span></dt> |
90 | <dt><span class="sect2"><a href="#solaris">3.3.9. Solaris</a></span></dt> | | 90 | <dt><span class="sect2"><a href="#openbsd">3.3.9. OpenBSD</a></span></dt> |
| | | 91 | <dt><span class="sect2"><a href="#solaris">3.3.10. Solaris</a></span></dt> |
91 | </dl></dd> | | 92 | </dl></dd> |
92 | </dl></dd> | | 93 | </dl></dd> |
93 | <dt><span class="chapter"><a href="#using">4. Using pkgsrc</a></span></dt> | | 94 | <dt><span class="chapter"><a href="#using">4. Using pkgsrc</a></span></dt> |
94 | <dd><dl> | | 95 | <dd><dl> |
95 | <dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt> | | 96 | <dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt> |
96 | <dd><dl> | | 97 | <dd><dl> |
97 | <dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt> | | 98 | <dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt> |
98 | <dt><span class="sect2"><a href="#installing-binary-packages">4.1.2. Installing binary packages</a></span></dt> | | 99 | <dt><span class="sect2"><a href="#installing-binary-packages">4.1.2. Installing binary packages</a></span></dt> |
99 | <dt><span class="sect2"><a href="#using.pkg_delete">4.1.3. Deinstalling packages</a></span></dt> | | 100 | <dt><span class="sect2"><a href="#using.pkg_delete">4.1.3. Deinstalling packages</a></span></dt> |
100 | <dt><span class="sect2"><a href="#using.pkg_info">4.1.4. Getting information about installed packages</a></span></dt> | | 101 | <dt><span class="sect2"><a href="#using.pkg_info">4.1.4. Getting information about installed packages</a></span></dt> |
101 | <dt><span class="sect2"><a href="#vulnerabilities">4.1.5. Checking for security vulnerabilities in installed packages</a></span></dt> | | 102 | <dt><span class="sect2"><a href="#vulnerabilities">4.1.5. Checking for security vulnerabilities in installed packages</a></span></dt> |
102 | <dt><span class="sect2"><a href="#pkg_versions">4.1.6. Finding if newer versions of your installed packages are in pkgsrc</a></span></dt> | | 103 | <dt><span class="sect2"><a href="#pkg_versions">4.1.6. Finding if newer versions of your installed packages are in pkgsrc</a></span></dt> |
103 | <dt><span class="sect2"><a href="#using.pkg_admin">4.1.7. Other administrative functions</a></span></dt> | | 104 | <dt><span class="sect2"><a href="#using.pkg_admin">4.1.7. Other administrative functions</a></span></dt> |
| @@ -669,26 +670,30 @@ minutes! | | | @@ -669,26 +670,30 @@ minutes! |
669 | </tr> | | 670 | </tr> |
670 | <tr> | | 671 | <tr> |
671 | <td><a class="ulink" href="http://www.mirbsd.org/" target="_top">MirBSD</a></td> | | 672 | <td><a class="ulink" href="http://www.mirbsd.org/" target="_top">MirBSD</a></td> |
672 | <td align="center">Jan 2011</td> | | 673 | <td align="center">Jan 2011</td> |
673 | </tr> | | 674 | </tr> |
674 | <tr> | | 675 | <tr> |
675 | <td><a class="ulink" href="http://www.minix3.org/" target="_top">Minix3</a></td> | | 676 | <td><a class="ulink" href="http://www.minix3.org/" target="_top">Minix3</a></td> |
676 | <td align="center">Nov 2011</td> | | 677 | <td align="center">Nov 2011</td> |
677 | </tr> | | 678 | </tr> |
678 | <tr> | | 679 | <tr> |
679 | <td><a class="ulink" href="http://cygwin.com/" target="_top">Cygwin</a></td> | | 680 | <td><a class="ulink" href="http://cygwin.com/" target="_top">Cygwin</a></td> |
680 | <td align="center">Mar 2013</td> | | 681 | <td align="center">Mar 2013</td> |
681 | </tr> | | 682 | </tr> |
| | | 683 | <tr> |
| | | 684 | <td><a class="ulink" href="http://www.debian.org/ports/kfreebsd-gnu/" target="_top">GNU/kFreeBSD</a></td> |
| | | 685 | <td align="center">Jul 2013</td> |
| | | 686 | </tr> |
682 | </tbody> | | 687 | </tbody> |
683 | </table></div> | | 688 | </table></div> |
684 | </div> | | 689 | </div> |
685 | <br class="table-break"> | | 690 | <br class="table-break"> |
686 | </div> | | 691 | </div> |
687 | </div> | | 692 | </div> |
688 | <div class="sect1"> | | 693 | <div class="sect1"> |
689 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 694 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
690 | <a name="overview"></a>1.2. Overview</h2></div></div></div> | | 695 | <a name="overview"></a>1.2. Overview</h2></div></div></div> |
691 | <p>This document is divided into three parts. The first, | | 696 | <p>This document is divided into three parts. The first, |
692 | <a class="link" href="#users-guide" title="Part I. The pkgsrc user's guide">The pkgsrc user's guide</a>, | | 697 | <a class="link" href="#users-guide" title="Part I. The pkgsrc user's guide">The pkgsrc user's guide</a>, |
693 | describes how one can use one of the packages in the Package | | 698 | describes how one can use one of the packages in the Package |
694 | Collection, either by installing a precompiled binary package, | | 699 | Collection, either by installing a precompiled binary package, |
| @@ -808,32 +813,33 @@ minutes! | | | @@ -808,32 +813,33 @@ minutes! |
808 | <dt><span class="sect2"><a href="#uptodate-tar">2.2.1. Via tar files</a></span></dt> | | 813 | <dt><span class="sect2"><a href="#uptodate-tar">2.2.1. Via tar files</a></span></dt> |
809 | <dt><span class="sect2"><a href="#uptodate-cvs">2.2.2. Via CVS</a></span></dt> | | 814 | <dt><span class="sect2"><a href="#uptodate-cvs">2.2.2. Via CVS</a></span></dt> |
810 | </dl></dd> | | 815 | </dl></dd> |
811 | </dl></dd> | | 816 | </dl></dd> |
812 | <dt><span class="chapter"><a href="#platforms">3. Using pkgsrc on systems other than NetBSD</a></span></dt> | | 817 | <dt><span class="chapter"><a href="#platforms">3. Using pkgsrc on systems other than NetBSD</a></span></dt> |
813 | <dd><dl> | | 818 | <dd><dl> |
814 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> | | 819 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> |
815 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> | | 820 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> |
816 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> | | 821 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> |
817 | <dd><dl> | | 822 | <dd><dl> |
818 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> | | 823 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> |
819 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> | | 824 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> |
820 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> | | 825 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> |
821 | <dt><span class="sect2"><a href="#interix">3.3.4. Interix</a></span></dt> | | 826 | <dt><span class="sect2"><a href="#gnukfreebsd">3.3.4. GNU/kFreeBSD</a></span></dt> |
822 | <dt><span class="sect2"><a href="#irix">3.3.5. IRIX</a></span></dt> | | 827 | <dt><span class="sect2"><a href="#interix">3.3.5. Interix</a></span></dt> |
823 | <dt><span class="sect2"><a href="#linux">3.3.6. Linux</a></span></dt> | | 828 | <dt><span class="sect2"><a href="#irix">3.3.6. IRIX</a></span></dt> |
824 | <dt><span class="sect2"><a href="#mirbsd">3.3.7. MirBSD</a></span></dt> | | 829 | <dt><span class="sect2"><a href="#linux">3.3.7. Linux</a></span></dt> |
825 | <dt><span class="sect2"><a href="#openbsd">3.3.8. OpenBSD</a></span></dt> | | 830 | <dt><span class="sect2"><a href="#mirbsd">3.3.8. MirBSD</a></span></dt> |
826 | <dt><span class="sect2"><a href="#solaris">3.3.9. Solaris</a></span></dt> | | 831 | <dt><span class="sect2"><a href="#openbsd">3.3.9. OpenBSD</a></span></dt> |
| | | 832 | <dt><span class="sect2"><a href="#solaris">3.3.10. Solaris</a></span></dt> |
827 | </dl></dd> | | 833 | </dl></dd> |
828 | </dl></dd> | | 834 | </dl></dd> |
829 | <dt><span class="chapter"><a href="#using">4. Using pkgsrc</a></span></dt> | | 835 | <dt><span class="chapter"><a href="#using">4. Using pkgsrc</a></span></dt> |
830 | <dd><dl> | | 836 | <dd><dl> |
831 | <dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt> | | 837 | <dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt> |
832 | <dd><dl> | | 838 | <dd><dl> |
833 | <dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt> | | 839 | <dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt> |
834 | <dt><span class="sect2"><a href="#installing-binary-packages">4.1.2. Installing binary packages</a></span></dt> | | 840 | <dt><span class="sect2"><a href="#installing-binary-packages">4.1.2. Installing binary packages</a></span></dt> |
835 | <dt><span class="sect2"><a href="#using.pkg_delete">4.1.3. Deinstalling packages</a></span></dt> | | 841 | <dt><span class="sect2"><a href="#using.pkg_delete">4.1.3. Deinstalling packages</a></span></dt> |
836 | <dt><span class="sect2"><a href="#using.pkg_info">4.1.4. Getting information about installed packages</a></span></dt> | | 842 | <dt><span class="sect2"><a href="#using.pkg_info">4.1.4. Getting information about installed packages</a></span></dt> |
837 | <dt><span class="sect2"><a href="#vulnerabilities">4.1.5. Checking for security vulnerabilities in installed packages</a></span></dt> | | 843 | <dt><span class="sect2"><a href="#vulnerabilities">4.1.5. Checking for security vulnerabilities in installed packages</a></span></dt> |
838 | <dt><span class="sect2"><a href="#pkg_versions">4.1.6. Finding if newer versions of your installed packages are in pkgsrc</a></span></dt> | | 844 | <dt><span class="sect2"><a href="#pkg_versions">4.1.6. Finding if newer versions of your installed packages are in pkgsrc</a></span></dt> |
839 | <dt><span class="sect2"><a href="#using.pkg_admin">4.1.7. Other administrative functions</a></span></dt> | | 845 | <dt><span class="sect2"><a href="#using.pkg_admin">4.1.7. Other administrative functions</a></span></dt> |
| @@ -1108,32 +1114,33 @@ release -d | | | @@ -1108,32 +1114,33 @@ release -d |
1108 | <div class="chapter"> | | 1114 | <div class="chapter"> |
1109 | <div class="titlepage"><div><div><h2 class="title"> | | 1115 | <div class="titlepage"><div><div><h2 class="title"> |
1110 | <a name="platforms"></a>Chapter 3. Using pkgsrc on systems other than NetBSD</h2></div></div></div> | | 1116 | <a name="platforms"></a>Chapter 3. Using pkgsrc on systems other than NetBSD</h2></div></div></div> |
1111 | <div class="toc"> | | 1117 | <div class="toc"> |
1112 | <p><b>Table of Contents</b></p> | | 1118 | <p><b>Table of Contents</b></p> |
1113 | <dl> | | 1119 | <dl> |
1114 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> | | 1120 | <dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt> |
1115 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> | | 1121 | <dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt> |
1116 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> | | 1122 | <dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt> |
1117 | <dd><dl> | | 1123 | <dd><dl> |
1118 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> | | 1124 | <dt><span class="sect2"><a href="#cygwin">3.3.1. Cygwin</a></span></dt> |
1119 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> | | 1125 | <dt><span class="sect2"><a href="#darwin">3.3.2. Darwin (Mac OS X)</a></span></dt> |
1120 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> | | 1126 | <dt><span class="sect2"><a href="#freebsd">3.3.3. FreeBSD</a></span></dt> |
1121 | <dt><span class="sect2"><a href="#interix">3.3.4. Interix</a></span></dt> | | 1127 | <dt><span class="sect2"><a href="#gnukfreebsd">3.3.4. GNU/kFreeBSD</a></span></dt> |
1122 | <dt><span class="sect2"><a href="#irix">3.3.5. IRIX</a></span></dt> | | 1128 | <dt><span class="sect2"><a href="#interix">3.3.5. Interix</a></span></dt> |
1123 | <dt><span class="sect2"><a href="#linux">3.3.6. Linux</a></span></dt> | | 1129 | <dt><span class="sect2"><a href="#irix">3.3.6. IRIX</a></span></dt> |
1124 | <dt><span class="sect2"><a href="#mirbsd">3.3.7. MirBSD</a></span></dt> | | 1130 | <dt><span class="sect2"><a href="#linux">3.3.7. Linux</a></span></dt> |
1125 | <dt><span class="sect2"><a href="#openbsd">3.3.8. OpenBSD</a></span></dt> | | 1131 | <dt><span class="sect2"><a href="#mirbsd">3.3.8. MirBSD</a></span></dt> |
1126 | <dt><span class="sect2"><a href="#solaris">3.3.9. Solaris</a></span></dt> | | 1132 | <dt><span class="sect2"><a href="#openbsd">3.3.9. OpenBSD</a></span></dt> |
| | | 1133 | <dt><span class="sect2"><a href="#solaris">3.3.10. Solaris</a></span></dt> |
1127 | </dl></dd> | | 1134 | </dl></dd> |
1128 | </dl> | | 1135 | </dl> |
1129 | </div> | | 1136 | </div> |
1130 | <div class="sect1"> | | 1137 | <div class="sect1"> |
1131 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 1138 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
1132 | <a name="binarydist"></a>3.1. Binary distribution</h2></div></div></div> | | 1139 | <a name="binarydist"></a>3.1. Binary distribution</h2></div></div></div> |
1133 | <p>See <a class="xref" href="#using-pkg" title="4.1. Using binary packages">Section 4.1, “Using binary packages”</a>.</p> | | 1140 | <p>See <a class="xref" href="#using-pkg" title="4.1. Using binary packages">Section 4.1, “Using binary packages”</a>.</p> |
1134 | </div> | | 1141 | </div> |
1135 | <div class="sect1"> | | 1142 | <div class="sect1"> |
1136 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 1143 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
1137 | <a name="bootstrapping-pkgsrc"></a>3.2. Bootstrapping pkgsrc</h2></div></div></div> | | 1144 | <a name="bootstrapping-pkgsrc"></a>3.2. Bootstrapping pkgsrc</h2></div></div></div> |
1138 | <p>pkgsrc can be bootstrapped for use in two different modes: | | 1145 | <p>pkgsrc can be bootstrapped for use in two different modes: |
1139 | privileged and unprivileged one. In unprivileged mode in contrast | | 1146 | privileged and unprivileged one. In unprivileged mode in contrast |
| @@ -1237,45 +1244,53 @@ release -d | | | @@ -1237,45 +1244,53 @@ release -d |
1237 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_add pkg_add.orig</code></strong> | | 1244 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_add pkg_add.orig</code></strong> |
1238 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_create pkg_create.orig</code></strong> | | 1245 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_create pkg_create.orig</code></strong> |
1239 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_delete pkg_delete.orig</code></strong> | | 1246 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_delete pkg_delete.orig</code></strong> |
1240 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_info pkg_info.orig</code></strong> | | 1247 | <code class="prompt">#</code> <strong class="userinput"><code>mv pkg_info pkg_info.orig</code></strong> |
1241 | </pre> | | 1248 | </pre> |
1242 | </li> | | 1249 | </li> |
1243 | <li class="listitem"><p>An example <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a> file will be placed in | | 1250 | <li class="listitem"><p>An example <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a> file will be placed in |
1244 | <code class="filename">/etc/mk.conf.example</code> file | | 1251 | <code class="filename">/etc/mk.conf.example</code> file |
1245 | when you use the bootstrap script.</p></li> | | 1252 | when you use the bootstrap script.</p></li> |
1246 | </ol></div> | | 1253 | </ol></div> |
1247 | </div> | | 1254 | </div> |
1248 | <div class="sect2"> | | 1255 | <div class="sect2"> |
1249 | <div class="titlepage"><div><div><h3 class="title"> | | 1256 | <div class="titlepage"><div><div><h3 class="title"> |
1250 | <a name="interix"></a>3.3.4. Interix</h3></div></div></div> | | 1257 | <a name="gnukfreebsd"></a>3.3.4. GNU/kFreeBSD</h3></div></div></div> |
| | | 1258 | <p>Debian GNU/kFreeBSD is the only GNU/kFreeBSD distribution now. |
| | | 1259 | Debian GNU/kFreeBSD 7.0 or later is tested and supported.</p> |
| | | 1260 | <p> You should install ncurses (libncurses and libncurses-dev) |
| | | 1261 | packages.</p> |
| | | 1262 | </div> |
| | | 1263 | <div class="sect2"> |
| | | 1264 | <div class="titlepage"><div><div><h3 class="title"> |
| | | 1265 | <a name="interix"></a>3.3.5. Interix</h3></div></div></div> |
1251 | <p>Interix is a POSIX-compatible subsystem for the Windows NT kernel, | | 1266 | <p>Interix is a POSIX-compatible subsystem for the Windows NT kernel, |
1252 | providing a Unix-like environment with a tighter kernel integration than | | 1267 | providing a Unix-like environment with a tighter kernel integration than |
1253 | available with Cygwin. It is part of the Windows Services for Unix | | 1268 | available with Cygwin. It is part of the Windows Services for Unix |
1254 | package, available for free for any licensed copy of Windows 2000, XP | | 1269 | package, available for free for any licensed copy of Windows 2000, XP |
1255 | (not including XP Home), or 2003. SFU can be downloaded from <a class="ulink" href="http://www.microsoft.com/windows/sfu/" target="_top">http://www.microsoft.com/windows/sfu/</a>.</p> | | 1270 | (not including XP Home), or 2003. SFU can be downloaded from <a class="ulink" href="http://www.microsoft.com/windows/sfu/" target="_top">http://www.microsoft.com/windows/sfu/</a>.</p> |
1256 | <p>Services for Unix 3.5 has been tested. 3.0 or 3.1 may work, but | | 1271 | <p>Services for Unix 3.5 has been tested. 3.0 or 3.1 may work, but |
1257 | are not officially supported. (The main difference in 3.0/3.1 is lack | | 1272 | are not officially supported. (The main difference in 3.0/3.1 is lack |
1258 | of pthreads, but other parts of libc may also be lacking.)</p> | | 1273 | of pthreads, but other parts of libc may also be lacking.)</p> |
1259 | <p>Services for Unix Applications (aka SUA) is an integrated | | 1274 | <p>Services for Unix Applications (aka SUA) is an integrated |
1260 | component of Windows Server 2003 R2 (5.2), Windows Vista and | | 1275 | component of Windows Server 2003 R2 (5.2), Windows Vista and |
1261 | Windows Server 2008 (6.0), Windows 7 and Windows Server 2008 R2 | | 1276 | Windows Server 2008 (6.0), Windows 7 and Windows Server 2008 R2 |
1262 | (6.1). As of this writing, the SUA's Interix 6.0 (32bit) and | | 1277 | (6.1). As of this writing, the SUA's Interix 6.0 (32bit) and |
1263 | 6.1 (64bit) subsystems have been tested. Other versions may | | 1278 | 6.1 (64bit) subsystems have been tested. Other versions may |
1264 | work as well. The Interix 5.x subsystem has not yet been tested | | 1279 | work as well. The Interix 5.x subsystem has not yet been tested |
1265 | with pkgsrc.</p> | | 1280 | with pkgsrc.</p> |
1266 | <div class="sect3"> | | 1281 | <div class="sect3"> |
1267 | <div class="titlepage"><div><div><h4 class="title"> | | 1282 | <div class="titlepage"><div><div><h4 class="title"> |
1268 | <a name="platform.interix-sfu-install"></a>3.3.4.1. When installing Interix/SFU</h4></div></div></div> | | 1283 | <a name="platform.interix-sfu-install"></a>3.3.5.1. When installing Interix/SFU</h4></div></div></div> |
1269 | <p>At an absolute minimum, the following packages must be installed from | | 1284 | <p>At an absolute minimum, the following packages must be installed from |
1270 | the Windows Services for Unix 3.5 distribution in order to use pkgsrc:</p> | | 1285 | the Windows Services for Unix 3.5 distribution in order to use pkgsrc:</p> |
1271 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 1286 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
1272 | <li class="listitem"><p>Utilities -> Base Utilities</p></li> | | 1287 | <li class="listitem"><p>Utilities -> Base Utilities</p></li> |
1273 | <li class="listitem"><p>Interix GNU Components -> (all)</p></li> | | 1288 | <li class="listitem"><p>Interix GNU Components -> (all)</p></li> |
1274 | <li class="listitem"><p>Remote Connectivity</p></li> | | 1289 | <li class="listitem"><p>Remote Connectivity</p></li> |
1275 | <li class="listitem"><p>Interix SDK</p></li> | | 1290 | <li class="listitem"><p>Interix SDK</p></li> |
1276 | </ul></div> | | 1291 | </ul></div> |
1277 | <p>When using pkgsrc on Interix, DO NOT install the Utilities subcomponent | | 1292 | <p>When using pkgsrc on Interix, DO NOT install the Utilities subcomponent |
1278 | "UNIX Perl". That is Perl 5.6 without shared module support, installed to | | 1293 | "UNIX Perl". That is Perl 5.6 without shared module support, installed to |
1279 | /usr/local, and will only cause confusion. Instead, install Perl 5.8 from | | 1294 | /usr/local, and will only cause confusion. Instead, install Perl 5.8 from |
1280 | pkgsrc (or from a binary package).</p> | | 1295 | pkgsrc (or from a binary package).</p> |
1281 | <p>The Remote Connectivity subcomponent "Windows Remote Shell Service" does | | 1296 | <p>The Remote Connectivity subcomponent "Windows Remote Shell Service" does |
| @@ -1296,73 +1311,73 @@ release -d | | | @@ -1296,73 +1311,73 @@ release -d |
1296 | <p>In addition to the hotfix noted above, it may be necessary to | | 1311 | <p>In addition to the hotfix noted above, it may be necessary to |
1297 | disable Data Execution Prevention entirely to make Interix functional. | | 1312 | disable Data Execution Prevention entirely to make Interix functional. |
1298 | This may happen only with certain types of CPUs; the cause is not fully | | 1313 | This may happen only with certain types of CPUs; the cause is not fully |
1299 | understood at this time. If gcc or other applications still segfault | | 1314 | understood at this time. If gcc or other applications still segfault |
1300 | repeatedly after installing one of the hotfixes note above, the | | 1315 | repeatedly after installing one of the hotfixes note above, the |
1301 | following option can be added to the appropriate "boot.ini" line on the | | 1316 | following option can be added to the appropriate "boot.ini" line on the |
1302 | Windows boot drive: /NoExecute=AlwaysOff | | 1317 | Windows boot drive: /NoExecute=AlwaysOff |
1303 | (WARNING, this will disable DEP completely, which may be a security | | 1318 | (WARNING, this will disable DEP completely, which may be a security |
1304 | risk if applications are often run as a user in the Administrators | | 1319 | risk if applications are often run as a user in the Administrators |
1305 | group!)</p> | | 1320 | group!)</p> |
1306 | </div> | | 1321 | </div> |
1307 | <div class="sect3"> | | 1322 | <div class="sect3"> |
1308 | <div class="titlepage"><div><div><h4 class="title"> | | 1323 | <div class="titlepage"><div><div><h4 class="title"> |
1309 | <a name="platform.interix-sfu-postinstall"></a>3.3.4.2. What to do if Interix/SFU is already installed</h4></div></div></div> | | 1324 | <a name="platform.interix-sfu-postinstall"></a>3.3.5.2. What to do if Interix/SFU is already installed</h4></div></div></div> |
1310 | <p>If SFU is already installed and you wish to alter these settings to work | | 1325 | <p>If SFU is already installed and you wish to alter these settings to work |
1311 | with pkgsrc, note the following things.</p> | | 1326 | with pkgsrc, note the following things.</p> |
1312 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 1327 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
1313 | <li class="listitem"><p>To uninstall UNIX Perl, use Add/Remove Programs, select Microsoft | | 1328 | <li class="listitem"><p>To uninstall UNIX Perl, use Add/Remove Programs, select Microsoft |
1314 | Windows Services for UNIX, then click Change. In the installer, choose | | 1329 | Windows Services for UNIX, then click Change. In the installer, choose |
1315 | Add or Remove, then uncheck Utilities->UNIX Perl.</p></li> | | 1330 | Add or Remove, then uncheck Utilities->UNIX Perl.</p></li> |
1316 | <li class="listitem"> | | 1331 | <li class="listitem"> |
1317 | <p>To enable case-sensitivity for the file system, run REGEDIT.EXE, and | | 1332 | <p>To enable case-sensitivity for the file system, run REGEDIT.EXE, and |
1318 | change the following registry key:</p> | | 1333 | change the following registry key:</p> |
1319 | <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel</p> | | 1334 | <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel</p> |
1320 | <p>Set the DWORD value "obcaseinsensitive" to 0; then reboot.</p> | | 1335 | <p>Set the DWORD value "obcaseinsensitive" to 0; then reboot.</p> |
1321 | </li> | | 1336 | </li> |
1322 | <li class="listitem"> | | 1337 | <li class="listitem"> |
1323 | <p>To enable setuid binaries (optional), run REGEDIT.EXE, and change the | | 1338 | <p>To enable setuid binaries (optional), run REGEDIT.EXE, and change the |
1324 | following registry key:</p> | | 1339 | following registry key:</p> |
1325 | <p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for UNIX</p> | | 1340 | <p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for UNIX</p> |
1326 | <p>Set the DWORD value "EnableSetuidBinaries" to 1; then reboot.</p> | | 1341 | <p>Set the DWORD value "EnableSetuidBinaries" to 1; then reboot.</p> |
1327 | </li> | | 1342 | </li> |
1328 | </ul></div> | | 1343 | </ul></div> |
1329 | </div> | | 1344 | </div> |
1330 | <div class="sect3"> | | 1345 | <div class="sect3"> |
1331 | <div class="titlepage"><div><div><h4 class="title"> | | 1346 | <div class="titlepage"><div><div><h4 class="title"> |
1332 | <a name="platform.interix-notes"></a>3.3.4.3. Important notes for using pkgsrc</h4></div></div></div> | | 1347 | <a name="platform.interix-notes"></a>3.3.5.3. Important notes for using pkgsrc</h4></div></div></div> |
1333 | <p>The package manager (either the pkgsrc "su" user, or the user | | 1348 | <p>The package manager (either the pkgsrc "su" user, or the user |
1334 | running "pkg_add") must be a member of the local Administrators | | 1349 | running "pkg_add") must be a member of the local Administrators |
1335 | group. Such a user must also be used to run the bootstrap. This is | | 1350 | group. Such a user must also be used to run the bootstrap. This is |
1336 | slightly relaxed from the normal pkgsrc requirement of "root".</p> | | 1351 | slightly relaxed from the normal pkgsrc requirement of "root".</p> |
1337 | <p>The package manager should use a umask of 002. "make install" will | | 1352 | <p>The package manager should use a umask of 002. "make install" will |
1338 | automatically complain if this is not the case. This ensures that | | 1353 | automatically complain if this is not the case. This ensures that |
1339 | directories written in /var/db/pkg are Administrators-group writeable.</p> | | 1354 | directories written in /var/db/pkg are Administrators-group writeable.</p> |
1340 | <p>The popular Interix binary packages from http://www.interopsystems.com/ | | 1355 | <p>The popular Interix binary packages from http://www.interopsystems.com/ |
1341 | use an older version of pkgsrc's pkg_* tools. Ideally, these should | | 1356 | use an older version of pkgsrc's pkg_* tools. Ideally, these should |
1342 | NOT be used in conjunction with pkgsrc. If you choose to use them at | | 1357 | NOT be used in conjunction with pkgsrc. If you choose to use them at |
1343 | the same time as the pkgsrc packages, ensure that you use the proper | | 1358 | the same time as the pkgsrc packages, ensure that you use the proper |
1344 | pkg_* tools for each type of binary package.</p> | | 1359 | pkg_* tools for each type of binary package.</p> |
1345 | <p>The TERM setting used for DOS-type console windows (including those | | 1360 | <p>The TERM setting used for DOS-type console windows (including those |
1346 | invoked by the csh and ksh startup shortcuts) is "interix". Most systems | | 1361 | invoked by the csh and ksh startup shortcuts) is "interix". Most systems |
1347 | don't have a termcap/terminfo entry for it, but the following .termcap | | 1362 | don't have a termcap/terminfo entry for it, but the following .termcap |
1348 | entry provides adequate emulation in most cases:</p> | | 1363 | entry provides adequate emulation in most cases:</p> |
1349 | <pre class="programlisting"> | | 1364 | <pre class="programlisting"> |
1350 | interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: | | 1365 | interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: |
1351 | </pre> | | 1366 | </pre> |
1352 | </div> | | 1367 | </div> |
1353 | <div class="sect3"> | | 1368 | <div class="sect3"> |
1354 | <div class="titlepage"><div><div><h4 class="title"> | | 1369 | <div class="titlepage"><div><div><h4 class="title"> |
1355 | <a name="platform.interix-limits"></a>3.3.4.4. Limitations of the Interix platform</h4></div></div></div> | | 1370 | <a name="platform.interix-limits"></a>3.3.5.4. Limitations of the Interix platform</h4></div></div></div> |
1356 | <p>Though Interix suffices as a familiar and flexible substitute | | 1371 | <p>Though Interix suffices as a familiar and flexible substitute |
1357 | for a full Unix-like platform, it has some drawbacks that should | | 1372 | for a full Unix-like platform, it has some drawbacks that should |
1358 | be noted for those desiring to make the most of Interix.</p> | | 1373 | be noted for those desiring to make the most of Interix.</p> |
1359 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 1374 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
1360 | <li class="listitem"> | | 1375 | <li class="listitem"> |
1361 | <p><span class="strong"><strong>X11:</strong></span></p> | | 1376 | <p><span class="strong"><strong>X11:</strong></span></p> |
1362 | <p>Interix comes with the standard set of X11R6 client libraries, | | 1377 | <p>Interix comes with the standard set of X11R6 client libraries, |
1363 | and can run X11 based applications, but it does | | 1378 | and can run X11 based applications, but it does |
1364 | <span class="emphasis"><em>not</em></span> come with an X server. Some options are | | 1379 | <span class="emphasis"><em>not</em></span> come with an X server. Some options are |
1365 | <a class="ulink" href="http://www.starnet.com/products/xwin32/" target="_top">StarNet X-Win32</a>, | | 1380 | <a class="ulink" href="http://www.starnet.com/products/xwin32/" target="_top">StarNet X-Win32</a>, |
1366 | <a class="ulink" href="http://connectivity.hummingbird.com/products/nc/exceed/" target="_top">Hummingbird Exceed</a> | | 1381 | <a class="ulink" href="http://connectivity.hummingbird.com/products/nc/exceed/" target="_top">Hummingbird Exceed</a> |
1367 | (available in a trimmed version for Interix from Interop Systems as the | | 1382 | (available in a trimmed version for Interix from Interop Systems as the |
1368 | <a class="ulink" href="http://www.interopsystems.com/InteropXserver.htm" target="_top">Interop X Server</a>), | | 1383 | <a class="ulink" href="http://www.interopsystems.com/InteropXserver.htm" target="_top">Interop X Server</a>), |
| @@ -1399,46 +1414,46 @@ interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@: | | | @@ -1399,46 +1414,46 @@ interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@: |
1399 | </li> | | 1414 | </li> |
1400 | <li class="listitem"> | | 1415 | <li class="listitem"> |
1401 | <p><span class="strong"><strong>Tape drives:</strong></span></p> | | 1416 | <p><span class="strong"><strong>Tape drives:</strong></span></p> |
1402 | <p>Due to the same limitations as for CD-ROMs and SCSI devices, tape | | 1417 | <p>Due to the same limitations as for CD-ROMs and SCSI devices, tape |
1403 | drives are also not directly accessible in Interix. However, | | 1418 | drives are also not directly accessible in Interix. However, |
1404 | support is in work to make tape drive access possible by using | | 1419 | support is in work to make tape drive access possible by using |
1405 | Cygwin as a bridge (similarly to audio bridged via Cygwin's | | 1420 | Cygwin as a bridge (similarly to audio bridged via Cygwin's |
1406 | esound server).</p> | | 1421 | esound server).</p> |
1407 | </li> | | 1422 | </li> |
1408 | </ul></div> | | 1423 | </ul></div> |
1409 | </div> | | 1424 | </div> |
1410 | <div class="sect3"> | | 1425 | <div class="sect3"> |
1411 | <div class="titlepage"><div><div><h4 class="title"> | | 1426 | <div class="titlepage"><div><div><h4 class="title"> |
1412 | <a name="platform.interix-knownissues"></a>3.3.4.5. Known issues for pkgsrc on Interix</h4></div></div></div> | | 1427 | <a name="platform.interix-knownissues"></a>3.3.5.5. Known issues for pkgsrc on Interix</h4></div></div></div> |
1413 | <p>It is not necessary, in general, to have a "root" user on the | | 1428 | <p>It is not necessary, in general, to have a "root" user on the |
1414 | Windows system; any member of the local Administrators group will | | 1429 | Windows system; any member of the local Administrators group will |
1415 | suffice. However, some packages currently assume that the user | | 1430 | suffice. However, some packages currently assume that the user |
1416 | named "root" is the privileged user. To accommodate these, you | | 1431 | named "root" is the privileged user. To accommodate these, you |
1417 | may create such a user; make sure it is in the local group | | 1432 | may create such a user; make sure it is in the local group |
1418 | Administrators (or your language equivalent).</p> | | 1433 | Administrators (or your language equivalent).</p> |
1419 | <p><span class="command"><strong>pkg_add</strong></span> creates directories of mode | | 1434 | <p><span class="command"><strong>pkg_add</strong></span> creates directories of mode |
1420 | 0755, not 0775, in <code class="filename">$PKG_DBDIR</code>. For the | | 1435 | 0755, not 0775, in <code class="filename">$PKG_DBDIR</code>. For the |
1421 | time being, install packages as the local Administrator (or | | 1436 | time being, install packages as the local Administrator (or |
1422 | your language equivalent), or run the following command after | | 1437 | your language equivalent), or run the following command after |
1423 | installing a package to work around the issue:</p> | | 1438 | installing a package to work around the issue:</p> |
1424 | <pre class="screen"> | | 1439 | <pre class="screen"> |
1425 | <code class="prompt">#</code> <strong class="userinput"><code>chmod -R g+w $PKG_DBDIR</code></strong> | | 1440 | <code class="prompt">#</code> <strong class="userinput"><code>chmod -R g+w $PKG_DBDIR</code></strong> |
1426 | </pre> | | 1441 | </pre> |
1427 | </div> | | 1442 | </div> |
1428 | </div> | | 1443 | </div> |
1429 | <div class="sect2"> | | 1444 | <div class="sect2"> |
1430 | <div class="titlepage"><div><div><h3 class="title"> | | 1445 | <div class="titlepage"><div><div><h3 class="title"> |
1431 | <a name="irix"></a>3.3.5. IRIX</h3></div></div></div> | | 1446 | <a name="irix"></a>3.3.6. IRIX</h3></div></div></div> |
1432 | <p>You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro | | 1447 | <p>You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro |
1433 | compiler (cc/c89). Please set the <code class="varname">CC</code> environment variable | | 1448 | compiler (cc/c89). Please set the <code class="varname">CC</code> environment variable |
1434 | according to your preference. If you do not have a license for the MIPSpro | | 1449 | according to your preference. If you do not have a license for the MIPSpro |
1435 | compiler suite, you can download a gcc tardist file from <a class="ulink" href="http://freeware.sgi.com/" target="_top">http://freeware.sgi.com/</a>.</p> | | 1450 | compiler suite, you can download a gcc tardist file from <a class="ulink" href="http://freeware.sgi.com/" target="_top">http://freeware.sgi.com/</a>.</p> |
1436 | <p>Please note that you will need IRIX 6.5.17 or higher, as this is the earliest | | 1451 | <p>Please note that you will need IRIX 6.5.17 or higher, as this is the earliest |
1437 | version of IRIX providing support for <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?if_indextoname+3+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">if_indextoname</span>(3)</span></a>, <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?if_nametoindex+3+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">if_nametoindex</span>(3)</span></a>, | | 1452 | version of IRIX providing support for <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?if_indextoname+3+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">if_indextoname</span>(3)</span></a>, <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?if_nametoindex+3+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">if_nametoindex</span>(3)</span></a>, |
1438 | etc.</p> | | 1453 | etc.</p> |
1439 | <p>At this point in time, pkgsrc only supports one ABI at a time. That is, you cannot | | 1454 | <p>At this point in time, pkgsrc only supports one ABI at a time. That is, you cannot |
1440 | switch between the old 32-bit ABI, the new 32-bit ABI and the 64-bit ABI. If | | 1455 | switch between the old 32-bit ABI, the new 32-bit ABI and the 64-bit ABI. If |
1441 | you start out using "abi=n32", that's what all your packages will be built | | 1456 | you start out using "abi=n32", that's what all your packages will be built |
1442 | with.</p> | | 1457 | with.</p> |
1443 | <p>Therefore, please make sure that you have no conflicting | | 1458 | <p>Therefore, please make sure that you have no conflicting |
1444 | <code class="varname">CFLAGS</code> in your environment or the | | 1459 | <code class="varname">CFLAGS</code> in your environment or the |
| @@ -1463,27 +1478,27 @@ PKGSRC_COMPILER= mipspro | | | @@ -1463,27 +1478,27 @@ PKGSRC_COMPILER= mipspro |
1463 | | | 1478 | |
1464 | in <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a>. Otherwise, pkgsrc will assume you | | 1479 | in <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a>. Otherwise, pkgsrc will assume you |
1465 | are using gcc and may end up passing invalid flags to the compiler. Note that | | 1480 | are using gcc and may end up passing invalid flags to the compiler. Note that |
1466 | bootstrap should create an appropriate <code class="filename">mk.conf.example</code> by | | 1481 | bootstrap should create an appropriate <code class="filename">mk.conf.example</code> by |
1467 | default.</p> | | 1482 | default.</p> |
1468 | <p>If you have both the MIPSPro compiler chain installed as well as gcc, | | 1483 | <p>If you have both the MIPSPro compiler chain installed as well as gcc, |
1469 | but want to make sure that MIPSPro is used, please set your <code class="varname">PATH</code> | | 1484 | but want to make sure that MIPSPro is used, please set your <code class="varname">PATH</code> |
1470 | to <span class="emphasis"><em>not</em></span> include the location of gcc (often | | 1485 | to <span class="emphasis"><em>not</em></span> include the location of gcc (often |
1471 | <code class="filename">/usr/freeware/bin</code>), and (important) pass the | | 1486 | <code class="filename">/usr/freeware/bin</code>), and (important) pass the |
1472 | '--preserve-path' flag.</p> | | 1487 | '--preserve-path' flag.</p> |
1473 | </div> | | 1488 | </div> |
1474 | <div class="sect2"> | | 1489 | <div class="sect2"> |
1475 | <div class="titlepage"><div><div><h3 class="title"> | | 1490 | <div class="titlepage"><div><div><h3 class="title"> |
1476 | <a name="linux"></a>3.3.6. Linux</h3></div></div></div> | | 1491 | <a name="linux"></a>3.3.7. Linux</h3></div></div></div> |
1477 | <p>Some versions of Linux (for example Debian GNU/Linux) need | | 1492 | <p>Some versions of Linux (for example Debian GNU/Linux) need |
1478 | either libtermcap or libcurses (libncurses). Installing the | | 1493 | either libtermcap or libcurses (libncurses). Installing the |
1479 | distributions libncurses-dev package (or equivalent) should fix | | 1494 | distributions libncurses-dev package (or equivalent) should fix |
1480 | the problem.</p> | | 1495 | the problem.</p> |
1481 | <p>pkgsrc supports both gcc (GNU Compiler Collection) and icc | | 1496 | <p>pkgsrc supports both gcc (GNU Compiler Collection) and icc |
1482 | (Intel C++ Compiler). gcc is the default. icc 8.0 and 8.1 on | | 1497 | (Intel C++ Compiler). gcc is the default. icc 8.0 and 8.1 on |
1483 | i386 have been tested.</p> | | 1498 | i386 have been tested.</p> |
1484 | <p>To bootstrap using icc, assuming the default icc installation | | 1499 | <p>To bootstrap using icc, assuming the default icc installation |
1485 | directory:</p> | | 1500 | directory:</p> |
1486 | <pre class="programlisting"> | | 1501 | <pre class="programlisting"> |
1487 | env ICCBASE=/opt/intel/cc/10.1.008 ./bootstrap --compiler=icc | | 1502 | env ICCBASE=/opt/intel/cc/10.1.008 ./bootstrap --compiler=icc |
1488 | </pre> | | 1503 | </pre> |
1489 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> | | 1504 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
| @@ -1506,50 +1521,50 @@ ICCBASE= /opt/intel/cc/10 | | | @@ -1506,50 +1521,50 @@ ICCBASE= /opt/intel/cc/10 |
1506 | <p>pkgsrc uses the static linking method of the runtime libraries | | 1521 | <p>pkgsrc uses the static linking method of the runtime libraries |
1507 | provided by icc, so binaries can be run on other systems which do not | | 1522 | provided by icc, so binaries can be run on other systems which do not |
1508 | have the shared libraries installed.</p> | | 1523 | have the shared libraries installed.</p> |
1509 | <p>Libtool, however, extracts a list of libraries from the | | 1524 | <p>Libtool, however, extracts a list of libraries from the |
1510 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?ld+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">ld</span>(1)</span></a> command run when linking a C++ shared library and | | 1525 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?ld+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">ld</span>(1)</span></a> command run when linking a C++ shared library and |
1511 | records it, throwing away the -Bstatic and -Bdynamic options | | 1526 | records it, throwing away the -Bstatic and -Bdynamic options |
1512 | interspersed between the libraries. This means that | | 1527 | interspersed between the libraries. This means that |
1513 | libtool-linked C++ shared libraries will have a runtime | | 1528 | libtool-linked C++ shared libraries will have a runtime |
1514 | dependency on the icc libraries until this is fixed in | | 1529 | dependency on the icc libraries until this is fixed in |
1515 | libtool.</p> | | 1530 | libtool.</p> |
1516 | </div> | | 1531 | </div> |
1517 | <div class="sect2"> | | 1532 | <div class="sect2"> |
1518 | <div class="titlepage"><div><div><h3 class="title"> | | 1533 | <div class="titlepage"><div><div><h3 class="title"> |
1519 | <a name="mirbsd"></a>3.3.7. MirBSD</h3></div></div></div> | | 1534 | <a name="mirbsd"></a>3.3.8. MirBSD</h3></div></div></div> |
1520 | <p>pkgsrc has been tested on MirBSD #10-current (2011 and newer). | | 1535 | <p>pkgsrc has been tested on MirBSD #10-current (2011 and newer). |
1521 | Older versions might also work. Releases before #10 are not | | 1536 | Older versions might also work. Releases before #10 are not |
1522 | supported.</p> | | 1537 | supported.</p> |
1523 | <p>The package tools of the (older) native ports tree, | | 1538 | <p>The package tools of the (older) native ports tree, |
1524 | <a class="ulink" href="//www.mirbsd.org/ports.htm" target="_top">MirPorts</a>, | | 1539 | <a class="ulink" href="//www.mirbsd.org/ports.htm" target="_top">MirPorts</a>, |
1525 | have the same names as the ones used by pkgsrc. Care should be taken | | 1540 | have the same names as the ones used by pkgsrc. Care should be taken |
1526 | that the right tools are used. When installing packages from source, | | 1541 | that the right tools are used. When installing packages from source, |
1527 | use the <code class="filename">bmake</code> command for pkgsrc and | | 1542 | use the <code class="filename">bmake</code> command for pkgsrc and |
1528 | <code class="filename">mmake</code> for MirPorts.</p> | | 1543 | <code class="filename">mmake</code> for MirPorts.</p> |
1529 | <p>pkgsrc and MirPorts use the same location for the package | | 1544 | <p>pkgsrc and MirPorts use the same location for the package |
1530 | database, <code class="filename">/var/db/pkg</code>. It is strongly recommended | | 1545 | database, <code class="filename">/var/db/pkg</code>. It is strongly recommended |
1531 | to use <code class="filename">/usr/pkg/db</code> instead, so that the pkgsrc | | 1546 | to use <code class="filename">/usr/pkg/db</code> instead, so that the pkgsrc |
1532 | tree is self-contained. This is also the default setting used in the | | 1547 | tree is self-contained. This is also the default setting used in the |
1533 | binary package builds.</p> | | 1548 | binary package builds.</p> |
1534 | <p>Binary packages for MirBSD/i386 can be found on the pkgsrc ftp | | 1549 | <p>Binary packages for MirBSD/i386 can be found on the pkgsrc ftp |
1535 | server. The bootstrap kit there already contains the | | 1550 | server. The bootstrap kit there already contains the |
1536 | <span class="command"><strong>pkgin</strong></span> package manager. See the | | 1551 | <span class="command"><strong>pkgin</strong></span> package manager. See the |
1537 | <a class="ulink" href="https://www.mirbsd.org/pkgsrc.htm" target="_top">pkgsrc on MirOS</a> | | 1552 | <a class="ulink" href="https://www.mirbsd.org/pkgsrc.htm" target="_top">pkgsrc on MirOS</a> |
1538 | page for more details.</p> | | 1553 | page for more details.</p> |
1539 | </div> | | 1554 | </div> |
1540 | <div class="sect2"> | | 1555 | <div class="sect2"> |
1541 | <div class="titlepage"><div><div><h3 class="title"> | | 1556 | <div class="titlepage"><div><div><h3 class="title"> |
1542 | <a name="openbsd"></a>3.3.8. OpenBSD</h3></div></div></div> | | 1557 | <a name="openbsd"></a>3.3.9. OpenBSD</h3></div></div></div> |
1543 | <p>OpenBSD 5.1 has been tested and supported, | | 1558 | <p>OpenBSD 5.1 has been tested and supported, |
1544 | other versions may work.</p> | | 1559 | other versions may work.</p> |
1545 | <p>Care should be taken so that the tools that this kit installs do not conflict | | 1560 | <p>Care should be taken so that the tools that this kit installs do not conflict |
1546 | with the OpenBSD userland tools. There are several steps:</p> | | 1561 | with the OpenBSD userland tools. There are several steps:</p> |
1547 | <div class="orderedlist"><ol class="orderedlist" type="1"> | | 1562 | <div class="orderedlist"><ol class="orderedlist" type="1"> |
1548 | <li class="listitem"><p>OpenBSD stores its ports pkg database in | | 1563 | <li class="listitem"><p>OpenBSD stores its ports pkg database in |
1549 | <code class="filename">/var/db/pkg</code>. It is therefore | | 1564 | <code class="filename">/var/db/pkg</code>. It is therefore |
1550 | recommended that you choose a different location (e.g. | | 1565 | recommended that you choose a different location (e.g. |
1551 | <code class="filename">/usr/pkgdb</code>) by | | 1566 | <code class="filename">/usr/pkgdb</code>) by |
1552 | using the --pkgdbdir option to the bootstrap script.</p></li> | | 1567 | using the --pkgdbdir option to the bootstrap script.</p></li> |
1553 | <li class="listitem"> | | 1568 | <li class="listitem"> |
1554 | <p>If you do not intend to use the OpenBSD ports tools, it's probably a | | 1569 | <p>If you do not intend to use the OpenBSD ports tools, it's probably a |
1555 | good idea to move them out of the way to avoid confusion, e.g.</p> | | 1570 | good idea to move them out of the way to avoid confusion, e.g.</p> |
| @@ -1570,59 +1585,59 @@ ICCBASE= /opt/intel/cc/10 | | | @@ -1570,59 +1585,59 @@ ICCBASE= /opt/intel/cc/10 |
1570 | of the file with:</p> | | 1585 | of the file with:</p> |
1571 | <pre class="programlisting"> | | 1586 | <pre class="programlisting"> |
1572 | .ifdef BSD_PKG_MK | | 1587 | .ifdef BSD_PKG_MK |
1573 | # pkgsrc stuff, e.g. insert defaults/mk.conf or similar here | | 1588 | # pkgsrc stuff, e.g. insert defaults/mk.conf or similar here |
1574 | .else | | 1589 | .else |
1575 | # OpenBSD stuff | | 1590 | # OpenBSD stuff |
1576 | .endif | | 1591 | .endif |
1577 | </pre> | | 1592 | </pre> |
1578 | </li> | | 1593 | </li> |
1579 | </ol></div> | | 1594 | </ol></div> |
1580 | </div> | | 1595 | </div> |
1581 | <div class="sect2"> | | 1596 | <div class="sect2"> |
1582 | <div class="titlepage"><div><div><h3 class="title"> | | 1597 | <div class="titlepage"><div><div><h3 class="title"> |
1583 | <a name="solaris"></a>3.3.9. Solaris</h3></div></div></div> | | 1598 | <a name="solaris"></a>3.3.10. Solaris</h3></div></div></div> |
1584 | <p>Solaris 2.6 through 10 are supported on both x86 and sparc. | | 1599 | <p>Solaris 2.6 through 10 are supported on both x86 and sparc. |
1585 | You will need a working C compiler. Both gcc 4.5.3 and | | 1600 | You will need a working C compiler. Both gcc 4.5.3 and |
1586 | Sun WorkShop 5 have been tested.</p> | | 1601 | Sun WorkShop 5 have been tested.</p> |
1587 | <p>The following packages are required on Solaris 8 for the bootstrap | | 1602 | <p>The following packages are required on Solaris 8 for the bootstrap |
1588 | process and to build packages.</p> | | 1603 | process and to build packages.</p> |
1589 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 1604 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
1590 | <li class="listitem"><p>SUNWsprot</p></li> | | 1605 | <li class="listitem"><p>SUNWsprot</p></li> |
1591 | <li class="listitem"><p>SUNWarc</p></li> | | 1606 | <li class="listitem"><p>SUNWarc</p></li> |
1592 | <li class="listitem"><p>SUNWbtool</p></li> | | 1607 | <li class="listitem"><p>SUNWbtool</p></li> |
1593 | <li class="listitem"><p>SUNWtoo</p></li> | | 1608 | <li class="listitem"><p>SUNWtoo</p></li> |
1594 | <li class="listitem"><p>SUNWlibm</p></li> | | 1609 | <li class="listitem"><p>SUNWlibm</p></li> |
1595 | </ul></div> | | 1610 | </ul></div> |
1596 | <p>Please note that the use of GNU binutils on Solaris is | | 1611 | <p>Please note that the use of GNU binutils on Solaris is |
1597 | <span class="emphasis"><em>not</em></span> supported, as of June 2006.</p> | | 1612 | <span class="emphasis"><em>not</em></span> supported, as of June 2006.</p> |
1598 | <p>Whichever compiler you use, please ensure the compiler tools and | | 1613 | <p>Whichever compiler you use, please ensure the compiler tools and |
1599 | your $prefix are in your <code class="varname">PATH</code>. This includes | | 1614 | your $prefix are in your <code class="varname">PATH</code>. This includes |
1600 | <code class="filename">/usr/ccs/{bin,lib}</code> | | 1615 | <code class="filename">/usr/ccs/{bin,lib}</code> |
1601 | and e.g. <code class="filename">/usr/pkg/{bin,sbin}</code>.</p> | | 1616 | and e.g. <code class="filename">/usr/pkg/{bin,sbin}</code>.</p> |
1602 | <div class="sect3"> | | 1617 | <div class="sect3"> |
1603 | <div class="titlepage"><div><div><h4 class="title"> | | 1618 | <div class="titlepage"><div><div><h4 class="title"> |
1604 | <a name="solaris-gcc-note"></a>3.3.9.1. If you are using gcc</h4></div></div></div> | | 1619 | <a name="solaris-gcc-note"></a>3.3.10.1. If you are using gcc</h4></div></div></div> |
1605 | <p>It makes life much simpler if you only use the same gcc consistently | | 1620 | <p>It makes life much simpler if you only use the same gcc consistently |
1606 | for building all packages.</p> | | 1621 | for building all packages.</p> |
1607 | <p>It is recommended that an external gcc be used only for bootstrapping, | | 1622 | <p>It is recommended that an external gcc be used only for bootstrapping, |
1608 | then either build gcc from | | 1623 | then either build gcc from |
1609 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/gcc46/README.html" target="_top"><code class="filename">lang/gcc46</code></a> or install a binary gcc | | 1624 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/gcc46/README.html" target="_top"><code class="filename">lang/gcc46</code></a> or install a binary gcc |
1610 | package, then remove gcc used during bootstrapping.</p> | | 1625 | package, then remove gcc used during bootstrapping.</p> |
1611 | <p>Binary packages of gcc can be found through <a class="ulink" href="http://www.sunfreeware.com/" target="_top">http://www.sunfreeware.com/</a>.</p> | | 1626 | <p>Binary packages of gcc can be found through <a class="ulink" href="http://www.sunfreeware.com/" target="_top">http://www.sunfreeware.com/</a>.</p> |
1612 | </div> | | 1627 | </div> |
1613 | <div class="sect3"> | | 1628 | <div class="sect3"> |
1614 | <div class="titlepage"><div><div><h4 class="title"> | | 1629 | <div class="titlepage"><div><div><h4 class="title"> |
1615 | <a name="solaris-sun-workshop-note"></a>3.3.9.2. If you are using Sun WorkShop</h4></div></div></div> | | 1630 | <a name="solaris-sun-workshop-note"></a>3.3.10.2. If you are using Sun WorkShop</h4></div></div></div> |
1616 | <p>You will need at least the following packages installed (from WorkShop | | 1631 | <p>You will need at least the following packages installed (from WorkShop |
1617 | 5.0)</p> | | 1632 | 5.0)</p> |
1618 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 1633 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
1619 | <li class="listitem"><p>SPROcc | | 1634 | <li class="listitem"><p>SPROcc |
1620 | - Sun WorkShop Compiler C 5.0</p></li> | | 1635 | - Sun WorkShop Compiler C 5.0</p></li> |
1621 | <li class="listitem"><p>SPROcpl | | 1636 | <li class="listitem"><p>SPROcpl |
1622 | - Sun WorkShop Compiler C++ 5.0</p></li> | | 1637 | - Sun WorkShop Compiler C++ 5.0</p></li> |
1623 | <li class="listitem"><p>SPROild | | 1638 | <li class="listitem"><p>SPROild |
1624 | - Sun WorkShop Incremental Linker</p></li> | | 1639 | - Sun WorkShop Incremental Linker</p></li> |
1625 | <li class="listitem"><p>SPROlang | | 1640 | <li class="listitem"><p>SPROlang |
1626 | - Sun WorkShop Compilers common components</p></li> | | 1641 | - Sun WorkShop Compilers common components</p></li> |
1627 | </ul></div> | | 1642 | </ul></div> |
1628 | <p>You should set the following variables in your | | 1643 | <p>You should set the following variables in your |
| @@ -1632,43 +1647,43 @@ CC= cc | | | @@ -1632,43 +1647,43 @@ CC= cc |
1632 | CXX= CC | | 1647 | CXX= CC |
1633 | CPP= cc -E | | 1648 | CPP= cc -E |
1634 | CXXCPP= CC -E | | 1649 | CXXCPP= CC -E |
1635 | </pre> | | 1650 | </pre> |
1636 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> | | 1651 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
1637 | <h3 class="title">Note</h3> | | 1652 | <h3 class="title">Note</h3> |
1638 | <p>The <code class="varname">CPP</code> setting might break some | | 1653 | <p>The <code class="varname">CPP</code> setting might break some |
1639 | packages that use the C preprocessor for processing things other | | 1654 | packages that use the C preprocessor for processing things other |
1640 | than C source code.</p> | | 1655 | than C source code.</p> |
1641 | </div> | | 1656 | </div> |
1642 | </div> | | 1657 | </div> |
1643 | <div class="sect3"> | | 1658 | <div class="sect3"> |
1644 | <div class="titlepage"><div><div><h4 class="title"> | | 1659 | <div class="titlepage"><div><div><h4 class="title"> |
1645 | <a name="solaris-sunpro-64"></a>3.3.9.3. Building 64-bit binaries with SunPro</h4></div></div></div> | | 1660 | <a name="solaris-sunpro-64"></a>3.3.10.3. Building 64-bit binaries with SunPro</h4></div></div></div> |
1646 | <p>To build 64-bit packages, you just need to have the | | 1661 | <p>To build 64-bit packages, you just need to have the |
1647 | following lines in your <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a> file:</p> | | 1662 | following lines in your <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a> file:</p> |
1648 | <pre class="programlisting"> | | 1663 | <pre class="programlisting"> |
1649 | PKGSRC_COMPILER= sunpro | | 1664 | PKGSRC_COMPILER= sunpro |
1650 | ABI= 64 | | 1665 | ABI= 64 |
1651 | </pre> | | 1666 | </pre> |
1652 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> | | 1667 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
1653 | <h3 class="title">Note</h3> | | 1668 | <h3 class="title">Note</h3> |
1654 | <p>This setting has been tested for the SPARC | | 1669 | <p>This setting has been tested for the SPARC |
1655 | architecture. Intel and AMD machines need some more | | 1670 | architecture. Intel and AMD machines need some more |
1656 | work.</p> | | 1671 | work.</p> |
1657 | </div> | | 1672 | </div> |
1658 | </div> | | 1673 | </div> |
1659 | <div class="sect3"> | | 1674 | <div class="sect3"> |
1660 | <div class="titlepage"><div><div><h4 class="title"> | | 1675 | <div class="titlepage"><div><div><h4 class="title"> |
1661 | <a name="plat.sunos.problems"></a>3.3.9.4. Common problems</h4></div></div></div> | | 1676 | <a name="plat.sunos.problems"></a>3.3.10.4. Common problems</h4></div></div></div> |
1662 | <p>Sometimes, when using <span class="command"><strong>libtool</strong></span>, | | 1677 | <p>Sometimes, when using <span class="command"><strong>libtool</strong></span>, |
1663 | <code class="filename">/bin/ksh</code> crashes with a segmentation fault. | | 1678 | <code class="filename">/bin/ksh</code> crashes with a segmentation fault. |
1664 | The workaround is to use another shell for the configure | | 1679 | The workaround is to use another shell for the configure |
1665 | scripts, for example by installing <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/shells/bash/README.html" target="_top"><code class="filename">shells/bash</code></a> and adding the following lines | | 1680 | scripts, for example by installing <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/shells/bash/README.html" target="_top"><code class="filename">shells/bash</code></a> and adding the following lines |
1666 | to your <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a>:</p> | | 1681 | to your <a class="link" href="#mk.conf"><code class="filename">mk.conf</code></a>:</p> |
1667 | <pre class="programlisting"> | | 1682 | <pre class="programlisting"> |
1668 | CONFIG_SHELL= ${LOCALBASE}/bin/bash | | 1683 | CONFIG_SHELL= ${LOCALBASE}/bin/bash |
1669 | WRAPPER_SHELL= ${LOCALBASE}/bin/bash | | 1684 | WRAPPER_SHELL= ${LOCALBASE}/bin/bash |
1670 | </pre> | | 1685 | </pre> |
1671 | <p>Then, rebuild the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/libtool-base/README.html" target="_top"><code class="filename">devel/libtool-base</code></a> package.</p> | | 1686 | <p>Then, rebuild the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/libtool-base/README.html" target="_top"><code class="filename">devel/libtool-base</code></a> package.</p> |
1672 | </div> | | 1687 | </div> |
1673 | </div> | | 1688 | </div> |
1674 | </div> | | 1689 | </div> |
| @@ -7682,67 +7697,67 @@ the name of the common tools. For exampl | | | @@ -7682,67 +7697,67 @@ the name of the common tools. For exampl |
7682 | .if exists(/usr/bin/bzcat) | | 7697 | .if exists(/usr/bin/bzcat) |
7683 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 7698 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
7684 | .elif exists(/usr/bin/bzip2) | | 7699 | .elif exists(/usr/bin/bzip2) |
7685 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd | | 7700 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd |
7686 | .endif | | 7701 | .endif |
7687 | | | 7702 | |
7688 | TOOLS_PLATFORM.true?= true # shell builtin | | 7703 | TOOLS_PLATFORM.true?= true # shell builtin |
7689 | </pre> | | 7704 | </pre> |
7690 | </div> | | 7705 | </div> |
7691 | <div class="sect1"> | | 7706 | <div class="sect1"> |
7692 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 7707 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
7693 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> | | 7708 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> |
7694 | <div class="qandaset"> | | 7709 | <div class="qandaset"> |
7695 | <a name="idp140459939576832"></a><dl> | | 7710 | <a name="idm77779760"></a><dl> |
7696 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> | | 7711 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> |
7697 | </dt> | | 7712 | </dt> |
7698 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available | | 7713 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available |
7699 | tools?</a> | | 7714 | tools?</a> |
7700 | </dt> | | 7715 | </dt> |
7701 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a | | 7716 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a |
7702 | package is using while being built? I want to know whether it | | 7717 | package is using while being built? I want to know whether it |
7703 | uses sed or not.</a> | | 7718 | uses sed or not.</a> |
7704 | </dt> | | 7719 | </dt> |
7705 | </dl> | | 7720 | </dl> |
7706 | <table border="0" style="width: 100%;"> | | 7721 | <table border="0" style="width: 100%;"> |
7707 | <colgroup> | | 7722 | <colgroup> |
7708 | <col align="left" width="1%"> | | 7723 | <col align="left" width="1%"> |
7709 | <col> | | 7724 | <col> |
7710 | </colgroup> | | 7725 | </colgroup> |
7711 | <tbody> | | 7726 | <tbody> |
7712 | <tr class="question"> | | 7727 | <tr class="question"> |
7713 | <td align="left" valign="top"> | | 7728 | <td align="left" valign="top"> |
7714 | <a name="tools.new"></a><a name="idp140459939577472"></a><p><b>18.4.1.</b></p> | | 7729 | <a name="tools.new"></a><a name="idm77779376"></a><p><b>18.4.1.</b></p> |
7715 | </td> | | 7730 | </td> |
7716 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> | | 7731 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> |
7717 | </tr> | | 7732 | </tr> |
7718 | <tr class="answer"> | | 7733 | <tr class="answer"> |
7719 | <td align="left" valign="top"></td> | | 7734 | <td align="left" valign="top"></td> |
7720 | <td align="left" valign="top"><p>TODO</p></td> | | 7735 | <td align="left" valign="top"><p>TODO</p></td> |
7721 | </tr> | | 7736 | </tr> |
7722 | <tr class="question"> | | 7737 | <tr class="question"> |
7723 | <td align="left" valign="top"> | | 7738 | <td align="left" valign="top"> |
7724 | <a name="tools.listall"></a><a name="idp140459939578752"></a><p><b>18.4.2.</b></p> | | 7739 | <a name="tools.listall"></a><a name="idm77778352"></a><p><b>18.4.2.</b></p> |
7725 | </td> | | 7740 | </td> |
7726 | <td align="left" valign="top"><p>How do I get a list of all available | | 7741 | <td align="left" valign="top"><p>How do I get a list of all available |
7727 | tools?</p></td> | | 7742 | tools?</p></td> |
7728 | </tr> | | 7743 | </tr> |
7729 | <tr class="answer"> | | 7744 | <tr class="answer"> |
7730 | <td align="left" valign="top"></td> | | 7745 | <td align="left" valign="top"></td> |
7731 | <td align="left" valign="top"><p>TODO</p></td> | | 7746 | <td align="left" valign="top"><p>TODO</p></td> |
7732 | </tr> | | 7747 | </tr> |
7733 | <tr class="question"> | | 7748 | <tr class="question"> |
7734 | <td align="left" valign="top"> | | 7749 | <td align="left" valign="top"> |
7735 | <a name="tools.used"></a><a name="idp140459939580048"></a><p><b>18.4.3.</b></p> | | 7750 | <a name="tools.used"></a><a name="idm77777200"></a><p><b>18.4.3.</b></p> |
7736 | </td> | | 7751 | </td> |
7737 | <td align="left" valign="top"><p>How can I get a list of all the tools that a | | 7752 | <td align="left" valign="top"><p>How can I get a list of all the tools that a |
7738 | package is using while being built? I want to know whether it | | 7753 | package is using while being built? I want to know whether it |
7739 | uses sed or not.</p></td> | | 7754 | uses sed or not.</p></td> |
7740 | </tr> | | 7755 | </tr> |
7741 | <tr class="answer"> | | 7756 | <tr class="answer"> |
7742 | <td align="left" valign="top"></td> | | 7757 | <td align="left" valign="top"></td> |
7743 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able | | 7758 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able |
7744 | to do it.)</p></td> | | 7759 | to do it.)</p></td> |
7745 | </tr> | | 7760 | </tr> |
7746 | </tbody> | | 7761 | </tbody> |
7747 | </table> | | 7762 | </table> |
7748 | </div> | | 7763 | </div> |
| @@ -9785,27 +9800,27 @@ place. | | | @@ -9785,27 +9800,27 @@ place. |
9785 | </li> | | 9800 | </li> |
9786 | </ol></div> | | 9801 | </ol></div> |
9787 | </div> | | 9802 | </div> |
9788 | </div> | | 9803 | </div> |
9789 | <div class="chapter"> | | 9804 | <div class="chapter"> |
9790 | <div class="titlepage"><div><div><h2 class="title"> | | 9805 | <div class="titlepage"><div><div><h2 class="title"> |
9791 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> | | 9806 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> |
9792 | <p>This section contains the answers to questions that may | | 9807 | <p>This section contains the answers to questions that may |
9793 | arise when you are writing a package. If you don't find your | | 9808 | arise when you are writing a package. If you don't find your |
9794 | question answered here, first have a look in the other chapters, | | 9809 | question answered here, first have a look in the other chapters, |
9795 | and if you still don't have the answer, ask on the | | 9810 | and if you still don't have the answer, ask on the |
9796 | <code class="literal">pkgsrc-users</code> mailing list.</p> | | 9811 | <code class="literal">pkgsrc-users</code> mailing list.</p> |
9797 | <div class="qandaset"> | | 9812 | <div class="qandaset"> |
9798 | <a name="idp140459940175040"></a><dl> | | 9813 | <a name="idm77224496"></a><dl> |
9799 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between | | 9814 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between |
9800 | MAKEFLAGS, .MAKEFLAGS and | | 9815 | MAKEFLAGS, .MAKEFLAGS and |
9801 | MAKE_FLAGS?</a> | | 9816 | MAKE_FLAGS?</a> |
9802 | </dt> | | 9817 | </dt> |
9803 | <dt>22.2. <a href="#devfaq.make">What is the difference between | | 9818 | <dt>22.2. <a href="#devfaq.make">What is the difference between |
9804 | MAKE, GMAKE and | | 9819 | MAKE, GMAKE and |
9805 | MAKE_PROGRAM?</a> | | 9820 | MAKE_PROGRAM?</a> |
9806 | </dt> | | 9821 | </dt> |
9807 | <dt>22.3. <a href="#devfaq.cc">What is the difference between | | 9822 | <dt>22.3. <a href="#devfaq.cc">What is the difference between |
9808 | CC, PKG_CC and | | 9823 | CC, PKG_CC and |
9809 | PKGSRC_COMPILER?</a> | | 9824 | PKGSRC_COMPILER?</a> |
9810 | </dt> | | 9825 | </dt> |
9811 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between | | 9826 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between |
| @@ -9830,157 +9845,157 @@ place. | | | @@ -9830,157 +9845,157 @@ place. |
9830 | </dt> | | 9845 | </dt> |
9831 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I | | 9846 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I |
9832 | do?</a> | | 9847 | do?</a> |
9833 | </dt> | | 9848 | </dt> |
9834 | </dl> | | 9849 | </dl> |
9835 | <table border="0" style="width: 100%;"> | | 9850 | <table border="0" style="width: 100%;"> |
9836 | <colgroup> | | 9851 | <colgroup> |
9837 | <col align="left" width="1%"> | | 9852 | <col align="left" width="1%"> |
9838 | <col> | | 9853 | <col> |
9839 | </colgroup> | | 9854 | </colgroup> |
9840 | <tbody> | | 9855 | <tbody> |
9841 | <tr class="question"> | | 9856 | <tr class="question"> |
9842 | <td align="left" valign="top"> | | 9857 | <td align="left" valign="top"> |
9843 | <a name="devfaq.makeflags"></a><a name="idp140459940175696"></a><p><b>22.1.</b></p> | | 9858 | <a name="devfaq.makeflags"></a><a name="idm77224112"></a><p><b>22.1.</b></p> |
9844 | </td> | | 9859 | </td> |
9845 | <td align="left" valign="top"><p>What is the difference between | | 9860 | <td align="left" valign="top"><p>What is the difference between |
9846 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and | | 9861 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and |
9847 | <code class="varname">MAKE_FLAGS</code>?</p></td> | | 9862 | <code class="varname">MAKE_FLAGS</code>?</p></td> |
9848 | </tr> | | 9863 | </tr> |
9849 | <tr class="answer"> | | 9864 | <tr class="answer"> |
9850 | <td align="left" valign="top"></td> | | 9865 | <td align="left" valign="top"></td> |
9851 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed | | 9866 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed |
9852 | to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while | | 9867 | to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while |
9853 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to | | 9868 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to |
9854 | the <code class="varname">MAKE_PROGRAM</code> when building the | | 9869 | the <code class="varname">MAKE_PROGRAM</code> when building the |
9855 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> | | 9870 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> |
9856 | </tr> | | 9871 | </tr> |
9857 | <tr class="question"> | | 9872 | <tr class="question"> |
9858 | <td align="left" valign="top"> | | 9873 | <td align="left" valign="top"> |
9859 | <a name="devfaq.make"></a><a name="idp140459940180160"></a><p><b>22.2.</b></p> | | 9874 | <a name="devfaq.make"></a><a name="idm77220016"></a><p><b>22.2.</b></p> |
9860 | </td> | | 9875 | </td> |
9861 | <td align="left" valign="top"><p>What is the difference between | | 9876 | <td align="left" valign="top"><p>What is the difference between |
9862 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and | | 9877 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and |
9863 | <code class="varname">MAKE_PROGRAM</code>?</p></td> | | 9878 | <code class="varname">MAKE_PROGRAM</code>?</p></td> |
9864 | </tr> | | 9879 | </tr> |
9865 | <tr class="answer"> | | 9880 | <tr class="answer"> |
9866 | <td align="left" valign="top"></td> | | 9881 | <td align="left" valign="top"></td> |
9867 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the | | 9882 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the |
9868 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc | | 9883 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc |
9869 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU | | 9884 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU |
9870 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to | | 9885 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to |
9871 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the | | 9886 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the |
9872 | Make program that is used for building the | | 9887 | Make program that is used for building the |
9873 | package.</p></td> | | 9888 | package.</p></td> |
9874 | </tr> | | 9889 | </tr> |
9875 | <tr class="question"> | | 9890 | <tr class="question"> |
9876 | <td align="left" valign="top"> | | 9891 | <td align="left" valign="top"> |
9877 | <a name="devfaq.cc"></a><a name="idp140459940185184"></a><p><b>22.3.</b></p> | | 9892 | <a name="devfaq.cc"></a><a name="idm77215664"></a><p><b>22.3.</b></p> |
9878 | </td> | | 9893 | </td> |
9879 | <td align="left" valign="top"><p>What is the difference between | | 9894 | <td align="left" valign="top"><p>What is the difference between |
9880 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and | | 9895 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and |
9881 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> | | 9896 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> |
9882 | </tr> | | 9897 | </tr> |
9883 | <tr class="answer"> | | 9898 | <tr class="answer"> |
9884 | <td align="left" valign="top"></td> | | 9899 | <td align="left" valign="top"></td> |
9885 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C | | 9900 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C |
9886 | compiler, which can be configured by the pkgsrc user. | | 9901 | compiler, which can be configured by the pkgsrc user. |
9887 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. | | 9902 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. |
9888 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a | | 9903 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a |
9889 | path to a compiler, but the type of compiler that should be | | 9904 | path to a compiler, but the type of compiler that should be |
9890 | used. See <code class="filename">mk/compiler.mk</code> for more | | 9905 | used. See <code class="filename">mk/compiler.mk</code> for more |
9891 | information about the latter variable.</p></td> | | 9906 | information about the latter variable.</p></td> |
9892 | </tr> | | 9907 | </tr> |
9893 | <tr class="question"> | | 9908 | <tr class="question"> |
9894 | <td align="left" valign="top"> | | 9909 | <td align="left" valign="top"> |
9895 | <a name="devfaq.bl3flags"></a><a name="idp140459940190064"></a><p><b>22.4.</b></p> | | 9910 | <a name="devfaq.bl3flags"></a><a name="idm77211440"></a><p><b>22.4.</b></p> |
9896 | </td> | | 9911 | </td> |
9897 | <td align="left" valign="top"><p>What is the difference between | | 9912 | <td align="left" valign="top"><p>What is the difference between |
9898 | <code class="varname">BUILDLINK_LDFLAGS</code>, | | 9913 | <code class="varname">BUILDLINK_LDFLAGS</code>, |
9899 | <code class="varname">BUILDLINK_LDADD</code> and | | 9914 | <code class="varname">BUILDLINK_LDADD</code> and |
9900 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> | | 9915 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> |
9901 | </tr> | | 9916 | </tr> |
9902 | <tr class="answer"> | | 9917 | <tr class="answer"> |
9903 | <td align="left" valign="top"></td> | | 9918 | <td align="left" valign="top"></td> |
9904 | <td align="left" valign="top"><p>[FIXME]</p></td> | | 9919 | <td align="left" valign="top"><p>[FIXME]</p></td> |
9905 | </tr> | | 9920 | </tr> |
9906 | <tr class="question"> | | 9921 | <tr class="question"> |
9907 | <td align="left" valign="top"> | | 9922 | <td align="left" valign="top"> |
9908 | <a name="devfaq.bl3prefix"></a><a name="idp140459940192688"></a><p><b>22.5.</b></p> | | 9923 | <a name="devfaq.bl3prefix"></a><a name="idm77209264"></a><p><b>22.5.</b></p> |
9909 | </td> | | 9924 | </td> |
9910 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var | | 9925 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var |
9911 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> | | 9926 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> |
9912 | say it's empty?</p></td> | | 9927 | say it's empty?</p></td> |
9913 | </tr> | | 9928 | </tr> |
9914 | <tr class="answer"> | | 9929 | <tr class="answer"> |
9915 | <td align="left" valign="top"></td> | | 9930 | <td align="left" valign="top"></td> |
9916 | <td align="left" valign="top"><p>For optimization reasons, some variables are only | | 9931 | <td align="left" valign="top"><p>For optimization reasons, some variables are only |
9917 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To | | 9932 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To |
9918 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append | | 9933 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append |
9919 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above | | 9934 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above |
9920 | command.</p></td> | | 9935 | command.</p></td> |
9921 | </tr> | | 9936 | </tr> |
9922 | <tr class="question"> | | 9937 | <tr class="question"> |
9923 | <td align="left" valign="top"> | | 9938 | <td align="left" valign="top"> |
9924 | <a name="devfaq.master_sites"></a><a name="idp140459940196560"></a><p><b>22.6.</b></p> | | 9939 | <a name="devfaq.master_sites"></a><a name="idm77206192"></a><p><b>22.6.</b></p> |
9925 | </td> | | 9940 | </td> |
9926 | <td align="left" valign="top"><p>What does | | 9941 | <td align="left" valign="top"><p>What does |
9927 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I | | 9942 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I |
9928 | don't understand the <code class="literal">:=</code> inside | | 9943 | don't understand the <code class="literal">:=</code> inside |
9929 | it.</p></td> | | 9944 | it.</p></td> |
9930 | </tr> | | 9945 | </tr> |
9931 | <tr class="answer"> | | 9946 | <tr class="answer"> |
9932 | <td align="left" valign="top"></td> | | 9947 | <td align="left" valign="top"></td> |
9933 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an | | 9948 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an |
9934 | assignment operator, like you might expect at first sight. | | 9949 | assignment operator, like you might expect at first sight. |
9935 | Instead, it is a degenerate form of | | 9950 | Instead, it is a degenerate form of |
9936 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, | | 9951 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, |
9937 | which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which you | | 9952 | which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which you |
9938 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the | | 9953 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the |
9939 | case of <code class="varname">MASTER_SITE_*</code>, | | 9954 | case of <code class="varname">MASTER_SITE_*</code>, |
9940 | <em class="replaceable"><code>old_string</code></em> is the empty string and | | 9955 | <em class="replaceable"><code>old_string</code></em> is the empty string and |
9941 | <em class="replaceable"><code>new_string</code></em> is | | 9956 | <em class="replaceable"><code>new_string</code></em> is |
9942 | <code class="literal">package/</code>. That's where the | | 9957 | <code class="literal">package/</code>. That's where the |
9943 | <code class="literal">:</code> and the <code class="literal">=</code> fall | | 9958 | <code class="literal">:</code> and the <code class="literal">=</code> fall |
9944 | together.</p></td> | | 9959 | together.</p></td> |
9945 | </tr> | | 9960 | </tr> |
9946 | <tr class="question"> | | 9961 | <tr class="question"> |
9947 | <td align="left" valign="top"> | | 9962 | <td align="left" valign="top"> |
9948 | <a name="devfaq.mailinglists"></a><a name="idp140459940206176"></a><p><b>22.7.</b></p> | | 9963 | <a name="devfaq.mailinglists"></a><a name="idm77198128"></a><p><b>22.7.</b></p> |
9949 | </td> | | 9964 | </td> |
9950 | <td align="left" valign="top"><p>Which mailing lists are there for package | | 9965 | <td align="left" valign="top"><p>Which mailing lists are there for package |
9951 | developers?</p></td> | | 9966 | developers?</p></td> |
9952 | </tr> | | 9967 | </tr> |
9953 | <tr class="answer"> | | 9968 | <tr class="answer"> |
9954 | <td align="left" valign="top"></td> | | 9969 | <td align="left" valign="top"></td> |
9955 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> | | 9970 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> |
9956 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> | | 9971 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> |
9957 | <dd><p>This is a list for technical discussions related | | 9972 | <dd><p>This is a list for technical discussions related |
9958 | to pkgsrc development, e.g. soliciting feedback for changes to | | 9973 | to pkgsrc development, e.g. soliciting feedback for changes to |
9959 | pkgsrc infrastructure, proposed new features, questions related | | 9974 | pkgsrc infrastructure, proposed new features, questions related |
9960 | to porting pkgsrc to a new platform, advice for maintaining a | | 9975 | to porting pkgsrc to a new platform, advice for maintaining a |
9961 | package, patches that affect many packages, help requests moved | | 9976 | package, patches that affect many packages, help requests moved |
9962 | from pkgsrc-users when an infrastructure bug is found, | | 9977 | from pkgsrc-users when an infrastructure bug is found, |
9963 | etc.</p></dd> | | 9978 | etc.</p></dd> |
9964 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> | | 9979 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> |
9965 | <dd><p>All bug reports in category "pkg" sent with | | 9980 | <dd><p>All bug reports in category "pkg" sent with |
9966 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here | | 9981 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here |
9967 | directly; use one of the other mailing | | 9982 | directly; use one of the other mailing |
9968 | lists.</p></dd> | | 9983 | lists.</p></dd> |
9969 | </dl></div></td> | | 9984 | </dl></div></td> |
9970 | </tr> | | 9985 | </tr> |
9971 | <tr class="question"> | | 9986 | <tr class="question"> |
9972 | <td align="left" valign="top"> | | 9987 | <td align="left" valign="top"> |
9973 | <a name="devfaq.documentation"></a><a name="idp140459940211088"></a><p><b>22.8.</b></p> | | 9988 | <a name="devfaq.documentation"></a><a name="idm77194288"></a><p><b>22.8.</b></p> |
9974 | </td> | | 9989 | </td> |
9975 | <td align="left" valign="top"><p>Where is the pkgsrc | | 9990 | <td align="left" valign="top"><p>Where is the pkgsrc |
9976 | documentation?</p></td> | | 9991 | documentation?</p></td> |
9977 | </tr> | | 9992 | </tr> |
9978 | <tr class="answer"> | | 9993 | <tr class="answer"> |
9979 | <td align="left" valign="top"></td> | | 9994 | <td align="left" valign="top"></td> |
9980 | <td align="left" valign="top"> | | 9995 | <td align="left" valign="top"> |
9981 | <p>There are many places where you can find | | 9996 | <p>There are many places where you can find |
9982 | documentation about pkgsrc:</p> | | 9997 | documentation about pkgsrc:</p> |
9983 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 9998 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
9984 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection | | 9999 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection |
9985 | of chapters that explain large parts of pkgsrc, but some | | 10000 | of chapters that explain large parts of pkgsrc, but some |
9986 | chapters tend to be outdated. Which ones they are is hard to | | 10001 | chapters tend to be outdated. Which ones they are is hard to |
| @@ -10008,27 +10023,27 @@ do? | | | @@ -10008,27 +10023,27 @@ do? |
10008 | documented</span>”</span>, that is the documentation exists only in the | | 10023 | documented</span>”</span>, that is the documentation exists only in the |
10009 | mind of the developer who wrote the code. To get this | | 10024 | mind of the developer who wrote the code. To get this |
10010 | information, use the <span class="command"><strong>cvs annotate</strong></span> command | | 10025 | information, use the <span class="command"><strong>cvs annotate</strong></span> command |
10011 | to see who has written it and ask on the | | 10026 | to see who has written it and ask on the |
10012 | <code class="literal">tech-pkg</code> mailing list, so that others can | | 10027 | <code class="literal">tech-pkg</code> mailing list, so that others can |
10013 | find your questions later (see above). To be sure that the | | 10028 | find your questions later (see above). To be sure that the |
10014 | developer in charge reads the mail, you may CC him or | | 10029 | developer in charge reads the mail, you may CC him or |
10015 | her.</p></li> | | 10030 | her.</p></li> |
10016 | </ul></div> | | 10031 | </ul></div> |
10017 | </td> | | 10032 | </td> |
10018 | </tr> | | 10033 | </tr> |
10019 | <tr class="question"> | | 10034 | <tr class="question"> |
10020 | <td align="left" valign="top"> | | 10035 | <td align="left" valign="top"> |
10021 | <a name="devfaq.too-much-time"></a><a name="idp140459940219968"></a><p><b>22.9.</b></p> | | 10036 | <a name="devfaq.too-much-time"></a><a name="idm77179568"></a><p><b>22.9.</b></p> |
10022 | </td> | | 10037 | </td> |
10023 | <td align="left" valign="top"><p>I have a little time to kill. What shall I | | 10038 | <td align="left" valign="top"><p>I have a little time to kill. What shall I |
10024 | do?</p></td> | | 10039 | do?</p></td> |
10025 | </tr> | | 10040 | </tr> |
10026 | <tr class="answer"> | | 10041 | <tr class="answer"> |
10027 | <td align="left" valign="top"></td> | | 10042 | <td align="left" valign="top"></td> |
10028 | <td align="left" valign="top"> | | 10043 | <td align="left" valign="top"> |
10029 | <p>This is not really an FAQ yet, but here's the answer | | 10044 | <p>This is not really an FAQ yet, but here's the answer |
10030 | anyway.</p> | | 10045 | anyway.</p> |
10031 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 10046 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
10032 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the | | 10047 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the |
10033 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It | | 10048 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It |
10034 | will tell you about newer versions of installed packages that are | | 10049 | will tell you about newer versions of installed packages that are |