- Ports collection
Ports collections (or "ports trees", or just "ports") are the sets of
makefile s and patches provided by theBSD -basedoperating system s,FreeBSD ,NetBSD andOpenBSD , as a simple method of installing software or creating binary packages. They are usually the base of apackage management system , with ports handling package creation and additional tools managing package removal, upgrade, and other tasks. In addition to the BSDs, a fewLinux distribution s have implemented similarinfrastructure , including Gentoo's Portage and Arch's Arch Build System (ABS).NetBSD's pkgsrc
NetBSD's "pkgsrc" ports collection is distinctive in that it aims to be portable and is usable on a number of operating systems aside from NetBSD itself, including the other BSDs,
Linux and otherUnix-like s. "pkgsrc" was created in August 1997 based on the existing FreeBSD ports system. It follows a quarterly release schedule and as of July 2006 contains over 6000 packages. With their 1.4 release,DragonFly BSD announced that they would be adopting "pkgsrc" as their official package management system [http://leaf.dragonflybsd.org/mailarchive/users/2005-08/msg00347.html] .OpenBSD ports
In contrast to FreeBSD ports, on which it was originally based, the OpenBSD ports system is intended as a source used to create the end product, packages: installing a port first creates a package and then installs it. Packages are made up of a makefile,
text file s with descriptions and installation messages, any patches required to adjust the program to work on OpenBSD and a packing list listing the files to be included in the packages. The ports tree uses a set of standard makefiles, some of which are shared with the source tree, to provide the bulk of its functionality; this shared infrastructure includes many utility functions for port developers and means that ports can often be made very simply. As a security precaution or an aid when developing new ports, port builds may be run usingsystrace and a default policy is provided. In late October 2007 OpenBSD developer, Nikolay Sturm, has announced that -stable ports tree should be considered unmaintained due to the lack of resources. This effectively forces users to run -current ports/base tree in order to keep up with security updates.See also
*
FreeBSD Ports
*Gentoo Portage
*MacPorts
*NetBSD pkgsrcExternal links
* [http://ports.openbsd.nu/ OpenBSD ports]
* [http://www.openbsd.org/cgi-bin/man.cgi?query=ports The OpenBSD ports manpage]
* [http://www.freebsd.org/ports/ FreeBSD Ports]
* [http://www.netbsd.org/Documentation/software/packages.html pkgsrc: The NetBSD Packages Collection]
* [http://www.gobolinux.org/?page=doc/articles/compile The ideas behind Compile]
Wikimedia Foundation. 2010.