Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-06 | index: Only rewrite arch if no error is encountered | A. Wilcox | 1 | -2/+2 | |
2017-10-06 | database: include POSIX header for ST_* defines | A. Wilcox | 1 | -0/+1 | |
2017-10-06 | tar: use standard header prefix | Timo Teräs | 1 | -1/+9 | |
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. | |||||
2017-10-06 | db: fix current directory instance caching in tar extraction | Timo Teräs | 1 | -1/+1 | |
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. | |||||
2017-10-06 | database: mark error on renameat failure | A. Wilcox | 1 | -2/+6 | |
(cherry picked from commit 17dd532e428e647e9d977e727c87c0f3a4e93ae3) | |||||
2017-10-06 | index: fix unsatisfied dependencies warning (maybe vs may be) | William Pitcock | 1 | -1/+1 | |
(cherry picked from commit 9325eb721d123bbcb51f0cd838fbe7dc54bc77bb) | |||||
2017-10-06 | db: fix regression preventing remounting apk cache r/w | Timo Teräs | 1 | -1/+2 | |
Introduced in commit c0f2d88f342f4d185f3991f98b79ab61a03896e4. fstatfs is needed to inspect the mount flags. (cherry picked from commit ede5165833b94051ecbc35e9ac4a359f54cc0116) | |||||
2017-06-23 | apk-tools-2.7.2v2.7.2 | Timo Teräs | 1 | -1/+1 | |
2017-06-23 | io: make io vtables const struct, and add accessors for them | Timo Teräs | 12 | -119/+194 | |
This reduces function pointers in heap, and unifies how the io functions are called. (cherry picked from commit 09ca58863af02d11e8dbf066b714464fb1638e6f) | |||||
2017-06-23 | archive: validate reading of pax and gnu long filename extensions | Timo Teräs | 1 | -14/+14 | |
Detect properly if the file stream gets an error during these read operations. Reported-by: Ariel Zelivansky from Twistlock (cherry picked from commit cd531aef3033475c26f29a1f650a3bf392cc2daa) | |||||
2017-06-23 | archive: fix incorrect bounds checking for memory allocation | Timo Teräs | 1 | -2/+4 | |
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) | |||||
2017-04-28 | apk-tools-2.7.1v2.7.1 | Timo Teräs | 1 | -1/+1 | |
2017-04-28 | test: add test for bug fixed in commit ba7b50c0 | Timo Teräs | 3 | -0/+22 | |
2017-04-28 | close database on SIGINT | Kaarle Ritvanen | 1 | -1/+9 | |
cleans up procfs mount | |||||
2017-04-28 | db: separate init from open | Kaarle Ritvanen | 4 | -11/+19 | |
2017-04-27 | solver: don't clobber package swaps in cases where an installed package is ↵ | William Pitcock | 1 | -5/+18 | |
being replaced by a provider | |||||
2017-04-26 | print: handle mixing stdout and stderr printing | Timo Teräs | 1 | -0/+2 | |
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 | |||||
2017-04-25 | fetch: spell "its" properly in user visible message | readerreader | 1 | -1/+1 | |
2017-04-25 | fetch: open the installed database to allow fetching a dependency tree ↵ | William Pitcock | 1 | -2/+1 | |
rooted by a virtual | |||||
2017-04-25 | fetch: don't segfault when given an unknown package name | William Pitcock | 1 | -1/+2 | |
2017-04-24 | print: don't shadow log() | William Pitcock | 1 | -3/+3 | |
2017-04-24 | print: print warnings and errors to stderr | Shiz | 2 | -9/+21 | |
2017-03-29 | progress: shorten bar to prevent newlines on some terminals | Avi Halachmi (:avih) | 1 | -1/+1 | |
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% []"). | |||||
2017-03-13 | db: catch asprintf failure | Natanael Copa | 1 | -1/+2 | |
2017-03-13 | db: prevent umount /proc when it was mounted by someone else | Natanael Copa | 1 | -1/+6 | |
This fixes regression introduced by commit 72b878e655 | |||||
2017-03-06 | commit: include limits.h for PATH_MAX | Natanael Copa | 1 | -0/+1 | |
this fixes build on ppc64le | |||||
2017-02-28 | apk-tools-2.7.0v2.7.0 | Timo Teräs | 1 | -1/+1 | |
2017-02-28 | package: add more secure signature methods | Timo Teräs | 1 | -20/+31 | |
2017-02-27 | fetch: fix --recursive mode to work with pure virtual packages | Timo Teräs | 3 | -2/+16 | |
The virtual package provider still needs to be explicitly given on command line. | |||||
2017-02-27 | db: allow overriding cache location | Timo Teräs | 3 | -7/+13 | |
2017-02-27 | db: allow caching packages on tmpfs | Timo Teräs | 1 | -3/+1 | |
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. | |||||
2017-02-27 | commit: fix to work if commit_hook.d directory does not exist | Timo Teräs | 1 | -2/+2 | |
2017-02-27 | db: mount /proc for --root if it's not mounted, use mount syscall | Timo Teräs | 2 | -35/+48 | |
musl c-library does not work properly without /proc, and potentially running the scripts need this. | |||||
2017-02-27 | build: recognize 'make check' too | Timo Teräs | 1 | -1/+1 | |
2017-02-16 | commit: log parameter passed to a hook script | Henrik Riomar | 1 | -1/+1 | |
2017-02-15 | add support for pre and post commit hooks | Henrik Riomar | 6 | -32/+77 | |
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.] | |||||
2017-01-17 | Add ppc64le entry in apk defines. | Breno Leitao | 1 | -1/+3 | |
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. | |||||
2017-01-05 | tar: return correct error for short read of tar archive | Timo Teräs | 1 | -3/+8 | |
2016-11-21 | add s390x headers | Tuan M. Hoang | 1 | -0/+2 | |
2016-10-25 | apk-tools-2.6.8v2.6.8 | Timo Teräs | 1 | -1/+1 | |
2016-08-23 | pkg: reset umask for package scripts | Timo Teräs | 1 | -0/+1 | |
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. | |||||
2016-07-22 | upgrade: improve self upgrade functionality a bit | Timo Teräs | 13 | -15/+166 | |
trigger it only if apk-tools can be upgrade, add test cases | |||||
2016-07-22 | lua: remove unused reg_apk_db_meta_methods | Timo Teräs | 1 | -5/+0 | |
2016-07-08 | detect aarch64 architecture and assign default name for it | Timo Teräs | 1 | -2/+3 | |
2016-07-06 | fix cross-compiling to pick right libfetch.a | Timo Teräs | 1 | -1/+1 | |
2016-06-13 | info: add support for --license | Natanael Copa | 1 | -0/+16 | |
print license with the --license option. | |||||
2016-06-13 | build: allow override compiler/linker flags for external libs | Natanael Copa | 1 | -9/+11 | |
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. | |||||
2016-05-31 | fix info --who-owns to work with relative filenames | Timo Teräs | 1 | -5/+12 | |
fixes #5656 | |||||
2016-05-27 | apk-tools-2.6.7v2.6.7 | Timo Teräs | 1 | -1/+1 | |
2016-05-27 | index: don't return error if --index does not exists | Timo Teräs | 1 | -2/+2 | |
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 |