> geoipupdate; geoiplookup 8.8.4.4
> echo $?
0
Il n'imprime aucune sortie. Selon les cette publication il devrait y avoir des données GeoIP. Comment l'utiliser sur MacOS ?
> brew search geoip
geoip geoipupdate
homebrew/nginx/geoip2-nginx-module homebrew/php/php53-geoip homebrew/php/php54-geoip homebrew/php/php55-geoip homebrew/php/php56-geoip homebrew/php/php70-geoip homebrew/php/php71-geoip
Aucun paquet de ce type. Comment utiliser geoiplookup sur MacOS / Homebrew ?
> brew info geoip
geoip: stable 1.6.9 (bottled), HEAD
This library is for the GeoIP Legacy format (dat)
https://github.com/maxmind/geoip-api-c
/usr/local/Cellar/geoip/1.6.9 (17 files, 548.9K) *
Poured from bottle on 2017-01-21 at 19:22:56
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/geoip.rb
==> Dependencies
Optional: geoipupdate
==> Options
--universal
Build a universal binary
--with-geoipupdate
Build with geoipupdate support
--HEAD
Install HEAD version
> brew info geoipupdate
geoipupdate: stable 2.3.1 (bottled), HEAD
Automatic updates of GeoIP2 and GeoIP Legacy databases
https://github.com/maxmind/geoipupdate
/usr/local/Cellar/geoipupdate/2.3.1 (13 files, 83.7K) *
Poured from bottle on 2017-01-21 at 19:25:04
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/geoipupdate.rb
==> Options
--universal
Build a universal binary
--HEAD
Install HEAD version
Je souhaite utiliser des données géographiques locales, et non interroger une API externe hébergée sur le web.