# -*- 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.23 ../../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  e0ac526ecc07e2d18ea97b1cb9593af5cb870da9 \
                    sha256  04978155ce98895e4abbb1f94c30e15a2e4c85840404491e00cb2f8d4f43261a \
                    size    33442

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.
    Consider using other solutions or explicitly not using DSA signatures.
"
