Directory layout of the pkgsrc FTP server As in other big projects, the directory layout of pkgsrc is quite complex for newbies. This chapter explains where you find things on the FTP server. The base directory on ftp.NetBSD.org is /pub/pkgsrc/. On other servers it may be different, but inside this directory, everything should look the same, no matter on which server you are. This directory contains some subdirectories, which are explained below. <filename>bootstrap-pkgsrc</filename>: Bootstrap kits For those who only want to manage binary packages on systems other than NetBSD, we provide the package management tools in a separate, small tar file. <filename>distfiles</filename>: The distributed source files The directory distfiles contains lots of archive files from all pkgsrc packages, which are mirrored here. The subdirectories are called after their package names and are used when the distributed files have names that don't explicitly contain a version number or are otherwise too generic (for example release.tar.gz). <filename>iso</filename>: Currently empty This directory is currently not in use. <filename>misc</filename>: Miscellaneous things This directory contains things that individual pkgsrc developers find worth publishing. <filename>packages*</filename>: Binary packages These directories contain binary packages. Those directories that have a branch name (200xQy) contain packages from that particular branch. The directory packages contains binary packages from pkgsrc-current. (However, this does not necessarily mean that the packages are still current anymore.) Below the packages* directories are directories that distinguish the packages by operating system and version, the next directory level specifies the hardware architecture. In each of the platform-specific directories, there is a whole binary packages collection. It has a directory called All which contains all binary packages. Besides that, there are various category directories that contain symbolic links to the real binary packages. <filename>current</filename>, <filename>200<replaceable>x</replaceable>Q<replaceable>y</replaceable></filename>: source packages These directories contain the real pkgsrc, that is the files that define how to create binary packages from source archives. The directory pkgsrc contains a snapshot of the CVS repository, which is updated regularly. The file pkgsrc.tar.gz contains the same as the directory, ready to be downloaded as a whole. In the directories for the quarterly branches, there is an additional file called pkgsrc-200xQy.tar.gz, which contains the state of pkgsrc when it was branched.