Add a pkg_repo_fetch() (WIP) and cleanup.
modified libpkg/Makefile
@@ -19,6 +19,7 @@ SRCS= pkg.c \
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg.c
@@ -406,8 +406,9 @@ pkg_new(struct pkg **pkg)
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg.h
@@ -97,8 +97,9 @@ typedef enum {
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -153,9 +154,12 @@ typedef enum {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -505,6 +509,8 @@ int pkg_create_fakeroot(const char *, pkg_formats, const char *, const char *);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -516,13 +522,6 @@ const char * pkg_config(const char *key);
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -18,6 +18,7 @@ struct _config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_private.h
@@ -9,7 +9,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb.c
@@ -95,13 +95,13 @@ pkgdb_pkgcmp(sqlite3_context *ctx, int argc, sqlite3_value **argv, int sign)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -353,7 +353,7 @@ pkgdb_it_next(struct pkgdb_it *it, struct pkg **pkg_p, int flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|