On Mon, Feb 05, 2007 at 05:42:18PM +0100, Peter Bieringer wrote:
At 02.02.2007 09:40, Niko Tyni wrote:
I still plan to hack the build system so that it could use an external copy of the ip2location and geoip source trees, I just haven't gotten around to doing it yet. With it there would be no need of shipping those in the ipv6calc tarball, which would be a good thing IMO.
For sure, would be great if you find time to do the work.
OK, here we go. This patch adds the following configure options: --with-ip2location-headers=DIR --with-ip2location-lib=DIR --with-ip2location-static --with-geoip-headers=DIR --with-geoip-lib=DIR --with-geoip-static Furthermore, it renames (for consistency, YMMV) --enable-geoip-default-file => --with-geoip-default-file and removes the now unnecessary --enable-geoip-system There's also some documentation, including instructions on building IP2Location (README.BUILDING-IP2LOCATION), as I run into some problems with it. The removal of the libraries is not in the patch, you'll have to remove databases/IP2Location and databases/GeoIP yourself. I did modify the LICENSE file to anticipate this, though :) You might want to consider distributing a modified and bootstrapped version of the IP2Location library tarball separately on your site to make it easier for users. However, the license of the bigDigits stuff included [1,2] may pose a problem - as I read it, there's no permission to distribute the bigDigits source code at all, and the combination is also undistributable because it's linking GPL code with GPL-incompatible code [3]. [1] eg. libIP2Location/bigd.c [2] http://www.di-mgt.com.au/bigdigitsCopyright.txt [3] http://www.gnu.org/licenses/gpl-faq.html#WhatDoesCompatMean Cheers, -- Niko Tyni ntyni@iki.fi