summaryrefslogtreecommitdiff
path: root/src/database.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-27Refactor .apk extraction codeTimo Teräs1-80/+41
2021-07-26db: add some error checking to database state writeTimo Teräs1-39/+50
2021-07-26db: fix installed db writing with long namesSamanta Navarro1-5/+10
2021-07-23db: allow read-only operations without cacheTimo Teräs1-3/+6
2021-07-22io: formalize apk_ostream_write() always writing full dataTimo Teräs1-9/+9
2021-07-22rework apk_istream_splice and apk_istream_teeTimo Teräs1-50/+28
2021-07-22io: rework apk_istream_get_* to not return erros in blob valueTimo Teräs1-16/+16
2021-06-21db: check syscall errors in update_permissions()Timo Teräs1-5/+18
2021-06-19reduce misuse of error codes from errno.hTimo Teräs1-4/+4
2021-06-11extract: new applet to extract v2 packagesTimo Teräs1-2/+2
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-27/+42
2021-03-19database: do not chroot(".") unless actually necessaryAriadne Conill1-2/+12
2021-02-07db: fix control character check to use uint8_tTimo Teräs1-2/+2
2021-02-04db: consider control characters in filename as maliciousTimo Teräs1-11/+19
2021-01-14database.c: Fixed package DESCRIPTION parsingthibault.ferrante1-0/+1
2021-01-11database: Propagate errors when loading an APKINDEXthibault.ferrante1-6/+7
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-6/+3
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-35/+7
2020-10-09rename apk_db_options to apk_ctx, rework loggingTimo Teräs1-129/+129
2020-10-09make apk_flags non-global, make progress printing state non-globalTimo Teräs1-17/+17
2020-10-09make apk_force non-global, remove left-over apk_archTimo Teräs1-10/+11
2020-10-09db: convert repository list to a string arrayTimo Teräs1-3/+4
2020-10-09io: make ostream_file always use tmpnameTimo Teräs1-30/+5
2020-10-09adb: introduce apk-tools database format, and few appletsTimo Teräs1-0/+8
2020-10-07various changes to make clang not give warningsTimo Teräs1-4/+4
2020-10-06db: make the --repositories-file change more announcedTimo Teräs1-3/+7
2020-10-06database: automatically create missing cache dirPaul Spooren1-0/+6
2020-10-05db: make --repositories-file relative to host rootTimo Teräs1-1/+1
2020-10-05db: mask password component of printed URLsTimo Teräs1-12/+19
2020-10-01db: check cache only if some repositories are enabledTimo Teräs1-1/+1
2020-08-29database: clarify the deprecation notice for checksum-less packagesAriadne Conill1-3/+7
2020-05-27database: create additional device nodes when initializing root fsAriadne Conill1-0/+4
2020-05-19make the atom functions not use global stateTimo Teräs1-17/+19
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2020-04-28apk: do not manage file ownership as non-root or when asked soFredrik Gustafsson1-1/+5
2020-04-01db: fix database reading without scripts or triggersTimo Teräs1-6/+10
2020-02-21db: fix unaligned memory access in csum_hash()Timo Teräs1-1/+3
2020-02-14io: add stream copy helperTimo Teräs1-1/+1
2020-02-04remove apk_time() as it is causing problems with shared objectsTimo Teräs1-2/+2
2020-01-25document mysterious SHA-1 blob in database.cReid Rankin1-0/+2
2020-01-24db: additional clean up and hardening for apk extractionTimo Teräs1-15/+16
2020-01-24Harden signature verification processReid Rankin1-15/+13
2020-01-11archive: make apk_tar_parse check and close input streamTimo Teräs1-19/+7
2020-01-11convert remaining locations to use istream instead of bstreamTimo Teräs1-25/+17
2020-01-11istream, archive, db: convert db and tar function to use istreamTimo Teräs1-51/+34
2020-01-11archive: remove support for old packages without xattr checksumsTimo Teräs1-4/+9
2020-01-09database.c: drop GNU extension for fnmatchDrew DeVault1-1/+1
2020-01-06io: remove unused size parameter from bstream closeTimo Teräs1-5/+5
2019-12-27db: parse tabulator as repository separator charTimo Teräs1-0/+1
2019-11-22Don't unpack files to system rootFredrik Gustafsson1-1/+5