Go to file
2014-07-14 10:09:34 +02:00
bin xbps-install: fix previous of previous (heh). 2014-07-14 09:49:21 +02:00
data data: install main repo file as 00-main.conf, so that it's processed earlier. 2014-06-04 08:06:46 +02:00
doc doc/xbps_pkg_props_dictionary.dot: sync with reality. 2014-04-18 09:19:40 +02:00
etc etc/xbps.conf: comment out dcron virtualpkg; we ship an empty config file now. 2014-06-04 09:45:38 +02:00
include include/compat.h: fix musl build and include inttypes.h. 2014-07-14 08:50:14 +02:00
lib If statvfs() fails don't consider this a critical error; compute free space correctly. 2014-07-14 10:09:34 +02:00
mk Merge xbps-repo-checkvers from https://github.com/xdave/xbps-src-utils 2014-04-06 12:21:24 +02:00
tests tests: new test for vpkgs to reproduce awk/base-system-busybox fallout. 2014-07-12 09:40:36 +02:00
.gitignore Renamed xbps-repo-checkvers -> xbps-checkvers. 2014-04-07 10:45:25 +02:00
3RDPARTY Imported portableproplib-0.6.4. 2014-05-17 20:25:14 +02:00
AUTHORS Misc tweaks to authors/copyright. 2014-05-13 12:22:12 +02:00
configure Post release bump to 0.38. 2014-06-23 09:50:07 +02:00
COPYING Misc tweaks to authors/copyright. 2014-05-13 12:22:12 +02:00
Makefile Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
NEWS xbps-install(8): added support to list pkgs that will be downloaded from remote repos. 2014-07-14 09:30:28 +02:00
README.md New custom configuration file format that does not need confuse. 2014-02-25 16:42:52 +01:00
TODO Fix concurrency issues in pkgdb: only allow 1 write transaction at the same time. 2014-02-23 08:23:14 +01:00

XBPS

The X Binary Package System (in short XBPS) is a new binary package system designed and implemented from scratch. Its goal is to be fast, easy to use, bug-free, featureful and portable as much as possible.

The XBPS code is totally compatible with POSIX/SUSv2/C99 standards, and released with a Simplified BSD license (2 clause). There is a well documented API provided by the XBPS Library that is the basis for its frontends to handle binary packages and repositories. Some highlights:

  • Supports multiple local and remote repositories (HTTP/HTTPS/FTP).
  • RSA signed remote repositories (NEW in 0.27).
  • SHA256 hashes for package metadata, files and binary packages.
  • Supports package states (ala dpkg) to mitigate broken package installs/updates.
  • Ability to resume partial package install/updates.
  • Ability to unpack only files that have been modified in package updates.
  • Ability to use virtual packages.
  • Ability to replace packages.
  • Ability to put packages on hold (to never update them. NEW in 0.16).
  • Ability to preserve/update configuration files.
  • Ability to force reinstallation of any installed package.
  • Ability to downgrade any installed package.
  • Ability to execute pre/post install/remove/update scriptlets.
  • Ability to check package integrity: missing files, hashes, missing or unresolved (reverse)dependencies, dangling or modified symlinks, etc.
  • Low memory footprint.
  • Fast dependency resolver and sorting algorithms.

Getting source code

Starting with 0.26 there are not source tarballs anymore. git must be used to clone the repository with the appropiate tag. The latest stable version can be fetched with:

$ git clone -b <version> git://github.com/xtraeme/xbps.git

See git tag -l to list all available stable releases.

Build requirements

To build this you'll need:

and optionally:

Build instructions

Standard configure script (not generated by GNU autoconf).

./configure --prefix=/blah
make -jX
make install

By default PREFIX is set /usr/local and may be changed by setting --prefix in the configure script. The DESTDIR variable is also supported at the install stage.

There are some more options that can be tweaked, see them with `./configure --help'.

Good luck!