Remove notion of rootdir/destdir for checksum
modified libpkg/pkg_checksum.c
@@ -683,21 +683,15 @@ pkg_checksum_fd(int fd, pkg_checksum_type_t type)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -706,7 +700,7 @@ pkg_checksum_symlink_readlink(const char *linkbuf, int linklen, const char *root
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -717,11 +711,11 @@ pkg_checksum_symlink(const char *path, const char *root, pkg_checksum_type_t typ
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -732,7 +726,7 @@ pkg_checksum_symlinkat(int fd, const char *path, const char *root, pkg_checksum_
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -756,7 +750,7 @@ pkg_checksum_validate_file(const char *path, const char *sum)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -786,7 +780,7 @@ pkg_checksum_generate_file(const char *path, pkg_checksum_type_t type)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -820,7 +814,7 @@ pkg_checksum_validate_fileat(int rootfd, const char *path, const char *sum)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -851,7 +845,7 @@ pkg_checksum_generate_fileat(int rootfd, const char *path,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -730,10 +730,10 @@ unsigned char *pkg_checksum_fd(int fd, pkg_checksum_type_t type);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/lib/checksum.c
@@ -43,7 +43,7 @@ ATF_TC_BODY(check_symlinks, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|