[MarkLinimon note: this page is a couple of years stale and needs to be updated. You may wish to start with this discussion on the netbsd-users mailing list]]

Feature Comparison of FreeBSD ports with other packaging systems

<!> TODO: in progress, use footnotes. Also use colors and text like VCS cmp.

Feature/subject

pkgsrc

(FreeBSD) ports

(OpenBSD) ports

mports

Portage

dpkg/rpm + apt

Used by OSes

NetBSD, DragonflyBSD

FreeBSD

OpenBSD

MidnightBSD

Gentoo, Sabayon

Ubuntu, Debian, Fedora, Redhat

Ports

(./)

(./)

(./)

(./)

(./)

{X} 1

Packages

(./)

(./)

(./)

(./)

{o} 2

(./)

Primary focus (src/bin)

?

src

bin

?

src

bin

Packages and ports integration

?

{o} 3

(./) 4

?

?

{X}

Many packages out of same port

?

{o} 5

(./)

?

{X}

?

Apps divided in many packages

{X}

{X}

{X}

{X}

{X}

(./) 6

Self-contained packages

?

?

?

?

?

?

Building in a clean environment

(./)

{o} (tinderbox/portbuild)

(./)

(./) (recently)

?

(./)

PREFIX clean

(./)

(./)

(./)

(./)

{X}

{X}

CFLAGS clean

(./)

(./)

(./)

(./)

(./)

{X}

Compilation options framework

?

?

?

?

?

?

Rerrolled distfiles support

?

?

?

?

?

?

Differential updates (deltas)

?

?

?

?

?

?

MASTER_SITE priority/sorting

?

?

?

?

?

?

Hack collection / porting scripts

?

?

?

?

?

?

Parallel building

?

?

?

?

?

?

Multiple versions of the same app

{o} (dirs)

{o} (dirs)

?

{o} (dirs)

(./) (*.ebuild)

{o} (branches)

Multiple coexisting versions of the same app (symlink/wrapper)

?

?

?

?

?

?

Virtual ports/packages

?

{X}

?

?

(./)

(./)

Config files updating tool

?

?

?

?

?

?

Startup scripts management tool

?

?

?

?

?

?

Automatic restart of daemons

?

?

?

?

?

?

Automatic packaging list

?

?

?

?

?

?

Automatic management of users/groups

?

?

?

?

?

?

Initial configuration and integration of apps

?

?

?

?

?

?

License framework (info/agreement)

?

?

?

?

?

?

Track moved ports

{X}

(./)

?

?

?

?

  1. There are source packages, which contain both the full source code of the program and local patches, and are manually compiled and uploaded by the maintainer. (1)

  2. A Gentoo derivate called Sabayon is developing a tool called [http://en.wikipedia.org/wiki/Sabayon_Linux#Features entropy], which uses binmerge for binary packages. (2)

  3. Some features are only supported by ports, like versioned dependencies. Also ports install directly, without generating packages. (3)

  4. Ports create the package and then uses the package tools to install. (4)

  5. Shared code in one port, called by a slave port which only defines the required options (requires a directory with a Makefile for each package). (5)

  6. Packages are split in -doc, -dev, -common, -data, etc. The good point is that packages which don't depend on the architecture are built only once, runtime dependencies don't require headers, and documentation is optional. However to build anything you need all the -dev versions. (6)

References

Symbol

Description

(./)

Fully supported

{o}

Partially supported, workaround used or WIP

{X}

Not supported

See also

PackageSystemsComparison for a more general discussion.

References

PackageSystemsFeatureComparison (last edited 2011-09-01 07:35:00 by MarkLinimon)