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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web, openpkg-src         Date:   05-Oct-2002 12:01:03
  Branch: HEAD                             Handle: 2002100511010002

  Modified files:
    openpkg-src/openpkg     aux.wrapbin.sh aux.wrapsrc.sh openpkg.spec
    openpkg-web             news.txt

  Log:
    upgrading package: openpkg 20021004 -> 20021005

  Summary:
    Revision    Changes     Path
    1.2         +25 -1      openpkg-src/openpkg/aux.wrapbin.sh
    1.2         +22 -1      openpkg-src/openpkg/aux.wrapsrc.sh
    1.102       +2  -2      openpkg-src/openpkg/openpkg.spec
    1.1702      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  Index: openpkg-src/openpkg/aux.wrapbin.sh
  ============================================================
  $ cvs diff -u -r1.1 -r1.2 aux.wrapbin.sh
  --- openpkg-src/openpkg/aux.wrapbin.sh        5 Feb 2002 20:23:08 -0000       1.1
  +++ openpkg-src/openpkg/aux.wrapbin.sh        5 Oct 2002 10:01:02 -0000       1.2
  @@ -73,6 +73,27 @@
         (who am i | cut "-d " -f1) 2>/dev/null ||\
         echo $LOGNAME`
   
  +#   determine uncompression tool
  +uncompress=""
  +for t in uncompress gunzip gzip; do
  +    for p in `IFS=":"; echo . $PATH /bin /sbin /usr/bin /usr/sbin`; do
  +        if [ -f "$p/$t" ]; then
  +            uncompress="$p/$t"
  +            if [ ".$t" = .gzip ]; then
  +                uncompress="$uncompress -d"
  +            fi
  +            break
  +        fi
  +    done
  +    if [ ".$uncompress" != . ]; then
  +       break
  +    fi
  +done
  +if [ ".$uncompress" = . ]; then
  +    echo "$0:FAILED: required uncompress, gunzip or gzip tool not found"
  +    exit 1
  +fi
  +
   #   perform the installation
   echo "$0: installing into $prefix..."
   
  @@ -80,6 +101,7 @@
   set -- 1
   @PRE@
   
  +#   make sure prefix/root directory exists
   d=''
   for c in `IFS=/; echo $prefix`; do
       d="$d/$c"
  @@ -92,8 +114,10 @@
           fi
       fi
   done
  +
  +#   extract installation files
   uudecode $f
  -uncompress <$t |\
  +$uncompress <$t |\
   (cd $prefix; tar x${v}f -)
   rm -f $t >/dev/null 2>&1
   if [ ".$cusr" = .root ]; then
  Index: openpkg-src/openpkg/aux.wrapsrc.sh
  ============================================================
  $ cvs diff -u -r1.1 -r1.2 aux.wrapsrc.sh
  --- openpkg-src/openpkg/aux.wrapsrc.sh        5 Feb 2002 20:23:09 -0000       1.1
  +++ openpkg-src/openpkg/aux.wrapsrc.sh        5 Oct 2002 10:01:02 -0000       1.2
  @@ -74,12 +74,33 @@
       cgrp="$cusr"
   fi
   
  +#   determine uncompression tool
  +uncompress=""
  +for t in uncompress gunzip gzip; do
  +    for p in `IFS=":"; echo . $PATH /bin /sbin /usr/bin /usr/sbin`; do
  +        if [ -f "$p/$t" ]; then
  +            uncompress="$p/$t"
  +            if [ ".$t" = .gzip ]; then
  +                uncompress="$uncompress -d"
  +            fi
  +            break
  +        fi
  +    done
  +    if [ ".$uncompress" != . ]; then
  +       break
  +    fi
  +done
  +if [ ".$uncompress" = . ]; then
  +    echo "$0:FAILED: required uncompress, gunzip or gzip tool not found"
  +    exit 1
  +fi
  +
   #   extract the tarball
   echo "$me: extracting to $dir..."
   uudecode $me
   rm -rf $dir >/dev/null 2>&1
   mkdir $dir || exit 1
  -uncompress <$tgz |\
  +$uncompress <$tgz |\
   (cd $dir; tar x${v}f - 2>/dev/null)
   if [ ".$cusr" = .root ]; then
       ( cd $dir 
  Index: openpkg-src/openpkg/openpkg.spec
  ============================================================
  $ cvs diff -u -r1.101 -r1.102 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  4 Oct 2002 13:58:35 -0000       1.101
  +++ openpkg-src/openpkg/openpkg.spec  5 Oct 2002 10:01:02 -0000       1.102
  @@ -39,8 +39,8 @@
   #   o any cc(1)
   
   #   the package version and release
  -%define       V_openpkg 20021004
  -%define       R_openpkg 20021004
  +%define       V_openpkg 20021005
  +%define       R_openpkg 20021005
   
   #   the used software versions
   %define       V_rpm     4.0.2
  Index: openpkg-web/news.txt
  ============================================================
  $ cvs diff -u -r1.1701 -r1.1702 news.txt
  --- openpkg-web/news.txt      4 Oct 2002 19:48:27 -0000       1.1701
  +++ openpkg-web/news.txt      5 Oct 2002 10:01:00 -0000       1.1702
  @@ -1,3 +1,4 @@
  +05-Oct-2002: Upgraded package: P<openpkg-20021005-20021005>
   04-Oct-2002: Upgraded package: N<apache> 1.3.26-1.0.5 (OpenPKG-1.1-SOLID)
   04-Oct-2002: Upgraded package: N<apache> 1.3.22-1.0.5 (OpenPKG-1.0-SOLID)
   04-Oct-2002: Upgraded package: P<apache-1.3.27-20021004>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to