summaryrefslogtreecommitdiff
path: root/src/archive.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-23archive: append .apk-new to hard link targetsNatanael Copa1-1/+5
Otherwise will link(2) fail since it does not exist.
2009-07-22various: more informative error messagesTimo Teras1-10/+11
2009-07-22various: installation fixesTimo Teras1-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-21various: fix installation of new style apksTimo Teras1-1/+1
2009-07-21pkg: fix indexing of multi-part apksTimo Teras1-3/+3
2009-07-21db: fixes to package checksumming while installing itTimo Teras1-7/+12
2009-07-20db: signed index loading (ref #46)Timo Teras1-0/+5
prefer index in the new format as signed .tar.gz.
2009-07-16archive: use the abuild-tar mangled checksum if availableTimo Teras1-8/+28
to speed up apk installation avoid calculating checksums.
2009-07-16various: new style index generationTimo Teras1-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-16gzip: always autoclose the inner streamTimo Teras1-13/+0
2009-07-14db: live with sha1 and md5Timo Teras1-9/+82
this also convers scripts file to a tar archive.
2009-07-14blob: some helpers to replace snprintfTimo Teras1-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-14bstream: make tokenizable and load index using bstreamTimo Teras1-1/+6
some fixes on index reading code too.
2009-07-13io: move csumming away from bstream to gunzipTimo Teras1-2/+2
in future we want to checksum on gzip boundary basis, not the full file.
2009-01-17archive: utimes modifies file, not link so don't use it for symlinksTimo Teras1-7/+9
2009-01-17archive: preserve mtime on extractionapk-tools-2.0_pre4Timo Teras1-8/+27
2009-01-17archive: set suid bit after chown if neededNatanael Copa1-0/+6
chown will reset the suid bit so we need to set it again.
2009-01-07various: make fancy progress bar and update todoTimo Teras1-2/+4
2009-01-06io: fix some memory leaksTimo Teras1-1/+8
2009-01-06archive: minor clean upsTimo Teras1-2/+3
2008-11-28io: apk_ostream stuffTimo Teras1-5/+1
2008-11-14db: checksum installed files, protect config filesTimo Teras1-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-07use zlib internally to decompressTimo Teras1-175/+66
2008-10-26give more helpful error messagesNatanael Copa1-0/+3
2008-04-22Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras1-6/+11
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-1/+1
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+349
breakage and major changes.