Author: vasi
Date: Sun Feb  4 05:30:56 2007
New Revision: 93

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=93&repname=user%3a+vasi>
Log:
include auth methods

Added:
    finkinfo/trunk/misc/squid-unified.info
    finkinfo/trunk/misc/squid-unified.patch

Added: finkinfo/trunk/misc/squid-unified.info
URL: 
<http://svn.finkproject.org/websvn/filedetails.php?path=/finkinfo/trunk/misc/squid-unified.info&rev=93&repname=user%3a+vasi>
==============================================================================
--- finkinfo/trunk/misc/squid-unified.info (added)
+++ finkinfo/trunk/misc/squid-unified.info Sun Feb  4 05:30:56 2007
@@ -1,0 +1,99 @@
+# Add authentication methods and helpers.
+# Exclude because of dependencies: SASL
+Package: squid-unified
+Version: 2.5.stable12
+Revision: 1+vasi
+Epoch: 1
+Source: http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE12.tar.bz2
+Source-MD5: 7354255015b3772a1e024dfac173e48c
+Depends: daemonic
+BuildDepends: system-openssl-dev
+Replaces: squid (<< %v-%r), squid-ssl (<< %v-%r)
+Patch: %n.patch
+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
+# Hack: fix pam include directory
+PatchScript: ln -s /usr/include/pam include/security
+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 --enable-auth=yes 
--enable-basic-auth-helpers="LDAP MSNT NCSA PAM SMB YP getpwnam 
multi-domain-NTLM winbind" --enable-digest-auth-helpers=yes 
--enable-ntlm-auth-helpers=yes
+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]>

Added: finkinfo/trunk/misc/squid-unified.patch
URL: 
<http://svn.finkproject.org/websvn/filedetails.php?path=/finkinfo/trunk/misc/squid-unified.patch&rev=93&repname=user%3a+vasi>
==============================================================================
--- finkinfo/trunk/misc/squid-unified.patch (added)
+++ finkinfo/trunk/misc/squid-unified.patch Sun Feb  4 05:30:56 2007
@@ -1,0 +1,22 @@
+diff -uNr squid-2.5.STABLE11/src/cf.data.pre 
squid-2.5.STABLE11-new/src/cf.data.pre
+--- squid-2.5.STABLE11/src/cf.data.pre 2005-09-13 09:44:35.000000000 -0400
++++ squid-2.5.STABLE11-new/src/cf.data.pre     2005-10-19 09:43:02.000000000 
-0400
+@@ -2077,6 +2077,9 @@
+         # to check username/password combinations (see
+         # auth_param directive).
+         #
++# Allow proxy connections from localhost
++http_access allow localhost
++
+         # WARNING: proxy_auth can't be used in a transparent proxy. It
+         # collides with any authentication done by origin servers. It may
+         # seem like it works at first, but it doesn't.
+@@ -2502,7 +2505,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()


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to