Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-30 | audit: protection mask for "symlinks only" | Timo Teras | 1 | -1/+1 | |
and use it for /etc/init.d by default. fixes #99. | |||||
2009-07-30 | io: keep static pointer to copying buffer | Timo Teras | 1 | -6/+6 | |
so we avoid some malloc/free calls. | |||||
2009-07-30 | io: fix mmap writing to actually work | Timo Teras | 1 | -4/+6 | |
apparently it needs to have both PROT_READ and PROT_WRITE. and it needs to be MAP_SHARED for the writing to be effective. oh, and the data needs to be preallocated with ftruncate; otherwise, one gets SIGBUS. | |||||
2009-07-29 | io: use mmap to write archive entries to disk | Timo Teras | 1 | -11/+28 | |
avoids some copying and system calls. | |||||
2009-07-22 | pkg: cleanup the signing code | Timo Teras | 1 | -0/+1 | |
smaller callback and less cases to check. also reintroduce the oneshot digest flag, hopefully correct this time. | |||||
2009-07-22 | various: more informative error messages | Timo Teras | 1 | -17/+23 | |
2009-07-17 | digest: use oneshot context flag where approriate | Timo Teras | 1 | -0/+3 | |
speeds up digest calculation on some cases. | |||||
2009-07-16 | various: new style index generation | Timo Teras | 1 | -0/+39 | |
change the index generation to do old index, or the new style index where package identity is sha1 of control block and it's contained within an .tar.gz to allow signing in future. | |||||
2009-07-16 | gzip: always autoclose the inner stream | Timo Teras | 1 | -1/+1 | |
2009-07-14 | db: live with sha1 and md5 | Timo Teras | 1 | -5/+9 | |
this also convers scripts file to a tar archive. | |||||
2009-07-14 | bstream: make tokenizable and load index using bstream | Timo Teras | 1 | -30/+68 | |
some fixes on index reading code too. | |||||
2009-07-13 | io: move csumming away from bstream to gunzip | Timo Teras | 1 | -32/+16 | |
in future we want to checksum on gzip boundary basis, not the full file. | |||||
2009-06-29 | cache: new applet (ref #49) | Timo Teras | 1 | -1/+2 | |
Administrative tool to download or delete files to/from the cache. | |||||
2009-06-29 | db: cache packages (ref #49) | Timo Teras | 1 | -0/+58 | |
If /etc/apk/cache is a symlink to directory, a copy of all installed packages is stored there, and the index of remote repositories will be there instead of /var/lib/apk. This enables to reconstruct running system during boot. Left as todo: remove cached copy when the package is removed, and additional apk applet to download missing packages to cache and/or remove extra items. | |||||
2009-06-11 | io: fix mmap bstream fd leak | Timo Teras | 1 | -1/+2 | |
We need to close the fd on destruction. This is what the corresponding istream variant does too. | |||||
2009-04-16 | pkg: clean up writing of dependencies | Timo Teras | 1 | -0/+10 | |
2009-03-17 | io: implement write cache | Timo Teras | 1 | -4/+35 | |
speeds up writing of package / file database. | |||||
2009-01-07 | various: make fancy progress bar and update todo | Timo Teras | 1 | -1/+5 | |
2009-01-06 | io: fix some memory leaks | Timo Teras | 1 | -1/+1 | |
2008-11-28 | io: apk_ostream stuff | Timo Teras | 1 | -8/+82 | |
2008-11-28 | io: prepartions for url handling | Timo Teras | 1 | -13/+22 | |
2008-11-27 | db: compressed index file | Timo Teras | 1 | -0/+12 | |
2008-11-27 | various: use apk_istream api | Timo Teras | 1 | -0/+29 | |
2008-11-14 | db: checksum installed files, protect config files | Timo Teras | 1 | -17/+28 | |
Checksum of installed is computed on the fly when extracting them and it'll be saved to fdb. When installing config files those are diverted with suffix .apk-new if earlier version of same file with local changes exist. | |||||
2008-11-07 | pkg: speed up indexing of version 2 .apks | Timo Teras | 1 | -2/+16 | |
2008-11-07 | io: implement mmap(2) for reading pkgs | Timo Teras | 1 | -9/+98 | |
2008-11-07 | use zlib internally to decompress | Timo Teras | 1 | -0/+221 | |