| 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; 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 | variant krb5_mit conflicts krb5_heimdal description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, MIT version} { |
| 58 | configure.args-delete no-krb5 |
| 59 | configure.args-append --with-krb5-flavor=MIT \ |
| 60 | --with-krb5-dir=${prefix} |
| 61 | depends_lib-append port:kerberos5 |
| 62 | } |
| 63 | |
| 64 | variant krb5_heimdal conflicts krb5_mit description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, Heimdal version} { |
| 65 | configure.args-delete no-krb5 |
| 66 | configure.args-append --with-krb5-flavor=Heimdal \ |
| 67 | --with-krb5-dir=${prefix} |
| 68 | depends_lib-append port:heimdal |
| 69 | } |
| 70 | |
| 71 | variant gmp description {enable support for GMP (the GNU Multiple Precision Arithmetic Library) to perform RSA private key operations} { |
| 72 | configure.args-delete no-gmp |
| 73 | configure.args-append enable-gmp -lgmp |
| 74 | depends_lib-append port:gmp |
| 75 | } |
| 76 | |
| 77 | variant jpake description {enable experimental support for J-PAKE (Password Authenticated Key Exchange by Juggling; possibly part of IEEE P1363)} { |
| 78 | configure.args-delete no-jpake |
| 79 | configure.args-append experimental-jpake |
| 80 | } |
| 81 | |