summaryrefslogtreecommitdiff
path: root/src/database.c
AgeCommit message (Expand)AuthorFilesLines
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
2018-01-03db: fix triggers to report deleted directoriesTimo Teräs1-16/+19
2017-10-10db: handle default root correctly for /procTimo Teräs1-1/+1
2017-07-29database: include POSIX header for ST_* definesA. Wilcox1-0/+1
2017-06-26db: fix current directory instance caching in tar extractionTimo Teräs1-1/+1
2017-06-26database: mark error on renameat failureA. Wilcox1-2/+6
2017-06-23io: make io vtables const struct, and add accessors for themTimo Teräs1-26/+26
2017-05-25db: fix regression preventing remounting apk cache r/wTimo Teräs1-1/+2
2017-04-28db: separate init from openKaarle Ritvanen1-11/+15
2017-03-13db: catch asprintf failureNatanael Copa1-1/+2
2017-03-13db: prevent umount /proc when it was mounted by someone elseNatanael Copa1-1/+6
2017-02-27db: allow overriding cache locationTimo Teräs1-7/+7
2017-02-27db: allow caching packages on tmpfsTimo Teräs1-3/+1
2017-02-27db: mount /proc for --root if it's not mounted, use mount syscallTimo Teräs1-34/+46
2017-02-15add support for pre and post commit hooksHenrik Riomar1-0/+29
2015-12-07db: add support for --no-cacheNatanael Copa1-1/+7
2015-11-09io, database: preserve [am]time for cached and fetched filesTimo Teräs1-0/+3
2015-09-03db: stop extract more files if disk is fullTimo Teräs1-2/+4
2015-07-02relocate lock file to /lib/apk/dbTimo Teräs1-3/+2
2015-06-26remove db dir entry properly, so it can be recreated properly if neededTimo Teräs1-7/+7
2015-06-12for completeness free all arrays before exitTimo Teräs1-0/+1
2015-06-11speed improvements for database openingTimo Teräs1-4/+43