Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | require dhcp.inc |
| 2 | |
| 3 | SRC_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 Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | 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 Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | file://CVE-2017-3144.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | " |
| 16 | |
Brad Bishop | c4ea075 | 2018-11-15 14:30:15 -0800 | [diff] [blame] | 17 | # 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 | # |
| 28 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'ext-bind', 'file://0008-tweak-to-support-external-bind.patch', '', d)}" |
| 29 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 30 | SRC_URI[md5sum] = "afa6e9b3eb7539ea048421a82c668adc" |
| 31 | SRC_URI[sha256sum] = "a41eaf6364f1377fe065d35671d9cf82bbbc8f21207819b2b9f33f652aec6f1b" |
| 32 | |
Brad Bishop | c4ea075 | 2018-11-15 14:30:15 -0800 | [diff] [blame] | 33 | PACKAGECONFIG ?= "ext-bind" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[bind-httpstats] = "--with-libxml2,--without-libxml2,libxml2" |
Brad Bishop | c4ea075 | 2018-11-15 14:30:15 -0800 | [diff] [blame] | 35 | PACKAGECONFIG[ext-bind] = "--with-libbind=${STAGING_LIBDIR}, --without-libbind, bind" |