1. 19 May, 2014 1 commit
  2. 25 Apr, 2014 1 commit
  3. 12 Mar, 2014 1 commit
    • Timo Teräs's avatar
      audit: include all files in etc/apk in overlay · d99e82c6
      Timo Teräs authored
      This implements a new protected path flag '!' to include always
      matching entries in the backup mode (overlay). This is also turned
      on for etc/apk to include everything there in overlay, because
      the full list of repositories and signing keys need to be in
      overlay - just getting them from a package is not enough during
      bootstrap.
      d99e82c6
  4. 02 Oct, 2013 1 commit
  5. 01 Oct, 2013 1 commit
  6. 20 Sep, 2013 2 commits
  7. 17 Jul, 2013 1 commit
  8. 28 Jun, 2013 1 commit
  9. 21 Jun, 2013 2 commits
  10. 20 Jun, 2013 2 commits
  11. 19 Jun, 2013 1 commit
    • Timo Teräs's avatar
      all: few behavioural regression fixes · 6da083fc
      Timo Teräs authored
      Wildcard matching with no names should match all packages only for
      info and search applet. "apk del" would otherwise try to delete
      everything, etc.
      
      Fix also interactive mode to ask questions only if we are actually
      changing something.
      6da083fc
  12. 18 Jun, 2013 4 commits
  13. 17 Jun, 2013 5 commits
  14. 13 Jun, 2013 2 commits
  15. 30 May, 2013 2 commits
  16. 29 May, 2013 2 commits
  17. 20 Sep, 2012 1 commit
  18. 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
  19. 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
  20. 01 May, 2012 1 commit
  21. 27 Apr, 2012 1 commit
  22. 24 Feb, 2012 3 commits
  23. 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
  24. 22 Feb, 2012 1 commit