GSoC/GCI Archive
Google Code-in 2014 Haiku

Add BFS file attributes support to libarchive ZIP format implementation.

completed by: Markus Himmel (TwoFx)

mentors: mmu_man, Kacper Kasper, Adrien Destugues - PulkoMandy, Jerome Duval

The goal of this task is adding compatible support of Haiku files system (BFS) file attributes to libarchive. At the moment only stock version of zip/unzip can preserve BFS attributes during compressing and extracting.

Requirements:

  • Install Haiku either on real hardware or in Virtual Machine (BTW, I can assist installing VirtualBox so it is obviously recommended by me);
  • Clone libarchive 3.0.3 GIT repository at http://gitorious.org/archive-with-bfs-attributes/libarchive. Use the master branch for your work;
  • Investigate in any way BFS attributes support in Haiku zip/unzip command line tools;
  • Add support of BFS attributes into corresponding libarchive modules. JFYI, for notes about libarchive architecture you can take look on the draft implementation BFS attributes in the BFS.attributes branch.;
  • After completing this task, please provide me with git-formatted patch of your changes with small test program.

Resources:

Haiku Images (required developer tools are included) http://www.haiku-os.org/get-haiku

Haiku zip implementation: http://cgit.haiku-os.org/haiku/tree/src/bin/zip

Haiku unzip implementation: http://cgit.haiku-os.org/haiku/tree/src/bin/unzip

Libarchive sources (one of many) cross-referesne: http://code.metager.de/source/xref/freebsd/contrib/libarchive/

Good luck!