Go to file
Juan RP d01d2edf5b Optimize most common path when resolving package dependencies.
Before that change the code would do the following:
	1- if dependency is installed, continue
	2- if dependency is queued, continue
	3- get dependency from repos

After that change the code does this:
	1- if dependency is queued, continue
	2- if dependency is installed, continue
	3- get dependency from repos

So the dependency is checked if it has been queued as the first phase, which
seems to be the most common path in most cases.
2014-03-16 18:08:59 +01:00
bin xbps-dgraph: only set rootdir it was set (fix #33). 2014-03-10 10:20:04 +01:00
data Install the default Void Linux RSA key to $DBDIR. 2013-11-25 12:34:14 +01:00
doc doc/xbps_pkgdb_dictionary.dot: replace reqby obj with rundeps. 2013-11-24 09:02:09 +01:00
etc etc/xbps.conf: only .vpkg files will be processed on virtualpkgdir. 2014-02-28 12:57:26 +01:00
include Use a POSIX lock for pkgdb and only issue pkgdb writes in exact points. 2014-03-04 14:37:10 +01:00
lib Optimize most common path when resolving package dependencies. 2014-03-16 18:08:59 +01:00
mk Move libxbps shell tests to libxbps/shell and remove unused test-shell.mk. 2013-11-06 11:52:02 +01:00
tests Added support to pass native machine architecture to pkg scripts (6th arg). 2014-03-12 10:16:37 +01:00
.gitignore Simplify tests/xbps/xbps-rindex structure. 2013-11-06 11:11:00 +01:00
3RDPARTY Merge portable proplib 0.6.3. 2013-03-09 16:41:40 +01:00
configure Post-release bump to 0.34. 2014-03-11 13:11:41 +01:00
COPYING Keep repo metadata if possible when updating repodata (xbps-rindex -a/-c). 2014-01-30 13:07:34 +01:00
Makefile Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
NEWS NEWS: mention recent changes. 2014-03-16 18:05:42 +01: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!