Hudge simplification for config file management, no more need of @conf :) if a file ends with the .pkgconf extension it is a config file. for a file named file.pkgconf if file doesn't exists then pkg add will create both file.pkgconf and file TODO: purge option on delete to remove the left configuration files if any
modified libpkg/pkg_add.c
@@ -21,25 +21,30 @@ do_extract(struct archive *a, struct archive_entry *ae)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -8,8 +8,6 @@
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -22,13 +20,11 @@ pkg_create_from_dir(struct pkg *pkg, const char *root, struct packing *pkg_archi
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -76,28 +72,12 @@ pkg_create_from_dir(struct pkg *pkg, const char *root, struct packing *pkg_archi
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -98,25 +98,7 @@ ports_parse_plist(struct pkg *pkg, char *plist)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_util.c
@@ -288,3 +288,24 @@ sha256_file(const char *path, char out[65])
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified libpkg/pkg_util.h
@@ -3,6 +3,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -29,6 +30,7 @@ int format_exec_cmd(char **, const char *, const char *, const char *);
|
|
|
|
|
|
| + | |
|
|
|
|
|