Ticket #52066: openconnect.diff
File openconnect.diff, 2.1 KB (added by bket, 8 years ago) |
---|
-
Portfile
old new PortSystem 1.0 5 5 6 6 name openconnect 7 7 version 7.07 8 revision 1 8 9 categories net 9 10 platforms darwin 10 11 maintainers hydroxide.nl:bjorn.ketelaars openmaintainer … … homepage http://www.infradead 20 21 21 22 depends_build port:pkgconfig 22 23 23 depends_lib port:libxml2 \ 24 port:lz4 \ 25 port:zlib \ 26 port:gettext \ 24 depends_lib port:gettext \ 25 port:libiconv \ 27 26 port:libproxy \ 28 port:vpnc-scripts 27 port:libxml2 \ 28 port:lz4 \ 29 port:p11-kit \ 30 port:vpnc-scripts \ 31 port:zlib 29 32 30 33 master_sites ftp://ftp.infradead.org/pub/openconnect/ 31 34 … … foreach {type checksum} ${checksums} { 42 45 43 46 configure.args --disable-silent-rules \ 44 47 --with-vpnc-script=${prefix}/etc/vpnc-scripts/vpnc-script \ 45 --without-openssl \ 46 --without-gnutls 48 --without-gnutls \ 49 --without-gssapi \ 50 --without-libpskc \ 51 --without-openssl 47 52 48 53 variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} { 49 54 depends_lib-append path:lib/libssl.dylib:openssl … … variant gnutls conflicts ssl description 55 60 configure.args-replace --without-gnutls --with-gnutls 56 61 } 57 62 63 variant kerberos description {Enable Kerberos support} { 64 depends_lib-append port:kerberos5 65 configure.args-replace --without-gssapi --with-gssapi 66 } 67 68 variant libpskc description {Allow RFC6030 PSKC file storage of HOTP/TOTP keys} { 69 depends_lib-append port:oath-toolkit 70 configure.args-replace --without-libpskc --with-libpskc 71 } 72 58 73 # Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL 59 74 if {![variant_isset ssl]} { 60 75 default_variants +gnutls