File: 0001-Default-configuration-file-for-debian.patch

package info (click to toggle)
squid 6.13-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 34,800 kB
  • sloc: cpp: 194,192; ansic: 15,687; sh: 5,610; makefile: 5,515; perl: 2,558; sql: 326; python: 248; awk: 141; sed: 1
file content (39 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: Amos Jeffries <amosjeffries@squid-cache.org>
Last-Update: 2023-06-19
Subject: Default configuration file for debian
Forwarded: not-needed

---
 src/cf.data.pre | 4 +++-
 1 file changed, 3 insertions(+), 1 deletions(-)

Index: pkg-squid/src/cf.data.pre
===================================================================
--- pkg-squid.orig/src/cf.data.pre	2024-07-18 15:47:08.217001379 +0200
+++ pkg-squid/src/cf.data.pre	2024-07-18 15:47:08.213001379 +0200
@@ -1945,6 +1945,7 @@
 #
 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
 #
+include /etc/squid/conf.d/*.conf
 
 # For example, to allow access from your local networks, you may uncomment the
 # following rule (and/or add rules that match your definition of "local"):
@@ -5486,7 +5487,7 @@
 
 NAME: logfile_rotate
 TYPE: int
-DEFAULT: 10
+DEFAULT: 0
 LOC: Config.Log.rotateNumber
 DOC_START
 	Specifies the default number of logfile rotations to make when you
@@ -5510,6 +5511,8 @@
 	in the habit of using 'squid -k rotate' instead of 'kill -USR1
 	<pid>'.
 
+	Note, for Debian/Linux the default of logfile_rotate is
+	zero, since it includes external logfile-rotation methods.
 DOC_END
 
 NAME: mime_table