# -*- 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.20 ../../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  ffcc76d9a3e8d84ff2642833945b6a7e02fc8401 \
                    sha256  e5e98ec85737339a2881b9a33744639b1bcc135db135bc9a96b52ea44d218e4d \
                    size    29938

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.
"
