notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-maxminddb Python module for reading MaxMind DB file
2.6.2 net on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.6.2Version of this port present on the latest quarterly branch.
Maintainer: olivier@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-05-15 20:25:06
Last Update: 2024-06-17 09:49:50
Commit Hash: 2342095
People watching this port, also watch:: p5-Encode-IMAPUTF7, memcached, py39-apscheduler, autoconf, p5-Sort-Naturally
Also Listed In: geography python
License: APACHE20
WWW:
https://github.com/maxmind/MaxMind-DB-Reader-python
Description:
Python module for reading MaxMind DB files. The module includes both a pure Python reader and a C extension.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}maxminddb>0:net/py-maxminddb@${PY_FLAVOR}
To install the port:
cd /usr/ports/net/py-maxminddb/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-maxminddb
  • pkg install py311-maxminddb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-maxminddb listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-maxminddb
Package flavors (<flavor>: <package>)
  • py311: py311-maxminddb
distinfo:
TIMESTAMP = 1718616870 SHA256 (maxmind-MaxMind-DB-Reader-python-v2.6.2_GH0.tar.gz) = b6bdb53dc259ccde0f85e2080cd48975545fcdd3bb3850d1a8184c2ca06e1165 SIZE (maxmind-MaxMind-DB-Reader-python-v2.6.2_GH0.tar.gz) = 40447

Packages (timestamps in pop-ups are UTC):
py37-maxminddb
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.0.2---2.0.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-maxminddb
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.3.0--2.5.12.5.12.5.1
FreeBSD:14:latest--2.2.0_1--2.3.0-2.3.0
FreeBSD:14:quarterly-----2.5.12.5.12.5.1
FreeBSD:15:latest--n/a-n/a2.5.22.5.22.5.2
 
py311-maxminddb
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.6.22.6.2-2.6.22.6.2---
FreeBSD:13:quarterly2.6.22.6.2-2.6.22.6.2---
FreeBSD:14:latest2.6.22.6.2-2.6.22.6.2---
FreeBSD:14:quarterly2.6.22.6.2-2.6.22.6.2---
FreeBSD:15:latest2.6.22.6.2n/a2.6.2n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-wheel>=0 : devel/py-wheel@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Library dependencies:
  1. libmaxminddb.so : net/libmaxminddb
This port is required by:
for Run
  1. net/py-GeoIP2
  2. security/zeronet

Configuration Options:
No options to configure
Options name:
net_py-maxminddb
USES:
compiler:c11 localbase python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/maxmind/MaxMind-DB-Reader-python/tar.gz/v2.6.2?dummy=/
Collapse this list.

Number of commits found: 34

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.6.2
17 Jun 2024 09:49:50
commit hash: 234209521ebfa3961a78ae04d0408f9e0a57f578commit hash: 234209521ebfa3961a78ae04d0408f9e0a57f578commit hash: 234209521ebfa3961a78ae04d0408f9e0a57f578commit hash: 234209521ebfa3961a78ae04d0408f9e0a57f578 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: Update to 2.6.2

Reported by:	portscout
2.5.2
14 Jan 2024 16:27:37
commit hash: 4d9da3b73514c528675d8cb10053c64440ec6009commit hash: 4d9da3b73514c528675d8cb10053c64440ec6009commit hash: 4d9da3b73514c528675d8cb10053c64440ec6009commit hash: 4d9da3b73514c528675d8cb10053c64440ec6009 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: Update to 2.5.2

Reported by:	portscout
2.5.1
25 Dec 2023 09:03:03
commit hash: e5c47d34d0ab3ae2ad4f0ae73093b398743a2bbccommit hash: e5c47d34d0ab3ae2ad4f0ae73093b398743a2bbccommit hash: e5c47d34d0ab3ae2ad4f0ae73093b398743a2bbccommit hash: e5c47d34d0ab3ae2ad4f0ae73093b398743a2bbc files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/py-maxminddb: Add NO_ARCH

Approved by:	portmgr (blanket)
2.5.1
01 Dec 2023 22:45:37
commit hash: d93660647173b50ac1effe9a6db314958d812e36commit hash: d93660647173b50ac1effe9a6db314958d812e36commit hash: d93660647173b50ac1effe9a6db314958d812e36commit hash: d93660647173b50ac1effe9a6db314958d812e36 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
Author: R. Christian McDonald
net/py-maxminddb: update to v2.5.1

ChangeLogs:
https://github.com/maxmind/MaxMind-DB-Reader-python/releases/tag/v2.5.0
https://github.com/maxmind/MaxMind-DB-Reader-python/releases/tag/v2.5.1

PR:		275461
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2.4.0
06 Jul 2023 20:26:51
commit hash: 8670a8ec77f74ceacc5a8a469d6a27e4c8f8db70commit hash: 8670a8ec77f74ceacc5a8a469d6a27e4c8f8db70commit hash: 8670a8ec77f74ceacc5a8a469d6a27e4c8f8db70commit hash: 8670a8ec77f74ceacc5a8a469d6a27e4c8f8db70 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: Update to 2.4.0

ChangeLog:
https://github.com/maxmind/MaxMind-DB-Reader-python/releases/tag/v2.4.0

Reported by:	portscout
2.3.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2.3.0
11 May 2023 20:45:17
commit hash: 5803adf38dabe3242255f2f9df23ed7c7db17130commit hash: 5803adf38dabe3242255f2f9df23ed7c7db17130commit hash: 5803adf38dabe3242255f2f9df23ed7c7db17130commit hash: 5803adf38dabe3242255f2f9df23ed7c7db17130 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: Update to 2.3.0
2.2.0_1
09 Jan 2023 23:22:30
commit hash: 023b097aa0ac7589220859464f669085ac2dd78fcommit hash: 023b097aa0ac7589220859464f669085ac2dd78fcommit hash: 023b097aa0ac7589220859464f669085ac2dd78fcommit hash: 023b097aa0ac7589220859464f669085ac2dd78f files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: fix potential segfault due to refcounting bug

PR:		268846
Reported by:	R. Christian McDonald <cmcdonald@netgate.com>
2.2.0
11 Oct 2022 13:42:18
commit hash: 31025d9538ee430100aabba80d5ef41f3c12bcd7commit hash: 31025d9538ee430100aabba80d5ef41f3c12bcd7commit hash: 31025d9538ee430100aabba80d5ef41f3c12bcd7commit hash: 31025d9538ee430100aabba80d5ef41f3c12bcd7 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: Update to 2.2.0

Reported by:	jadawin
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.0.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.3
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.3
23 May 2021 20:07:25
commit hash: 7716a47d7cbb68c3986a79be81ce466dbf93d3a4commit hash: 7716a47d7cbb68c3986a79be81ce466dbf93d3a4commit hash: 7716a47d7cbb68c3986a79be81ce466dbf93d3a4commit hash: 7716a47d7cbb68c3986a79be81ce466dbf93d3a4 files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-maxminddb: update to 2.0.3
2.0.2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.2
10 Jan 2021 16:04:33
Revision:561083Original commit files touched by this commit
rene search for other commits by this committer
Remove empty PY_IPADDRESS from ports using Python 3.6+

Also remove one manual declaration (net-mgmt/py-aggregate6)
2.0.2
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
2.0.2
02 Aug 2020 16:45:14
Revision:543975Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.0.2

Reported by:	portscout
2.0.1
24 Jul 2020 16:40:18
Revision:543259Original commit files touched by this commit
olivier search for other commits by this committer
Add missing python version requirement

Reported by:	pkg-fallout
2.0.1
23 Jul 2020 07:57:42
Revision:542919Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.0.1
1.5.2_1
03 Feb 2020 21:49:37
Revision:525099Original commit files touched by this commit
olivier search for other commits by this committer
Update to 1.5.2

PR:		243840
Submitted by:	Andrea Venturoli <ml@netfence.it>
1.4.1_1
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.4.1
30 Apr 2019 12:44:24
Revision:500484Original commit files touched by this commit
olivier search for other commits by this committer
Fix build with GCC-based architectures.

PR:		237670
Submitted by:	pkubaj
1.4.1
17 Nov 2018 17:46:03
Revision:485181Original commit files touched by this commit
sunpoet search for other commits by this committer
Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk

Approved by:	portmgr (blanket)
1.4.1
09 Sep 2018 07:11:25
Revision:479274Original commit files touched by this commit
olivier search for other commits by this committer
Update net/py-maxminddb to 1.4.1

PR:		231242
Submitted by:	ndowens@yahoo.com
Reported by:	freebsd@dckd.nl
1.3.0
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
1.3.0
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.3.0
19 Jun 2017 05:09:02
Revision:443860Original commit files touched by this commit
olivier search for other commits by this committer
Update to 1.3.0

PR:		220121
Reported by:	Yuri Victorovich <yuri@rawbw.com>
1.2.3
13 Jan 2017 17:51:19
Revision:431406Original commit files touched by this commit
olivier search for other commits by this committer
Update to 1.2.3
1.2.1
15 Jun 2016 19:13:31
Revision:416933Original commit files touched by this commit
olivier search for other commits by this committer
Update to 1.2.1

Approved by:	jadawin (mentor)
Differential Revision:	https://reviews.freebsd.org/D6838
1.2.0_1
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.2.0_1
17 Feb 2016 10:42:08
Revision:409034Original commit files touched by this commit
olivier search for other commits by this committer
Update my email for ports I maintain

Approved by:	jadawin
Differential Revision:	https://reviews.freebsd.org/D5309
1.2.0_1
29 Nov 2015 09:54:14
Revision:402587Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix RUN_DEPENDS
- Use USES=localbase
- Strip shared library
- Bump PORTREVISION for dependency and package change

PR:		204869
Submitted by:	sunpoet (myself)
Approved by:	Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
1.2.0
15 May 2015 21:15:03
Revision:386484Original commit files touched by this commit
mat search for other commits by this committer
Don't set DISTNAME with USE_GITHUB.

Sponsored by:	Absolight
1.2.0
15 May 2015 20:24:49
Revision:386478Original commit files touched by this commit
xmj search for other commits by this committer
net/py-maxminddb: add port

Python module for reading MaxMind DB files. The module includes both a pure
Python reader and a C extension.

WWW: https://github.com/maxmind/MaxMind-DB-Reader-pytho

While there, add this port as run-dependency  for net/py-GeoIP2.

PR:		199814
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>

Number of commits found: 34