summaryrefslogtreecommitdiff
path: root/src/database.c
AgeCommit message (Expand)AuthorFilesLines
2021-12-14everywhere: use stdlib.h for malloc(3) definition, not GNU-specific malloc.hAriadne Conill1-1/+0
2021-12-14fix fetching of depdencies only packagesTimo Teräs1-14/+9
2021-11-12db: purge temporary files without explicit modification checkTimo Teräs1-1/+2
2021-08-23db: honor SOURCE_DATE_EPOCH for scriptdbTimo Teräs1-2/+0
2021-07-26db: fix installed db writing with long namesSamanta Navarro1-6/+11
2021-07-23db: allow read-only operations without cacheTimo Teräs1-11/+9
2021-07-23db: check syscall errors in update_permissions()Timo Teräs1-5/+17
2021-03-19database: do not chroot(".") unless actually necessaryAriadne Conill1-2/+13
2021-02-07db: fix control character check to use uint8_tTimo Teräs1-2/+2
2021-02-07db: 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-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
2019-06-03use fixed system time in test mode to have fixed test outputTimo Teräs1-2/+2
2019-02-13fix strncpy bounds errorsTimo Teräs1-1/+4
2019-02-13include sys/sysmacros.h for makedev definitionElan Ruusamäe1-0/+1
2018-11-12prefer selecting packages by their primary nameTimo Teräs1-0/+8
2018-10-26add support for openssl 1.1Timo Teräs1-7/+12
2018-09-10rework unpacking of packages and harden package file format requirementsTimo Teräs1-53/+107
2018-08-21prevent automatic repository index update with --no-networkNatanael Copa1-1/+2
2018-07-18prevent automatic repository index update for 'apk del'Timo Teräs1-2/+4
2018-04-05db: fix refreshing index if time is zeroTimo Teräs1-3/+5
2018-01-08auto-update index only when database is opened for writingTimo Teräs1-1/+2
2018-01-04enable automatic update of indexes controlled by --cache-max-ageTimo Teräs1-18/+25
2018-01-03split --force to several --force-[type] optionsTimo Teräs1-6/+6