OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   04-Jul-2002 15:10:04
  Branch: OPENPKG_1_0_SOLID                Handle: 2002070414100300

  Modified files:           (Branch: OPENPKG_1_0_SOLID)
    openpkg-src/bind        bind.spec

  Log:
    security upgrade. Verified to build, install, upgrade and run on FreeBSD, LINUX 
and Solaris

  Summary:
    Revision    Changes     Path
    1.15.2.3    +11 -6      openpkg-src/bind/bind.spec
  ____________________________________________________________________________

  Index: openpkg-src/bind/bind.spec
  ============================================================
  $ cvs diff -u -r1.15.2.2 -r1.15.2.3 bind.spec
  --- openpkg-src/bind/bind.spec        5 Dec 2001 09:38:41 -0000       1.15.2.2
  +++ openpkg-src/bind/bind.spec        4 Jul 2002 13:10:03 -0000       1.15.2.3
  @@ -32,8 +32,8 @@
   Distribution: OpenPKG [REL]
   Group:        DNS
   License:      GPL
  -Version:      8.2.5
  -Release:      1.0.0
  +Version:      8.2.6
  +Release:      1.0.1
   
   #   list of sources
   Source0:      ftp://ftp.isc.org/isc/bind/src/%{version}/bind-src.tar.gz
  @@ -49,8 +49,8 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 1.0.0, make, flex, bison
  -PreReq:       OpenPKG, openpkg >= 1.0.0
  +BuildPreReq:  OpenPKG, openpkg >= 1.0.2, make, flex, bison >= 1.30-1.0.1
  +PreReq:       OpenPKG, openpkg >= 1.0.2
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -75,6 +75,9 @@
       rm -f .settings .systype
       echo "'DESTINC=/dummy'" >>port/$systype/Makefile.set
       echo "'DESTLIB=/dummy'" >>port/$systype/Makefile.set
  +    case $systype in
  +        solaris ) %{l_rpmtool} subst 's/-O2/-O/' -- port/$systype/Makefile.set*
  +    esac
   
       #   find a reasonable compiler, but because of BIND v8's
       #   system dependend linking stuff, we have to use the vendor
  @@ -168,13 +171,15 @@
   %pre
       if [ $1 -gt 1 ]; then
           #   stop daemon before any upgrade
  -        $RPM_INSTALL_PREFIX/sbin/ndc stop >/dev/null 2>&1
  +        ls >/dev/null 2>&1 $RPM_INSTALL_PREFIX/var/bind/ndc \
  +            && $RPM_INSTALL_PREFIX/sbin/ndc stop >/dev/null 2>&1
       fi
    
   %preun
       if [ $1 -eq 0 ]; then
           #   stop daemon before removing package
  -        $RPM_INSTALL_PREFIX/sbin/ndc stop >/dev/null 2>&1
  +        ls >/dev/null 2>&1 $RPM_INSTALL_PREFIX/var/bind/ndc \
  +            && $RPM_INSTALL_PREFIX/sbin/ndc stop >/dev/null 2>&1
           #   remove dynamically generated files
           rm -f $RPM_INSTALL_PREFIX/var/bind/*
       fi
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to