[debian-lan-devel] [debian-lan] 01/03: Fix squid as package cache if dansguardian is used.

Andreas B. Mundt andi at moszumanska.debian.org
Sun Dec 1 20:47:41 UTC 2013


This is an automated email from the git hooks/post-receive script.

andi pushed a commit to branch wheezy
in repository debian-lan.

commit 583b8a8fd1f89142ca515afe56d66443e9dffe56
Author: Andreas B. Mundt <andi at debian.org>
Date:   Sat Nov 30 11:34:33 2013 +0100

    Fix squid as package cache if dansguardian is used.
    
    Allow access to squid even if dansguardian is used.  This is needed to
    use squid as APT package cache.  Access from client browsers has to be
    disabled on the clients if necessary.
---
 fai/config/scripts/PROXY/30-dansguardian | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fai/config/scripts/PROXY/30-dansguardian b/fai/config/scripts/PROXY/30-dansguardian
index 5bc6431..b5e443a 100755
--- a/fai/config/scripts/PROXY/30-dansguardian
+++ b/fai/config/scripts/PROXY/30-dansguardian
@@ -6,6 +6,6 @@ set -e
 if $ROOTCMD which dansguardian > /dev/null ; then
     ## enable dansguardian:
     sed -i "s/^UNCONFIGURED/\# Line commented by FAI.  UNCONFIGURED/"  ${target}/etc/dansguardian/dansguardian.conf
-    ## disable access to squid from the network:
-    sed -i "/^http_access allow localnet$/d" ${target}/etc/squid3/squid.conf
+    ## disable access to squid from the network (commented, access needed for APT):
+    #sed -i "/^http_access allow localnet$/d" ${target}/etc/squid3/squid.conf
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git



More information about the debian-lan-devel mailing list