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

PortSystem          1.0
PortGroup           perl5 1.0
PortGroup           deprecated 1.0

# The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
# Mark deprecated due to lack of upstream support
deprecated.upstream_support no

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Crypt-DSA 1.21 ../../authors/id/T/TI/TIMLEGGE
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Crypt::DSA - DSA Signatures and Key Generation
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  600e0ab0044095358d89e07a62923bcd745d18c1 \
                    sha256  a46201e8390e8ba3bbe51111d76489f31dafda0f6a60b0ab9319dd52bd2b32b0 \
                    size    31022

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-crypt-des_ede3

    depends_lib-append \
                    port:p${perl5.major}-convert-asn1 \
                    port:p${perl5.major}-convert-pem \
                    port:p${perl5.major}-crypt-sysrandom \
                    port:p${perl5.major}-crypt-urandom \
                    port:p${perl5.major}-data-buffer \
                    port:p${perl5.major}-digest-sha \
                    port:p${perl5.major}-file-which \
                    port:p${perl5.major}-math-bigint \
                    port:p${perl5.major}-math-bigint-gmp
}

notes "
    DSA (Digital Signature Algorithm) signatures are no longer considered
    to be adequate for security.

    This module should only be used for verifying old signatures and
    should not be used for new signatures.

    That being said, some technologies still require DSA signatures even
    in 2024. Consider using other solutions or explicitly not using DSA
    signatures.
"
