diff --git a/ports/net/openconnect/Portfile b/ports/net/openconnect/Portfile
index fc2e1cf..1da83be 100644
a
|
b
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name openconnect |
7 | | version 4.08 |
| 7 | version 6.00 |
8 | 8 | categories net |
9 | 9 | platforms darwin |
10 | 10 | maintainers nomaintainer |
… |
… |
depends_lib port:libxml2 \ |
31 | 31 | master_sites ftp://ftp.infradead.org/pub/openconnect/ |
32 | 32 | |
33 | 33 | # md5 is needed for http master_site below |
34 | | checksums md5 3dd065194d87c08084675d255c8e29ef \ |
35 | | rmd160 b2f3887efbd8e4e0e366bee7d37d7b9ed2448ed4 \ |
36 | | sha256 114eef2b5a8087f26c7871db8700a293101e9626fc94fbef54ac6daef6ce1a77 |
| 34 | checksums md5 7e28e23c6e281be31446e6c365f5d273 \ |
| 35 | rmd160 94e35383a771a2c1387702b594e8fd023a0c23ff \ |
| 36 | sha256 8a0c684dccac2447d204d544f6f466e41b21bce71e033ba58e2cb17b795ab81c |
37 | 37 | |
38 | 38 | foreach {type checksum} ${checksums} { |
39 | 39 | if {${type} == "md5"} { |
… |
… |
foreach {type checksum} ${checksums} { |
44 | 44 | configure.args --disable-silent-rules \ |
45 | 45 | --with-vpnc-script=${prefix}/etc/vpnc/vpnc-script |
46 | 46 | |
| 47 | # Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL |
| 48 | if {![variant_isset ssl]} { |
| 49 | default_variants +gnutls |
| 50 | } |
| 51 | |
| 52 | variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} { |
| 53 | depends_lib-append port:openssl |
| 54 | configure.args-replace --without-ssl --with-ssl |
| 55 | } |
| 56 | |
| 57 | variant gnutls conflicts ssl description {Allow secure connections using GNUTLS} { |
| 58 | depends_lib-append port:gnutls |
| 59 | configure.args-replace --without-gnutls --with-gnutls |
| 60 | } |
| 61 | |
47 | 62 | post-destroot { |
48 | 63 | set docdir ${destroot}${prefix}/share/doc/${name} |
49 | 64 | xinstall -d ${docdir} |