Hi there,

attached patch adds --enable-early-chroot. Seems like this option is required by ocf:heartbeat:dhcpd resource agent (precisely -user and -group options).

BTW, PLD's dhcpd-4.2.5 is little outdated (there are 4.2.7 current stable and 4.3.1 current), however PLD applies own patches, and i do not have enough time or knowledge to bump version quickly.

--
Bartek
diff --git a/dhcp.spec b/dhcp.spec
index 4e08da8..2f7a0d4 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without	ldap	# without support for ldap storage
 %bcond_without	static_libs	# don't build static library
+%bcond_with	enable_early_chroot # enable early chroot
 
 %define         ver     4.2.5
 %if 1
@@ -250,6 +251,7 @@ done
 CFLAGS="%{rpmcflags} -fPIC -D_GNU_SOURCE=1"
 %configure \
 	%{!?with_static_libs:--disable-static} \
+	%{?with_enable_early_chroot:--enable-early-chroot} \
 	--enable-dhcpv6 \
 	--with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
 	--with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to