- Dec 14, 2021
-
-
on mac, openssl is usually provided by Homebrew or some other third-party package management system, which means pkg-config is needed to find it. we already use pkg-config to find openssl when building apk itself. ref #10794
-
musl implements support for malloc.h, but it is only a stub. we do not use any of the GNU-specific malloc interfaces, so just use POSIX stdlib.h instead. ref #10794
-
- Dec 13, 2021
-
-
Ariadne Conill authored
features.h is a GNU-specific header, and is not required for POSIX-compatible code macOS does not provide features.h ref #10794
-
- Dec 09, 2021
-
-
Ariadne Conill authored
ref #10794
-
- Dec 03, 2021
-
-
Timo Teräs authored
fixes #10785
-
Timo Teräs authored
fixes #10796
-
- Dec 02, 2021
-
-
Timo Teräs authored
-
- Nov 22, 2021
-
-
Timo Teräs authored
The v3 format will not require the hash, but synthesize it to the DB so v3 packages can get installed properly. fixes #10785
-
Timo Teräs authored
The apk_fsdir_file_digest() servers dual purpose: to calculate the checksum, but also to determine if the file exists. Move it's error check where it originally was. fixes #10791
-
- Nov 15, 2021
-
-
Timo Teräs authored
fixes #10778
-
Timo Teräs authored
Symlinks should use the real target filename instead of the temporary extraction name.
-
Timo Teräs authored
The "untrusted" error is higher priority than malformed package. But given that we expect valid .apk or index as argument, the untrusted error is likely more accurate than having malformed package.
-
Timo Teräs authored
ref #10788
-
Timo Teräs authored
Remove the APK_REPOSITORY_CACHED bit from dependencies only packages (that is, installed_size == 0). For fetch, the problem is that apk_db_select_repo() would return the cache repository, but the package would not be there. Update also the locations needed to handle these packages correctly without the cached repository bit being set.
-
- Nov 12, 2021
-
-
Timo Teräs authored
-
- Nov 11, 2021
-
-
Timo Teräs authored
The adb object for apk_pkg_from_adb() was changed in commit 7d6de220 "database: support loading v3 indexes" which also addressed the broken site in question but omitted updating the argument. fixes #10783
-
Timo Teräs authored
Always return the original length; not the one with trailing '/' amended. fixes c60b7424 "optimize apk_pathbuilder_pop to get the old length" ref #10784
-
Timo Teräs authored
The apk_istream is null for zero length files, and needs special handling. fixes #10784
-
- Nov 09, 2021
-
-
Timo Teräs authored
avoids memrchr
-
Timo Teräs authored
give a fake trust root allowing anything. adbdump code will verify and dump each signature individually.
-
Timo Teräs authored
-
Timo Teräs authored
by adding an abstraction layer to the file system
-
- Nov 03, 2021
-
-
Timo Teräs authored
When extraction failed, the user has had no opportunity to edit any files. Just clean up.
-
Timo Teräs authored
fix also the progress callback on uvol extraction
-
Timo Teräs authored
-
Timo Teräs authored
-
- Oct 27, 2021
-
-
Timo Teräs authored
-
- Oct 25, 2021
-
-
Timo Teräs authored
-
Timo Teräs authored
Report also version numbers as invalid if there's more than 18 digits. fixes #10774
-
- Oct 04, 2021
-
-
Timo Teräs authored
-
- Sep 13, 2021
-
-
Timo Teräs authored
and fix the error code if untrusted adb is seen
-
- Sep 03, 2021
-
-
-
Timo Teräs authored
apk_extract_file() already calls unlink if the error is fatal.
-
Timo Teräs authored
-
see alpine/aports#11736 [TT: minor stylistic change]
-
- Aug 24, 2021
-
-
Paul Spooren authored
Without this header the build fails when used as a OpenWrt build dependency. Signed-off-by:
Paul Spooren <mail@aparcar.org>
-
- Aug 23, 2021
-
-
Timo Teräs authored
-
Timo Teräs authored
Make sure we always have valid struct apk_trust * for code using it. Load the signing keys directly when being specified to produce sane error message if loading them fails.
-
Timo Teräs authored
In most places where pointer can be an 'error' it cannot be null pointer. Further, in those cases just calling PTR_ERR() is not enough to handle the null case. Simplify code by removing this case. If NULL case needs to be handled, it's better to add separate check and return fixed error code in that case.
-
Timo Teräs authored
-