OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   15-Jul-2006 19:19:59
  Branch: HEAD                             Handle: 2006071518195900

  Modified files:
    openpkg-src/openssh     openssh.spec

  Log:
    add experimental High Performance Networking (HPN) patches which
    mainly make the network buffers dynamically sizeable and this way
    should increase the scp(1) throughput dramatically on high-speed
    networks

  Summary:
    Revision    Changes     Path
    1.165       +14 -1      openpkg-src/openssh/openssh.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openssh/openssh.spec
  ============================================================================
  $ cvs diff -u -r1.164 -r1.165 openssh.spec
  --- openpkg-src/openssh/openssh.spec  27 Jun 2006 17:46:44 -0000      1.164
  +++ openpkg-src/openssh/openssh.spec  15 Jul 2006 17:19:59 -0000      1.165
  @@ -29,6 +29,7 @@
   %define       V_ldap_base   4.3p1
   %define       V_ldap_vers   0.3.7
   %define       V_connect     1.96
  +%define       V_hpn         12
   
   #   package information
   Name:         openssh
  @@ -41,7 +42,7 @@
   Group:        Security
   License:      BSD
   Version:      %{V_base}%{V_portable}
  -Release:      20060627
  +Release:      20060715
   
   #   package options
   %option       with_fsl          yes
  @@ -57,6 +58,7 @@
   %option       with_x11          no
   %option       with_trysetpath   no
   %option       with_libedit      no
  +%option       with_hpn          no
   
   #   list of sources
   Source0:      
ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
  @@ -76,6 +78,7 @@
   Patch4:       
http://www.opendarwin.org/projects/openssh-lpk/files/openssh-lpk-%{V_ldap_base}-%{V_ldap_vers}.patch
   Patch5:       openssh.patch.sftplogging
   Patch6:       openssh.patch.scpbindir
  +Patch7:       
http://www.psc.edu/networking/projects/hpn-ssh/openssh-%{version}-hpn%{V_hpn}.diff.gz
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -142,6 +145,11 @@
           url       = http://www.opendarwin.org/projects/openssh-lpk/
           regex     = openssh-lpk-(__VER__)\.patch
       }
  +    prog openssh:hpn = {
  +        version   = %{V_hpn}
  +        url       = http://www.psc.edu/networking/projects/hpn-ssh/
  +        regex     = openssh-%{version}-hpn(__VER__)\.diff\.gz
  +    }
   
   %prep
       #   unpack and patch distribution
  @@ -169,6 +177,11 @@
   %if "%{with_sftplogging}" == "yes"
       %patch -p0 -P 5
   %endif
  +%if "%{with_hpn}" == "yes"
  +    %{l_gzip} -d -c %{SOURCE openssh-%{version}-hpn%{V_hpn}.diff.gz} |\
  +    sed -e '/^diff.*\/version\.h/,$d' | %{l_patch} -p1 -b
  +    %{l_shtool} subst -e 's;\(SSH_VERSION SSH_PORTABLE\);\1 "-hpn";' 
version.h
  +%endif
       sed -e 's;@l_prefix@;%{l_prefix};g' %{SOURCE openssh.patch.scpbindir} | 
%{l_patch} -p0 -b
       case "%{l_platform -t}" in
           *-darwin* )
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to