diff options
author | abs <abs@pkgsrc.org> | 2002-10-18 22:03:49 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-10-18 22:03:49 +0000 |
commit | a167a1ab525dd0c32a2114237503c0f772004a7b (patch) | |
tree | e1577fe74c5b96fdf556acc331d156bc97046d0a /net/cmu-dhcpd/patches/patch-aa | |
parent | 1faa3d803eaccb2e08a55b0f57996fe313a3b9b1 (diff) | |
download | pkgsrc-a167a1ab525dd0c32a2114237503c0f772004a7b.tar.gz |
Import cmu-dhcpd-3.3.7.9
CMU dhcpd 3.3.7 is a combined BootP and DHCP server, available from
Carnegie Mellon University.
Development of this sofware at CMU has been halted. At Princeton
we've added a few new features, and fixed some bugs (and probably
introduced new ones, naturally). We've also incorporated patches
that others have posted. Our version is 3.3.7+PU.
Diffstat (limited to 'net/cmu-dhcpd/patches/patch-aa')
-rw-r--r-- | net/cmu-dhcpd/patches/patch-aa | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/cmu-dhcpd/patches/patch-aa b/net/cmu-dhcpd/patches/patch-aa new file mode 100644 index 00000000000..45599c18866 --- /dev/null +++ b/net/cmu-dhcpd/patches/patch-aa @@ -0,0 +1,32 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/18 22:06:01 abs Exp $ + +--- defaults.h.orig Wed Oct 20 20:14:15 1999 ++++ defaults.h +@@ -41,7 +41,7 @@ + /* override each of them from the commandline. */ + + /* Absolute path to pidfile. */ +-#define PID_FILE "/etc/dhcpd.pid" ++#define PID_FILE "/var/run/cmu-dhcpd.pid" + + /* Absolute path to bootptab file. */ + #define TAB_FILE "/etc/bootptab" +@@ -50,7 +50,7 @@ + #define CONFIG_FILE "/etc/dhcpd.conf" + + /* Absolute path to bindings directory. */ +-#define LASTBINDDIR "/etc/bindings" ++#define LASTBINDDIR "/var/db/bindings" + + /* Absolute path to bootptab dump file. */ + #define DUMPTAB_FILE "/tmp/bootpd.dump" +@@ -81,6 +81,9 @@ + do this, if your platform needs that route to work right, you'll need + to add the route manually before starting the daemon. */ + /* #define NOBROADCAST */ ++#ifdef __NetBSD__ ++#define NOBROADCAST ++#endif + + /* */ + /**********************************************************************/ |