Ticket #51907: Portfile.diff

File Portfile.diff, 2.1 KB (added by iamGavinJ (GΛVĪN), 8 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                openvpn2
    7 version             2.3.8
    8 revision            1
     7version             2.3.11
     8revision            0
    99distname            openvpn-${version}
    1010categories          net security
    1111platforms           darwin
     
    1818    Private Network) daemon which can be used to securely link two or more \
    1919    private networks using an encrypted tunnel over the internet.
    2020
    21 homepage            http://www.openvpn.net
    22 master_sites        http://swupdate.openvpn.net/community/releases/
     21homepage            https://openvpn.net
     22master_sites        https://swupdate.openvpn.net/community/releases/
    2323
    24 checksums           rmd160  22dba26c6fc8869c92066536e41c649fc87a78db \
    25                     sha256  532435eff61c14b44a583f27b72f93e7864e96c95fe51134ec0ad4b1b1107c51
     24use_xz              yes
     25
     26checksums           rmd160  cfaf087bfb9d562b6028a225c43000fbe96041ce \
     27                    sha256  0f5f1ca1dc5743fa166d93dd4ec952f014b5f33bafd88f0ea34b455cae1434a7
    2628
    2729depends_build       port:pkgconfig
    2830depends_lib         port:lzo2 \
     
    3133configure.args      --program-suffix=2 \
    3234                    --docdir=${prefix}/share/doc/${name}
    3335
     36variant pkcs11 description "Enable PKCS #11/Cryptoki support" {
     37    configure.args-append \
     38        --enable-pkcs11
     39
     40    depends_lib-append \
     41        port:pkcs11-helper
     42}
     43
    3444post-destroot {
    3545    set docdir ${destroot}${prefix}/share/doc/${name}
    3646    set exdir ${destroot}${prefix}/share/examples/${name}
     
    7686   Use 'secret static.key' in your config file
    7787
    7888B) With self-signed certificates, follow
    79    https://openvpn.net/index.php/open-source/documentation/howto.html#pki
     89   ${homepage}/index.php/open-source/documentation/howto.html#pki
    8090
    81 Alternate GUI: https://code.google.com/p/tunnelblick/
     91Alternate GUI: https://tunnelblick.net/
    8292
    8393Openvpn uses a tun device to create its network interface. It could either be:
    8494- utun device built into OSX 10.7+