Skip to content
Snippets Groups Projects
  1. Sep 05, 2018
  2. Aug 21, 2018
  3. Aug 14, 2018
  4. Jul 18, 2018
  5. Jul 02, 2018
    • Jussi Kukkonen's avatar
      Invalidate id cache after script execution · d609ef3c
      Jussi Kukkonen authored and Ariadne Conill's avatar Ariadne Conill committed
      It's common for a pre-install script to do something like
          addgroup -S group 2>/dev/null
      When apk installs files after this, it sets the owner/group based on id cache
      but currently the id cache is stale and doesn't contain the new group at that
      point: instead the file will be installed with gid that the build host
      happened to have for that group -- on target this might mean a non-existing
      group or a completely different group.
      
      We can't know if the script really did modify id cache contents so make sure
      to reset the id cache on every script execution.
      d609ef3c
    • Sören Tempel's avatar
      list: fix segmentation fault with virtual packages · 5c4b90df
      Sören Tempel authored and Ariadne Conill's avatar Ariadne Conill committed
      Virtual packages have the origin pointer set to NULL. Trying to print it
      using the BLOB_PRINTF macros causes a segmentation fault.
      
      Inspired by the `print_origin_name` function from `src/search.c` this
      commit attempts to fix it by checking whether `pkg->origin` is NULL
      before attempting to print it. If it is NULL the pkg name is printed
      instead.
      
      Since printing the pkg name requires a different format string this
      commit splits the printf call for printing the package line into
      multiple ones. The output format shouldn't have changed at all though.
      5c4b90df
  6. Jun 24, 2018
  7. Jun 14, 2018
  8. May 08, 2018
  9. Apr 05, 2018
    • Timo Teräs's avatar
      db: fix refreshing index if time is zero · 258519b1
      Timo Teräs authored
      During netboot on systems without RTC, time() will be near zero,
      and the index fill not exist. Thus the plain test of st.st_mtime
      against system time failed. Verify that fstatat() succeeds.
      258519b1
  10. Feb 21, 2018
  11. Feb 20, 2018
  12. Feb 09, 2018
  13. Jan 31, 2018
    • A. Wilcox's avatar
      libfetch: support OpenSSL · 36f5cf8e
      A. Wilcox authored
      TLS_client_method is a LibreSSL extension.
      SSLv23_client_method is generic, and doesn't mean SSL v2/v3 only.
      36f5cf8e
  14. Jan 29, 2018
  15. Jan 28, 2018
    • Ariadne Conill's avatar
      list: new applet · fff8bfa5
      Ariadne Conill authored
      The list applet provides a convenient way of inspecting both the available
      and installed package databases by listing their contents.  In some ways,
      it is similar to `apk search` but is considered to be a superset of
      `apk search` functionality.
      
      A few `apk list` criterion are not yet ready though, such as `apk list --depends`
      which searches by runtime dependency (replacing `apk info --rdepends`).
      fff8bfa5
  16. Jan 09, 2018
  17. Jan 08, 2018
  18. Jan 04, 2018
    • Timo Teräs's avatar
      d0a25d67
    • Timo Teräs's avatar
      enable automatic update of indexes controlled by --cache-max-age · 8a28c6d0
      Timo Teräs authored
      This modifies apk cache for indexes to be automatically refreshed
      periodically without explicit 'update' or '--update-cache' usage.
      
      The default is to do if-modified-since request if the local copy
      is older than 4 hours. This age can be changed with --cache-max-age.
      Using --update-cache will change this age to 60 seconds to make
      sure the cached copy is relatively new. The small age is in order
      to try to avoid downloading indexes second time when apk-tools is
      upgraded and apk re-execs after self-upgrade.
      
      Accordingly using explicitly 'apk update' will now enforce
      --force-refresh and request the very latest index by requesting
      any potential http proxy to do refresh too.
      8a28c6d0
  19. Jan 03, 2018
Loading