anselmstrauss:libarchive

Libarchive is an archive library for FreeBSD developed by TimKientzle. This project's goal is to enhance it as far as possible. The original project description can be found on the FreeBSD page at Google Summer of Code 2008.

It truly has been a long time I last made updates here … GSOC finished, despite I reached only a few of my original goals. Well, work will continue, not under Google's lead, and on a free time basis. Most likely, this site won't be updated anymore. Check the source repositories for updates.

Did some more features on the ZIP writer and testing. Consequently I also had to fix some bugs … Now turning on the compression support and support for non-regular file entries. Also must keep an eye on the next goal, most likely the PAX frontend.

Implemented a basic ZIP writer without compression support and CRC computation. Now I must definitely go for some testing … Last week on Thursday 11th, there was also a meetup at Google Zurich. It was good to see some real faces behind the project, there were also some nice presentations and discussions. What a pity Google didn't let us have a look at their server room … ;)

Working on the ZIP writer and dealing with:

  • Collecting central directory structure over multiple entries, holding it in memory and appending it at the end of the archive.
  • Computing CRC sums over data streams.
  • Using file data descriptors (appended to file data) instead of the fields in the file header.

Tired for now, tomorrow is another day …

I set up:

  • Eclipse + CDT to work with Libarchive
  • More P4 things

I bought a PDF of “C in a Nutshell” to refresh my C programming skills and have a good reference. Also I made some exercises with GNU Autotools to understand it better. Also I had a lot to do with my master thesis, so I spend a lot of time there … :\

This week coding also started for me :D

Finally found some time again to work on my project. I setup the wiki pages, so now I'm almost ready to go. Our studies will finish May 30, one week after the official coding phase start.

Week/Date Google Phase My Phase
1 (26.05.) Coding I P4 setup
2 Coding I Eclipse + Autotools
3 Coding I Eclipse + Autotools, Reading code
4 Coding I Reading code
5 Coding I Blackout (master thesis … :o )
6 Coding I Coding ZIP writer
7 (07.07.) Midterm Evaluation Coding ZIP writer
8 Coding II Testing ZIP writer
9 Coding II ZIP writer basic features
10 Coding II ZIP writer basic features
11 Coding II ZIP writer compression
12 Coding II Coding
13 (18.08.) Final Evaluation Coding, evaluation stuff
14 Final Evaluation Coding
15 (01.09.) Code Submission Submitting code

ZIP reader is already there and the ZIP writer can lean it's code on the existing CPIO writer.

Official .ZIP File Format Specification is available from PKWARE. The Info-ZIP software specifies some of the extensions mentioned by PKWARE.

ZIP features that are won't be covered by this project:

  • Header compression
  • Encryption
  • Multi-part archives
Task Status
Simple writer without any features DONE
Compression support OPEN
Central directory DONE
Tests PARTIAL
ZIP64 support OPEN
Correct CRCs DONE
Folder entry support DONE
Unix to DOS time conversion DONE
Storing permissions DONE

Not started yet.

Not started yet.

  1. ✔ Handle paper work with Google
  2. ✔ Learn about P4 and setup repository
  3. ✔ Setup initial wiki pages
  4. ✔ Check in README and TODO file
  5. ✔ Write intro mail to FreeBSD hackers
  6. ✔ Decide where/how to post news
  7. ✘ Look at bug 117909 Tim mentioned
  8. ✔ Define more detailed goals
  9. ✔ Add a source section
  10. ✔ Change news into status section
  11. ✔ Add a roadmap
  • anselmstrauss/libarchive.txt
  • Last modified: 2022/10/06 00:44
  • by KubilayKocak