File: 0002-Change-default-file-locations-for-debian.patch

package info (click to toggle)
squid 5.7-2%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 36,848 kB
  • sloc: cpp: 196,156; ansic: 20,264; makefile: 6,064; sh: 5,267; perl: 2,292; sql: 326; python: 248; awk: 142; sed: 1
file content (19 lines) | stat: -rw-r--r-- 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Luigi Gangitano <luigi@debian.org>
Date: Sat, 29 Oct 2016 17:55:55 +0200
Subject: Change default file locations for debian

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

--- a/src/Common.am
+++ b/src/Common.am
@@ -16,7 +16,7 @@
 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