Commit Graph

160 Commits (b17771d3f1cc2bbbbe11a92d1017de2ed9533562)

Author SHA1 Message Date
William Pitcock fe812746c4 Update buildsys to my forked version. 2012-04-30 06:01:11 +00:00
William Pitcock d4015cf241 Implement stub functions for systems which lack BSD strlcpy/strlcat. 2012-04-30 05:55:27 +00:00
William Pitcock 07d784c36a COPYING: it's 2012 now 2012-04-30 05:46:47 +00:00
William Pitcock 7993ad0952 Install a copy of pkg.m4 into aclocal like pkg-config does. 2012-04-30 05:43:46 +00:00
William Pitcock 31e2241c3a Convert README to markdown format. 2012-04-30 05:32:49 +00:00
Mike Frysinger 4e4c1d628a fix handling of length with strncat
The length arg in the strncat func represents the max number of bytes
that may be appended, but the total length of the buffer.  So we have
to subtract the length of bytes already in there.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-30 05:24:10 +00:00
Mike Frysinger c13acaca47 ignore generated files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-30 05:24:08 +00:00
Mike Frysinger 4b5d0eaaef include ctype.h for isspace/etc...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-30 05:24:05 +00:00
William Pitcock 1e93bac383 pkg: handle PKG_DEFAULT_PATH and PKG_CONFIG_PATH envvar more cleanly 2012-02-17 15:35:23 -06:00
Alyx d0639b3353 Make pkg_find() follow the PKG_CONFIG_PATH environmental variable, if available. 2012-01-15 19:03:54 -06:00
William Pitcock 3c8bac678d main: add --digraph option to generate a representation of the depgraph in graphviz dot format 2011-07-26 20:37:19 -05:00
William Pitcock b0c16941ce pkg: add pkg_t.id field 2011-07-26 20:37:01 -05:00
William Pitcock 8543f1bdd4 pkg: document pkg_traverse() 2011-07-26 20:15:44 -05:00
William Pitcock 03c9402e98 Makefile: do not install pkg-config symlink
this should be handled using dpkg-alternatives or similar.
2011-07-26 20:07:16 -05:00
William Pitcock 1cd2906d9d main: add --print-variables 2011-07-26 20:04:09 -05:00
William Pitcock f717c7609b main: add --print-requires 2011-07-26 19:59:53 -05:00
William Pitcock 648c39cf8e pkg: add pkg_get_comparator() 2011-07-26 19:59:46 -05:00
William Pitcock 774ebc9716 pkg: pkg_verify_dependency() was calling pkg_compare_version() in reverse order 2011-07-26 19:52:44 -05:00
William Pitcock 91d61a76a2 parse: improve version parsing resiliency 2011-07-26 19:51:04 -05:00
William Pitcock 5869405054 parse: add support for parsing versions 2011-07-26 19:38:26 -05:00
William Pitcock 0142cc68d4 parse: perform stringops on stack bufferspace as to avoid overruns 2011-07-26 19:26:56 -05:00
William Pitcock 045257bebe pkg: make pkg_verify_dependency() public 2011-07-26 19:26:14 -05:00
William Pitcock 7c3db84499 main: consistency in help messages 2011-07-26 18:49:38 -05:00
William Pitcock 5a6a586a76 main: add --atleast-version 2011-07-26 18:47:42 -05:00
William Pitcock 8b721a263c main: implement --static 2011-07-26 18:44:28 -05:00
William Pitcock f8638cdb68 pkg: add pkg_verify_dependency() 2011-07-26 12:17:45 -05:00
William Pitcock a362c7e936 main: make --atleast-pkgconfig-version work 2011-07-26 12:05:29 -05:00
William Pitcock a872c7254b pkg: fix up pkg_compare_version() 2011-07-26 12:05:14 -05:00
William Pitcock 7e26842094 pkg: add pkg_compare_version() 2011-07-26 11:56:59 -05:00
William Pitcock e8a944f41d main: add support for --variable 2011-07-25 18:17:28 -05:00
William Pitcock 8100eb84f0 pkg: add pkg_verify_graph() to verify the depgraph is satisfiable 2011-07-25 17:44:05 -05:00
William Pitcock 95298b4c72 pkgconf 0.1.1. 2011-07-25 17:14:44 -05:00
William Pitcock c54b850db7 Add makerelease. 2011-07-25 17:06:11 -05:00
William Pitcock 3d502159e6 pkg: use exact same error message as pkg-config when dependency is unresolvable 2011-07-25 17:03:06 -05:00
William Pitcock 3e69f4c7a6 parse: add pkg_dependency_append() and fix world dependency merging 2011-07-25 16:53:12 -05:00
William Pitcock bdbab6918a main: fix --modversion 2011-07-25 02:18:11 -05:00
William Pitcock a5759cce01 Add README file. 2011-07-25 02:02:08 -05:00
William Pitcock 9f0521ec90 main: fix up depth traversal nonsense, set to depth 2 for pkg-config mode 2011-07-25 01:48:40 -05:00
William Pitcock abf49c541f add COPYING file 2011-07-25 01:28:01 -05:00
William Pitcock 4fe2dc1b96 pkg: croak if dependency tree is incomplete 2011-07-25 01:26:05 -05:00
William Pitcock 05d596b9bc pkg: implement maximum depth for pkg_traverse() 2011-07-25 01:22:04 -05:00
William Pitcock 8e46a165c2 main: switch to using apk-style master dependency merge strategy 2011-07-25 01:03:35 -05:00
William Pitcock a3f2a47136 pkg: handle node::package being crap 2011-07-25 01:03:13 -05:00
William Pitcock 714bcaaac7 parse: fix parser resiliency 2011-07-25 01:02:53 -05:00
William Pitcock 85bb0441d4 parse: export parse_deplist to public API 2011-07-25 00:38:23 -05:00
William Pitcock faf2926f27 main: add pkg-config compat stubs 2011-07-25 00:36:57 -05:00
William Pitcock 02f7f67335 main: add some minor stuff 2011-07-25 00:26:55 -05:00
William Pitcock b0c762f3b9 main: add --modversion option 2011-07-25 00:21:54 -05:00
William Pitcock f79c6780c3 main: add pkg_queue for mergemaster operation 2011-07-25 00:19:55 -05:00
William Pitcock 3a36809567 main: expand into something more useful, add --cflags and --libs printer selectors to poptOptions 2011-07-25 00:06:37 -05:00