- Sep 06, 2018
-
-
Timo Teräs authored
(cherry picked from commit ca368916)
-
- Jun 23, 2017
-
-
Timo Teräs authored
Detect properly if the file stream gets an error during these read operations. Reported-by: Ariel Zelivansky from Twistlock (cherry picked from commit cd531aef3033475c26f29a1f650a3bf392cc2daa)
-
Timo Teräs authored
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 (cherry picked from commit 286aa77ef1811e477895713df162c92b2ffc6df8)
- Oct 25, 2016
-
- Aug 23, 2016
-
-
Timo Teräs authored
It is unreasonable to assume that all package writers would except to reset umask themselves. It's done currently in most packages, but we had first issue of this kind recently, so better just reset umask.
-
- Jul 22, 2016
-
-
Timo Teräs authored
trigger it only if apk-tools can be upgrade, add test cases
-
Timo Teräs authored
-
- Jul 08, 2016
-
-
Timo Teräs authored
-
- Jul 06, 2016
-
-
Timo Teräs authored
-
- Jun 13, 2016
-
-
Natanael Copa authored
print license with the --license option.
-
Natanael Copa authored
Make it possible to individually override openssl, zlib and libfetch cflags and linker flags. This makes it possible to build apk-tools without having pkg-config installed.
-
- May 31, 2016
-
-
Timo Teräs authored
fixes #5656
-
- May 27, 2016
-
-
Timo Teräs authored
it's only used to speed up things, and having it non-existant is not a fatal error - all included things in index will be passed in command line anyway
- Apr 19, 2016
-
-
Timo Teräs authored
-
- Apr 03, 2016
-
-
Timo Teräs authored
-
- Feb 16, 2016
-
-
Timo Teräs authored
-
Timo Teräs authored
which will delete any .apk package on output directory that were not downloaded by fetch this allows apk fetch to incrementally build repositories for binary images
-
- Feb 09, 2016
-
-
Timo Teräs authored
don't overwrite the link_target if it was found from pax header. ref #5076
- Dec 10, 2015
-
-
Timo Teräs authored
- self-conflicts when the exact same version of a name is provided twice is now properly detected and diagnozed - don't print redundant satisfies diagnostic
-
Timo Teräs authored
-
- Dec 07, 2015
-
-
Natanael Copa authored
Implement --no-cache. The index is read directly from network and not cached. This is useful for docker, where you install a set of packages and directly after purge the cache. (see https://github.com/gliderlabs/docker-alpine/blob/1fc9e59d1689fc4eaf930ec66389fe58062fccec/builder/scripts/apk-install) fixes #4905
-
- Nov 12, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
- Nov 09, 2015
-
-
Timo Teräs authored
preserve [am]time for all packages and indexes. this fixes the caching error that 'apk update' is after new index is generated, but before the used mirror is synchronized. this caused local apkindex timestamp to be newer than file in mirror, when in fact it was outdated index. this also fixes fetched files to have build timestamp so that files going to .iso or custom images have proper timestamps (rsync with appropriate --modify-window now works)
-
Timo Teräs authored
fixes #4770 apk_name_foreach_matching() can matches each package via it's main name and all it's provides. Print matched packages only once.
-
- Oct 08, 2015
-
-
Natanael Copa authored
We need fall back to a splice buffer if posix_fallocate call fails due to file being a device (eg tty) or a pipe. This fixes apk fetch --stdout.
-
Anna Wilcox authored
-
- Sep 11, 2015
-
- Sep 03, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
ftruncate does not allocate it, and subsequent access to mmaped file will result in SIGBUS. this fixes to properly report disk full errors.
-
- Jul 03, 2015
-
- Jul 02, 2015
-
-
Timo Teräs authored
the problem is that var/lock is on root installs symlink to /run/lock (on tmpfs) and does not exist if doing chroot() to that root. fixes apk to work when chrooted to existing rootfs install.
-
- Jun 26, 2015
-
-
Timo Teräs authored
fixes #4261
-
- Jun 12, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored