--- /dev/null
+diff --git a/raddb/modules/dhcp_sqlippool b/raddb/modules/dhcp_sqlippool
+index 39358b2..2a29daf 100644
+--- a/raddb/modules/dhcp_sqlippool
++++ b/raddb/modules/dhcp_sqlippool
+@@ -14,8 +14,11 @@ sqlippool dhcp_sqlippool {
+ # Client's MAC address is mapped to Calling-Station-Id in policy.conf
+ pool-key = "%{Calling-Station-Id}"
+
+- # For now, it only works with MySQL.
+- $INCLUDE ${confdir}/sql/mysql/ippool-dhcp.conf
++ # For now, it only works with MySQL.
++ # 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 ${confdir}/sql/mysql/ippool-dhcp.conf
+
+ sqlippool_log_exists = "DHCP: Existing IP: %{reply:Framed-IP-Address} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
+
Patch5: freeradius-radeapclient-ipv6.patch
Patch6: freeradius-postgres-sql.patch
#Patch7: freeradius-perl.patch
+Patch8: freeradius-dhcp_sqlippool.patch
Obsoletes: freeradius-devel
Obsoletes: freeradius-libs
%patch5 -p1 -b radeapclient-ipv6
%patch6 -p1 -b postgres-sql
#%patch7 -p1 -b perl
+%patch8 -p1 -b dhcp_sqlippool
# Some source files mistakenly have execute permissions set
find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \) -a -perm /0111 -exec chmod a-x {} +