Hi Niko, At 09.02.2007 21:48, Niko Tyni wrote:
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.
Thank you very much for the patch!
The removal of the libraries is not in the patch, you'll have to remove databases/IP2Location and databases/GeoIP yourself.
Done in CVS now.
I did modify the LICENSE file to anticipate this, though :)
Great!
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
Probably IP2Location people didn't recognize this...because they distribute this code along with their GPL LICENSE file...I will notify them asap. Regards, Peter -- Dr. Peter Bieringer http://www.bieringer.de/pb/ GPG/PGP Key 0x958F422D mailto:pb@bieringer.de Deep Space 6 Co-Founder and Core Member http://www.deepspace6.net/ Xing/OpenBC http://www.xing.com/hp/Peter_Bieringer/