From abdfdf06798f02bb636b938a24f564bd2c734609 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 17 May 2011 16:28:01 +0200 Subject: [PATCH] squid: changed to use default prefix instead of 'opt/squid' --- network/squid/squid.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/network/squid/squid.conf b/network/squid/squid.conf index 6827dfd08..04f6ac68d 100644 --- a/network/squid/squid.conf +++ b/network/squid/squid.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../squid/squid.conf +# Copyright (C) 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -14,8 +15,14 @@ # --- SDE-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ] ; then - prefix="opt/squid" - set_confopt + # use a dedicated sysconfdir instead of installing into /etc + sysconfdir="$sysconfdir/$pkg" + # install archtecture independent data into /usr/share/squid + datadir="$datadir/$pkg" + # default location for squid logs. + var_append extraconfopt ' ' "--with-logdir=$localstatedir/log/$pkg" + # default location for squid PID file + var_append extraconfopt ' ' "--with-pidfile=$localstatedir/run/$pkg.pid" fi # uncomment this to select non-standard storage io modules or replacement policies;