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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   14-Jan-2003 15:14:50
  Branch: HEAD                             Handle: 2003011414144901

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

  Log:
    fix patching; make sure Linux ABI is present under FreeBSD

  Summary:
    Revision    Changes     Path
    1.13        +8  -1      openpkg-src/acroread/acroread.spec
    1.2726      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/acroread/acroread.spec
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 acroread.spec
  --- openpkg-src/acroread/acroread.spec        3 Jan 2003 10:50:56 -0000       1.12
  +++ openpkg-src/acroread/acroread.spec        14 Jan 2003 14:14:50 -0000      1.13
  @@ -36,7 +36,7 @@
   Group:        Graphics
   License:      Commercial
   Version:      %{V_real}
  -Release:      20021003
  +Release:      20030114
   
   #   list of sources
   Source0:      
ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{V_comp}.tar.gz
  @@ -73,6 +73,12 @@
           *-freebsd* )
               tarball="%{SOURCE linux-%{V_comp}.tar.gz}"
               shell="/compat/linux/bin/sh"
  +            if [ ! -f $shell ]; then
  +                ( echo "The Linux ABI base system is not installed under 
/compat/linux/."
  +                  echo "Please install the FreeBSD port/package linux_base, first."
  +                ) | %{l_rpmtool} msg -b -t error
  +                exit 1
  +            fi
               ;;
           *-linux* )
               tarball="%{SOURCE linux-%{V_comp}.tar.gz}"
  @@ -89,6 +95,7 @@
       %{l_gzip} -c -d $tarball | %{l_tar} xf -
   
       #   perform the standard installation procedure
  +    chmod u+w INSTALL
       %{l_shtool} subst -e 's;Linux);Linux|FreeBSD);' INSTALL
       PAGER="cat"
       export PAGER
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2725 -r1.2726 news.txt
  --- openpkg-web/news.txt      14 Jan 2003 14:09:59 -0000      1.2725
  +++ openpkg-web/news.txt      14 Jan 2003 14:14:49 -0000      1.2726
  @@ -1,3 +1,4 @@
  +14-Jan-2003: Upgraded package: P<acroread-5.06-20030114>
   14-Jan-2003: Upgraded package: P<suck-4.3.1-20030114>
   14-Jan-2003: Upgraded package: P<amd-6.0.8-20030114>
   14-Jan-2003: Upgraded package: P<libdnet-1.5-20030114>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to