Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-20 Thread Patrick Matthäi


Am 12.08.2014 um 23:25 schrieb Gregory Oschwald:


From my last information GeoIP2 is a complete rewrite and not finished
for productive environments, yet. Maybe it also would be better to
provide geoip and geoip2 as seperate source packages..


Yes, they are different formats. The new format is production ready. 
The C API is unlikely to change at all before a non-0.x release.


Anyway the MaxMind DB Writer is not useful for the current format and
where I last have got a chat with one from MaxMind: it is also not
working, but things could have been changed..


It does work and it is used internally to generate the GeoIP2 and 
GeoLite2 databases. You are correct that it is only only useful for 
the new format.


So what should we do now with this bugreport? I would personaly
prefer a
volunter who is able to extend the geoip-generator to support the city
database as input and output.


This should be possible as the old format is fairly straightforward, 
but it is also quite limiting, which is why MaxMind created the new 
format. The legacy APIs are in maintenance only mode.


Greg

So this bug should be a ITP. Are you interested in packaging it?

--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/



Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-12 Thread Patrick Matthäi
Am 12.08.2014 um 05:06 schrieb Gregory Oschwald:
 Although MaxMind does not provide a writer for the legacy database
 format, it does provide a writer for the format used by GeoLite2 / GeoIP2:
 
 https://github.com/maxmind/MaxMind-DB-Writer-perl
 
 There is also a specification at:
 
 https://github.com/maxmind/MaxMind-DB/blob/master/MaxMind-DB-spec.md
 
 Greg

From my last information GeoIP2 is a complete rewrite and not finished
for productive environments, yet. Maybe it also would be better to
provide geoip and geoip2 as seperate source packages..

Anyway the MaxMind DB Writer is not useful for the current format and
where I last have got a chat with one from MaxMind: it is also not
working, but things could have been changed..

So what should we do now with this bugreport? I would personaly prefer a
volunter who is able to extend the geoip-generator to support the city
database as input and output.

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/



signature.asc
Description: OpenPGP digital signature


Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-12 Thread Gregory Oschwald
 From my last information GeoIP2 is a complete rewrite and not finished
 for productive environments, yet. Maybe it also would be better to
 provide geoip and geoip2 as seperate source packages..


Yes, they are different formats. The new format is production ready. The C
API is unlikely to change at all before a non-0.x release.


 Anyway the MaxMind DB Writer is not useful for the current format and
 where I last have got a chat with one from MaxMind: it is also not
 working, but things could have been changed..


It does work and it is used internally to generate the GeoIP2 and GeoLite2
databases. You are correct that it is only only useful for the new format.



 So what should we do now with this bugreport? I would personaly prefer a
 volunter who is able to extend the geoip-generator to support the city
 database as input and output.


This should be possible as the old format is fairly straightforward, but it
is also quite limiting, which is why MaxMind created the new format. The
legacy APIs are in maintenance only mode.

Greg


Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-11 Thread Patrick Matthäi

Hello,

the problem is not that they do not provide the data sources (.csv), but 
there is no way to build those .csv data to the binary format required 
by GeoIP itself. If you are skilled in C++ you may extend the 
geoip-generator from the Debian geoip sources itself.

If there is a way to build those data I would be happy to provide them.

Am 10.08.2014 um 22:02 schrieb Andrew Moise:

Package: geoip-database
Version: 20140710-1
Severity: wishlist

Hello. It would be nice to have packaged up the free city data that
maxmind now makes available:

http://dev.maxmind.com/geoip/geoip2/geolite2/

Thanks for your time, take care.


-- System Information:
Debian Release: jessie/sid
   APT prefers testing-updates
   APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.11 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

geoip-database depends on no packages.

Versions of packages geoip-database recommends:
ii  libgeoip1  1.6.2-1

geoip-database suggests no packages.

-- no debconf information


--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-11 Thread Andrew Moise
  Hm, I'm not too familiar with geoip or its situation in Debian. My
thought for how to handle this would be to package the GeoLite2
databases (not .csv but .mmdb) and the APIs for them that Maxmind
provides, both as packages that are separate from the existing geoip
packages. But, I would mostly defer to your judgement -- I am capable
with C++ and could also extend the geoip-generator.
  What's the reason for not just packaging the GeoLite2 .mmdb files
and the new API as Maxmind provides them? I'm still not 100% sure
about what the existing situation is. Mostly my motivation is simply
that I'm working with a tool for which it would be useful if Debian
could, out of the box, resolve IP addresses to city names for me.
  Thanks.
  -Andrew

On Mon, Aug 11, 2014 at 9:57 AM, Patrick Matthäi pmatth...@debian.org wrote:
 Hello,

 the problem is not that they do not provide the data sources (.csv), but
 there is no way to build those .csv data to the binary format required by
 GeoIP itself. If you are skilled in C++ you may extend the geoip-generator
 from the Debian geoip sources itself.
 If there is a way to build those data I would be happy to provide them.

 Am 10.08.2014 um 22:02 schrieb Andrew Moise:

 Package: geoip-database
 Version: 20140710-1
 Severity: wishlist

 Hello. It would be nice to have packaged up the free city data that
 maxmind now makes available:

 http://dev.maxmind.com/geoip/geoip2/geolite2/

 Thanks for your time, take care.


 -- System Information:
 Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
 Architecture: amd64 (x86_64)
 Foreign Architectures: i386

 Kernel: Linux 3.8.11 (SMP w/2 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash

 geoip-database depends on no packages.

 Versions of packages geoip-database recommends:
 ii  libgeoip1  1.6.2-1

 geoip-database suggests no packages.

 -- no debconf information


 --
 /*
 Mit freundlichem Gruß / With kind regards,
  Patrick Matthäi
  GNU/Linux Debian Developer

   Blog: http://www.linux-dev.org/
 E-Mail: pmatth...@debian.org
 patr...@linux-dev.org
 */



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-11 Thread Patrick Matthäi


Am 11.08.2014 um 16:25 schrieb Andrew Moise:

   Hm, I'm not too familiar with geoip or its situation in Debian. My
thought for how to handle this would be to package the GeoLite2
databases (not .csv but .mmdb) and the APIs for them that Maxmind
provides, both as packages that are separate from the existing geoip
packages. But, I would mostly defer to your judgement -- I am capable
with C++ and could also extend the geoip-generator.


That would be nice! :)


   What's the reason for not just packaging the GeoLite2 .mmdb files
and the new API as Maxmind provides them? I'm still not 100% sure
about what the existing situation is. Mostly my motivation is simply


It is non-free if it is not buildable from source.


that I'm working with a tool for which it would be useful if Debian
could, out of the box, resolve IP addresses to city names for me.


Then you also could get happy with geoip-database-contrib.


   Thanks.
   -Andrew

On Mon, Aug 11, 2014 at 9:57 AM, Patrick Matthäi pmatth...@debian.org wrote:

Hello,

the problem is not that they do not provide the data sources (.csv), but
there is no way to build those .csv data to the binary format required by
GeoIP itself. If you are skilled in C++ you may extend the geoip-generator
from the Debian geoip sources itself.
If there is a way to build those data I would be happy to provide them.

Am 10.08.2014 um 22:02 schrieb Andrew Moise:

Package: geoip-database
Version: 20140710-1
Severity: wishlist

Hello. It would be nice to have packaged up the free city data that
maxmind now makes available:

http://dev.maxmind.com/geoip/geoip2/geolite2/

Thanks for your time, take care.


-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.11 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

geoip-database depends on no packages.

Versions of packages geoip-database recommends:
ii  libgeoip1  1.6.2-1

geoip-database suggests no packages.

-- no debconf information


--
/*
Mit freundlichem Gruß / With kind regards,
  Patrick Matthäi
  GNU/Linux Debian Developer

   Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
 patr...@linux-dev.org
*/



--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-11 Thread Gregory Oschwald
Although MaxMind does not provide a writer for the legacy database format,
it does provide a writer for the format used by GeoLite2 / GeoIP2:

https://github.com/maxmind/MaxMind-DB-Writer-perl

There is also a specification at:

https://github.com/maxmind/MaxMind-DB/blob/master/MaxMind-DB-spec.md

Greg


Bug#757723: geoip-database: Would be nice to have GeoLite2 databases packaged

2014-08-10 Thread Andrew Moise
Package: geoip-database
Version: 20140710-1
Severity: wishlist

Hello. It would be nice to have packaged up the free city data that
maxmind now makes available:

http://dev.maxmind.com/geoip/geoip2/geolite2/

Thanks for your time, take care.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.11 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

geoip-database depends on no packages.

Versions of packages geoip-database recommends:
ii  libgeoip1  1.6.2-1

geoip-database suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org