The script was returning an error due to the service not being offered anymore.
The update attempt was replaced with an information message, but it's better to
still return 1 as it did before to allow users detecting they have a problem.
Reported by: aramw (maintainer)
Note that only the legacy format is deprecated. The GeoIP2 databases
are alive and well.
I completely missed that GeoIP has been deprecated for the last year,
and it expired upstream last week. Maxmind no longer provides the
legacy database, rendering this port useless.
Users must switch to GeoIP2 immediately. OPTIONS changes and
instructions will be coming in the next few days.
See https://support.maxmind.com/geolite-legacy-discontinuation-notice/
Although it won't be purged from the quarterly branch, it probably
makes sense to MFH this deprecation notice.
PR: 234715
Reported by: rigoletto
MFH: 2019Q1
GeoIP has free and paid databases with differing granularity. The
geoiplookup and geoiplookup6 tools look only for the paid databases.
Users with the free databases (as would be obtained through the
included geoipupdate.sh script, or though specification of free
data files in net/geoipupdate) will need to create symlinks to
enable those tools to work with the free database files.
The upstream NEWS.md enumerates those symlinks, so this patch includes
a link to that file in the upstream repo.
PORTREVISION bump for the pkg-message change.
PR: 233947
Reported by: Vincent Milum
MFH: 2018Q4
When I switched from autoreconf, I forgot to point this patch file at
Makefile.in instead of Makefile.am. On some systems, this caused
automake to be run because it saw the Makefile.am as newer than the
Makefile.in, but automake isn't pulled in as a dependency.
Reported by: antoine
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
download them completely and then gunzip them. This preserves the
modtimes, and is the only way of knowing the actual age of the
data files.
Suggested by: ache
- Add net/geoipupdate, the formal tool to fetch updates. It is for paid
subscribers. People using the free version should continue using the
geoipupdate.sh script in net/GeoIP.
This program is used to fetch the GeoIP2 and GeoIP databases. It requires
an active GeoIP subscription.
Please see https://www.maxmind.com/en/geolocation_landing for details about
obtaining a subscription.
If you wish to install the free versions of the GeoIP databases, please
use the geoipudate.sh script provided in net/GeoIP.
WWW: https://github.com/maxmind/geoipupdate
Make sure that Makefile.am is patched, a Makefile.in patch is useless
with USE_AUTOTOOLS=automake.
Remove libtool from USE_AUTOTOOLS, USES already contains libtool, to
fix a DEVELOPER=yes warning.
Approved by: portmgr (blanket "just fix it" approval)
means that to update the IPv6 data you must use the included
geoipupdate.sh script, not the source-provided geoipdate command.
Add a pkg-message about how to update.
PR: 189618
Submitted by: futatuki@yf.bsdclub.org
Also,
PR: 187906
Submitted by: Miroslav Lachman