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 openpkg-web          Date:   11-Aug-2003 09:29:14
  Branch: HEAD                             Handle: 2003081108291201

  Modified files:
    openpkg-src/postfix     postfix.spec
    openpkg-web             news.txt

  Log:
    Why to the hell does SVR4 /bin/sh (as seen on Solaris and UnixWare)
    behave differently in variable assignments if shell redirection is used?!
    
    The following program prints "foo", "bar", "baz", "quux" on non-brain
    dead platforms while on the SVR4 /bin/sh it prints "foo", "bar", "bar",
    "bar"...
    
    foo=foo
    echo $foo
    { eval `echo foo=bar`; }
    echo $foo
    { eval `echo foo=baz`; } >/dev/null
    echo $foo
    { eval `echo foo=quux`; } >/dev/null 2>/dev/null
    echo $foo

  Summary:
    Revision    Changes     Path
    1.165       +2  -2      openpkg-src/postfix/postfix.spec
    1.6114      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/postfix/postfix.spec
  ============================================================================
  $ cvs diff -u -r1.164 -r1.165 postfix.spec
  --- openpkg-src/postfix/postfix.spec  24 Jul 2003 08:29:05 -0000      1.164
  +++ openpkg-src/postfix/postfix.spec  11 Aug 2003 07:29:13 -0000      1.165
  @@ -39,7 +39,7 @@
   Group:        Mail
   License:      IPL
   Version:      %{V_postfix}
  -Release:      20030724
  +Release:      20030811
   
   #   package options
   %option       with_fsl       yes
  @@ -326,7 +326,7 @@
           #   after upgrade, regenerate configuration
           ( cd $RPM_INSTALL_PREFIX/etc/postfix && %{l_make} clean all; true ) 
>/dev/null 2>&1
           #   after upgrade, restore status
  -        { eval `cat %{l_tmpfile}`; rm -f %{l_tmpfile}; true; } >/dev/null 2>&1
  +        { eval `cat %{l_tmpfile}`; rm -f %{l_tmpfile}; true; }
           [ ".$postfix_active" = .yes ] && %{l_rc} postfix start
       fi
       exit 0
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6113 -r1.6114 news.txt
  --- openpkg-web/news.txt      11 Aug 2003 07:10:46 -0000      1.6113
  +++ openpkg-web/news.txt      11 Aug 2003 07:29:12 -0000      1.6114
  @@ -1,3 +1,4 @@
  +11-Aug-2003: Upgraded package: P<postfix-2.0.13-20030811>
   11-Aug-2003: Upgraded package: P<bogofilter-0.14.4-20030811>
   11-Aug-2003: Upgraded package: P<vim-6.2.68-20030811>
   11-Aug-2003: Upgraded package: P<perl-parse-20030811-20030811>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to