diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-06-14 15:43:47 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-06-14 15:43:47 +0000 |
commit | 0ceb8693e54d34a4310a0854c305074309b4d729 (patch) | |
tree | 1c02a70db688d28aa05432d916a944da382d3294 /net/isc-dhcp2/files/patch-aj | |
parent | Use snprintf to prevent non-exploitable in real life overflow (diff) |
This fixes the suposed fix of Makefile rev 1.29 ad patch-aj rev 1.1.
This port is now PREFIX clean and installs files into the right locations
(I previously marked it BROKEN because it wasn't).
Bad "fix" by: JHK
Absent maintainer would would not fix this himself: jseger
Notes
Notes:
svn path=/head/; revision=29600
Diffstat (limited to 'net/isc-dhcp2/files/patch-aj')
-rw-r--r-- | net/isc-dhcp2/files/patch-aj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/isc-dhcp2/files/patch-aj b/net/isc-dhcp2/files/patch-aj index 4e86342367bf..129fe0931d50 100644 --- a/net/isc-dhcp2/files/patch-aj +++ b/net/isc-dhcp2/files/patch-aj @@ -5,12 +5,12 @@ #else #ifndef _PATH_DHCPD_CONF -#define _PATH_DHCPD_CONF "/etc/dhcpd.conf" -+#define _PATH_DHCPD_CONF "/usr/local/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 "/usr/local/etc/dhcpd.leases" ++#define _PATH_DHCPD_DB "!!PREFIX!!/etc/dhcpd.leases" #endif #ifndef _PATH_DHCPD_PID @@ -19,7 +19,7 @@ #ifndef _PATH_DHCLIENT_CONF -#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf" -+#define _PATH_DHCLIENT_CONF "/usr/local/etc/dhclient.conf" ++#define _PATH_DHCLIENT_CONF "!!PREFIX!!/etc/dhclient.conf" #endif #ifndef _PATH_DHCLIENT_PID @@ -28,7 +28,7 @@ #ifndef _PATH_DHCLIENT_DB -#define _PATH_DHCLIENT_DB "/etc/dhclient.leases" -+#define _PATH_DHCLIENT_DB "/usr/local/etc/dhclient.leases" ++#define _PATH_DHCLIENT_DB "!!PREFIX!!/etc/dhclient.leases" #endif #ifndef _PATH_RESOLV_CONF |