Ticket #40558: Portfile-openvpn2.diff
File Portfile-openvpn2.diff, 1.4 KB (added by john@…, 11 years ago) |
---|
-
Portfile
old new 1 1 # -*- 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 2 # $Id: Portfile 1 14325 2013-12-05 09:20:31Z ryandesign@macports.org $2 # $Id: Portfile 103962 2013-03-11 02:21:21Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 6 6 name openvpn2 7 version 2.3. 07 version 2.3.3 8 8 distname openvpn-${version} 9 9 categories net security 10 10 platforms darwin … … 20 20 homepage http://www.openvpn.net 21 21 master_sites http://swupdate.openvpn.net/community/releases/ 22 22 23 checksums rmd160 f24ac128fcd874bf40e8ffd5161065e84170d69f\24 sha256 4602a8d0f66dfa6ac10b7abfeba35260d7d4c570948f6eba5f8216ffa3a2c49023 checksums rmd160 583119bd19749a5e4a1afef531d67f895ef535f7 \ 24 sha256 f025d14631105a66e501ca897830cd4d26a1438530cd9174dc6169536ae4b113 25 25 26 26 depends_build port:pkgconfig 27 27 depends_lib port:lzo2 \ … … 43 43 xinstall -m 644 -W ${worksrcpath} AUTHORS ${docdir} 44 44 } 45 45 46 if {${os.platform} eq"darwin" && ${os.major} <= 9} {46 if {${os.platform} == "darwin" && ${os.major} <= 9} { 47 47 post-patch { 48 48 reinplace "s|security/pam_appl.h|pam/pam_appl.h|g" ${worksrcpath}/src/plugins/auth-pam/auth-pam.c 49 49 }