summaryrefslogtreecommitdiff
path: root/net/isc-dhcp3/files
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-07-18 08:50:54 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-07-18 08:50:54 +0000
commit3457a02a10e00f2c61e182b32b9e837fa6631130 (patch)
tree2ed1cfe41ffcd64d13eb38593e9c8c412d1930f1 /net/isc-dhcp3/files
parentAdd pango - an open-source framework for rendering i18n text. It will be (diff)
- 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
Notes
Notes: svn path=/head/; revision=30779
Diffstat (limited to 'net/isc-dhcp3/files')
-rw-r--r--net/isc-dhcp3/files/patch-aj33
-rw-r--r--net/isc-dhcp3/files/patch-clparse.c11
2 files changed, 38 insertions, 6 deletions
diff --git a/net/isc-dhcp3/files/patch-aj b/net/isc-dhcp3/files/patch-aj
index 01405d8411ef..14f7db13ff15 100644
--- a/net/isc-dhcp3/files/patch-aj
+++ b/net/isc-dhcp3/files/patch-aj
@@ -1,22 +1,43 @@
---- includes/dhcpd.h.orig Wed Feb 2 09:01:17 2000
-+++ includes/dhcpd.h Wed Jun 14 08:28:48 2000
-@@ -773,3 +773,3 @@
+--- 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
-@@ -777,3 +777,3 @@
+
#ifndef _PATH_DHCPD_DB
-#define _PATH_DHCPD_DB "/etc/dhcpd.leases"
+#define _PATH_DHCPD_DB "!!PREFIX!!/etc/dhcpd.leases"
#endif
-@@ -786,3 +786,3 @@
+
+ #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
-@@ -794,3 +794,3 @@
+
+ #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
diff --git a/net/isc-dhcp3/files/patch-clparse.c b/net/isc-dhcp3/files/patch-clparse.c
new file mode 100644
index 000000000000..771afc5e0e5a
--- /dev/null
+++ b/net/isc-dhcp3/files/patch-clparse.c
@@ -0,0 +1,11 @@
+--- client/clparse.c.orig Wed May 10 02:20:11 2000
++++ client/clparse.c Wed May 10 02:20:31 2000
+@@ -74,7 +74,7 @@
+ top_level_config.backoff_cutoff = 15;
+ top_level_config.initial_interval = 3;
+ top_level_config.bootp_policy = P_ACCEPT;
+- top_level_config.script_name = "/etc/dhclient-script";
++ top_level_config.script_name = CL_DEFAULT_SCRIPT_NAME;
+ top_level_config.requested_options = default_requested_options;
+
+ top_level_config.on_receipt = new_group ("read_client_conf");