Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | release 2.0_pre7apk-tools-2.0_pre7 | Natanael Copa | 2009-01-23 | 1 | -1/+1 |
| | |||||
* | db: fix purging of packages from database | Timo Teras | 2009-01-22 | 1 | -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 --verbose | Natanael Copa | 2009-01-22 | 1 | -0/+8 |
| | |||||
* | db: always create directories during install | Natanael Copa | 2009-01-22 | 1 | -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 Copa | 2009-01-21 | 1 | -2/+7 |
| | | | | | | This reverts commit 600f9e7e031c9e7244e078f35ec6c8dce1011149. My bad. This was correct. | ||||
* | Revert "pkg: use absolute filenames for packages" | Natanael Copa | 2009-01-21 | 1 | -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 was | Natanael Copa | 2009-01-21 | 1 | -0/+2 |
| | |||||
* | release 2.0_pre6apk-tools-2.0_pre6 | Natanael Copa | 2009-01-20 | 1 | -1/+1 |
| | |||||
* | info: don't print package name unless its installed | Natanael Copa | 2009-01-20 | 1 | -1/+2 |
| | |||||
* | info: list contents with -L | Natanael Copa | 2009-01-20 | 1 | -0/+43 |
| | |||||
* | pkg: use absolute filenames for packages | Timo Teras | 2009-01-20 | 1 | -2/+7 |
| | |||||
* | db: try creating db if locking fails | Timo Teras | 2009-01-19 | 1 | -0/+10 |
| | | | | | Otherwise creating rootfs from scratch with --initdb cannot be locked due to the lock file path missing. | ||||
* | release 2.0_pre5apk-tools-2.0_pre5 | Natanael Copa | 2009-01-18 | 1 | -1/+1 |
| | |||||
* | db: create .apk-new even if file not in db | Natanael Copa | 2009-01-18 | 1 | -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 symlinks | Timo Teras | 2009-01-17 | 1 | -7/+9 |
| | |||||
* | archive: preserve mtime on extractionapk-tools-2.0_pre4 | Timo Teras | 2009-01-17 | 1 | -8/+27 |
| | |||||
* | db: database locking and creation to part of opening it | Timo Teras | 2009-01-17 | 8 | -79/+111 |
| | | | | | Add flags field to db open call. Also make error reporting quite a bit more detailed. | ||||
* | apk: added option --version/-V | Natanael Copa | 2009-01-17 | 1 | -14/+25 |
| | | | | | | Both variants should work: apk --version apk <applet> --version | ||||
* | archive: set suid bit after chown if needed | Natanael Copa | 2009-01-17 | 1 | -0/+6 |
| | | | | chown will reset the suid bit so we need to set it again. | ||||
* | del: proper ordering of file db entry deletion | Timo Teras | 2009-01-17 | 2 | -6/+3 |
| | |||||
* | release 2.0_pre4 | Natanael Copa | 2009-01-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-tools | Natanael Copa | 2009-01-16 | 1 | -9/+13 |
|\ | |||||
| * | db: apk_db_read_state() needs to be before apk_db_add_repository() | Timo Teras | 2009-01-16 | 1 | -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-tools | Natanael Copa | 2009-01-16 | 1 | -2/+13 |
|\| | |||||
| * | db: make fetching from other than first repository work | Timo Teras | 2009-01-16 | 1 | -2/+13 |
| | | |||||
* | | Merge branch 'master' of ssh://dev.alpinelinux.org/gitroot/apk-tools | Natanael Copa | 2009-01-16 | 3 | -20/+33 |
|\| | |||||
| * | index: write out only packages specified in command line | Timo Teras | 2009-01-16 | 3 | -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-tools | Natanael Copa | 2009-01-16 | 9 | -21/+18 |
|\| | |||||
| * | db: fix relative --root to work after apk_db_create call | Timo Teras | 2009-01-16 | 1 | -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 not | Timo Teras | 2009-01-16 | 8 | -21/+17 |
| | | |||||
* | | release 2.0_pre3apk-tools-2.0_pre3 | Natanael Copa | 2009-01-16 | 1 | -1/+1 |
|/ | |||||
* | Makefile: added 'make static' target to build apk.static | Natanael Copa | 2009-01-16 | 2 | -1/+7 |
| | |||||
* | url: allow wget report error messages | Natanael Copa | 2009-01-16 | 1 | -2/+1 |
| | |||||
* | apk: fix --root/-p option | Natanael Copa | 2009-01-16 | 1 | -1/+1 |
| | |||||
* | apk: short option for --root is -p | Natanael Copa | 2009-01-16 | 1 | -1/+1 |
| | | | | Used to be so in the really old days of apk. | ||||
* | info: only show package desc when --verbose | Natanael Copa | 2009-01-16 | 4 | -11/+17 |
| | | | | | | | also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1. | ||||
* | db: set the perms to /var/lib/apk/* to 644 | Natanael Copa | 2009-01-16 | 1 | -4/+4 |
| | | | | this allows non-root users to query the database. | ||||
* | db, hash: fix package purging/upgrading to update filedb properly | Timo Teras | 2009-01-16 | 2 | -45/+81 |
| | |||||
* | db: try create root in case it does not exist | Natanael Copa | 2009-01-16 | 1 | -0/+1 |
| | | | | But we dont bother try create all subdirs (i.e mkdir -p ...) | ||||
* | release 2.0_pre2apk-tools-2.0_pre2 | Natanael Copa | 2009-01-15 | 1 | -1/+1 |
| | |||||
* | Makefile: use $(PACKAGE) variable for package name | Natanael Copa | 2009-01-15 | 1 | -6/+7 |
| | |||||
* | Makefile: new dist target | Natanael Copa | 2009-01-15 | 1 | -5/+11 |
| | |||||
* | db: index file location is a URL | Timo Teras | 2009-01-15 | 4 | -3/+8 |
| | |||||
* | apk: isalnum() takes only unsigned char values add explicit check for that | Timo Teras | 2009-01-15 | 1 | -1/+2 |
| | |||||
* | audit: new command to check changed files | Timo Teras | 2009-01-14 | 4 | -15/+178 |
| | | | | | | | Currently only implement --backup to get list of (config) files in protected directories to backup. This also fixes a database corruption bug in database.c. | ||||
* | db: keep only filename in file entries, hash by both directory and file | Timo Teras | 2009-01-14 | 5 | -32/+77 |
| | |||||
* | add: --initdb to replace create applet | Timo Teras | 2009-01-13 | 4 | -53/+62 |
| | |||||
* | db: hash files by name, instead of keep two directory lists | Timo Teras | 2009-01-13 | 3 | -84/+62 |
| | |||||
* | state: fix again changeset ordering | Timo Teras | 2009-01-13 | 1 | -2/+2 |
| | |||||
* | info: implement who owns packages query (apk_info -W) | Timo Teras | 2009-01-13 | 5 | -11/+84 |
| | | | | | In quiet mode e.g. "apk info -q -W <file list>" a list of dependencies suitable for .PKGINFO is output in one line. |