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:   16-Jul-2004 20:34:30
  Branch: HEAD                             Handle: 2004071619343000

  Modified files:
    openpkg-src/squid       squid.spec

  Log:
    add optional ICAP support through handmade/regenerated patch

  Summary:
    Revision    Changes     Path
    1.62        +10 -1      openpkg-src/squid/squid.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/squid/squid.spec
  ============================================================================
  $ cvs diff -u -r1.61 -r1.62 squid.spec
  --- openpkg-src/squid/squid.spec      9 Jul 2004 21:16:42 -0000       1.61
  +++ openpkg-src/squid/squid.spec      16 Jul 2004 18:34:30 -0000      1.62
  @@ -39,17 +39,19 @@
   Group:        Web
   License:      GPL
   Version:      %{V_maj}.%{V_min}.%{V_rev}
  -Release:      20040709
  +Release:      20040716
   
   #   package options
   %option       with_fsl   yes
   %option       with_ssl   no
   %option       with_snmp  no
  +%option       with_icap  no
   
   #   list of sources
   Source0:      
http://www.squid-cache.org/Versions/v%{V_maj}/%{V_maj}.%{V_min}/squid-%{V_maj}.%{V_min}.STABLE%{V_rev}.tar.gz
   Source1:      rc.squid
   Source2:      fsl.squid
  +Patch0:       
ftp://ftp.openpkg.org/sources/CPY/squid/squid-%{V_maj}.%{V_min}.STABLE%{V_rev}-icap.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -82,6 +84,10 @@
   
   %prep
       %setup -q -n squid-%{V_maj}.%{V_min}.STABLE%{V_rev}
  +%if "%{with_icap}" == "yes"
  +    %patch -p0
  +    find . -name "*.orig" -print | xargs rm -f
  +%endif
   
   %build
       #   configure package
  @@ -106,6 +112,9 @@
   %if "%{with_snmp}" == "yes"
           --enable-snmp \
   %endif
  +%if "%{with_icap}" == "yes"
  +        --enable-icap-support \
  +%endif
           --enable-default-err-language=English \
           --enable-err-languages=English \
           --enable-storeio="ufs diskd null" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to