Age | Commit message (Collapse) | Author | Files | Lines |
|
Including using files found from the cache, or creating the cache
directories with --initdb.
Based on patch by Paul Spooren.
|
|
fixes #10825
|
|
remove incorrect intialization of the ctx->pkginfo
fixes commit 950972a5 "mkndx: fix index generation for v2 and v3 packages"
|
|
Related: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10825
|
|
|
|
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
|
|
For v2 packages, the identity was never set.
For v3 packages, the file size was never set.
This fixes both issues.
|
|
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
|
|
finally fixes #10821
|
|
fixes #10821
|
|
-i is already global option
fixes #10822
|
|
fixes #10823
|
|
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>
|
|
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
|
|
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
|
|
add priority to order fsdir commit sequence
|
|
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"
|
|
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
|
|
Be happy if the directory already exists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
Make sure volume is in 'down' state before attempting to remove it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
'uvol' is installed to /usr/sbin by default. Assume that path if not
set by APK_UVOL environment variable.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
this regression was caused by refactoring of the options handling into the
apk_ctx struct in 354713d2, presumably a little too much innovation with sed
fixes #10799
|
|
Fail if the package or dependency version format is not valid.
fixes #10807
|
|
|
|
Allow controlling 'cache download' more closely to 'upgrade' so
it can be used to pre-download packages for ugprade.
|
|
Handle meta data error to produce hard failure.
fixes #10806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
macOS has no concept of a chroot-specific UID/GID database, as the database is actually
LDAP.
ref #10794
|
|
|
|
|
|
|
|
|
|
fixes #10803
|
|
handler
SA_ONESHOT is a GNU-specific alias for POSIX SA_RESETHAND.
|
|
the stat64 family of functions were provided as transitional functions,
but when building on glibc with _GNU_SOURCE, or any other supported system,
the stat functions are equivalent to their stat64 counterparts
|
|
This options is useful for (post)install scripts to run with the same
environment variables as apk is executed.
[TT: minor stylistic changes]
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
[TT: reoder changes to alphabetically sorted locations]
Signed-off-by: Paul Spooren <mail@aparcar.org>
|