freebsd-ports/net/isc-dhcp3/files/patch-aj
Alexander Langer 3457a02a10 - depend on res_update.h rather on libbind.a, to catch a bind8 that
has res_update.h - older versions of bind didn't have this file
  but had libbind.8 - needed for nsupdate
- Adjust more PREFIX handling
- Add dhcp3-specials + WWW to DESCR

Submitted by:	Cyrille Lefevre <clefevre%no-spam@citeweb.net>
Approved by:	obrien
2000-07-18 08:50:54 +00:00

43 lines
1.1 KiB
Text

--- includes/dhcpd.h.orig Wed Feb 2 18:01:17 2000
+++ includes/dhcpd.h Mon Jul 17 21:21:04 2000
@@ -329,7 +329,7 @@
#endif
#ifndef CL_DEFAULT_SCRIPT_NAME
-# define CL_DEFAULT_SCRIPT_NAME "/etc/dhclient-script"
+# define CL_DEFAULT_SCRIPT_NAME "!!PREFIX!!/etc/dhclient-script"
#endif
#ifndef CL_DEFAULT_REQUESTED_OPTIONS
@@ -771,11 +771,11 @@
#define _PATH_DHCPD_DB "dhcpd.leases"
#else
#ifndef _PATH_DHCPD_CONF
-#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
+#define _PATH_DHCPD_CONF "!!PREFIX!!/etc/dhcpd.conf"
#endif
#ifndef _PATH_DHCPD_DB
-#define _PATH_DHCPD_DB "/etc/dhcpd.leases"
+#define _PATH_DHCPD_DB "!!PREFIX!!/etc/dhcpd.leases"
#endif
#ifndef _PATH_DHCPD_PID
@@ -784,7 +784,7 @@
#endif
#ifndef _PATH_DHCLIENT_CONF
-#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
+#define _PATH_DHCLIENT_CONF "!!PREFIX!!/etc/dhclient.conf"
#endif
#ifndef _PATH_DHCLIENT_PID
@@ -792,7 +792,7 @@
#endif
#ifndef _PATH_DHCLIENT_DB
-#define _PATH_DHCLIENT_DB "/etc/dhclient.leases"
+#define _PATH_DHCLIENT_DB "!!PREFIX!!/etc/dhclient.leases"
#endif
#ifndef _PATH_RESOLV_CONF