Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611192 - dev-libs/geoip: geoipupdate.sh script no longer works
Summary: dev-libs/geoip: geoipupdate.sh script no longer works
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 611286
  Show dependency tree
 
Reported: 2017-02-28 11:00 UTC by Hanno Böck
Modified: 2019-01-08 10:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2017-02-28 11:00:54 UTC
Our dev-libs/geoip package contains a script geoipupdate.sh that updates the geoip database. However it doesn't work, probably because upstream URLs changed. It also doesn't print any error message on failure, thus it may confuse users.

Given that upstream maintains its own update script and we already have an ebuild for it (net-misc/geoipupdate), the best course of action is probably to just remove it and point to the geoipupdate package.
Comment 1 Hanno Böck gentoo-dev 2017-02-28 11:36:43 UTC
It seems net-misc/geoipupdate is not really working either.

It has the following problems:
* geoip expects files with different names, symlinks have to be set:
GeoIPASNum.dat -> GeoLiteASNum.dat
GeoIPCity.dat -> GeoLiteCity.dat
GeoIPCityv6.dat -> GeoLiteCityv6.dat
GeoIP.dat -> GeoLiteCountry.dat
* GeoIPASNumv6.dat is missing, but can be manually downloaded here:
https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz

I'm not sure what to do here, maybe we could add a script "realgeoipupdate" to geoipupdate that runs it and does all this fixing up.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-03-01 06:50:19 UTC
Should be fixed in -r1.