1 | # $Id: Portfile 74683 2010-12-28 11:42:29Z jmr@macports.org $ |
---|
2 | |
---|
3 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \ |
---|
4 | c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | |
---|
8 | name vpnc |
---|
9 | version 0.5.3 |
---|
10 | revision 1 |
---|
11 | categories net |
---|
12 | maintainers nomaintainer |
---|
13 | description client for cisco vpn concentrator |
---|
14 | long_description vpnc is an open source replacement for the commercial \ |
---|
15 | cisco vpnclient. It is supposed to work with the following \ |
---|
16 | systems: \ |
---|
17 | - Cisco VPN concentrator 3000 Series \ |
---|
18 | - Cisco IOS routers \ |
---|
19 | - Cisco PIX / ASA Zecurity Appliances \ |
---|
20 | - Juniper/Netscreen |
---|
21 | |
---|
22 | homepage http://www.unix-ag.uni-kl.de/~massar/vpnc/ |
---|
23 | platforms darwin |
---|
24 | master_sites http://www.unix-ag.uni-kl.de/~massar/vpnc/ |
---|
25 | |
---|
26 | checksums sha1 321527194e937371c83b5e7c38e46fca4f109304 \ |
---|
27 | rmd160 6f3926901e75dc98762f6ef45782930f2fb76a2f |
---|
28 | |
---|
29 | depends_lib port:libgcrypt \ |
---|
30 | port:libgpg-error |
---|
31 | depends_run port:tuntaposx |
---|
32 | |
---|
33 | patchfiles patch-config.c patch-sysdep.h |
---|
34 | post-patch { reinplace "s|__ETCDIR__|${prefix}/etc|g" ${worksrcpath}/config.c } |
---|
35 | |
---|
36 | use_configure no |
---|
37 | |
---|
38 | build.args PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc |
---|
39 | |
---|
40 | destroot.args PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc |
---|
41 | |
---|
42 | variant hybrid_cert description "Enable the support for hybrid and cert modes in vpnc" { |
---|
43 | depends_lib-append port:openssl |
---|
44 | build.args-append "OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto" |
---|
45 | } |
---|
46 | livecheck.type regex |
---|
47 | livecheck.url ${homepage} |
---|
48 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|