Ticket #5952: openvpn2-2.0.5.diff

File openvpn2-2.0.5.diff, 1.2 KB (added by pierre@…, 19 years ago)

Patch 2.0.5

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            openvpn2
    5 version         2.0.5
     5version         2.0.4
    66distname        openvpn-${version}
    77categories      net security
    88maintainers     jordiyeh@gmail.com julien.touche@touche.fr.st
     
    1212                        which can be used to securely link two or more \
    1313                        private networks using an encrypted tunnel over \
    1414                        the internet.
    15 homepage        http://www.openvpn.net
     15homepage        http://www.openvpn.net/
    1616master_sites    ${homepage}/release/
    1717platforms       darwin
    1818distname        openvpn-${version}
    19 checksums       md5 4bd7a42991c93db23842a0992debe53b
     19checksums       md5 de32775b88e6bcd737ae93b9a365494c
    2020
    2121depends_lib     port:lzo \
    2222                port:openssl
     
    3333        depends_lib-delete      port:lzo
    3434}
    3535
    36 post-destroot {
    37         set docdir ${destroot}/${prefix}/share/doc/${name}
    38         xinstall -m 755 -d ${docdir}
    39         foreach dir "easy-rsa sample-config-files sample-scripts \
    40                 contrib sample-keys management"  {
    41                 file copy ${worksrcpath}/${dir} ${docdir}
    42         }
    43         foreach file "AUTHORS INSTALL NEWS PORTS README" {
    44                 xinstall -m 644 -W ${worksrcpath} ${file} ${docdir}
    45         }
    46 }
    47 
    4836platform darwin 8 {
    4937        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
    5038}