# -*- 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.24 ../../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  65db2dc5e069e79a4b765a0d3f12adcfe0c24085 \
                    sha256  0a1638b6f2b4efe92d6ee2f4901cca02d7a70567f6bb0f486a9bb5f69be76766 \
                    size    33482

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