pkgng

Check-in [6fdc43c62e]
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
Files: files | file ages | folders
SHA1: 6fdc43c62ead87ddd832d7e351b0805b086f082f
User & Date: bapt@FreeBSD.org 2013-09-24 21:51:58
Context
2013-09-24
21:51
Extract mtree and execute script when staging check-in: 13039abea4 user: bapt@FreeBSD.org tags: trunk, multi-repos, stash
21:51
Make do_extract_mtree available throught the private API check-in: 6fdc43c62e user: bapt@FreeBSD.org tags: trunk, multi-repos, stash
21:44
Disable support for autoplist in staging as it breaks meta ports check-in: ce7d16d36f user: bryan@shatow.net tags: trunk, multi-repos, stash
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.

409
410
411
412
413
414
415

416

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







>

409
410
411
412
413
414
415
416
417

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