bluesmoon/node-geoip — pull request #28 by issacg (2013-06-23 16:49:21+00:00)
Title: add more support for commercial zips

This pull tries to be more intelligent about extracting the contents of ZIP files. When modifying the update script for commercial GeoIP, the directory structure containing dynamic names with dats 'n' stuff just hurt too much.

The main change here was only extracing files from the ZIP which the update-in-question needs, and extracting them to the current directory (as long as the updater is using a "serial"-aync call, we'll be safe for collissions), which needed a more modern unzip, and copying the bits to ignore the commercial file header line.