Installing dhcpcd
Initial installation. Change the version as required.
cd /tmp tar xvjpf /path/to/dhcpcd-5.1.4.tar.bz2 cd dhcpcd-5.1.4 ./configure make install
RPM build tips
To build dhcpcd as a rpm package, here is a src.rpm sample : dhcpcd-5.1.4-1.src.rpm
To directly generate the rpm binary files for your architecture :
rpmbuild --rebuild dhcpcd-5.1.4-1.src.rpm
You can adapt it to you needs by:
1. Intalling it :
rpm -ivh dhcpcd-5.1.4-1.src.rpm
2. Customize the spec file
vim %_topdir/SPECS/dhcpcd.spec
3. Rebuild the spec file
rpmbuild -ba %_topdir/SPECS/dhcpcd.spec
%_topdir is usualy /usr/src/redhat on RHEL or $HOME/rpmbuild on Fedora
Platform specific issues
BSD platforms generally do not allow userland applications to change, add or delete subnet (or connected) interface routes. This is a significant problem for dhcpcd-5, as it will manipulate them. Fortunately, the required kernel patch is quite simple and should be able to be ported to your BSD platform.
Initial discussion of the issue.
Patch for sys/netinet/in.c
Here is a list of the BSD platforms which have been patched to allow the manipulation of these routes:
- NetBSD-5.0_RC1
