[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ports/115967: enable chrooted net/isc-dhcp3-server on the FreeBSD 7.x
- To: bug-followup_(_at_)_freebsd_(_dot_)_org
- Subject: Re: ports/115967: enable chrooted net/isc-dhcp3-server on the FreeBSD 7.x
- From: Eygene Ryabinkin <rea-fbsd_(_at_)_codelabs_(_dot_)_ru>
- Date: Mon, 24 Sep 2007 09:06:23 +0400
- Cc: freebsd-ports-bugs_(_at_)_FreeBSD_(_dot_)_org, Sergey Matveychuk <sem_(_at_)_FreeBSD_(_dot_)_org>, Joerg Pulz <Joerg_(_dot_)_Pulz_(_at_)_frm2_(_dot_)_tum_(_dot_)_de>, edwin_(_at_)_FreeBSD_(_dot_)_org
Tue, Sep 18, 2007 at 10:42:20AM +0200, Joerg Pulz wrote:
> Would you please submit the refined version of the patch as follow-up to the
> original PR, i will then approve it ASAP.
Trying to submit the patch as the follow-up. Doing it for the first
time in my life, so there can be errors ;))
--- isc-dhcpd.in.patch begins here ---
--- isc-dhcpd.in.orig 2007-09-18 09:53:53.000000000 +0400
+++ isc-dhcpd.in 2007-09-18 09:54:41.000000000 +0400
@@ -354,11 +354,14 @@
err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \
"are mutually exclusive. enable only one!"
fi
- if checkyesno dhcpd_devfs_enable &&
- ! ( type mount_devfs ) > /dev/null 2>&1; then
- warn "dhcpd_devfs_enable disabled" \
- "-- not available"
- dhcpd_devfs_enable=NO
+ 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
--- isc-dhcpd.in.patch ends here ---
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org