- 17 Jun, 2013 5 commits
-
-
Timo Teräs authored
no need to muldiv all the time, just pass the current amount of bytes done, and let callbacks use that directly.
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
instead use prefix for temporary files.
-
Timo Teräs authored
Fixes also 'fetch' applet to prefer copying/linking to files from cache if possible.
-
- 13 Jun, 2013 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
Implementing basic dependency handling, install_if and awareness of pinning.
-
- 30 May, 2013 2 commits
-
-
Timo Teräs authored
fixes #1476 Instead of: ERROR: Index generation failed: Success The following is now printed: ERROR: Metadata for package timo-1.0-r0 is too long. ERROR: Index generation failed: No buffer space available
-
Timo Teräs authored
make cache a special kind of repository, and automatically cache special packages (virtual packages, or ones installed from command line). add test cases for handling virtual packages. fixes #1617.
-
- 29 May, 2013 2 commits
-
-
Timo Teräs authored
fixes #1578
-
Timo Teräs authored
fixes #1714
-
- 20 Sep, 2012 1 commit
-
-
Timo Teräs authored
-
- 04 Sep, 2012 1 commit
-
-
Timo Teräs authored
fchmodat does not support this flag - symlinks do not have permissions. Sysadmin probably does not expect us to not follow symlinks either: if /var -> /mnt/foo/var, we should be making sure the permissions and ownership is correct on the target directory, not on the symlink. Since fchmodat never returned ENOENT with AT_SYMLINK_NOFOLLOW, this also fixes directory re-creation if it does not exist. fixes #1348.
-
- 16 Jul, 2012 1 commit
-
-
Timo Teräs authored
If a directory has protection mask, but does not exist in db, we do not handle it right unless we calculate the protection mask by hand, or create temporary db dir entry for it. For simplicity create always the db dir entry -- depending on audit type we likely need to create it anyway. This commit also caches the db dir entry in the audit tree context to avoid duplicate lookups. ref #1241.
-
- 01 May, 2012 1 commit
-
-
Timo Teräs authored
-
- 27 Apr, 2012 1 commit
-
-
Timo Teräs authored
Fixes --recurse during audit.
-
- 24 Feb, 2012 3 commits
-
-
Timo Teräs authored
implementation is still not near finished, but now at least it can handle it to a minimum degree. many cases are not done right yet, though. ref #574.
-
Timo Teräs authored
in preparation for provides support. implements also some dependency satisfaction helper routines. ref #574.
-
Timo Teräs authored
Will use 'p' for provides.
-
- 23 Feb, 2012 2 commits
-
-
Timo Teräs authored
This we use proper arch in case modifying chroot installation.
-
Timo Teräs authored
fixes #607. audit is now mostly rewritten for the new functionality. And has new features like --check-permissions, --recursive and --packages. $ROOT/etc/apk/protected_files.d/*.list can now contain additional protected paths, one path per line: +etc @etc/init.d -tmp + will include the directory as protected configuration directory. @ considers the directory protected, but will backup only symlinks. - removes any protection lbu should be modified to put include and exclude paths in etc/apk/protected_files.d/lbu.list. Additionally, some packages might provide their own listings. E.g. ssh might want to provide ssh.list with something like: +root/.ssh +home/*/.ssh
-
- 22 Feb, 2012 4 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
Load additional repositories from $ROOT/etc/apk/repositories.d/*.list unless --repositories-file is given as parameter.
-
Timo Teräs authored
Just in case same repository is mentioned with different tags.
-
Timo Teräs authored
It is faster to just scan the cache directory for existing packages at startup than trying to faccessat() them on demand. It also makes quite a few parts of the code more readable and simpler.
-
- 17 Feb, 2012 1 commit
-
-
Timo Teräs authored
-
- 15 Feb, 2012 1 commit
-
-
Timo Teräs authored
* solver internally calculates now using tags; not repository masks * installeddb now contains the tag name where the package came from -> we can now handle upgrades properly * the pinning is still a preference, and not strictly enforced; versioned dependencies may overrule preference
-
- 14 Feb, 2012 1 commit
-
-
Timo Teräs authored
-
- 10 Feb, 2012 4 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
And implement --directory-permissions for fix-applet to reset all directory uid, gid and modes.
-
Timo Teräs authored
-
Timo Teräs authored
-
- 08 Feb, 2012 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
- 01 Feb, 2012 2 commits
-
-
Natanael Copa authored
Only show a warning if we have a non-existing repository or bad repository signature but don't abort. This is not to break compat with behaviour in previous releases.
-
Natanael Copa authored
The 'r' variable is overwritten and no longer holds the repository number.
-
- 31 Jan, 2012 1 commit
-
-
Timo Teräs authored
Also clean up handling of signature failures for index files.
-
- 17 Jan, 2012 2 commits
-
-
Timo Teräs authored
* upgrade needs explicit check so we don't try self-upgrade (which would print additional messages on screen) * add can fix problems, so check against the new world * merge the code in few places
-
Timo Teräs authored
-
- 16 Jan, 2012 1 commit
-
-
Timo Teräs authored
-