Go to file
Juan RP e11a1fe651 xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs.
* A package failed to be upgraded properly if current pkg contained
  INSTALL/REMOVE scripts, while the new one didn't have any of them.
  Fixed this by always removing current scripts if they exist.

* Essential pkgs are never removed (they are replaced) so the pre remove
  action target was never called, now it all works properly.

Bumped XBPS_RELVER because I consider these bugs so important.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100118184932-pdsb0djvf0swylm3
2010-01-18 19:49:32 +01:00
bin Error and warning messages should go to stderr, make it so. 2010-01-15 15:19:16 +01:00
include xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs. 2010-01-18 19:49:32 +01:00
lib xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs. 2010-01-18 19:49:32 +01:00
.bzrignore .bzrignore: add .xml files. 2009-12-18 13:21:19 +01:00
Makefile Install the xbps_api.h header. 2010-01-13 19:32:25 +01:00
prog.mk Restructure the Makefiles, INET6 and SSL support in libfetch is now 2010-01-06 11:15:56 +01:00
README README: improve make install example. 2009-12-28 23:35:16 +01:00
vars.mk Install the xbps_api.h header. 2010-01-13 19:32:25 +01:00

See http://xbps.nopcode.org/ for information.

To build this you'll need:

- openssl (development package with static libs)
- libarchive (development package with static libs, and all features
  built in: acl/attr, xz, bzip2 and zlib are REQUIRED to build the
  static binaries!)
- proplib (development package with static lib),
  available at http://code.google.com/p/portableproplib
- asciidoc (to build the manpages)

By default it will be installed into /usr/local, can be changed
by setting PREFIX and DESTDIR vars as make(1) arguments.

Just run "make" and "make DESTDIR=~/xbps install".

Good luck!