summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* apk-tools-2.6.0_rc2v2.6.0_rc2Timo Teräs2015-04-131-1/+1
|
* fix tee io error handlingTimo Teräs2015-04-132-4/+6
| | | | use ERR_PTR mechanism, and handle it at all places.
* fix error mapping typesTimo Teräs2015-04-131-1/+1
| | | | | | on arm char is by default unsigned, so this caused crashes as the ERR_PTR mechanism did not work as expected with unsigned types. extend the array type to be signed short explicitly.
* update: return errors also with --quietNatanael Copa2015-04-101-1/+1
| | | | fixes #4040
* use memmove for copying buffer leftovers, as the ranges may overlapTimo Teräs2015-04-081-1/+1
| | | | issue cought by fortify
* apk-tools-2.6.0_rc1v2.6.0_rc1Timo Teräs2015-04-081-1/+1
|
* unbreak audit after xattr supportTimo Teräs2015-04-081-2/+1
|
* ignore .apk-new files for overlaysTimo Teräs2015-04-083-1/+12
|
* make default dir/file acl implicitTimo Teräs2015-04-081-2/+2
| | | | | apk in alpine 3.1 already supports this optimization, but kept the database format. now is time to start using this feature.
* audit xattrsTimo Teräs2015-04-083-38/+90
| | | | ref #3027
* update: return failure if any mirror update failedNatanael Copa2015-04-073-3/+10
| | | | fixes #4040
* commit: return failure if there are any errorsNatanael Copa2015-04-071-1/+1
| | | | fixes #4019
* calculate and store checksum of xattrsTimo Teräs2015-03-115-7/+63
| | | | ref #3027
* rename file info related functions for consistencyTimo Teräs2015-03-108-17/+17
|
* extract xattrs from packagesTimo Teräs2015-03-103-0/+46
| | | | ref #3027
* rework error handling for write streamsTimo Teräs2015-03-104-29/+19
|
* rework error handling for read streamsTimo Teräs2015-03-108-42/+74
|
* apk-tools-2.5.0v2.5.0Timo Teräs2015-02-041-1/+1
|
* remove old compat. field entry from installed db handlingTimo Teräs2015-02-041-1/+0
| | | | | | Package pinning was first implemented with 'p' tag. However, it was before any release renamed to 's', and 'p' was reserved for package provides support for which is used now.
* remove spurious audit message from missing files with --systemTimo Teräs2015-01-301-4/+2
| | | | fixes #3840
* sort world dependencies alphabeticallyTimo Teräs2015-01-305-14/+22
| | | | | | | this makes 'lbu diff' and aaudit diffs nice when a world dependency is added or removed. sorting also makes the ordering more deterministic as the world targets constraints are always applied in the same order. test suite updated accordingly.
* always save 'world' with line feedsTimo Teräs2015-01-302-4/+1
| | | | | using space was for backwards compatibility with apk-tools 2.2.2 and earlier (from January 2012)
* remove support for old database location in /varTimo Teräs2015-01-303-57/+0
| | | | | the location changed in apk-tools 2.1.0 (March 2011) which was used in Alpine Linux 2.2.
* remove reverse dependencies firstTimo Teräs2015-01-301-0/+6
| | | | | | when removing large sets of packets, the ordering of removal was not quaranteed to honor dependencies. this fixes the removal order to be in reverse dependency order as far as possible.
* make del, fetch, fix and info return errorsTimo Teräs2014-12-088-32/+63
| | | | | | In case all applet arguments are packages names (that is are not including wildcards), return error if they do not match to some package.
* fix test modeTimo Teräs2014-12-081-5/+7
|
* apk-tools-2.5.0_rc1v2.5.0_rc1Timo Teräs2014-11-031-1/+1
|
* db: assign write permission to lock fileKaarle Ritvanen2014-11-031-2/+2
| | | | | Allows running apk as an unprivileged user, e.g. with fakeroot. Opening the lock file fails without the write permission.
* move --simulate to commit options group and alias -s for itTimo Teräs2014-11-011-5/+4
|
* make 'mode, uid, gid' triplet separate atomized structTimo Teräs2014-11-013-53/+68
| | | | | | | there are only few combinations for that triplet, and they occur multiple times reducing the struct sizes a bit. make sane defaults and prepare to not write defaults to disk to reduce on-disk installed db size.
* support extended pax header in tar extractorTimo Teräs2014-11-013-38/+93
|
* db: improve and unify fdb error messagesTimo Teräs2014-10-131-27/+13
|
* db: unconditionally refresh index with --forceTimo Teräs2014-10-091-1/+3
|
* rework option parsing to have a group structureTimo Teräs2014-10-0814-319/+390
| | | | | Add also a new 'commit' group that is the common options for all applets that can commit package changes.
* url: fix double free from late libfetch changesTimo Teräs2014-10-081-1/+0
|
* io,url,db: support for if-modified-sinceTimo Teräs2014-10-086-53/+81
|
* url: use libfetch to retrieve http/https/ftp filesTimo Teräs2014-10-083-56/+51
|
* apk-tools-2.4.5v2.4.5Timo Teräs2014-10-081-1/+1
|
* db: fix crash if unable to download cache itemTimo Teräs2014-10-071-2/+3
| | | | fixes #3371
* io: fix few error path leaksTimo Teräs2014-10-072-6/+9
|
* db: rework directory permission handlingTimo Teräs2014-10-074-58/+88
| | | | | | | | | | | | | | | | | | Apk used to reset directory permissions always, but this is undesirable if user has modified the permissions - especially during tmpfs boot. Though, it is desirable to update the permissions when packaging has changed permissions, or a new package is installed and the merged permission mask / owner changes. Thus the new code updates the permissions only if: 1) We are booting and directory is not in apkovl 2) The directory is modified by a package install/remove/upgrade 3) The filesystem directory permission matched database Additionally "apk fix --directory-permissions" can be used to reset all directory permissions to the database defaults. Fixes #2966
* solver: enforce conflicts during upgrades and new pkg installsTimo Teräs2014-10-064-2/+61
| | | | | | | This makes sure any conflicted packages will be removed first. Useful if we know there are conflicting files, and want to avoid adding potentially harmful replaces line. Add a test case for this too.
* cache: delete more aggressively unneeded cached filesTimo Teräs2014-10-062-6/+12
| | | | | Also if --purge is specified delete all uninstalled packages. Fixes #2889
* db: use per-pkg architecture (if available) to form download urlTimo Teräs2014-10-061-2/+6
| | | | | | | Allows one arch index files to refer to other arch packages. Mostly useful with noarch packages, but could be used e.g. to ship build with some of packages optimized for specific cpu generation and share most packages with the standard build.
* info who-owns: print symlink target owner as a fallbackTimo Teräs2014-10-061-3/+15
| | | | | busybox trigger creates symlinks to itself. This helps user to see where these come from.
* index: fix warning about package names without providerTimo Teräs2014-10-063-9/+11
| | | | | It's real only if there's a package with actual dependency (conflicts and install_if dependencies do not count).
* apk-tools-2.4.4v2.4.4Timo Teräs2014-05-201-1/+1
|
* solver: fix installation of non-repository packages during tmpfs bootTimo Teräs2014-05-195-3/+21
| | | | | allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue.
* test: improve loading of repositories, fix broken install-if testTimo Teräs2014-05-192-3/+23
|
* del: allow deletion of world dependency when it is not installedTimo Teräs2014-05-192-0/+10
| | | | | this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed.