diff --git a/ports/net/openconnect/Portfile b/ports/net/openconnect/Portfile
index fc2e1cf..7f5c8ad 100644
a
|
b
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name openconnect |
7 | | version 4.08 |
| 7 | version 5.03 |
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 ff43ed1dbaccd2537fd7c5bfb04295a6 \ |
| 35 | rmd160 bd15a47299f7965ac2e7756257a1b9fadc0e0e1c \ |
| 36 | sha256 7cccf62b9c50ff2392457b07f2a02259782cda6796fb0ce7831e308a8246a709 |
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} |