File: 0009-dhcp-sqlipool-Comment-out-mysql.patch

package info (click to toggle)
freeradius 3.2.7%2Bdfsg-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 23,924 kB
  • sloc: ansic: 123,763; sh: 5,855; perl: 4,351; sql: 3,072; python: 1,559; makefile: 619; xml: 62; tcl: 35; sed: 23; ruby: 22
file content (23 lines) | stat: -rw-r--r-- 915 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From f39ef7f317a49c4e959bed7e9d954e473f49d602 Mon Sep 17 00:00:00 2001
From: Sam Hartman <hartmans@debian.org>
Date: Wed, 1 Oct 2014 16:38:16 -0400
Subject: dhcp sqlipool: Comment out mysql
Forwarded: not-needed

So freeradius does not depend on freeradius-mysql
---
 raddb/modules/dhcp_sqlippool | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/raddb/mods-available/dhcp_sqlippool
+++ b/raddb/mods-available/dhcp_sqlippool
@@ -97,5 +97,8 @@
 		nopool = "DHCP: No ${..pool_name} defined (cid %{DHCP-Client-Identifier} chaddr %{DHCP-Client-Hardware-Address} giaddr %{DHCP-Gateway-IP-Address})"
 	}
 
-	$INCLUDE ${modconfdir}/sql/ippool-dhcp/${dialect}/queries.conf
+	# This line is commented by default to enable clean startup when you
+	# don't have freeradius-mysql installed. Uncomment this line if you 
+	# use this module.
+	#$INCLUDE ${modconfdir}/sql/ippool-dhcp/${dialect}/queries.conf
 }