# dhcp/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. As of mid-2018, this distro had used "dhcpcd" for DNS for many years, possibly more than a decade, but had started to encounter an increasing number of build-time and run-time problems. Releases 6.7.1 and 7.0.6 proved to be the end of the line. They worked for IPV4, but couldn't be built with IPV6 support enabled. On 180709, this distro switched to ISC "dhclient". It seemed simpler in general to build and set up. #--------------------------------------------------------------------- 2. This package installs a daemon named "dhclient", but it doesn't in- stall a startup script for the daemon. "dhclient" startup is handled by a distro-specific script named "neton". #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 002.03 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] depends = none exepack = yes license = See "license*.txt" in installed tree licfile = LICENSE master = glibc tmpsize = 116M unpack = relaxed #--------------------------------------------------------------------- [configure] BINDIR=$PKGDIR_PROD/bin ETCDIR=$PKGDIR_PROD/etc VALDIR=/var/lib/dhclient mkdir -p $BINDIR $ETCDIR $VALDIR export CFLAGS="\ -D_PATH_DHCLIENT_SCRIPT='\"$ETCDIR/dhclient-script\"' \ -D_PATH_DHCPD_CONF='\"$ETCDIR/dhcpd.conf\"' \ -D_PATH_DHCLIENT_CONF='\"$ETCDIR/dhclient.conf\"'" ./configure \ --prefix=$PKGDIR_PROD \ --sysconfdir=$ETCDIR \ --localstatedir=/var \ --with-srv-lease-file=$VALDIR/dhcpd.leases \ --with-srv6-lease-file=$VALDIR/dhcpd6.leases \ --with-cli-lease-file=$VALDIR/dhclient.leases \ --with-cli6-lease-file=$VALDIR/dhclient6.leases #--------------------------------------------------------------------- [build] ETCDIR=$PKGDIR_PROD/etc make -j1 make -C client install install -v -m755 client/scripts/linux $ETCDIR/dhclient-script #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = ftp://ftp.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz #--------------------------------------------------------------------- [history] 180709 Added package. Started with 4.4.1. 181013 Modified to prevent changes to "/etc/resolv.conf" 210128 Updated to 4.4.2 210128 Patched to fix FTBFS related to "gcc" 10 210529 Updated to 4.4.2-P1 230421 Updated to 4.3.3-P1