- 04 May, 2022 2 commits
-
-
Timo Teräs authored
fixes #10838
-
Timo Teräs authored
fixes #10835
-
- 11 Apr, 2022 1 commit
-
-
FreeBSD (and also Darwin) introduced its own qsort_r, which has different semantics than the one slated for inclusion in POSIX. Add a portability thunk to deal with translating between implementations. [TT: minor stylistic fixes]
-
- 05 Apr, 2022 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
fixes #10834
-
- 04 Apr, 2022 1 commit
-
-
Previously this would result in post-upgrade scripts not being written at all.
-
- 30 Mar, 2022 6 commits
-
-
Daniel Kolesa authored
-
-
-
-
for most cases, this replaces APK_DEFAULT_ARCH. if apk-tools is built without a configured abi-tag, the ABI tag is equivalent to APK_DEFAULT_ARCH, providing backwards compatibility with apk v2 the /etc/apk/arch configuration file is assumed to actually describe an ABI tag.
-
this is intended to allow for distributions to have alternate streams, such as glibc-x86_64 or darwin-aarch64
-
- 29 Mar, 2022 2 commits
-
-
Timo Teräs authored
Including using files found from the cache, or creating the cache directories with --initdb. Based on patch by Paul Spooren.
-
Timo Teräs authored
fixes #10825
-
- 21 Mar, 2022 6 commits
-
-
Timo Teräs authored
remove incorrect intialization of the ctx->pkginfo fixes commit 950972a5 "mkndx: fix index generation for v2 and v3 packages"
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
Additioal logic is needed to search objects on array: the object comparer needs separate modes to match index, template or exact object template. This should fix mkndx to be able to use old index. fixes #10828
-
Timo Teräs authored
For v2 packages, the identity was never set. For v3 packages, the file size was never set. This fixes both issues.
-
- 07 Mar, 2022 3 commits
-
-
Daniel Kolesa authored
This is not actually needed, and it results in both static and shared versions of zlib and openssl linked into libapk otherwise, which is bad.
-
Ensure not to mask away previously set APK_VERSION_CONFLICT when serializing. When deserializing, make sure to actually write out the conflict flag when no version part is set. When creating apk_dependency, ensure to set the conflict bit correctly and mask it off result_mask. Fixes https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10824
-
Timo Teräs authored
finally fixes #10821
-
- 06 Mar, 2022 4 commits
-
-
fixes #10821
-
Timo Teräs authored
-i is already global option fixes #10822
-
Timo Teräs authored
fixes #10823
-
Timo Teräs authored
Do not call apk_db_read_layer() or try to process the layer if APK_OPENF_NO_STATE is specified. It might fail because of non-existing database directory. Based on patch by Daniel. fixes commit 9e4dd29f "db: prepare database reading for layers" Fixes #10821 Reported-and-analyzed-by:
Daniel Kolesa <daniel@octaforge.org>
-
- 24 Feb, 2022 2 commits
-
-
Timo Teräs authored
var/cache is also reported to be mounted noexec on hardened systems. Document some of the issues, and use lib/apk/exec for the time being. Keep the scripts still in separate directory from lib/apk so we can just delete directory if needed. fixes #6591
-
Timo Teräs authored
This reverts most of 0dcbd933 which allowed automatic selection of package with a "virtual provides" having only one provider. While convenient, it creates problems if multiple versions of the same package exist, or if in future other providers would be added to one of the repositories. This restore the original behaviour, and improve the error message to tell the user to mention one of the providers explicitly. fixes #10810
-
- 22 Feb, 2022 2 commits
-
-
Timo Teräs authored
add priority to order fsdir commit sequence
-
Timo Teräs authored
remove the left over apk_blob_push_fmt() call that corrupted uri and trim the path end from trailing slashes to get original functionality. fixes commit be4ce407 "support new index format without attaching arch"
-
- 21 Feb, 2022 8 commits
-
-
Timo Teräs authored
The gzip library can drain all of the input to internal buffers and still keep providing data even if avail_in is zero. Previously it was assumed that avail_in != 0 if there is still data expected out, but this logic breaks near end-of-file for multiple short reads. Adjust logic to not process end-of-file event too early. fixes #10809
-
Timo Teräs authored
Be happy if the directory already exists.
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
- 14 Feb, 2022 1 commit
-
-
By default the package architecture is attached to the repository url. With this commit it is possible to define new indexes ending on `.adb`. If such index file is detected the packages must be in the same folder as the index. Signed-off-by:
Paul Spooren <mail@aparcar.org>
-