git: 023b097aa0ac - main - net/py-maxminddb: fix potential segfault due to refcounting bug

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 23:22:41 UTC
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/ports/commit/?id=023b097aa0ac7589220859464f669085ac2dd78f

commit 023b097aa0ac7589220859464f669085ac2dd78f
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2023-01-09 20:55:17 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2023-01-09 23:22:30 +0000

    net/py-maxminddb: fix potential segfault due to refcounting bug
    
    PR:             268846
    Reported by:    R. Christian McDonald <cmcdonald@netgate.com>
---
 net/py-maxminddb/Makefile | 4 +++-
 net/py-maxminddb/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net/py-maxminddb/Makefile b/net/py-maxminddb/Makefile
index f21f7756a5c0..a15222f3a8b3 100644
--- a/net/py-maxminddb/Makefile
+++ b/net/py-maxminddb/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	maxminddb
 PORTVERSION=	2.2.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net python geography
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -13,10 +14,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb
 
-USES=		compiler:c11 localbase python:3.6+
+USES=		compiler:c11 localbase python:3.7+
 USE_GITHUB=	yes
 GH_ACCOUNT=	maxmind
 GH_PROJECT=	MaxMind-DB-Reader-python
+GH_TAGNAME=	d8accfe
 
 USE_PYTHON=	autoplist distutils
 
diff --git a/net/py-maxminddb/distinfo b/net/py-maxminddb/distinfo
index 49eba332afc7..e4daaec2f9d1 100644
--- a/net/py-maxminddb/distinfo
+++ b/net/py-maxminddb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665494901
-SHA256 (maxmind-MaxMind-DB-Reader-python-v2.2.0_GH0.tar.gz) = 3aefbd555988008f4eef7f27f385fa38dd6ede280777ce91309c9545ca56dd11
-SIZE (maxmind-MaxMind-DB-Reader-python-v2.2.0_GH0.tar.gz) = 35121
+TIMESTAMP = 1673278896
+SHA256 (maxmind-MaxMind-DB-Reader-python-v2.2.0-d8accfe_GH0.tar.gz) = 8c4c61fe1589fa4d4a6c30e994f30b68dec514ed7a0db6fb72513233a68f0cbf
+SIZE (maxmind-MaxMind-DB-Reader-python-v2.2.0-d8accfe_GH0.tar.gz) = 35743