blob: 8b30579e2ee52fc76f218099772078d327ae9794 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001require dhcp.inc
2
3SRC_URI += "file://0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch \
4 file://0002-dhclient-dbus.patch \
5 file://0003-link-with-lcrypto.patch \
6 file://0004-Fix-out-of-tree-builds.patch \
7 file://0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch \
8 file://0006-site.h-enable-gentle-shutdown.patch \
9 file://0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010 file://0009-remove-dhclient-script-bash-dependency.patch \
11 file://0010-build-shared-libs.patch \
12 file://0011-Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch \
13 file://0012-dhcp-correct-the-intention-for-xml2-lib-search.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040014 file://CVE-2017-3144.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 "
16
Brad Bishopc4ea0752018-11-15 14:30:15 -080017# use internal libisc libraries which are based on bind 9.9.11 - there
18# is a bug in bind 9.10.x (normally supplied by OE) that prevents
19# dhcpd/dhclient from shutting down cleanly on sigterm and from running
20# in the background
21#
22# [https://bugzilla.yoctoproject.org/show_bug.cgi?id=12744]
23#
24# remove "ext-bind" and
25# also set PARALLEL_MAKE = ""
26# [ Yocto 12744 ]
27#
28SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'ext-bind', 'file://0008-tweak-to-support-external-bind.patch', '', d)}"
29
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030SRC_URI[md5sum] = "afa6e9b3eb7539ea048421a82c668adc"
31SRC_URI[sha256sum] = "a41eaf6364f1377fe065d35671d9cf82bbbc8f21207819b2b9f33f652aec6f1b"
32
Brad Bishopc4ea0752018-11-15 14:30:15 -080033PACKAGECONFIG ?= "ext-bind"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050034PACKAGECONFIG[bind-httpstats] = "--with-libxml2,--without-libxml2,libxml2"
Brad Bishopc4ea0752018-11-15 14:30:15 -080035PACKAGECONFIG[ext-bind] = "--with-libbind=${STAGING_LIBDIR}, --without-libbind, bind"