summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-07-25 17:53:44 +0000
committerrillig <rillig@pkgsrc.org>2007-07-25 17:53:44 +0000
commitd8e3562eb2ddc41f9405facccfd2f37fcab5290a (patch)
treefd543dbafac49253ebc3db69febd0324db7aa0a9 /doc/guide
parentc6ce5595321c503c57c33e50e14f954a44f976a6 (diff)
downloadpkgsrc-d8e3562eb2ddc41f9405facccfd2f37fcab5290a.tar.gz
Documented the new filesystem layout on ftp.NetBSD.org.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/ftp-layout.xml46
1 files changed, 28 insertions, 18 deletions
diff --git a/doc/guide/files/ftp-layout.xml b/doc/guide/files/ftp-layout.xml
index 73fda9c7acb..76029f5590c 100644
--- a/doc/guide/files/ftp-layout.xml
+++ b/doc/guide/files/ftp-layout.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: ftp-layout.xml,v 1.7 2006/11/23 11:42:54 yyamano Exp $ -->
+<!-- $NetBSD: ftp-layout.xml,v 1.8 2007/07/25 17:53:44 rillig Exp $ -->
<appendix id="ftp-layout">
<title>Directory layout of the pkgsrc FTP server</title>
@@ -46,23 +46,33 @@
</sect1>
<sect1 id="ftp-packages">
-<title><filename>packages*</filename>: Binary packages</title>
-
- <para>These directories contain binary packages. Those
- directories that have a branch name
- (200<replaceable>x</replaceable>Q<replaceable>y</replaceable>)
- contain packages from that particular branch. The directory
- <filename>packages</filename> contains binary packages from
- pkgsrc-current. (However, this does not necessarily mean that
- the packages are still current anymore.)</para>
-
- <para>Below the <filename>packages*</filename> directories are
- directories that distinguish the packages by operating system
- and version, the next directory level specifies the hardware
- architecture.</para>
-
- <para>In each of the platform-specific directories, there is a
- whole binary packages collection. It has a directory called
+<title><filename>packages</filename>: Binary packages</title>
+
+ <para>This directory contains binary packages for the various
+ platforms that are supported by pkgsrc.
+ Each subdirectory is of the form <replaceable>OPSYS</replaceable
+ >/<replaceable>ARCH</replaceable
+ >/<replaceable>OSVERSION_TAG</replaceable
+ >. The meaning of these variables is:</para>
+
+ <itemizedlist>
+ <listitem><para><varname>OPSYS</varname> is the name of the operating system for which the packages have been built,</para></listitem>
+ <listitem><para><varname>ARCH</varname> is the hardware architecture,</para></listitem>
+ <listitem><para><varname>OSVERSION</varname> is the version of the operating system,</para></listitem>
+ <listitem><para><varname>TAG</varname> is either <literal>200<replaceable>x</replaceable>Q<replaceable>y</replaceable></literal> for a stable branch, or <literal>head</literal> for packages built from the HEAD branch.</para></listitem>
+ </itemizedlist>
+
+ <para>The rationale for exactly this scheme is that the pkgsrc users looking for binary packages
+ can quickly click through the directories on the
+ server and find the best binary packages for their machines. Since they
+ usually know the operating system and the hardware architecture, OPSYS
+ and ARCH are placed first. After these choices, they can select the
+ best combination of OSVERSION and TAG together, since it is usually the
+ case that packages stay compatible between different version of the
+ operating system.</para>
+
+ <para>In each of these directories, there is a
+ whole binary packages collection for a specific platform. It has a directory called
<filename>All</filename> which contains all binary packages.
Besides that, there are various category directories that
contain symbolic links to the real binary packages.</para>