Browse Source

squid: changed to use default prefix instead of 'opt/squid'

stable/0.2
Christian Wiese 14 years ago
parent
commit
abdfdf0679
  1. 11
      network/squid/squid.conf

11
network/squid/squid.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../squid/squid.conf # Filename: package/.../squid/squid.conf
# Copyright (C) 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -14,8 +15,14 @@
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ] ; then if [ $prefix_auto = 1 ] ; then
prefix="opt/squid" # use a dedicated sysconfdir instead of installing into /etc
set_confopt 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 fi
# uncomment this to select non-standard storage io modules or replacement policies; # uncomment this to select non-standard storage io modules or replacement policies;

Loading…
Cancel
Save