File: 0002-Change-default-file-locations-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 (22 lines) | stat: -rw-r--r-- 810 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
From: Luigi Gangitano <luigi@debian.org>
Last-Update: 2023-06-19
Subject: Change default file locations for debian
Forwarded: not-needed

---
 src/Makefile.in | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Index: pkg-squid/src/Common.am
===================================================================
--- a/src/Common.am
+++ b/src/Common.am
@@ -16,7 +16,7 @@ DEFAULT_ICP_PORT	= 3130
 DEFAULT_PREFIX		= $(prefix)
 DEFAULT_CONFIG_DIR	= $(sysconfdir)
 DEFAULT_CONFIG_FILE	= $(DEFAULT_CONFIG_DIR)/squid.conf
-DEFAULT_MIME_TABLE	= $(DEFAULT_CONFIG_DIR)/mime.conf
+DEFAULT_MIME_TABLE	= $(datadir)/mime.conf
 DEFAULT_SSL_CRTD	= $(libexecdir)/`echo security_file_certgen | sed '$(transform);s/$$/$(EXEEXT)/'`
 DEFAULT_LOG_PREFIX	= $(DEFAULT_LOG_DIR)
 DEFAULT_CACHE_LOG	= $(DEFAULT_LOG_PREFIX)/cache.log