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                      Date:   06-Jul-2004 14:16:46
  Branch: OPENPKG_2_1_SOLID                Handle: 2004070613164600

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

  Log:
    MFC: always try to (re)generate the rndc key on install/upgrade
    operations

  Summary:
    Revision    Changes     Path
    1.91.2.2    +2  -2      openpkg-src/bind/bind.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bind/bind.spec
  ============================================================================
  $ cvs diff -u -r1.91.2.1 -r1.91.2.2 bind.spec
  --- openpkg-src/bind/bind.spec        2 Jul 2004 15:24:05 -0000       1.91.2.1
  +++ openpkg-src/bind/bind.spec        6 Jul 2004 12:16:46 -0000       1.91.2.2
  @@ -264,8 +264,8 @@
       rm -rf $RPM_BUILD_ROOT
   
   %post
  -    if [ $1 -eq 1 ]; then
  -        #   generate local rndc key
  +    if [ ! -f $RPM_INSTALL_PREFIX/etc/bind/rndc.key ]; then
  +        #   generate local rndc(8) key
           ( echo "Generating RSA key for RNDC operation in 
$RPM_INSTALL_PREFIX/etc/bind/rndc.key."
             echo "Please be patient, this takes a non-deterministic amount of time."
           ) | %{l_rpmtool} msg -b -t notice
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to