# -*- 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 # $Id$ PortSystem 1.0 name gnupg21 version 2.1.15 categories mail security maintainers jann ionic openmaintainer license GPL-3+ installs_libs no description GNU Privacy Guard version 2.1 long_description GnuPG is a complete and free replacement for PGP. Because \ it does not use the patented IDEA algorithm, it can be used \ without any restrictions. GnuPG is a RFC4880 (OpenPGP) \ compliant application. homepage http://www.gnupg.org platforms darwin freebsd sunos conflicts gnupg2 gnupg gpg-agent dirmngr distname gnupg-${version} master_sites gnupg:gnupg use_bzip2 yes checksums rmd160 d8461703fa84d950c295b92d894d2b3c2348ad98 \ sha256 c28c1a208f1b8ad63bdb6b88d252f6734ff4d33de6b54e38494b11d49e00ffdd \ sha1 908c86dac8e9a1fbf47e1605e570b11391b04ece notes "GPG 2.1 uses a new format for its key files. Therefore you cannot\ use it together with any earlier version of GPG. Neither can you easily go\ back to an older version as the old version cannot read the new format." configure.args --with-adns platform darwin { if {![variant_isset pinentry] && ![variant_isset pinentry_mac]} { # Automatically switch between pinentry and pinentry-mac, with pinentry-mac being # preferred. # 10.7 and below are not supported by pinentry-mac, though, and will default to # pinentry. Just like pure darwin without OS X will. if {${os.subplatform} ne "macosx" || ${xcodeversion} eq "none" || [vercmp ${xcodeversion} {5.0}] < 0 || ${os.major} < 12 || (![catch {registry_active pinentry}] && [catch {registry_active pinentry-mac}])} { default_variants-append +pinentry } else { default_variants-append +pinentry_mac } } } depends_lib port:libiconv \ port:gettext \ port:zlib \ port:bzip2 \ port:bison \ port:libassuan \ port:libksba \ port:libgcrypt \ port:libgpg-error \ port:openldap \ port:readline \ port:gnutls \ port:libusb-compat \ port:npth \ port:adns variant pinentry conflicts pinentry_mac description {Handle user input via pinentry.} { depends_lib-append port:pinentry configure.args-append --with-pinentry-pgm=${prefix}/bin/pinentry } variant pinentry_mac conflicts pinentry description {Handle user input via pinentry-mac. Only compatible with OS X 10.8+.} { depends_lib-append port:pinentry-mac configure.args-append --with-pinentry-pgm=${applications_dir}/pinentry-mac.app/Contents/MacOS/pinentry-mac } test.run yes test.dir ${worksrcpath}/tests test.target check livecheck.type regex livecheck.url ftp://ftp.gnupg.org/gcrypt/gnupg/ livecheck.regex gnupg-(2\\.1\\.\\d+)