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:   13-Mar-2005 20:09:28
  Branch: HEAD                             Handle: 2005031319092800

  Modified files:
    openpkg-src/openssl     openssl.patch openssl.spec

  Log:
    Opening /dev/random with O_NOFOLLOW is not appropriate because at
    least under Solaris 10 O_NOFOLLOW exists and /dev/random is an
    (automatically) generated symlink. The same change was applied to
    OpenSSL 0.9.8-dev on 13-Jan-2005, too

  Summary:
    Revision    Changes     Path
    1.18        +13 -0      openpkg-src/openssl/openssl.patch
    1.60        +1  -1      openpkg-src/openssl/openssl.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openssl/openssl.patch
  ============================================================================
  $ cvs diff -u -r1.17 -r1.18 openssl.patch
  --- openpkg-src/openssl/openssl.patch 15 Nov 2004 13:27:21 -0000      1.17
  +++ openpkg-src/openssl/openssl.patch 13 Mar 2005 19:09:28 -0000      1.18
  @@ -81,3 +81,16 @@
    "FreeBSD",      "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 
-Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}",
    "bsdi-gcc",     "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 
-m486::(unknown):::RSA_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_bsdi_asm}",
    "bsdi-elf-gcc",     "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 
-Wall::(unknown)::-ldl:BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
  +Index: crypto/rand/rand_unix.c
  +--- crypto/rand/rand_unix.c.orig     2003-12-27 17:01:52.000000000 +0100
  ++++ crypto/rand/rand_unix.c  2005-03-13 20:05:25.927977714 +0100
  +@@ -172,9 +172,6 @@
  +                our controlling tty */
  +                     |O_NOCTTY
  + #endif
  +-#ifdef O_NOFOLLOW /* Fail if the file is a symbolic link */
  +-                    |O_NOFOLLOW
  +-#endif
  +                     )) >= 0)
  +                     {
  +                     struct timeval t = { 0, 10*1000 }; /* Spend 10ms on
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openssl/openssl.spec
  ============================================================================
  $ cvs diff -u -r1.59 -r1.60 openssl.spec
  --- openpkg-src/openssl/openssl.spec  9 Feb 2005 14:25:40 -0000       1.59
  +++ openpkg-src/openssl/openssl.spec  13 Mar 2005 19:09:28 -0000      1.60
  @@ -34,7 +34,7 @@
   Group:        Cryptography
   License:      BSD-style
   Version:      0.9.7e
  -Release:      20050209
  +Release:      20050313
   
   #   package options
   %option       with_zlib     no
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to