1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net/py-impacket: Update to 0.11.0

- Take maintainership. Maintainer not show activity from 2019 and this port was
  marked like vulnerable from 2023-04-09

Approved by:	maintainer timeout
This commit is contained in:
Jose Alonso Cardenas Marquez 2023-10-02 11:13:26 -05:00
parent d6ec7a5abf
commit c076d2ad15
No known key found for this signature in database
GPG Key ID: 335B9246BA5E30F4
4 changed files with 28 additions and 6584 deletions

View File

@ -1,12 +1,10 @@
PORTNAME= impacket
PORTVERSION= 0.9.17
PORTREVISION= 1
PORTVERSION= 0.11.0
CATEGORIES= net python
MASTER_SITES= PYPI \
https://github.com/CoreSecurity/impacket/releases/download/impacket_${PORTVERSION:S,.,_,g}/
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= contato@kanazuchi.com
MAINTAINER= acm@FreeBSD.org
COMMENT= Collection of Python classes providing access to network packets
WWW= https://www.coresecurity.com/corelabs-research/open-source-tools/impacket
@ -15,8 +13,14 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pcapy>=0:net/py-pcapy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ldap3>0:net/py-ldap3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}charset-normalizer>0:textproc/py-charset-normalizer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ldapdomaindump>0:net/py-ldapdomaindump@${PY_FLAVOR}
USES= dos2unix python
USE_PYTHON= autoplist distutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1535712677
SHA256 (impacket-0.9.17.tar.gz) = 68d47b101392e68e7abeb4a99e7b22f455f5879a5ef1d7c6bd0fc02b373a6858
SIZE (impacket-0.9.17.tar.gz) = 1197897
TIMESTAMP = 1695272809
SHA256 (impacket-0.11.0.tar.gz) = ee4039b4d2aede8f5f64478bc59faac86036796be24dea8dc18f009fb0905e4a
SIZE (impacket-0.11.0.tar.gz) = 1502931

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +1,23 @@
--- setup.py.orig 2022-05-21 20:29:42 UTC
+++ setup.py
@@ -10,11 +10,6 @@ from setuptools import setup
PACKAGE_NAME = "impacket"
--- 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 @@
except Exception:
VER_LOCAL = ""
-if platform.system() != 'Darwin':
- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), ['README.md', 'LICENSE']+glob.glob('doc/*'))]
-else:
- data_files = []
-
-
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
@@ -36,7 +31,6 @@ setup(name = PACKAGE_NAME,
'impacket.examples.ntlmrelayx.servers.socksplugins', 'impacket.examples.ntlmrelayx.utils',
'impacket.examples.ntlmrelayx.attacks'],
scripts = glob.glob(os.path.join('examples', '*.py')),
- data_files = data_files,
install_requires=['pyasn1>=0.2.3', 'pycrypto>=2.6.1', 'pyOpenSSL>=0.13.1', 'six', 'ldap3>=2.5.0', 'ldapdomaindump', 'flask'],
extras_require={
'pyreadline:sys_platform=="win32"': [],
@@ -66,7 +60,6 @@
'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"': [],