ports/115967: enable chrooted dhcpd on the FreeBSD 7.x
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Fri Aug 31 14:30:08 UTC 2007
The following reply was made to PR ports/115967; it has been noted by GNATS.
From: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/115967: enable chrooted dhcpd on the FreeBSD 7.x
Date: Fri, 31 Aug 2007 18:24:54 +0400
Patch was not recognised as the patch by the Web interface, so
I am quoting it properly.
--- isc-dhcpd.in.patch begins here ---
--- files/isc-dhcpd.in.orig 2007-08-31 16:57:04.000000000 +0400
+++ files/isc-dhcpd.in 2007-08-31 16:58:15.000000000 +0400
@@ -354,12 +354,15 @@
err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \
"are mutually exclusive. enable only one!"
fi
+ # mount_devfs disappeared in FreeBSD 7.
+ if test `uname -r | cut -c 1` -le 6; then
if checkyesno dhcpd_devfs_enable &&
! ( type mount_devfs ) > /dev/null 2>&1; then
warn "dhcpd_devfs_enable disabled" \
"-- not available"
dhcpd_devfs_enable=NO
fi
+ fi
if checkyesno dhcpd_makedev_enable &&
! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then
warn "dhcpd_makedev_enable disabled" \
--- isc-dhcpd.in.patch ends here ---
--
Eygene
More information about the freebsd-ports-bugs
mailing list