pkgng

Check-in [532b91a590]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make do_extract_mtree available throught the private API
Timelines: family | ancestors | descendants | both | trunk | multi-repos | stash | release-1.1
Files: files | file ages | folders
SHA1:532b91a5903b7c68916e9be1f0b3f26138b31b8b
User & Date: bryan@shatow.net 2013-09-30 16:02:11
Context
2013-09-30
16:02
Extract mtree and execute script when staging check-in: 21f3703276 user: bryan@shatow.net tags: trunk, multi-repos, stash, release-1.1
16:02
Make do_extract_mtree available throught the private API check-in: 532b91a590 user: bryan@shatow.net tags: trunk, multi-repos, stash, release-1.1
16:01
Fix deinstallation message to say it will free space Reported by: mva check-in: 1c41af1196 user: bryan@shatow.net tags: trunk, multi-repos, stash, release-1.1
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to libpkg/pkg_add.c.

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
		    archive_error_string(a));
		retcode = EPKG_FATAL;
	}

	return (retcode);
}

static int
do_extract_mtree(char *mtree, const char *prefix)
{
	struct archive *a = NULL;
	struct archive_entry *ae;
	char path[MAXPATHLEN];
	const char *fpath;
	int retcode = EPKG_OK;







|







96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
		    archive_error_string(a));
		retcode = EPKG_FATAL;
	}

	return (retcode);
}

int
do_extract_mtree(char *mtree, const char *prefix)
{
	struct archive *a = NULL;
	struct archive_entry *ae;
	char path[MAXPATHLEN];
	const char *fpath;
	int retcode = EPKG_OK;

Changes to libpkg/private/pkg.h.

401
402
403
404
405
406
407

408

void pkg_config_parse(yaml_document_t *doc, yaml_node_t *node, struct pkg_config *conf_by_key);

int pkg_emit_manifest_sbuf(struct pkg*, struct sbuf *, short, char **);
int pkg_emit_filelist(struct pkg *, FILE *);
int pkg_parse_manifest_archive(struct pkg *pkg, struct archive *a, struct pkg_manifest_key *keys);


#endif







>

401
402
403
404
405
406
407
408
409

void pkg_config_parse(yaml_document_t *doc, yaml_node_t *node, struct pkg_config *conf_by_key);

int pkg_emit_manifest_sbuf(struct pkg*, struct sbuf *, short, char **);
int pkg_emit_filelist(struct pkg *, FILE *);
int pkg_parse_manifest_archive(struct pkg *pkg, struct archive *a, struct pkg_manifest_key *keys);

int do_extract_mtree(char *mtree, const char *prefix);
#endif