# -*- 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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Crypt-DSA 1.19
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  b6020a8b008ebc3c237b5df6f85acaf1ed49e813 \
                    sha256  1d192241b587f0a41b9f1a38bb90c2e10dcf31104eaaaf35d4803b68ff6cda9c \
                    size    30475

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