# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name vpnc version 0.5.3 revision 3 categories net maintainers nomaintainer license GPL-2+ description client for cisco vpn concentrator long_description vpnc is an open source replacement for the commercial \ cisco vpnclient. It is supposed to work with the following \ systems: \ - Cisco VPN concentrator 3000 Series \ - Cisco IOS routers \ - Cisco PIX / ASA Zecurity Appliances \ - Juniper/Netscreen homepage http://www.unix-ag.uni-kl.de/~massar/vpnc/ platforms darwin master_sites http://www.unix-ag.uni-kl.de/~massar/vpnc/ checksums sha1 321527194e937371c83b5e7c38e46fca4f109304 \ rmd160 6f3926901e75dc98762f6ef45782930f2fb76a2f depends_lib port:libgcrypt \ port:libgpg-error depends_run port:tuntaposx patchfiles patch-config.c patch-sysdep.h post-patch { reinplace "s|__ETCDIR__|${prefix}/etc|g" ${worksrcpath}/config.c } use_configure no variant universal {} build.args PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc CC="${configure.cc} [get_canonical_archflags]" destroot.args PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc variant hybrid_cert description "Enable the support for hybrid and cert modes in vpnc" { depends_lib-append path:lib/libssl.dylib:openssl build.args-append "OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto" } livecheck.type regex livecheck.url ${homepage} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"