Skip to content
Snippets Groups Projects
  1. May 27, 2016
  2. Apr 19, 2016
  3. Apr 03, 2016
  4. Feb 16, 2016
  5. Feb 09, 2016
  6. Dec 10, 2015
  7. Dec 07, 2015
  8. Nov 12, 2015
  9. Nov 09, 2015
    • Timo Teräs's avatar
      io, database: preserve [am]time for cached and fetched files · cce4cff5
      Timo Teräs authored
      preserve [am]time for all packages and indexes. this fixes the caching
      error that 'apk update' is after new index is generated, but before
      the used mirror is synchronized. this caused local apkindex timestamp
      to be newer than file in mirror, when in fact it was outdated index.
      
      this also fixes fetched files to have build timestamp so that files
      going to .iso or custom images have proper timestamps (rsync with
      appropriate --modify-window now works)
      cce4cff5
    • Timo Teräs's avatar
      search: match packages only once · 7501f601
      Timo Teräs authored
      fixes #4770
      
      apk_name_foreach_matching() can matches each package via it's
      main name and all it's provides. Print matched packages only once.
      7501f601
  10. Oct 08, 2015
  11. Sep 11, 2015
  12. Sep 03, 2015
  13. Jul 03, 2015
  14. Jul 02, 2015
    • Timo Teräs's avatar
      relocate lock file to /lib/apk/db · 57de8d0c
      Timo Teräs authored
      the problem is that var/lock is on root installs symlink to /run/lock
      (on tmpfs) and does not exist if doing chroot() to that root. fixes
      apk to work when chrooted to existing rootfs install.
      57de8d0c
  15. Jun 26, 2015
  16. Jun 12, 2015
  17. Jun 11, 2015
    • Timo Teräs's avatar
      use murmur3_32 hash · ed94d8ff
      Timo Teräs authored
      it is more efficient than the previously used djb hash
      ed94d8ff
    • Timo Teräs's avatar
      speed improvements for database opening · 4fab9290
      Timo Teräs authored
      resolve reverse dependencies after all packages have been loaded,
      and avoid traversing the reverse name lists. now that we use
      automatic virtual packages (soname, pkg-config, etc.) the reverse
      dependency chains can become considerable longer than what it was
      when the rdependency construction code was originally written.
      4fab9290
  18. Jun 10, 2015
  19. Jun 03, 2015
  20. Jun 01, 2015
  21. May 26, 2015
    • Timo Teräs's avatar
      apk-tools-2.6.0 · eef2e02b
      Timo Teräs authored
      eef2e02b
    • Alex Dowad's avatar
      detect failures in writing to file during final flush of buffers · 4c3712ec
      Alex Dowad authored and Timo Teräs's avatar Timo Teräs committed
      In practice this should fix to e.g. not wipe out /etc/apk/world if
      final flush to /etc/apk/world.new fails.
      
      This was prompted by an incident the other day where I ran the root
      partition of an Alpine box out of space using 'apk add', and apk
      helpfully wiped the contents of /etc/apk/world at the same time.
      
      It might be tricky to try to reproduce exactly the same failure,
      but from an examination of the code, setting 'rc' before the final
      call to fdo_flush rather than after is one possible cause of this
      behavior. (If the entire contents of /etc/apk/world.new are buffered,
      and all get written out in the final fdo_flush call, and that call
      fails, fdo_close will still happily rename /etc/apk/world.new to
      /etc/apk/world.)
      4c3712ec
  22. Apr 24, 2015
    • Timo Teräs's avatar
      apk-tools-2.6.0_rc4 · c6d273fc
      Timo Teräs authored
      c6d273fc
    • Timo Teräs's avatar
      do not extract files with malicious name · 997aa99e
      Timo Teräs authored
      the security implications are not as high as compared to regular
      tar/unzip archiver. this is because you are anyway trusting
      the package to install files anywhere in the filesystem.
      
      this serves rather as a sanity to check against errors in created
      package.
      997aa99e
Loading