1. 25 Jan, 2011 3 commits
    • Timo Teräs's avatar
      url: use always busybox wget · 3dfc9d33
      Timo Teräs authored
      I think there used to be problems with using http_proxy on bb wget,
      but those have been fixed for quite some time. This fixes #347.
      We should probably use libcurl or similar library eventually, but
      I'm not entirely sure if/when we want that.
      (cherry picked from commit aae0a563)
      3dfc9d33
    • Timo Teräs's avatar
      gunzip: fix ordering of boundary callbacks · c206c0ef
      Timo Teräs authored
      The boundary callback should not happen until all the uncompressed
      data has been consumed. This previously seems to have worked
      because normally gzip library returns "no error" instead of the
      "stream end" if we extract exactly the amount of bytes remaining
      in the archive. (Perhaps this was changed in new zlib.) In any
      case, verification was broken with some apks due to this callback
      ordering issue.
      (cherry picked from commit f126316c)
      c206c0ef
    • Natanael Copa's avatar
      info: return error if owning package was not found · 4d89c074
      Natanael Copa authored
      (cherry picked from commit cdeb9caa)
      4d89c074
  2. 09 Dec, 2010 3 commits
  3. 23 Nov, 2010 2 commits
  4. 08 Oct, 2010 2 commits
  5. 23 Sep, 2010 2 commits
  6. 22 Sep, 2010 1 commit
    • Natanael Copa's avatar
      db: optionally remove dirs when unref · 5c4583a9
      Natanael Copa authored
      We want remove dirs when they are unreferenced so we remove all dirs on
      apk del, but we don't want remove dirs when closing database. So we make
      removing dir optional when unreferencing it.
      
      This partially reverts commit c7ffc96a.
      
      fixes #406
      5c4583a9
  7. 30 Aug, 2010 1 commit
  8. 30 Jun, 2010 1 commit
  9. 16 Jun, 2010 2 commits
  10. 15 Jun, 2010 7 commits
  11. 14 Jun, 2010 1 commit
    • Natanael Copa's avatar
      Makefile: Don't build or install the libapk and lua module by default · efdd2f10
      Natanael Copa authored
      Make the libapk and lua module optional at buildtime and off by default.
      This is because enabling libapk requires that mkinitfs also copies the
      libapk.so or the initramfs will not work.
      
      To build libapk:
      
       make LIBAPK=yes
      
      To build lua module (will enable LIBAPK=yes):
      
       make LUAAPK
      
      To link apk to libapk (will enable LIBAPK=yes):
      
       make SHARED_LIBAPK=yes
      
      All the above applies to make install target as well.
      efdd2f10
  12. 12 Jun, 2010 2 commits
  13. 11 Jun, 2010 6 commits
  14. 10 Jun, 2010 1 commit
  15. 08 Jun, 2010 3 commits
  16. 07 Jun, 2010 1 commit
  17. 05 Jun, 2010 1 commit
    • Timo Teräs's avatar
      all: rework how arrays work · 7be853e6
      Timo Teräs authored
      Instead of having a null pointer, use a dummy array which just
      says the array is empty. This helps in multiple places of the code
      which would otherwise need explicitly need to check first if the
      array exists. This has been cause of multiple seg.faults in the
      past as the array check is easily omitted.
      
      This also removes (or fixes) all existing checks accordingly.
      7be853e6
  18. 03 Jun, 2010 1 commit