Allow pkg_set_from_file to trimcr, this allows pkg convert to 100% work
modified libpkg/pkg.c
@@ -358,7 +358,7 @@ pkg_set_mtree(struct pkg *pkg, const char *mtree) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -370,6 +370,9 @@ pkg_set_from_file(struct pkg *pkg, pkg_attr attr, const char *path)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -605,7 +605,7 @@ int pkgdb_file_set_cksum(struct pkgdb *db, struct pkg_file *file,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -242,7 +242,7 @@ pkg_create_staged(const char *outdir, pkg_formats format, const char *rootdir,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -252,7 +252,7 @@ pkg_create_staged(const char *outdir, pkg_formats format, const char *rootdir,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -269,7 +269,7 @@ pkg_create_staged(const char *outdir, pkg_formats format, const char *rootdir,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_old.c
@@ -73,19 +73,19 @@ pkg_old_load_from_path(struct pkg *pkg, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -155,7 +155,7 @@ setprefix(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/register.c
@@ -154,15 +154,15 @@ exec_register(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|