1. 13 Jun, 2013 1 commit
  2. 30 May, 2013 2 commits
  3. 29 May, 2013 2 commits
  4. 20 Sep, 2012 1 commit
  5. 04 Sep, 2012 1 commit
    • Timo Teräs's avatar
      db: remove AT_SYMLINK_NOFOLLOW for directory permissions · 8a4371cc
      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.
      8a4371cc
  6. 16 Jul, 2012 1 commit
    • Timo Teräs's avatar
      audit: fix protection mask of non-db directories · ea5b08d1
      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.
      ea5b08d1
  7. 01 May, 2012 1 commit
  8. 27 Apr, 2012 1 commit
  9. 24 Feb, 2012 3 commits
  10. 23 Feb, 2012 2 commits
    • Timo Teräs's avatar
      db: keep architecture in $ROOT/etc/apk/arch · 7392acb9
      Timo Teräs authored
      This we use proper arch in case modifying chroot installation.
      7392acb9
    • Timo Teräs's avatar
      audit, db: add etc/apk/protected_files.d and new audit features · ba3ee3f8
      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
      ba3ee3f8
  11. 22 Feb, 2012 4 commits
  12. 17 Feb, 2012 1 commit
  13. 15 Feb, 2012 1 commit
    • Timo Teräs's avatar
      solver, db: repository pinning improvements · 41fb3a4f
      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
      41fb3a4f
  14. 14 Feb, 2012 1 commit
  15. 10 Feb, 2012 4 commits
  16. 08 Feb, 2012 2 commits
  17. 01 Feb, 2012 2 commits
  18. 31 Jan, 2012 1 commit
  19. 17 Jan, 2012 2 commits
  20. 16 Jan, 2012 1 commit
  21. 12 Jan, 2012 3 commits
  22. 06 Jan, 2012 1 commit
  23. 27 Dec, 2011 1 commit
  24. 29 Oct, 2011 1 commit