| 45 | variant rfc3779 description {enable support for RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} { |
| 46 | configure.args-append enable-rfc3779 |
| 47 | } |
| 48 | |
| 49 | variant md2 description {enable support for RFC 1319: MD2 message digest algorithm; also used as a hash function for PKI certificates; WARNING: no longer considered secure} { |
| 50 | configure.args-append enable-md2 |
| 51 | } |
| 52 | |
| 53 | variant rc5 description {enable support for RFC 2040: RC5 general block cipher; patented by RSA Security; still considered secure for keys of at least 72 bits} { |
| 54 | configure.args-append enable-rc5 |
| 55 | } |
| 56 | |
| 57 | # krb5_heimdal not functional as of 1.0.0a |
| 58 | # variant krb5_mit conflicts krb5_heimdal description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, MIT version} { |
| 59 | variant krb5 description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, MIT version} { |
| 60 | configure.args-delete no-krb5 |
| 61 | configure.args-append --with-krb5-flavor=MIT \ |
| 62 | --with-krb5-dir=${prefix} |
| 63 | depends_lib-append port:kerberos5 |
| 64 | } |
| 65 | |
| 66 | # krb5_heimdal not functional as of 1.0.0a |
| 67 | #variant krb5_heimdal conflicts krb5_mit description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, Heimdal version} { |
| 68 | # configure.args-delete no-krb5 |
| 69 | # configure.args-append --with-krb5-flavor=Heimdal \ |
| 70 | # --with-krb5-dir=${prefix}/libexec/heimdal |
| 71 | # depends_lib-append port:heimdal |
| 72 | #} |
| 73 | |
| 74 | variant gmp description {enable support for GMP (the GNU Multiple Precision Arithmetic Library) to perform RSA private key operations} { |
| 75 | configure.args-delete no-gmp |
| 76 | configure.args-append enable-gmp -lgmp |
| 77 | depends_lib-append port:gmp |
| 78 | } |
| 79 | |
| 80 | variant jpake description {enable experimental support for J-PAKE (Password Authenticated Key Exchange by Juggling; possibly part of IEEE P1363)} { |
| 81 | configure.args-delete no-jpake |
| 82 | configure.args-append experimental-jpake |
| 83 | } |
| 84 | |