Has been turned into a go project.
I have made an attempt at gathering the basic information but this does not result in a working ebuild. The eclasses mystify me. Perhaps the dev-lang/go maintainer can help write this ebuild? Thanks. # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 EGO_ON="github.com/maxmind" EGO_PN="${EGO_ON}/${PN}" EGO_VENDOR=( "${EGO_PN} v${PV}" "github.com/pkg/errors v0.8.1" "github.com/spf13/pflag v1.0.3" "github.com/theckman/go-flock v0.7.1" ) inherit golang-build golang-vcs-snapshot DESCRIPTION="performs automatic updates of GeoIP2 and GeoIP Legacy binary databases" HOMEPAGE="https://github.com/maxmind/geoipupdate" SRC_URI=" ${EGO_VENDOR_URI} "
The new ebuild builds the go projet without overriding the defaults from the repository. Which means that data and configuration is searched for in new locations. I updated the ebuild like this: src_compile() { cd src/${EGO_PN} || die # requires pandoc but the information is still in the distributed md files sed -i -e '/GeoIP.conf.5 /d' -e '/geoipupdate.1$/d' Makefile || die sed -i -e 's/go build/go build -x/' Makefile || die export CONFFILE=/etc/GeoIP.conf export DATADIR=/usr/share/GeoIP # the horror, the horror ... but it's all automagic export GO111MODULE=on export GOFLAGS=-mod=vendor default } I'm quite sure in the new exports is a configured prefix missing, but could not find the corresponding variable carrying it. But if these or not set, it searches in /usr/local - which is unexpected for a package from distributions repository
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98b07cfd740df5a4dd75773521e73788d1027d4 should resolve this.
commit a98b07cfd740df5a4dd75773521e73788d1027d4 Author: Patrick Lauer <patrick@gentoo.org> Date: Sun Jul 28 18:43:15 2019 +0200 net-misc/geoipupdate: Bump New version is rewritten in Go, so ebuild is very different. Based on work by Wiktor Kerr <wiktor@adjust.com> Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Patrick Lauer <patrick@gentoo.org>