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          Date:   22-Aug-2003 20:40:28
  Branch: HEAD                             Handle: 2003082219402602

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

  Log:
    Provide an option for disabling SWAT (the WebUI of Samba)
    and especially make sure, if enabled, it finds its HTML parts.
    
    Submitted by: Bill Campbell <[EMAIL PROTECTED]>

  Summary:
    Revision    Changes     Path
    1.58        +5  -1      openpkg-src/samba/samba.spec
    1.6276      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/samba/samba.spec
  ============================================================================
  $ cvs diff -u -r1.57 -r1.58 samba.spec
  --- openpkg-src/samba/samba.spec      1 Aug 2003 09:42:51 -0000       1.57
  +++ openpkg-src/samba/samba.spec      22 Aug 2003 18:40:28 -0000      1.58
  @@ -33,10 +33,11 @@
   Group:        Filesystem
   License:      GPL
   Version:      2.2.8a
  -Release:      20030801
  +Release:      20030822
   
   #   package options
   %option       with_pam  no
  +%option       with_swat no
   
   #   list of sources
   Source0:      http://download.samba.org/samba/ftp/samba-%{version}.tar.gz
  @@ -137,9 +138,12 @@
              $RPM_BUILD_ROOT%{l_prefix}/libexec/samba/$file
       done
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/using_samba
  +%if "%{with_swat}" != "yes"
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/help
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/images
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/include
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/sbin/swat
  +%endif
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
       strip $RPM_BUILD_ROOT%{l_prefix}/libexec/samba/* >/dev/null 2>&1 || true
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6275 -r1.6276 news.txt
  --- openpkg-web/news.txt      22 Aug 2003 18:11:34 -0000      1.6275
  +++ openpkg-web/news.txt      22 Aug 2003 18:40:26 -0000      1.6276
  @@ -1,3 +1,4 @@
  +22-Aug-2003: Upgraded package: P<samba-2.2.8a-20030822>
   22-Aug-2003: Upgraded package: P<sav-2.14+3.73-20030822>
   22-Aug-2003: Upgraded package: P<glark-1.6.5-20030822>
   22-Aug-2003: Upgraded package: P<powerdns-2.9.11-20030822>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to