Ticket #40558: Portfile-openvpn2.diff

File Portfile-openvpn2.diff, 1.4 KB (added by john@…, 10 years ago)
  • Portfile

    old new  
    11# -*- 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 114325 2013-12-05 09:20:31Z ryandesign@macports.org $
     2# $Id: Portfile 103962 2013-03-11 02:21:21Z ryandesign@macports.org $
    33
    44PortSystem          1.0
    55
    66name                openvpn2
    7 version             2.3.0
     7version             2.3.3
    88distname            openvpn-${version}
    99categories          net security
    1010platforms           darwin
     
    2020homepage            http://www.openvpn.net
    2121master_sites        http://swupdate.openvpn.net/community/releases/
    2222
    23 checksums           rmd160  f24ac128fcd874bf40e8ffd5161065e84170d69f \
    24                     sha256  4602a8d0f66dfa6ac10b7abfeba35260d7d4c570948f6eba5f8216ffa3a2c490
     23checksums           rmd160  583119bd19749a5e4a1afef531d67f895ef535f7 \
     24                    sha256  f025d14631105a66e501ca897830cd4d26a1438530cd9174dc6169536ae4b113
    2525
    2626depends_build       port:pkgconfig
    2727depends_lib         port:lzo2 \
     
    4343    xinstall -m 644 -W ${worksrcpath} AUTHORS ${docdir}
    4444}
    4545
    46 if {${os.platform} eq "darwin" && ${os.major} <= 9} {
     46if {${os.platform} == "darwin" && ${os.major} <= 9} {
    4747    post-patch {
    4848        reinplace "s|security/pam_appl.h|pam/pam_appl.h|g" ${worksrcpath}/src/plugins/auth-pam/auth-pam.c
    4949    }