Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547764 - dev-libs/geoip-database - a package that installs databases for dev-libs/geoip
Summary: dev-libs/geoip-database - a package that installs databases for dev-libs/geoip
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-26 07:52 UTC by Nikoli
Modified: 2019-11-10 12:51 UTC (History)
6 users (show)

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 Nikoli 2015-04-26 07:52:24 UTC
Please add geoip-database package and make it RDEPEND of dev-libs/geoip. Like https://packages.gentoo.org/package/sys-apps/hwids , but for geoip. Debian and Arch already have it:
https://packages.debian.org/sid/geoip-database
https://www.archlinux.org/packages/extra/any/geoip-database/

The main problem with geoipupdate* is inability to ensure installing same databases to all systems. Also files in /usr/share/ should be created by package manager, not some random scripts.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-26 08:05:47 UTC
(In reply to Nikoli from comment #0)
> Debian and Arch already have it:
> https://packages.debian.org/sid/geoip-database
> https://www.archlinux.org/packages/extra/any/geoip-database/

How does that affect Gentoo?

> The main problem with geoipupdate* is inability to ensure installing same
> databases to all systems.

Why is that?

> Also files in /usr/share/ should be created by
> package manager, not some random scripts.

Wrong.
Comment 2 Nikoli 2015-04-26 08:17:03 UTC
> How does that affect Gentoo?

It indicates that having geoip-database package in Linux distro is not something unusual.

> Why is that?

I mean suggested by ebuild usage of geoipupdate in every system. Of course it is possible to do geoipupdate in one system and then use 'rsync -avc --delete-after' or similar tool, but doing 'emerge geoip-database' is more correct and efficient.

> Wrong.

Why? Dealing with files in system partition is task of package manager.

P.S. Not sure if 'dev-libs' is correct category for geoip-database.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-26 16:34:45 UTC
Generally, putting the databases *back* in a package is a problem for Gentoo, since the ebuild is invalidated every time upstream updates their files.

And you haven't pointed out yet what the problem is with geoipupdate* in "installing [sic] same databases to all systems".
Comment 4 anonymous 2017-03-13 11:16:19 UTC
(In reply to Jeroen Roovers from comment #3)
> Generally, putting the databases *back* in a package is a problem for
> Gentoo, since the ebuild is invalidated every time upstream updates their
> files.
> 
> And you haven't pointed out yet what the problem is with geoipupdate* in
> "installing [sic] same databases to all systems".

For my use case: installing same systems offline without access to internet in government computers, only using local mirror of packages.

And when I should find and fix bugs I want to be sure that systems is exactly same, because I need method to reproduce problems on testing environment.