[Buildroot] [git commit branch/next] package/squid: define the log directory, pidfile and swapdir

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Nov 23 21:16:39 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=d29eb641d3e50e734496ddb2db4aed4e7d63cfbd
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Guillaume GARDET <guillaume.gardet at oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/squid/squid.mk |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/package/squid/squid.mk b/package/squid/squid.mk
index e8a2ccc..ed51881 100644
--- a/package/squid/squid.mk
+++ b/package/squid/squid.mk
@@ -26,7 +26,10 @@ SQUID_CONF_OPTS =	--enable-async-io=8 --enable-linux-netfilter \
 			--enable-auth-negotiate="wrapper" \
 			--enable-auth-ntlm="fake" \
 			--disable-strict-error-checking \
-			--enable-external-acl-helpers="file_userip"
+			--enable-external-acl-helpers="file_userip" \
+			--with-logdir=/var/log/squid/ \
+			--with-pidfile=/var/run/squid.pid \
+			--with-swapdir=/var/cache/squid/
 
 # On uClibc librt needs libpthread
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_TOOLCHAIN_USES_UCLIBC),yy)


More information about the buildroot mailing list