From adbe09435abf291a163825a4b49582c200be83aa Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 7 Feb 2012 21:52:33 +0200 Subject: dhcp: Update to 4.2.3-P2 1. Update to 4.2.3-P2 2. From 4.2.0 final release, -lcrypto check was removed and we compile static libraries from bind that are linked to libcrypto. This is why i added a patch in order to add -lcrypto to LIBS. 3. Add openssl in DEPENDS as we need libcrypto from this package 4. Drop installing /var/lib/dhcp/ as it is handled in pkg_postinst (From OE-Core rev: 1cd882c47865a501d5401bad44e1c7f460ce2699) Signed-off-by: Andrei Gherzan Signed-off-by: Richard Purdie --- .../dhcp/dhcp-4.2.3-P2/noattrmode.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch (limited to 'meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch') diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch new file mode 100644 index 0000000000..5c635e8dcb --- /dev/null +++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch @@ -0,0 +1,21 @@ +Upstream-Status: Backport + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- dhcp-3.0.1/includes/dhcpd.h~compile ++++ dhcp-3.0.1/includes/dhcpd.h +@@ -306,9 +306,9 @@ + # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \ + UNICAST_BROADCAST_HACK) + +- binding_state_t __attribute__ ((mode (__byte__))) binding_state; +- binding_state_t __attribute__ ((mode (__byte__))) next_binding_state; +- binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state; ++ binding_state_t binding_state; ++ binding_state_t next_binding_state; ++ binding_state_t desired_binding_state; + + struct lease_state *state; + -- cgit v1.2.3-54-g00ecf