Update of /cvsroot/fink/experimental/dmrrsn
In directory sc8-pr-cvs17:/tmp/cvs-serv880

Added Files:
        squid-unified.info squid-unified.patch 
Log Message:
new upstream


--- NEW FILE: squid-unified.info ---
Package: squid-unified
Version: 2.6.stable16
Revision: 1
Epoch: 1
Source: http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE16.tar.bz2
Source-MD5: 849bee6f269e6c773f215fd4b41de0e3
Depends: daemonic
BuildDepends: system-openssl-dev, fink (>= 0.24.12)
Replaces: squid (<< %v-%r), squid-ssl (<< %v-%r)
PatchFile: %n.patch
PatchFile-MD5: 78add4438e06ea51443cec33ca2bf50b
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/lib/system-openssl/include -I%p/include
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib
NoSetLIBS: true
SetLIBS: -L%p/lib
ConfigureParams: --disable-dependency-tracking --enable-gnuregex 
--enable-async-io --enable-icmp --enable-delay-pools --enable-useragent-log 
--enable-referer-log --enable-carp --enable-htcp --disable-poll 
--enable-underscores --enable-snmp --enable-wccp --with-aio  --with-pthreads 
--mandir=%p/share/man --enable-ssl --libexecdir=%p/sbin 
--with-openssl=%p/lib/system-openssl
CompileScript: <<
#!/bin/sh -ex

 export lt_cv_sys_max_cmd_len=65536
 ./configure %c
 make DEFAULT_SWAP_DIR=%p/var/cache/squid DEFAULT_LOG_PREFIX=%p/var/log/squid 
DEFAULT_MIB_PATH=%p/share/doc/%n DEFAULT_PID_FILE=%p/var/run/squid.pid
<<
InstallScript: <<
 make install DESTDIR=%d DEFAULT_SWAP_DIR=%p/var/cache/squid 
DEFAULT_LOG_PREFIX=%p/var/log/squid DEFAULT_MIB_PATH=%p/share/doc/%n 
DEFAULT_PID_FILE=%p/var/run/squid.pid
 install -d -m 755 -o nobody %i/var/cache/squid
 install -d -m 755 -o nobody %i/var/log/squid
 rm -f %i/etc/squid.conf.default
 rm -f %i/etc/mime.conf.default
 install -d -m 755 %i/share/doc/%n
 mv %i/share/mib.txt %i/share/doc/%n/mib.txt
<<
SplitOff: <<
  Package: squid
  Depends: %N (= %e:%v-%r)
  DocFiles: CONTRIBUTORS COPYING COPYRIGHT CREDITS ChangeLog INSTALL QUICKSTART 
README RELEASENOTES.html SPONSORS
<<
SplitOff2: <<
  Package: squid-ssl
  Depends: %N (= %e:%v-%r)
  DocFiles: CONTRIBUTORS COPYING COPYRIGHT CREDITS ChangeLog INSTALL QUICKSTART 
README RELEASENOTES.html SPONSORS
<<
ConfFiles: <<
  %p/etc/squid.conf
  %p/etc/mime.conf
<<
DaemonicFile: <<
<service>
<description>Squid proxy cache</description>
<message>Squid proxy cache</message>

<daemon name="squid">
<executable checkexit="true">%p/sbin/squid</executable>
<configfile>%p/etc/squid.conf</configfile>
<pidfile>%p/var/run/squid.pid</pidfile>
</daemon>

</service>
<<
PostInstScript: <<
if [ ! -d %p/var/cache/squid/00 ]; then
  %p/sbin/squid -z
fi
<<
PreRmScript: <<
# clean up the old one
daemonic remove squid >/dev/null 2>&1 || :

if [ $1 != "upgrade" ]; then
  # remove the daemonic entry if we're uninstalling
  daemonic remove squid-unified
fi
<<
DocFiles: CONTRIBUTORS COPYING COPYRIGHT CREDITS ChangeLog INSTALL QUICKSTART 
README RELEASENOTES.html SPONSORS
#
Description: Proxy caching server
DescDetail: <<
Squid is a high-performance proxy caching server for Web clients,
supporting FTP, gopher, and HTTP data objects. Unlike traditional
caching software, Squid handles all requests in a single,
non-blocking, I/O-driven process. Squid keeps meta data and especially
hot objects cached in RAM, caches DNS lookups, supports non-blocking
DNS lookups, and implements negative caching of failed requests.
<<
DescPackaging: <<
The only changes made to the default configuration is to enable local
access to the squid proxy (ie, connections from localhost).  By
default, squid is configured to listen on port 3128 for proxy
connections.  To change this, add or change the http_port line to the
port you want squid to listen on.
<<
License: GPL
Homepage: http://www.squid-cache.org/
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>

--- NEW FILE: squid-unified.patch ---
diff -ruN squid-2.6.STABLE16/src/cf.data.pre 
squid-2.6.STABLE16-patched/src/cf.data.pre
--- squid-2.6.STABLE16/src/cf.data.pre  2007-09-05 14:50:15.000000000 -0700
+++ squid-2.6.STABLE16-patched/src/cf.data.pre  2007-09-12 06:37:09.000000000 
-0700
@@ -539,6 +539,8 @@
          # NOTE: proxy_auth requires a EXTERNAL authentication program
          # to check username/password combinations (see
          # auth_param directive).
+# Allow proxy connections from localhost                                      
+http_access allow localhost                                                    
          #
          # NOTE: proxy_auth can't be used in a transparent proxy as
          # the browser needs to be configured for using a proxy in order
@@ -3412,7 +3414,7 @@
 NAME: visible_hostname
 TYPE: string
 LOC: Config.visibleHostname
-DEFAULT: none
+DEFAULT: localhost
 DOC_START
        If you want to present a special hostname in error messages, etc,
        define this.  Otherwise, the return value of gethostname()


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to