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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Dec-2007 13:07:10
  Branch: HEAD                             Handle: 2007120312071000

  Modified files:
    openpkg-src/punbb       punbb.spec

  Log:
    cleanup packaging

  Summary:
    Revision    Changes     Path
    1.8         +11 -7      openpkg-src/punbb/punbb.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/punbb/punbb.spec
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 punbb.spec
  --- openpkg-src/punbb/punbb.spec      3 Dec 2007 09:54:10 -0000       1.7
  +++ openpkg-src/punbb/punbb.spec      3 Dec 2007 12:07:10 -0000       1.8
  @@ -48,12 +48,13 @@
   BuildPreReq:  OpenPKG, openpkg >= 20060823
   PreReq:       OpenPKG, openpkg >= 20060823
   PreReq:       apache
  -PreReq:       apache::with_mod_php = yes
  -PreReq:       apache::with_mod_php_pgsql = yes
  -PreReq:       apache::with_mod_php_zlib = yes
  -PreReq:       apache::with_mod_php_pcre = yes
  -PreReq:       apache::with_mod_php_xml = yes
  -PreReq:       pcre, pcre::with_utf8 = yes
  +PreReq:       apache-php
  +PreReq:       apache-php::with_pgsql = yes
  +PreReq:       apache-php::with_zlib = yes
  +PreReq:       apache-php::with_pcre = yes
  +PreReq:       apache-php::with_xml = yes
  +PreReq:       pcre
  +PreReq:       pcre::with_utf8 = yes
   PreReq:       postgresql >= 8.2.4-20070906
   AutoReq:      no
   AutoReqProv:  no
  @@ -140,7 +141,7 @@
             echo "1. start the PostgreSQL RDBMS:"
             echo "   \$ $RPM_INSTALL_PREFIX/bin/openpkg rc postgresql start"
             echo "2. create the PunBB database:"
  -          echo "   \$ $RPM_INSTALL_PREFIX/sbin/punbb-setup"
  +          echo "   \$ $RPM_INSTALL_PREFIX/sbin/punbb-setup install"
             echo "3. start the PunBB Apache:"
             echo "   \$ $RPM_INSTALL_PREFIX/bin/openpkg rc punbb start"
             echo "4. install the PunBB database by accessing the"
  @@ -162,6 +163,9 @@
           #   before erase, stop service
           %{l_rc} punbb stop 2>/dev/null
   
  +        #   destroy database
  +        $RPM_INSTALL_PREFIX/sbin/punbb-setup uninstall >/dev/null 2>&1 || 
true
  +
           #   remove run-time files
           rm -f $RPM_INSTALL_PREFIX/var/punbb/db/*   >/dev/null 2>&1 || true
           rm -f $RPM_INSTALL_PREFIX/var/punbb/db/*/* >/dev/null 2>&1 || true
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to