# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        CoreSecurity impacket 0_13_0 impacket_
github.tarball_from archive
version             [string map {_ .} ${github.version}]
revision            0

maintainers         {i0ntempest @i0ntempest} openmaintainer

categories          net devel python
description         Impacket is a collection of Python classes focused on \
                    providing access to network packets.
long_description    {*}${description} Impacket allows Python developers to craft \
                    and decode network packets in simple and consistent manner. \
                    It includes support for low-level protocols such as IP, UDP \
                    and TCP, as well as higher-level protocols such as NMB and \
                    SMB. Impacket is highly effective when used in conjunction \
                    with a packet capture utility or package such as Pcapy. \
                    Packets can be constructed from scratch, as well as parsed \
                    from raw data. Furthermore, the object oriented API makes \
                    it simple to work with deep protocol hierarchies.

platforms           {darwin any}
supported_archs     noarch
license             Apache-1.1

python.default_version \
                    313

depends_build-append \
                    port:py${python.version}-setuptools
depends_run-append  port:py${python.version}-asn1 \
                    port:py${python.version}-charset-normalizer \
                    port:py${python.version}-flask \
                    port:py${python.version}-ldap3 \
                    port:py${python.version}-openssl \
                    port:py${python.version}-pycryptodomex \
                    port:py${python.version}-six

homepage            https://www.secureauth.com/labs/open-source-tools/impacket/

checksums           rmd160  4bc48c6c6c862680646798c8d60abb25bbddc9b9 \
                    sha256  f86472f47e560e72986a7a25740f7cbfb2ec1cf4d13b7917c176154754b7e3a8 \
                    size    1669369
