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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   17-Jul-2003 15:29:36
  Branch: HEAD                             Handle: 2003071714293500

  Modified files:
    openpkg-src/openssh     openssh.spec

  Log:
    Fix the PAM identification by always using "openssh" in order
    to synchronize with the established PAM configuration file.
    
    Catched by: Matt Hoosier <[EMAIL PROTECTED]>
    PR: #160

  Summary:
    Revision    Changes     Path
    1.97        +7  -0      openpkg-src/openssh/openssh.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openssh/openssh.spec
  ============================================================================
  $ cvs diff -u -r1.96 -r1.97 openssh.spec
  --- openpkg-src/openssh/openssh.spec  17 Jul 2003 10:14:04 -0000      1.96
  +++ openpkg-src/openssh/openssh.spec  17 Jul 2003 13:29:35 -0000      1.97
  @@ -110,6 +110,13 @@
       %{l_patch} -p1 <%{SOURCE osshChroot-%{V_chroot}.diff}
   %endif
   
  +    #   enforce "openssh" and the PAM identification string
  +%if "%{with_pam}" == "yes"
  +    %{l_shtool} subst \
  +        -e 's;\(define *SSHD_PAM_SERVICE\).*;\1 "openssh";' \
  +        auth-pam.h
  +%endif
  +
       #   prevent in advance "make install" from running sshd
       %{l_shtool} subst \
           -e 's;^\(install:.*\)check-config\(.*\)$;\1 \2;' \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to