git: 1a55753f4934 - main - net/py-impacket: Update to 0.12.0

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 24 Dec 2024 05:20:13 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a55753f49342474c94c5aa7c87db89b541ab931

commit 1a55753f49342474c94c5aa7c87db89b541ab931
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-12-24 05:06:09 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-12-24 05:20:01 +0000

    net/py-impacket: Update to 0.12.0
---
 net/py-impacket/Makefile             |  2 +-
 net/py-impacket/distinfo             |  6 +++---
 net/py-impacket/files/patch-setup.py | 15 ++++++++-------
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/net/py-impacket/Makefile b/net/py-impacket/Makefile
index 247751954b33..863110be39f2 100644
--- a/net/py-impacket/Makefile
+++ b/net/py-impacket/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	impacket
-PORTVERSION=	0.11.0
+PORTVERSION=	0.12.0
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/net/py-impacket/distinfo b/net/py-impacket/distinfo
index a0e55d4c50bd..7873be94663e 100644
--- a/net/py-impacket/distinfo
+++ b/net/py-impacket/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695272809
-SHA256 (impacket-0.11.0.tar.gz) = ee4039b4d2aede8f5f64478bc59faac86036796be24dea8dc18f009fb0905e4a
-SIZE (impacket-0.11.0.tar.gz) = 1502931
+TIMESTAMP = 1735016570
+SHA256 (impacket-0.12.0.tar.gz) = 89587d1b836a5220d74848c934757962b382886dca8b1b4a0c44d693f2600643
+SIZE (impacket-0.12.0.tar.gz) = 1575482
diff --git a/net/py-impacket/files/patch-setup.py b/net/py-impacket/files/patch-setup.py
index a51310c57088..3706e4a0bb62 100644
--- a/net/py-impacket/files/patch-setup.py
+++ b/net/py-impacket/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2023-09-21 00:08:28.427651000 -0500
-+++ setup.py	2023-09-21 00:09:29.055566000 -0500
-@@ -39,12 +39,6 @@
+--- setup.py.orig	2024-12-24 05:02:53 UTC
++++ setup.py
+@@ -41,12 +41,6 @@ except Exception:
  except Exception:
      VER_LOCAL = ""
  
@@ -13,11 +13,12 @@
  def read(fname):
      return open(os.path.join(os.path.dirname(__file__), fname)).read()
  
-@@ -66,7 +60,6 @@
+@@ -69,8 +63,6 @@ setup(
                'impacket.examples.ntlmrelayx.servers.socksplugins', 'impacket.examples.ntlmrelayx.utils',
                'impacket.examples.ntlmrelayx.attacks', 'impacket.examples.ntlmrelayx.attacks.httpattacks'],
      scripts=glob.glob(os.path.join('examples', '*.py')),
 -    data_files=data_files,
-     install_requires=['pyasn1>=0.2.3', 'pycryptodomex', 'pyOpenSSL>=21.0.0', 'six', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6',
-                       'ldapdomaindump>=0.9.0', 'flask>=1.0', 'future', 'charset_normalizer', 'dsinternals'],
-     extras_require={'pyreadline:sys_platform=="win32"': [],
+-
+     install_requires=['pyasn1>=0.2.3', 'pyasn1_modules', 'pycryptodomex', 'pyOpenSSL==24.0.0', 'six', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6',
+                       'ldapdomaindump>=0.9.0', 'flask>=1.0', 'setuptools', 'charset_normalizer'],
+     extras_require={':sys_platform=="win32"': ['pyreadline3'],