词条 | Ports collection |
释义 |
Ports collections (or ports trees, or just ports) are the sets of makefiles and patches provided by the BSD-based operating systems, FreeBSD, NetBSD, and OpenBSD, as a simple method of installing software or creating binary packages. They are usually the base of a package management system, with ports handling package creation and additional tools managing package removal, upgrade, and other tasks. In addition to the BSDs, a few Linux distributions have implemented similar infrastructure, including Gentoo's Portage, Arch's Arch Build System (ABS), CRUX's Ports and Void Linux's Templates. The main advantage of the ports collection method of install is the fine tuning and optimization of the software installation, according to the hardware resources available. For instance, the system administrator can easily create a 64-bit install of a piece of software on a 64-bit system if a 64-bit binary isn't readily available instead of using a 32-bit version not optimized for such a system. On the other hand, the main disadvantage is the extra time spent in packages compilation. For instance, a full install of a FreeBSD system through the ports collection can take up to several days, depending on the system performance. FreeBSD Ports{{main|FreeBSD Ports}}Jordan Hubbard committed his port make macros to the FreeBSD CVS repository on August 21, 1994.[1] His package install suite Makefile had been committed a year earlier (August 26, 1993).[2] The core ports framework was at first maintained by Hubbard along with Satoshi Asami for several years. The Ports Management Team was later formed to handle this task. NetBSD's pkgsrc{{main|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, SmartOS/illumos, macOS,[3] MINIX 3, Linux[4] and other Unix-likes. pkgsrc was created in August 1997 based on the existing FreeBSD ports system. It follows a quarterly release schedule and as of October 2018 contains over 22'000 packages. With their 1.4 release, DragonFly BSD announced that they would be adopting pkgsrc as their official package management system.[5] DragonFly BSD however built their own ports implementation called dports with the release 3.4[6] and switched over to it completely with 3.6. The development is done via their git.[7] OpenBSD portsIn 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. Ports are made up of a makefile, text files 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. In late October 2007, OpenBSD developer Nikolay Sturm announced that -stable ports tree should be considered unmaintained due to the lack of resources. This effectively forced users to run -current ports/base tree in order to keep up with security updates. In 2009, it was decided to revive the -stable ports tree under supervision of Robert Nagy and Jasper Lievisse Adriaanse.[8] There are two unofficial web-sites with a listing of OpenBSD ports and packages:
See also
References1. ^{{Cite web|url=https://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk|title=CVS log for ports/Mk/bsd.port.mk|publisher=FreeBSD project}} 2. ^{{cite web|url=https://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/pkg_install/Makefile|archive-url=https://archive.is/20130414183008/http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/pkg_install/Makefile|dead-url=yes|archive-date=2013-04-14|title=CVS log for src/usr.sbin/pkg_install/Makefile|publisher=FreeBSD project}} 3. ^{{cite web |url=http://pkgsrc.joyent.com/install-on-osx/ |title=Joyent Packages Documentation - Install On macOS |publisher=Joyent |accessdate=2018-10-10}} 4. ^{{cite web |url=http://pkgsrc.joyent.com/install-on-linux/ |title=Joyent Packages Documentation - Install On Linux |publisher=Joyent |accessdate=2018-10-10}} 5. ^{{cite web|url=https://www.dragonflybsd.org/mailarchive/users/2005-08/msg00347.html|title=PKGSRC will be officially supported as of the next release|last=Dillon|first=Matthew|accessdate=2008-01-23}} 6. ^{{cite web|url=https://www.dragonflybsd.org/mailarchive/kernel/2013-03/msg00013.html|title=DragonFly 3.4 release planning|last1=Sherrill|first1=Justin}} 7. ^{{cite web|url=https://github.com/DragonFlyBSD/DPorts|title=GitHub - DragonFlyBSD/DPorts: The dedicated application build system for DragonFly BSD}} 8. ^{{cite web|first=William|last=Yodlowsky|title=4.6-stable ports|url=http://kerneltrap.org/mailarchive/openbsd-announce/2009/10/22/6515363|archive-url=https://web.archive.org/web/20110612184303/http://kerneltrap.org/mailarchive/openbsd-announce/2009/10/22/6515363|dead-url=yes|archive-date=2011-06-12|accessdate=2009-12-29}} 9. ^{{cite web|url=https://undeadly.org/cgi?action=article&sid=20060809032307|date=2006-08-09|website=OpenBSD Journal|title= ports.openbsd.nu - frontend to ports }} 10. ^{{cite web|url=https://marc.info/?l=openbsd-misc&m=137063130816696&w=2|last=Espie|first=Marc|date=2013-06-07|location=misc@openbsd.org|title = Re: Why is there no pkg_find(1)? }} 11. ^{{cite web|url=https://undeadly.org/cgi?action=article&sid=20130502195841|date=2013-05-02|website=OpenBSD Journal|title= Introducing ports.su — ports-readmes mirror and ports search }} External links
2 : Berkeley Software Distribution|Free package management systems |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。