Ticket #40323: openssh-6.2p2-hpn.patch

File openssh-6.2p2-hpn.patch, 1.8 KB (added by Ionic (Mihai Moldovan), 11 years ago)

Re-enable HPN in OpenSSH portfile.

  • Portfile

    old new  
    101101
    102102variant no_x11 requires xauth description {Legacy compatibility variant} {}
    103103
    104 # Disable HPN variant since it currently doesn't work with 6.2
    105 #variant hpn description "apply high performance patch" {
    106 #    # http://www.psc.edu/index.php/hpn-ssh
    107 #    #patch_sites-append      http://www.psc.edu/index.php/component/remository/func-download/861/chk,20152cee1847ff688dabbe20eab6505c/no_html,1/?dummy=:hpn
    108 #    patch_sites-append      googlecode:latian-linux:hpn
    109 #    set hpn_patchfile       ${distname}-hpn13v14.diff.gz
    110 #    patchfiles-append       ${hpn_patchfile}:hpn
    111 #    checksums-append        ${hpn_patchfile} \
    112 #                            rmd160  e422c76f2aad6efd2b5101fbe0018df3f95bf5cb \
    113 #                            sha256  d8dada89de2f17f89c1ac40e4cf4e87b69eecde15a1f84baeddd991aa9d1aa91
    114 #
    115 #    patch.pre_args
    116 #    post-patch {
    117 #        reinplace "s|TMP_SSH_VERSION SSH_PORTABLE|TMP_SSH_VERSION SSH_PORTABLE SH_HPN|" ${worksrcpath}/version.h
    118 #    }
    119 #}
     104variant hpn description {Apply high performance patch} {
     105    # http://www.psc.edu/index.php/hpn-ssh
     106    patch_sites-append      http://www.psc.edu/index.php/component/remository/func-download/913/chk,c89bd6929597dfb115ae0e2c1ee081be/no_html,1/?dummy=:hpn
     107    #patch_sites-append      googlecode:latian-linux:hpn
     108    set hpn_patchfile       ${distname}-hpn14v1.diff.gz
     109    patchfiles-append       ${hpn_patchfile}:hpn
     110    checksums-append        ${hpn_patchfile} \
     111                            rmd160  6e1593e58b093d0908a98f3bba5c3b187eabffc8 \
     112                            sha256  5243c76ceecb2fd0934d87fd9c33604ff0241c00156e456bf5b7e40e407d8c90
     113
     114    patch.pre_args
     115}
    120116
    121117variant gsskex description "Add OpenSSH GSSAPI key exchange patch" {
    122118    set extra_cppflags [concat \