Go to file
Juan RP 503afdd48d libxbps: extend the API, new func: xbps_repository_pool_find_pkg.
prop_dictionary_t xbps_repository_pool_find_pkg(const char *pkg, bool bypattern, bool best)

This function iterates over the repository pool and returns a pkg
dictionary matching its pkgname if "bypattern" is false, otherwise
if "pkg" matches the pkgdep pattern. If "best" is true, it will look
in all repos and will return the newer version, otherwise the first one
that matches the arguments specified.

With this addition supporting many small registered repos is cheap, because
it checks by-package rather than by-package-list. This also helped to removed
some duplicated code and fix some rare bugs.

Bump XBPS_RELVER to 20110118.
2011-01-18 14:44:39 +01:00
bin Added another bunch of compiler warnings and fix code. 2011-01-15 11:59:44 +01:00
doc Update the dot(1) graph for the libxbps transaction dictionary. 2010-11-06 10:28:09 +01:00
include libxbps: extend the API, new func: xbps_repository_pool_find_pkg. 2011-01-18 14:44:39 +01:00
lib libxbps: extend the API, new func: xbps_repository_pool_find_pkg. 2011-01-18 14:44:39 +01:00
.hgignore xbps-dgraph: new utility to generate dot(1) graphs for package metadata properties. 2010-11-08 23:27:15 +01:00
.hgtags Added tag 0.7.3 for changeset b373dfd04ef2 2011-01-16 17:08:24 +01:00
3RDPARTY Import and merge libfetch-2.31 from NetBSD pkgsrc. 2010-06-02 23:44:25 +02:00
Changelog NEWS, Changelog: update for 0.7.3. 2011-01-16 17:07:43 +01:00
configure configure: -Wformat-security and -Wformat-nonliteral are included in -Wformat=2. 2011-01-15 14:02:34 +01:00
LICENSE LICENSE: remove C comments. 2010-04-28 03:40:31 +02:00
Makefile Makefile: added dist target to create distribution source tarball. 2010-10-23 18:08:33 +02:00
NEWS NEWS, Changelog: update for 0.7.3. 2011-01-16 17:07:43 +01:00
prog.mk configure: added --silent option to hide compilation details. 2011-01-15 10:49:35 +01:00
README Added a configure script to emulate GNU autoconf and related changes. 2010-05-19 22:38:27 +02:00

See http://code.google.com/p/xbps for information.

To build this you'll need:

  - pkg-config
  - zlib (development package with static libs)
  - openssl (development package with static libs)
  - libarchive >= 2.8.0 (development package with static libs)

Optionally to build the API documentation:

  - graphviz and doxygen.

Just run ./configure && make && make install. By default PREFIX is set
to `/usr/local', can be changed by setting --prefix. The DESTDIR variable
is also supported for package managers.

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

Good luck!