Ticket #47097: patch-openvpn-Portfile.diff

File patch-openvpn-Portfile.diff, 2.3 KB (added by jul_bsd@…, 10 years ago)
  • net/openvpn/Portfile

    old new  
     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
    12# $Id: Portfile 86434 2011-10-25 18:55:10Z jmr@macports.org $
    23
    34PortSystem 1.0
     5
    46name              openvpn
    57version           1.6.0
    68revision          1
    79categories        net security
    8 maintainers       touche.fr.st:julien.touche
     10maintainers       yahoo.fr:jul_bsd openmaintainer
    911description       easy-to-use, robust, and highly configurable VPN
    1012long_description  OpenVPN is an easy-to-use, robust, and highly \
    1113                  configurable VPN (Virtual Private Network) daemon \
     
    1315                  private networks using an encrypted tunnel over \
    1416                  the internet.
    1517homepage          http://openvpn.sourceforge.net/
     18license             {GPL-2 OpenSSLException}
    1619master_sites      sourceforge
    1720platforms         darwin openbsd
    1821depends_lib       port:lzo port:openssl
    19 checksums         md5 9eab3719b280a12d19ef1fda286cc363
    20 configure.args    --mandir=${prefix}/share/man \
    21                   --with-lzo-headers=${prefix}/include \
    22                   --with-lzo-lib=${prefix}/lib
     22#checksums         md5 9eab3719b280a12d19ef1fda286cc363
     23configure.args      --mandir=${prefix}/share/man \
     24                   --with-lzo-headers=${prefix}/include \
     25                   --with-lzo-lib=${prefix}/lib
     26
     27checksums           rmd160  ffcb1746590bdd4dab6777856a6caf8c129d57de \
     28                    sha256  22072a24bcaef8038a1e84363f3e209f65eb7c7ab37741752172a334acb31fb8
    2329
    2430post-destroot {
    2531    xinstall -d ${destroot}${prefix}/share/${name}
    2632    copy ${worksrcpath}/easy-rsa ${destroot}${prefix}/share/${name}
    2733}
    2834
    29 variant no_lzo {
    30         configure.args-append --disable-lzo
    31         depends_lib-delete port:lzo
     35variant no_lzo description { don't use lzo libs } {
     36    configure.args-append --disable-lzo
     37    depends_lib-delete port:lzo
    3238}
     39
     40notes "OpenVPN 1.6.0 has been released on 2004.05.09. You are strongly encouraged to use OpenVPN2 or other maintained alternatives.
     41"
     42
     43livecheck.type      regex
     44livecheck.url       http://openvpn.net/index.php/download/58-open-source/downloads.html
     45livecheck.regex     "OpenVPN (1(?:\\.\\d+)*)"