Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-13 | all: update copyright year statement | Timo Teräs | 1 | -1/+1 | |
2010-10-08 | io, db: id cache should be specific to database root, not system root | Timo Teräs | 1 | -3/+3 | |
Otherwise we end up using wrong uid/gid mappings when doing install to alternate system root. Fixes #434. | |||||
2010-09-23 | archive: resolve uid, gid for file information | Timo Teräs | 1 | -6/+3 | |
the uid and gid are used in other places than just changing file ownership on extraction. | |||||
2010-08-30 | Fix building on eglibc | Natanael Copa | 1 | -0/+1 | |
Seems like recent eglibc requires that you include sys/stat.h | |||||
2010-06-12 | archive: honor username/groupname instead of uid/gid | Timo Teräs | 1 | -1/+4 | |
Take the uid/gid from passwd and group. | |||||
2010-06-11 | various: use O_CLOEXEC and add some error checking | Timo Teräs | 1 | -1/+1 | |
2010-06-11 | First steps for libapk | Natanael Copa | 1 | -0/+1 | |
2009-12-21 | apk: remove the unneeded --never-overwrite | Timo Teras | 1 | -18/+1 | |
turns out the logic does not work with overlays as expected due to busybox symlinks being unmanaged. remove the useless option. | |||||
2009-11-06 | archive: overwrite protection needs to use real filename | Timo Teras | 1 | -1/+7 | |
otherwise we always extract the file as .apk-new and the database side just overwrites. | |||||
2009-11-06 | apk: add --never-overwrite flag (ref #197) | Timo Teras | 1 | -2/+20 | |
to never ever overwrite a while in the filesystem the user knows about. it gives the impression of extraction succeeding even though nothing was done. this is inteded to be used only for bootstrapping with overlay. | |||||
2009-09-03 | index, version: support for repository descriptions (fixes #141) | Timo Teras | 1 | -1/+2 | |
ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I". | |||||
2009-08-11 | archive: update for new place of checksum in tar header | Timo Teras | 1 | -9/+26 | |
and take checksums for symlinks too. | |||||
2009-08-11 | db, audit: audit symlinks (by hash of the link target) | Timo Teras | 1 | -1/+1 | |
2009-08-03 | archive: compile fix | Natanael Copa | 1 | -0/+1 | |
We need the define for uint16 | |||||
2009-07-31 | apk: use *at instead of chdir+normal file syscall | Timo Teras | 1 | -26/+29 | |
this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used. | |||||
2009-07-30 | io: fix mmap writing to actually work | Timo Teras | 1 | -1/+1 | |
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 | tar: make checksumming of inner files conditional | Timo Teras | 1 | -4/+7 | |
and force checksumming only when unpacking archive. otherwise it's extra computation for nothing. | |||||
2009-07-29 | tar: don't call digest finalization twice | Timo Teras | 1 | -0/+3 | |
otherwise bad things happens. avoid this be checking end of stream at the beginning of read. | |||||
2009-07-23 | archive: append .apk-new to hard link targets | Natanael Copa | 1 | -1/+5 | |
Otherwise will link(2) fail since it does not exist. | |||||
2009-07-22 | various: more informative error messages | Timo Teras | 1 | -10/+11 | |
2009-07-22 | various: installation fixes | Timo Teras | 1 | -1/+2 | |
- extract everything as .apk-new and overwrite only after data has been checksummed - url construction fixes (to work with simple http servers) - end of gunzip stream fixed - remove oneshot digesting flag for now as it's usage was broken | |||||
2009-07-21 | various: fix installation of new style apks | Timo Teras | 1 | -1/+1 | |
2009-07-21 | pkg: fix indexing of multi-part apks | Timo Teras | 1 | -3/+3 | |
2009-07-21 | db: fixes to package checksumming while installing it | Timo Teras | 1 | -7/+12 | |
2009-07-20 | db: signed index loading (ref #46) | Timo Teras | 1 | -0/+5 | |
prefer index in the new format as signed .tar.gz. | |||||
2009-07-16 | archive: use the abuild-tar mangled checksum if available | Timo Teras | 1 | -8/+28 | |
to speed up apk installation avoid calculating checksums. | |||||
2009-07-16 | various: new style index generation | Timo Teras | 1 | -12/+27 | |
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 | -13/+0 | |
2009-07-14 | db: live with sha1 and md5 | Timo Teras | 1 | -9/+82 | |
this also convers scripts file to a tar archive. | |||||
2009-07-14 | blob: some helpers to replace snprintf | Timo Teras | 1 | -1/+1 | |
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 | bstream: make tokenizable and load index using bstream | Timo Teras | 1 | -1/+6 | |
some fixes on index reading code too. | |||||
2009-07-13 | io: move csumming away from bstream to gunzip | Timo Teras | 1 | -2/+2 | |
in future we want to checksum on gzip boundary basis, not the full file. | |||||
2009-01-17 | archive: utimes modifies file, not link so don't use it for symlinks | Timo Teras | 1 | -7/+9 | |
2009-01-17 | archive: preserve mtime on extractionapk-tools-2.0_pre4 | Timo Teras | 1 | -8/+27 | |
2009-01-17 | archive: set suid bit after chown if needed | Natanael Copa | 1 | -0/+6 | |
chown will reset the suid bit so we need to set it again. | |||||
2009-01-07 | various: make fancy progress bar and update todo | Timo Teras | 1 | -2/+4 | |
2009-01-06 | io: fix some memory leaks | Timo Teras | 1 | -1/+8 | |
2009-01-06 | archive: minor clean ups | Timo Teras | 1 | -2/+3 | |
2008-11-28 | io: apk_ostream stuff | Timo Teras | 1 | -5/+1 | |
2008-11-14 | db: checksum installed files, protect config files | Timo Teras | 1 | -19/+13 | |
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 | use zlib internally to decompress | Timo Teras | 1 | -175/+66 | |
2008-10-26 | give more helpful error messages | Natanael Copa | 1 | -0/+3 | |
2008-04-22 | Preserve uid and gid. Quiet flag to print dots on progress. | Timo Teras | 1 | -6/+11 | |
2008-04-21 | Argument parsing. Some other stuff too. | Timo Teras | 1 | -1/+1 | |
2008-04-17 | Initial commit of some stuff written so far. Still in state of flux. Expect | Timo Teras | 1 | -0/+349 | |
breakage and major changes. |