Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525032 - dev-libs/geoip-1.6.2: database should go into /var/lib/geoip/
Summary: dev-libs/geoip-1.6.2: database should go into /var/lib/geoip/
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://github.com/maxmind/geoip-api-c
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-11 07:24 UTC by Evert
Modified: 2014-10-11 13:01 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 Evert 2014-10-11 07:24:51 UTC
* Messages for package dev-libs/geoip-1.6.2:

 * Don't forget to run the included geoipupdate.sh or geoipupdate (from
 * net-misc/geoipupdate) regularly to populate //usr/share/GeoIP/
 * with geo-located IP address databases.

Looks like this database contains variable data. /usr/share is meant for arch independent static data.
For that reason I think this variable database should go into /var/lib/geoip or something like that. If that's a problem, a softlink should be able to do the trick ;)
Comment 1 Evert 2014-10-11 08:09:27 UTC
Other than that, it beats me
1. why I first have to read the script to find out the option -f is needed when running the script for the first time.
2. why a (monthly?) cronjob isn't installed to update the database on a regularly base.

but then again, there might be a good reason, I just don't see it yet ;)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-11 13:01:41 UTC
Lots of files in /usr/share are dynamically updated at run time. If you want to have that changed for dev-libs/geoip in particular, then you will need to bring that upstream.