2009-08-17 22:37:20 +05:30
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
WHAT IS IT?
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
2009-08-21 11:32:05 +05:30
|
|
|
xbps - xtraeme's binary package ystem.
|
2009-08-17 22:37:20 +05:30
|
|
|
|
2009-08-21 11:32:05 +05:30
|
|
|
xbps is a new binary package system, taken ideas from other free available
|
|
|
|
implementations, such as dpkg/apt, RPM, pacman and others. Metadata handling
|
|
|
|
as package databases are handled by proplib. Multiple compression formats
|
|
|
|
are supported in binary packages thanks to libarchive.
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
xbps has been designed for Linux, and for the moment I'm not interested to
|
2009-08-21 11:32:05 +05:30
|
|
|
make it work on any other random OS. xbps is the base to create a basic
|
|
|
|
Linux system.
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
REQUIREMENTS
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
xbps uses proplib, a property container object library and it's almost the
|
|
|
|
same one available for NetBSD. Be sure to have it installed before using
|
|
|
|
xbps. You can get it at:
|
|
|
|
|
|
|
|
http://code.google.com/p/portableproplib/
|
|
|
|
|
|
|
|
I'm also the human maintaining the portable proplib package. I'd suggest you
|
|
|
|
to install it into /usr/local to avoid issues with your distribution packages.
|
|
|
|
|
2009-10-17 06:28:36 +05:30
|
|
|
To build the xbps utils, you'll need:
|
|
|
|
|
|
|
|
* acl (devel pkg with static lib)
|
|
|
|
* zlib (devel pkg with static lib)
|
|
|
|
* bzip2 (devel pkg with static lib)
|
|
|
|
* xz (devel pkg with static lib)
|
|
|
|
* libarchive (devel pkg with static lib, all features built in)
|
|
|
|
* proplib (deve pkg with static lib, see above)
|
|
|
|
|
2009-08-21 11:32:05 +05:30
|
|
|
Additionally the following software is required in the host system to build
|
|
|
|
and install xbps binary packages:
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
* GNU GCC C++
|
|
|
|
* GNU Make
|
2009-08-21 11:32:05 +05:30
|
|
|
* GNU Bison
|
2009-08-17 22:37:20 +05:30
|
|
|
* fakeroot
|
2009-10-17 06:28:36 +05:30
|
|
|
* wget OR curl OR fetch (statically linked or no additional deps)
|
2009-08-17 22:37:20 +05:30
|
|
|
* perl
|
|
|
|
* sudo
|
|
|
|
|
|
|
|
Super-user privileges are required as well, because all packages are built
|
2009-10-17 07:56:43 +05:30
|
|
|
in a chroot (except the ones that are included in a meta package to be
|
2009-08-17 22:37:20 +05:30
|
|
|
able to build a minimal system for the chroot).
|
|
|
|
|
|
|
|
PLEASE NOTE THAT fakechroot or fakeroot-ng DO NOT WORK.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
HOW TO USE IT
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Before using xbps, some required utilities need to be built and installed
|
|
|
|
into $(PREFIX); by default they are installed into /usr/local.
|
|
|
|
You can do this by issuing "make" and "make install" as root in the top
|
|
|
|
level directory. See the REQUIREMENTS section above for required packages.
|
|
|
|
|
|
|
|
Once the xbps distfiles are installed into prefix, you can start building
|
|
|
|
packages from source, add local repositories with binary packages, install or
|
|
|
|
remove them, etc.
|
|
|
|
|
|
|
|
For information about binary packages, see the BINPKG_INFO file.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
Juan Romero Pardines <xtraeme@gmail.com>
|