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:   07-Nov-2005 20:05:52
  Branch: HEAD                             Handle: 2005110719055100

  Modified files:
    openpkg-src/sudo        sudo.spec

  Log:
    add optional RFC1938 based S/Key and OPIE OTP support

  Summary:
    Revision    Changes     Path
    1.85        +20 -1      openpkg-src/sudo/sudo.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sudo/sudo.spec
  ============================================================================
  $ cvs diff -u -r1.84 -r1.85 sudo.spec
  --- openpkg-src/sudo/sudo.spec        30 Oct 2005 07:48:35 -0000      1.84
  +++ openpkg-src/sudo/sudo.spec        7 Nov 2005 19:05:51 -0000       1.85
  @@ -33,11 +33,13 @@
   Group:        System
   License:      BSD
   Version:      1.6.8p11
  -Release:      20051030
  +Release:      20051107
   
   #   package options
   %option       with_fsl    yes
   %option       with_pam    no
  +%option       with_skey   no
  +%option       with_opie   no
   
   #   list of sources
   Source0:      ftp://ftp.courtesan.com/pub/sudo/sudo-%{version}.tar.gz
  @@ -57,6 +59,14 @@
   BuildPreReq:  PAM
   PreReq:       PAM
   %endif
  +%if "%{with_skey}" == "yes"
  +BuildPreReq:  skey
  +PreReq:       skey
  +%endif
  +%if "%{with_opie}" == "yes"
  +BuildPreReq:  opie
  +PreReq:       opie
  +%endif
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -119,6 +129,15 @@
   %if "%{with_pam}" == "yes"
           --with-pam \
   %endif
  +%if "%{with_skey}" == "yes" || "%{with_opie}" == "yes"
  +        --with-long-otp-prompt \
  +%endif
  +%if "%{with_skey}" == "yes"
  +        --with-skey=%{l_prefix} \
  +%endif
  +%if "%{with_opie}" == "yes"
  +        --with-opie=%{l_prefix} \
  +%endif
           --enable-shell-sets-home \
           --disable-root-sudo \
           --with-env-editor \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to