Skip to content

MODIFIED build for FreeBSD-11.0-Current without GNU autotools, configure or GNU make

License

Notifications You must be signed in to change notification settings

waitman/dhcp-4.3.2-mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is ISC dhcp-4.3.2 modified by Waitman Gobble <ns@waitman.net>

It was modified to build on FreeBSD 11.0-Current using clang and BSD make.
(Without dependency on GNU autotools and GNU make.)


Note: edit includes/config.h and includes/site.h to customize for your system.
In particular, _PATH_DHCPD_DB
Edit the toplevel Makefile to set the install PREFIX.
edit client/Makefile, CLIENT_PATH='"PATH=/usr/cust/sbin:/sbin:/bin:/usr/sbin:/usr/bin"' 

This builds on amd64 machines, might work on i386 machines (not tested).
To build on arm devices see notes below.

to build:
# make

to clean:
# make clean

to install:
# make install

Note: make install will strip binaries, if you need debug symbols use the binaries
built in client/dhclient and server/dhcpd

to deinstall:
# make deinstall


BUILDING ON ARM

to build:
# make -f Makefile.arm
 
to clean:
# make -f Makefile.arm clean
 
to install:
# make -f Makefile.arm install 

to deinstall:
# make -f Makefile.arm deinstall





Installed programs:

$(PREFIX)/sbin/dhcpd
$(PREFIX)/sbin/dhclient
$(PREFIX)/bin/dhcrelay
$(PREFIX)/bin/omshell

Examples:

$(PREFIX)/share/examples/dhcpd/dhclient.conf.example
$(PREFIX)/share/examples/dhcpd/dhclient-start-script
$(PREFIX)/share/examples/dhcpd/dhcpd.conf.example

Manual Pages:

$(PREFIX)/man/man5/dhcpd.conf.5.gz
$(PREFIX)/man/man8/dhcpd.8.gz
$(PREFIX)/man/man5/dhcpd.leases.5.gz
$(PREFIX)/man/man5/dhcp-eval.5.gz
$(PREFIX)/man/man5/dhcp-options.5.gz
$(PREFIX)/man/man8/dhclient-script.8.gz
$(PREFIX)/man/man5/dhclient.leases.5.gz
$(PREFIX)/man/man5/dhclient.conf.5.gz
$(PREFIX)/man/man8/dhcrelay.8.gz


This version does not install the API, libraries or headers, however they are built in the source directory. 
See omapip, includes, and other directory paths for more information.


READ LICENSE, README.ISC, and RELNOTES




About

MODIFIED build for FreeBSD-11.0-Current without GNU autotools, configure or GNU make

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published