| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
this fixes package selection when a 'real' package exists, but would
need to be provided by another package with 'virtual provides'.
In current package database this can happen with postgresql which is
also provided by postgresql-bdr. Normally postgresql would be satisfied
by postgresql, but if any package depends on postgresql-bdr and there's
no versioned dependency on postgresql this will help apk figure out
that postgresql-bdr should be used.
|
| |
|
|
|
|
|
|
| |
dbopts->root may be null; use db->root instead
fixes #7162
|
| |
|
|
|
|
|
| |
this is a regression introduced in commit 349c61c9
("add support for pre and post commit hooks")
|
| |
|
|
|
|
| |
based on github pull request #5
|
|
|
|
| |
found by clang
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
APKs have been created with GNU tar so far, which uses the
GNU extensions for long names. In order to increase portability
support the standard header's 'prefix' portion in case
the GNU extensions are not present.
|
|
|
|
|
|
|
| |
Depending how the directory entries are ordered, the cached dir
instance might not have been updated correctly. This has not been
a problem as the entries have been ordered, but is now triggered
on ppc.
|
| |
|
|
|
|
|
| |
This reduces function pointers in heap, and unifies how the
io functions are called.
|
|
|
|
|
|
|
| |
Detect properly if the file stream gets an error during these
read operations.
Reported-by: Ariel Zelivansky from Twistlock
|
|
|
|
|
|
|
|
|
|
|
| |
The value from tar header is unsigned int; keep it casted to
unsigned int and size_t instead of (signed) int, otherwise
the comparisons fail to do their job properly. Additionally check
entry.size against SSIZE_MAX so the rounding up later on is
guaranteed to not overflow.
Fixes CVE-2017-9669 and CVE-2017-9671.
Reported-by: Ariel Zelivansky from Twistlock
|
|
|
|
| |
This reverts commit ee5ce7284aef8679fabcf728dd5bd5a17c965798.
|
|
|
|
|
|
|
|
|
|
|
| |
- rework the progress bar a little bit, basically removing the [ and ] to give a more
modern aesthetic.
- if utf-8 locale is enabled, use unicode codepoint 0x2588 instead of # to give the
progress bar a nicer look.
- if APK_PROGRESS_CHAR environment variable is defined, use the character defined there
for the progress bar.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is useful for requirements such as: python3=~3.6, which would match python3-3.6.[0-9].
This implementation should in theory be backwards compatible with the implementation in Adelie.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Introduced in commit c0f2d88f342f4d185f3991f98b79ab61a03896e4.
fstatfs is needed to inspect the mount flags.
|
| |
|
|
|
|
| |
cleans up procfs mount
|
| |
|
|
|
|
| |
being replaced by a provider
|
|
|
|
|
|
|
|
|
| |
Fixes regression from commit 5ba27c90 which caused stdio
buffering issues now that output is split to stderr/stdout.
See also commit 51737872 for some of the history.
Fixes #7107
|
| |
|
|
|
|
| |
rooted by a virtual
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
On some (probably buggy) terminals, printing up to the rightmost column
may end up with the terminal issueing a newline (probably due to putting
the cursor at the next char -> new line).
Some other progress bars avoid it by not reaching the rightmost column.
Shorten the bar width from term-width - 7 to -8 (the 7 are "xxx% []").
|
| |
|
|
|
|
| |
This fixes regression introduced by commit 72b878e655
|
|
|
|
| |
this fixes build on ppc64le
|
| |
|
|
|
|
|
| |
The virtual package provider still needs to be explicitly
given on command line.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
fixes #5616
The original intention was not use unnecessary space on tmpfs
e.g. if the cache directory is a mount point, but accidentally
left unmounted. But there are valid cases when packages are
intentionally wanted to be cached on tmpfs. If caching is not
desired, the user can just remove the cache directory.
|
| |
|
|
|
|
|
| |
musl c-library does not work properly without /proc, and potentially
running the scripts need this.
|
| |
|
|
|
|
|
|
|
| |
This allows for instance integration of etckeeper
[TT: Reorganized code a bit, and modified to use single
directory commit_hooks.d with argument for script of stage.]
|
|
|
|
|
|
| |
Currently apk only knows about powerpc and ppc64. I am adding support for ppc64le.
ppc64le is the based on the ABI v2, which defines the endianess as little,
while ppc64 is based on the first 64-bits ABI.
|