Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-29 | portability: take over strlcpy | Ariadne Conill | 1 | -13/+0 | |
2021-12-14 | everywhere: use stdlib.h for malloc(3) definition, not GNU-specific malloc.h | Ariadne Conill | 1 | -1/+1 | |
musl implements support for malloc.h, but it is only a stub. we do not use any of the GNU-specific malloc interfaces, so just use POSIX stdlib.h instead. ref #10794 | |||||
2021-11-09 | database: support loading v3 indexes | Timo Teräs | 1 | -0/+9 | |
2021-07-26 | adb: adb_walk_adb fix out of boundary write | Timo Teräs | 1 | -21/+41 | |
If a signature is longer than max allowed adb signature length then adb_walk_block writes out of boundary of stack variable tmp. The len += snprintf is not safe per standard snprintf implementation (kernel does it differently). Introduce and use apk_blob_push_fmt which does the checking better. Fixes #10752 Reported-by: Samanta Navarro <ferivoz@riseup.net> | |||||
2021-06-02 | add adbgen applet to generate databases from it's text dump | Timo Teräs | 1 | -0/+6 | |
2020-10-09 | minor performance improvements on build and code | Timo Teräs | 1 | -1/+1 | |
2020-10-09 | adb: introduce apk-tools database format, and few applets | Timo Teräs | 1 | -0/+7 | |
This is a flat buffers inspired format that allows fast mmaped access to the data with low overhead, signature support and relatively good forward support. | |||||
2020-05-19 | make the atom functions not use global state | Timo Teräs | 1 | -76/+0 | |
This greatly helps with memory management on applications that may want to daemonize and open/close database several times. Also the lifetime and "owner" of memory for all data is now explicitly bound to owning struct apk_database, which might be helpful when writing language bindings. As side effect, the interned "atoms" are unique only within what apk_database, so comparing packages from different apk_database may not work as expected. Fixes #10697 | |||||
2020-05-07 | fix apk_blob_pull_csum to always initialize apk_checksum | Timo Teräs | 1 | -9/+6 | |
Fixes #10686 to not use uninitialized value in the error paths. | |||||
2020-05-07 | use SPDX-License-Identifier in source files | TBK | 1 | -3/+1 | |
2020-02-21 | db: fix unaligned memory access in csum_hash() | Timo Teräs | 1 | -10/+0 | |
2020-02-17 | fix murmur3 hash unaligned memory access | Timo Teräs | 1 | -29/+39 | |
- do not do unaligned accesses on non-x86 hardware - clean up the code a little bit | |||||
2020-01-11 | istream, archive, db: convert db and tar function to use istream | Timo Teräs | 1 | -4/+2 | |
2019-05-28 | Fix compile with glibc | Ian Douglas Scott | 1 | -1/+1 | |
2019-02-13 | fix strncpy bounds errors | Timo Teräs | 1 | -0/+13 | |
error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] Based on patch by Elan Ruusamäe <glen@delfi.ee> | |||||
2016-04-03 | blob: fix sign extension in test_bit | Timo Teräs | 1 | -1/+1 | |
2015-10-08 | blob: Add missing header | Andrew Wilcox | 1 | -0/+1 | |
2015-06-12 | add simple stats applet | Timo Teräs | 1 | -1/+1 | |
2015-06-12 | free atoms when VALGRIND is defined | Timo Teräs | 1 | -0/+10 | |
2015-06-12 | optimize base64 decoding a bit | Timo Teräs | 1 | -20/+16 | |
it's a hot path for decoding checksums in fdb | |||||
2015-06-11 | use murmur3_32 hash | Timo Teräs | 1 | -6/+45 | |
it is more efficient than the previously used djb hash | |||||
2015-04-08 | ignore .apk-new files for overlays | Timo Teräs | 1 | -0/+6 | |
2014-11-01 | support extended pax header in tar extractor | Timo Teräs | 1 | -0/+9 | |
2013-06-12 | libapk, apk(8): fix header inclusion issues with musl's headers | William Pitcock | 1 | -1/+1 | |
2012-02-27 | solver, test: implements more provides things, add tests | Timo Teräs | 1 | -3/+4 | |
ref #574 | |||||
2012-02-10 | blob: fix base64 decoding after previous optimizations | Timo Teräs | 1 | -1/+1 | |
2012-02-08 | blob: optimize spn and cspn | Timo Teräs | 1 | -4/+87 | |
2012-02-08 | blob: optimize digit and base64 decoding | Timo Teräs | 1 | -41/+110 | |
2011-10-29 | solver, db: implement repository pinning | Timo Teräs | 1 | -4/+8 | |
Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575 | |||||
2011-09-13 | all: update copyright year statement | Timo Teräs | 1 | -1/+1 | |
2010-12-14 | various: use 'atoms' for certain package field and misc fixes | Timo Teräs | 1 | -0/+67 | |
- implement a hash table for commonly shared fields such as license, version and architecture - use macroes to print blobs or pkgname-pkgver strings - fix some old cruft | |||||
2010-11-23 | blob: fix segfault on x86_64 with --virtual | Natanael Copa | 1 | -1/+1 | |
blob.ptr might be non-null on empty field in /var/lib/apk/installed so we compare with blob length. This fixes a segfault on x86_64. | |||||
2010-06-01 | state: improve error messages from dependency failures | Timo Teräs | 1 | -0/+8 | |
Print more information why installation changeset calculation failed. Fixes #187. | |||||
2009-07-15 | blob: base64 encoding and decoding | Timo Teras | 1 | -17/+127 | |
and prefer sha1 checksums to be stored in base64 encoded format. | |||||
2009-07-14 | db: live with sha1 and md5 | Timo Teras | 1 | -0/+49 | |
this also convers scripts file to a tar archive. | |||||
2009-07-14 | blob: add some likelyness to help compiler optimizations | Timo Teras | 1 | -12/+12 | |
2009-07-14 | blob: some helpers to replace snprintf | Timo Teras | 1 | -36/+91 | |
snprintf is dog slow. make the blob stuff have some helper functions so we can use them in code paths that are executed often. | |||||
2009-07-14 | hash: allow caching of hash value | Timo Teras | 1 | -2/+7 | |
2009-07-14 | bstream: make tokenizable and load index using bstream | Timo Teras | 1 | -17/+31 | |
some fixes on index reading code too. | |||||
2009-07-08 | csum: use openssl instead | Timo Teras | 1 | -9/+0 | |
instead of having static md5 implemenation, use the openssl library for digest functions. | |||||
2009-06-28 | blob: function to checksum a blob | Timo Teras | 1 | -1/+10 | |
And use it in couple of places. Some whitespace fixes too. | |||||
2009-04-14 | blob: add strspn helpers | Timo Teras | 1 | -0/+28 | |
2009-01-14 | db: keep only filename in file entries, hash by both directory and file | Timo Teras | 1 | -1/+1 | |
2008-11-27 | hash, db: use apk_blob_t and list_* | Timo Teras | 1 | -0/+20 | |
2008-11-06 | db: parse new style .PKGINFO | Timo Teras | 1 | -1/+18 | |
2008-04-21 | Argument parsing. Some other stuff too. | Timo Teras | 1 | -0/+3 | |
2008-04-17 | Initial commit of some stuff written so far. Still in state of flux. Expect | Timo Teras | 1 | -0/+125 | |
breakage and major changes. |