Revision: 100199 https://trac.macports.org/changeset/100199 Author: jwa@macports.org Date: 2012-12-03 07:06:35 -0800 (Mon, 03 Dec 2012) Log Message: ----------- openssh: re-enable high performance variant after patch is available Modified Paths: -------------- trunk/dports/net/openssh/Portfile Modified: trunk/dports/net/openssh/Portfile =================================================================== --- trunk/dports/net/openssh/Portfile 2012-12-03 13:42:02 UTC (rev 100198) +++ trunk/dports/net/openssh/Portfile 2012-12-03 15:06:35 UTC (rev 100199) @@ -91,19 +91,19 @@ # For high-performance patch # re-enable when patch for current version is available -#variant hpn description "apply high performance patch" { -# patch_sites-append http://www.psc.edu/networking/projects/hpn-ssh/:hpn -# patchfiles-append ${distname}-hpn13v12.diff.gz:hpn -# checksums-append ${distname}-hpn13v12.diff.gz \ -# rmd160 7ca2c431904b184072302cb3e9ab055ffb0f4024 \ -# sha256 74499c3487a53eaaeaad79d89d8260c23f9a416173d7c256d1f3131677213040 \ -# -# patch.pre_args -# post-patch { -# reinplace "s|TMP_SSH_VERSION SSH_PORTABLE|TMP_SSH_VERSION SSH_PORTABLE SSH_HPN|" ${worksrcpath}/version.h -# } -#} +variant hpn description "apply high performance patch" { + patch_sites-append http://www.psc.edu/networking/projects/hpn-ssh/:hpn + patchfiles-append ${distname}-hpn13v14.diff.gz:hpn + checksums-append ${distname}-hpn13v14.diff.gz \ + rmd160 4f671e56cd2abcc1c9f69a640d55fe48d80ea9e5 \ + sha256 1e481c8312fb19052960a8f8d92b61b745f9afd823021d298ec232e57e4f7943 \ + patch.pre_args + post-patch { + reinplace "s|TMP_SSH_VERSION SSH_PORTABLE|TMP_SSH_VERSION SSH_PORTABLE SH_HPN|" ${worksrcpath}/version.h + } +} + variant gss_api_trust_dns description "Enable GSSAPITrustDNS SSH configuration keyword" { # patchfiles-append GSSAPITrustDNS.patch post-extract {