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 openpkg$ Date:   28-Jan-2004 10:00:33
  Branch: HEAD                             Handle: 2004012809002904

  Modified files:
    openpkg-re/vcheck       vc.ncurses
    openpkg-src/ncurses     ncurses.spec
    openpkg-web             news.txt

  Log:
    upgrading package: ncurses 5.4 -> 5.3.20040125

  Summary:
    Revision    Changes     Path
    1.96        +2  -2      openpkg-re/vcheck/vc.ncurses
    1.133       +26 -3      openpkg-src/ncurses/ncurses.spec
    1.8340      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.ncurses
  ============================================================================
  $ cvs diff -u -r1.95 -r1.96 vc.ncurses
  --- openpkg-re/vcheck/vc.ncurses      25 Jan 2004 08:03:03 -0000      1.95
  +++ openpkg-re/vcheck/vc.ncurses      28 Jan 2004 09:00:29 -0000      1.96
  @@ -2,7 +2,7 @@
   }
   
   prog ncurses = {
  -  version   = 5.4
  +  version   = 5.3
     url       = ftp://invisible-island.net/ncurses/
     regex     = ncurses-(__VER__)\.tar\.gz
   }
  @@ -14,7 +14,7 @@
     regex     = patch-__NEWVER__-(\d+)\.sh(\.gz)?
   }
   prog ncurses:patchset = {
  -  version   = 20040117
  +  version   = 20040125
     url       = ftp://invisible-island.net/ncurses/
     regex     = (\d+\.\d+)
     url       = ftp://invisible-island.net/ncurses/__NEWVER__/
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ncurses/ncurses.spec
  ============================================================================
  $ cvs diff -u -r1.132 -r1.133 ncurses.spec
  --- openpkg-src/ncurses/ncurses.spec  25 Jan 2004 08:03:06 -0000      1.132
  +++ openpkg-src/ncurses/ncurses.spec  28 Jan 2004 09:00:33 -0000      1.133
  @@ -24,7 +24,14 @@
   ##
   
   #   package versions
  -%define       V_base    5.4
  +%define       V_base    5.3
  +%define       V_temp    5.4
  +%define       V_patch0  20040110
  +%define       V_patch1  20040117
  +%define       V_patch2  20040124
  +%define       V_patch3  20040125
  +%define       V_patchL  %{V_patch3}
  +%define       V_patches 3
   
   #   package information
   Name:         ncurses
  @@ -35,11 +42,15 @@
   Distribution: OpenPKG [BASE]
   Group:        Terminal
   License:      GPL
  -Version:      %{V_base}
  -Release:      20040125
  +Version:      %{V_base}.%{V_patchL}
  +Release:      20040128
   
   #   list of sources
   Source0:      ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
  +Patch0:       
ftp://invisible-island.net/ncurses/%{V_base}/patch-%{V_base}-%{V_patch0}.sh
  +Patch1:       
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch1}.patch.gz
  +Patch2:       
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_temp}-%{V_patch2}.patch.gz
  +Patch3:       
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch3}.patch.gz
   Patch100:     ncurses.patch
   
   #   build information
  @@ -56,6 +67,18 @@
   
   %prep
       %setup -q -n ncurses-%{V_base}
  +    ( cat %{PATCH0} >patchbase.sh
  +      %{l_shtool} subst \
  +          -e 's;gzip -dc;%{l_gzip} -dc;' \
  +          -e 's;patch -p1;%{l_patch} -p1;' \
  +          patchbase.sh
  +      sh patchbase.sh
  +    ) || exit $?
  +    for patchfile in \
  +        %{expand:%(i=1; while [ $i -le %{V_patches} ]; do %{l_shtool} echo -n " 
%%{PATCH$i}"; i=`expr $i + 1`; done)}
  +    do
  +        %{l_gzip} -d -c $patchfile | %{l_patch} -p1 || true
  +    done
       %patch100 -p0
   
   %build
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.8339 -r1.8340 news.txt
  --- openpkg-web/news.txt      28 Jan 2004 08:48:40 -0000      1.8339
  +++ openpkg-web/news.txt      28 Jan 2004 09:00:30 -0000      1.8340
  @@ -1,3 +1,4 @@
  +28-Jan-2004: Upgraded package: P<ncurses-5.3.20040125-20040128>
   28-Jan-2004: Upgraded package: P<mplayer-1.0pre3-20040128>
   28-Jan-2004: Upgraded package: P<vim-6.2.214-20040128>
   <<<<<<< news.txt
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to