aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2.0_pre10apk-tools-2.0_pre10Timo Teras2009-03-201-1/+1
|
* io: implement write cacheTimo Teras2009-03-171-4/+35
| | | | speeds up writing of package / file database.
* pkg: write dependencies directly file instead of bufferTimo Teras2009-03-173-6/+26
| | | | | So we don't get artificial limits on the amount of dependencies (fixes #8).
* Created search appletCameron Banta2009-03-073-29/+150
|
* Added -o option to apk info to list repository packagesCameron Banta2009-03-061-1/+29
|
* 2.0_pre9apk-tools-2.0_pre9Timo Teras2009-03-041-1/+1
|
* db: unlink apk-new if it is identical to existing configNatanael Copa2009-03-041-0/+3
|
* db: apk-new should be created if the existing file is modifiedTimo Teras2009-03-041-1/+1
|
* db: fix overwrite warningTimo Teras2009-03-041-2/+1
|
* apk: --force to overwrite filesTimo Teras2009-03-043-6/+15
|
* apk: --clean-protected optionTimo Teras2009-03-043-22/+22
| | | | So you will not get .apk-new files of the new configuration files.
* pkg: show warning if deprecated .INSTALL is present in packageTimo Teras2009-02-271-1/+14
|
* db: new apk to have separate install scripts for each actionTimo Teras2009-02-271-2/+6
|
* db: allow more than one --repository argNatanael Copa2009-02-173-6/+29
|
* release 2.0_pre8apk-tools-2.0_pre8Natanael Copa2009-02-121-1/+1
|
* db: do not allow overwrite busybox linksNatanael Copa2009-02-081-2/+1
| | | | | we let bb use /bin and /sbin, all packages overriding busybox must install the bins in /usr/bin and /usr/sbin
* info: list contents follw same style as list dependsNatanael Copa2009-02-081-6/+7
| | | | | - empty lines comes after not before - separate pkgname with : when using -v option
* info: implement -R/--depends to show dependenciesNatanael Copa2009-02-081-1/+42
|
* release 2.0_pre7apk-tools-2.0_pre7Natanael Copa2009-01-231-1/+1
|
* db: fix purging of packages from databaseTimo Teras2009-01-221-4/+3
| | | | | | apk_hash_delete() actually deletes the file entry, so unlinking from other lists need to happen before that. Also free the diri instead of leaking it.
* db: print files when (un)installing if --verboseNatanael Copa2009-01-221-0/+8
|
* db: always create directories during installNatanael Copa2009-01-221-3/+1
| | | | | | | | | | | | | | | | | We dont care if a directory have references or not, we care if directory is relly there. Only the creator of the direcotry will set the permissions. This fixes the situation where you install a package owning a dir then you remove this dir manually and try install a second package also owning the dir. For example: apk add e2fsprogs-dev rm -rf /usr/lib/pkgconfig apk add zlib-dev
* Revert "Revert "pkg: use absolute filenames for packages""Natanael Copa2009-01-211-2/+7
| | | | | | This reverts commit 600f9e7e031c9e7244e078f35ec6c8dce1011149. My bad. This was correct.
* Revert "pkg: use absolute filenames for packages"Natanael Copa2009-01-211-7/+2
| | | | | | This reverts commit 46430ceb5607ac9e395432648c6a8c1a7cbceaf1. The problem this was suppoed to fix was fixed by letting apk_db_open() return with same working dir.
* db: let apk_db_open() leave working dir as it wasNatanael Copa2009-01-211-0/+2
|
* release 2.0_pre6apk-tools-2.0_pre6Natanael Copa2009-01-201-1/+1
|
* info: don't print package name unless its installedNatanael Copa2009-01-201-1/+2
|
* info: list contents with -LNatanael Copa2009-01-201-0/+43
|
* pkg: use absolute filenames for packagesTimo Teras2009-01-201-2/+7
|
* db: try creating db if locking failsTimo Teras2009-01-191-0/+10
| | | | | Otherwise creating rootfs from scratch with --initdb cannot be locked due to the lock file path missing.
* release 2.0_pre5Natanael Copa2009-01-181-1/+1
|
* db: create .apk-new even if file not in dbNatanael Copa2009-01-181-5/+8
| | | | | | | Protect files in protected dirs even if the file is not previously registered in the database. We do so by always extracting to a .apk-new file name, compare the checksums afterwards and rename if file was identical.
* archive: utimes modifies file, not link so don't use it for symlinksTimo Teras2009-01-171-7/+9
|
* archive: preserve mtime on extractionapk-tools-2.0_pre4Timo Teras2009-01-171-8/+27
|
* db: database locking and creation to part of opening itTimo Teras2009-01-178-79/+111
| | | | | Add flags field to db open call. Also make error reporting quite a bit more detailed.
* apk: added option --version/-VNatanael Copa2009-01-171-14/+25
| | | | | | Both variants should work: apk --version apk <applet> --version
* archive: set suid bit after chown if neededNatanael Copa2009-01-171-0/+6
| | | | chown will reset the suid bit so we need to set it again.
* del: proper ordering of file db entry deletionTimo Teras2009-01-172-6/+3
|
* release 2.0_pre4Natanael Copa2009-01-161-1/+1
|
* Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-toolsNatanael Copa2009-01-161-9/+13
|\
| * db: apk_db_read_state() needs to be before apk_db_add_repository()Timo Teras2009-01-161-9/+13
| | | | | | | | | | Otherwise installed db load fails due to internal reasons. This would cause a lot of other funny stuff happen.
* | Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-toolsNatanael Copa2009-01-161-2/+13
|\|
| * db: make fetching from other than first repository workTimo Teras2009-01-161-2/+13
| |
* | Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-toolsNatanael Copa2009-01-163-20/+33
|\|
| * index: write out only packages specified in command lineTimo Teras2009-01-163-20/+33
| | | | | | | | | | | | Ignore /etc/apk/repositories, so additional repositories that depend on other repositories need to have explicit --repository reference on command line when generating the index (to avoid warnings).
* | Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-toolsNatanael Copa2009-01-169-21/+18
|\|
| * db: fix relative --root to work after apk_db_create callTimo Teras2009-01-161-0/+1
| | | | | | | | | | This was broke on --initdb addition to add applet since apk_db_create changes the working directory.
| * add: --upgrade|-u to control if upgrading is preferred or notTimo Teras2009-01-168-21/+17
| |
* | release 2.0_pre3Natanael Copa2009-01-161-1/+1
|/
* Makefile: added 'make static' target to build apk.staticNatanael Copa2009-01-162-1/+7
|