diff options
| author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:50 +0100 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-05-05 11:41:28 -0400 |
| commit | 275b6c30fbe4f2e6d8c607e9f2eedd5c230c0802 (patch) | |
| tree | 4fd20a242b848ec8497066801b86706de3defdce /meta-networking/recipes-support | |
| parent | 7a9c626092c7d3b10206c7ca4ea2827cca9cba4f (diff) | |
| download | meta-openembedded-275b6c30fbe4f2e6d8c607e9f2eedd5c230c0802.tar.gz | |
meta-networking: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support')
12 files changed, 23 insertions, 23 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index cc7f9e3be0..793c106aa6 100644 --- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc | |||
| @@ -26,10 +26,10 @@ PACKAGECONFIG[conntrack] = ",,libnetfilter-conntrack" | |||
| 26 | PACKAGECONFIG[lua] = ",,lua" | 26 | PACKAGECONFIG[lua] = ",,lua" |
| 27 | PACKAGECONFIG[resolvconf] = ",,,resolvconf" | 27 | PACKAGECONFIG[resolvconf] = ",,,resolvconf" |
| 28 | EXTRA_OEMAKE = "\ | 28 | EXTRA_OEMAKE = "\ |
| 29 | 'COPTS=${@base_contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \ | 29 | 'COPTS=${@bb.utils.contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \ |
| 30 | ${@base_contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \ | 30 | ${@bb.utils.contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \ |
| 31 | ${@base_contains('PACKAGECONFIG', 'conntrack', '-DHAVE_CONNTRACK', '', d)} \ | 31 | ${@bb.utils.contains('PACKAGECONFIG', 'conntrack', '-DHAVE_CONNTRACK', '', d)} \ |
| 32 | ${@base_contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', d)}' \ | 32 | ${@bb.utils.contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', d)}' \ |
| 33 | 'CFLAGS=${CFLAGS}' \ | 33 | 'CFLAGS=${CFLAGS}' \ |
| 34 | 'LDFLAGS=${LDFLAGS}' \ | 34 | 'LDFLAGS=${LDFLAGS}' \ |
| 35 | " | 35 | " |
| @@ -53,7 +53,7 @@ do_install () { | |||
| 53 | 53 | ||
| 54 | install -d ${D}${systemd_unitdir}/system | 54 | install -d ${D}${systemd_unitdir}/system |
| 55 | 55 | ||
| 56 | if [ "${@base_contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then | 56 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then |
| 57 | install -m 0644 ${WORKDIR}/dnsmasq-resolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service | 57 | install -m 0644 ${WORKDIR}/dnsmasq-resolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service |
| 58 | else | 58 | else |
| 59 | install -m 0644 ${WORKDIR}/dnsmasq-noresolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service | 59 | install -m 0644 ${WORKDIR}/dnsmasq-noresolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service |
| @@ -61,11 +61,11 @@ do_install () { | |||
| 61 | 61 | ||
| 62 | install -m 0755 ${S}/contrib/wrt/dhcp_release ${D}${bindir} | 62 | install -m 0755 ${S}/contrib/wrt/dhcp_release ${D}${bindir} |
| 63 | 63 | ||
| 64 | if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then | 64 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then |
| 65 | install -d ${D}${sysconfdir}/dbus-1/system.d | 65 | install -d ${D}${sysconfdir}/dbus-1/system.d |
| 66 | install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ | 66 | install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ |
| 67 | fi | 67 | fi |
| 68 | if [ "${@base_contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then | 68 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then |
| 69 | install -d ${D}${sysconfdir}/resolvconf/update.d/ | 69 | install -d ${D}${sysconfdir}/resolvconf/update.d/ |
| 70 | install -m 0755 ${WORKDIR}/dnsmasq.resolvconf ${D}${sysconfdir}/resolvconf/update.d/dnsmasq | 70 | install -m 0755 ${WORKDIR}/dnsmasq.resolvconf ${D}${sysconfdir}/resolvconf/update.d/dnsmasq |
| 71 | 71 | ||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.21.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.21.bb index d7a7cc5e69..c1980effd5 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.2.21.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.21.bb | |||
| @@ -17,8 +17,8 @@ DEPENDS = "openssl xz zlib bzip2 libcap icu" | |||
| 17 | inherit autotools pkgconfig systemd useradd | 17 | inherit autotools pkgconfig systemd useradd |
| 18 | 18 | ||
| 19 | PACKAGECONFIG ??= " \ | 19 | PACKAGECONFIG ??= " \ |
| 20 | ${@base_contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ |
| 21 | ${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," | 24 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," |
diff --git a/meta-networking/recipes-support/fping/fping_3.5.bb b/meta-networking/recipes-support/fping/fping_3.5.bb index b6b17b70ce..2f5f2b6c64 100644 --- a/meta-networking/recipes-support/fping/fping_3.5.bb +++ b/meta-networking/recipes-support/fping/fping_3.5.bb | |||
| @@ -21,5 +21,5 @@ inherit autotools | |||
| 21 | 21 | ||
| 22 | EXTRA_OECONF = "--enable-ipv4" | 22 | EXTRA_OECONF = "--enable-ipv4" |
| 23 | 23 | ||
| 24 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | 24 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" |
| 25 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 25 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb index d9f1212735..446697447b 100644 --- a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb | |||
| @@ -61,7 +61,7 @@ EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \ | |||
| 61 | --enable-dpd \ | 61 | --enable-dpd \ |
| 62 | --enable-natt=yes \ | 62 | --enable-natt=yes \ |
| 63 | --sysconfdir=${sysconfdir}/racoon \ | 63 | --sysconfdir=${sysconfdir}/racoon \ |
| 64 | ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6=yes', '', d)}" | 64 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6=yes', '', d)}" |
| 65 | 65 | ||
| 66 | # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527 | 66 | # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527 |
| 67 | CFLAGS += "-fno-strict-aliasing" | 67 | CFLAGS += "-fno-strict-aliasing" |
diff --git a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb index d3e6a5dda8..f69e71ce14 100644 --- a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb +++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb | |||
| @@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae | |||
| 21 | #| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.0/ld: error: symbol sctp_connectx has undefined version | 21 | #| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.0/ld: error: symbol sctp_connectx has undefined version |
| 22 | #| collect2: error: ld returned 1 exit status | 22 | #| collect2: error: ld returned 1 exit status |
| 23 | #| make[4]: *** [libsctp.la] Error 1 | 23 | #| make[4]: *** [libsctp.la] Error 1 |
| 24 | PNBLACKLIST[lksctp-tools] ?= "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to link against sctp_connectx symbol", '', d)}" | 24 | PNBLACKLIST[lksctp-tools] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to link against sctp_connectx symbol", '', d)}" |
| 25 | 25 | ||
| 26 | S = "${WORKDIR}/${BP}" | 26 | S = "${WORKDIR}/${BP}" |
| 27 | 27 | ||
diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb index 26c738b2cc..1bc6baef0d 100644 --- a/meta-networking/recipes-support/netcf/netcf_git.bb +++ b/meta-networking/recipes-support/netcf/netcf_git.bb | |||
| @@ -24,7 +24,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", | |||
| 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," | 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," |
| 25 | 25 | ||
| 26 | do_install_append() { | 26 | do_install_append() { |
| 27 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 27 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 28 | install -d ${D}${systemd_unitdir}/system | 28 | install -d ${D}${systemd_unitdir}/system |
| 29 | if [ -d "${D}${libdir}/systemd/system" ]; then | 29 | if [ -d "${D}${libdir}/systemd/system" ]; then |
| 30 | mv ${D}${libdir}/systemd/system/* ${D}${systemd_unitdir}/system/ | 30 | mv ${D}${libdir}/systemd/system/* ${D}${systemd_unitdir}/system/ |
diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb index 760bab0f30..650fdaeedb 100644 --- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb +++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb | |||
| @@ -24,7 +24,7 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE" | |||
| 24 | 24 | ||
| 25 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files | 25 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files |
| 26 | # larger than 2GB | 26 | # larger than 2GB |
| 27 | CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \ | 27 | CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \ |
| 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" | 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG ??= "" | 30 | PACKAGECONFIG ??= "" |
| @@ -60,7 +60,7 @@ do_install() { | |||
| 60 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf | 60 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" | 63 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" |
| 64 | 64 | ||
| 65 | INITSCRIPT_NAME="netperf" | 65 | INITSCRIPT_NAME="netperf" |
| 66 | INITSCRIPT_PARAMS="defaults" | 66 | INITSCRIPT_PARAMS="defaults" |
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb index d113b82e89..9fc6406b73 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb | |||
| @@ -19,7 +19,7 @@ This is the final IPv4-only version of ypbind-mt. \ | |||
| 19 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | 19 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" |
| 20 | DEPENDS = " \ | 20 | DEPENDS = " \ |
| 21 | yp-tools \ | 21 | yp-tools \ |
| 22 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
| 23 | " | 23 | " |
| 24 | RDEPENDS_${PN} += "yp-tools" | 24 | RDEPENDS_${PN} += "yp-tools" |
| 25 | 25 | ||
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb index cee5880f7a..82544e7590 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb | |||
| @@ -15,7 +15,7 @@ of known secure NIS server (/etc/yp.conf) Binds to \ | |||
| 15 | the server which answered as first. \ | 15 | the server which answered as first. \ |
| 16 | " | 16 | " |
| 17 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | 17 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" |
| 18 | DEPENDS = "yp-tools ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 18 | DEPENDS = "yp-tools ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
| 19 | PROVIDES += "ypbind" | 19 | PROVIDES += "ypbind" |
| 20 | 20 | ||
| 21 | PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools" | 21 | PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools" |
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.8.bb b/meta-networking/recipes-support/openvpn/openvpn_2.3.8.bb index f0109069cb..de2348e8ea 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.3.8.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.8.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "http://openvpn.sourceforge.net" | |||
| 3 | SECTION = "net" | 3 | SECTION = "net" |
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" |
| 6 | DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 6 | DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| 7 | 7 | ||
| 8 | inherit autotools systemd | 8 | inherit autotools systemd |
| 9 | 9 | ||
| @@ -22,7 +22,7 @@ CFLAGS += "-fno-inline" | |||
| 22 | 22 | ||
| 23 | # I want openvpn to be able to read password from file (hrw) | 23 | # I want openvpn to be able to read password from file (hrw) |
| 24 | EXTRA_OECONF += "--enable-password-save --enable-iproute2" | 24 | EXTRA_OECONF += "--enable-password-save --enable-iproute2" |
| 25 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" | 25 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" |
| 26 | 26 | ||
| 27 | # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. | 27 | # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. |
| 28 | EXTRA_OECONF += "IPROUTE=/sbin/ip" | 28 | EXTRA_OECONF += "IPROUTE=/sbin/ip" |
| @@ -38,7 +38,7 @@ do_install_append() { | |||
| 38 | install -dm 755 ${D}${sysconfdir}/openvpn/sample/sample-keys | 38 | install -dm 755 ${D}${sysconfdir}/openvpn/sample/sample-keys |
| 39 | install -m 644 ${S}/sample/sample-keys/* ${D}${sysconfdir}/openvpn/sample/sample-keys | 39 | install -m 644 ${S}/sample/sample-keys/* ${D}${sysconfdir}/openvpn/sample/sample-keys |
| 40 | 40 | ||
| 41 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 41 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 42 | install -d ${D}/${systemd_unitdir}/system | 42 | install -d ${D}/${systemd_unitdir}/system |
| 43 | install -m 644 ${WORKDIR}/openvpn@.service ${D}/${systemd_unitdir}/system | 43 | install -m 644 ${WORKDIR}/openvpn@.service ${D}/${systemd_unitdir}/system |
| 44 | install -m 644 ${WORKDIR}/openvpn@.service ${D}/${systemd_unitdir}/system/openvpn@loopback-server.service | 44 | install -m 644 ${WORKDIR}/openvpn@.service ${D}/${systemd_unitdir}/system/openvpn@loopback-server.service |
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.3.2.bb b/meta-networking/recipes-support/strongswan/strongswan_5.3.2.bb index 7ec1a8ee17..9dc4878c67 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.3.2.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.3.2.bb | |||
| @@ -20,11 +20,11 @@ EXTRA_OECONF = " \ | |||
| 20 | --without-lib-prefix \ | 20 | --without-lib-prefix \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 23 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | PACKAGECONFIG ??= "charon curl gmp openssl stroke sqlite3 \ | 26 | PACKAGECONFIG ??= "charon curl gmp openssl stroke sqlite3 \ |
| 27 | ${@base_contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ |
| 28 | " | 28 | " |
| 29 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni," | 29 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni," |
| 30 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," | 30 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," |
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.28.bb b/meta-networking/recipes-support/stunnel/stunnel_5.28.bb index 0a8bcd8bc2..61be932fa7 100644 --- a/meta-networking/recipes-support/stunnel/stunnel_5.28.bb +++ b/meta-networking/recipes-support/stunnel/stunnel_5.28.bb | |||
| @@ -16,5 +16,5 @@ inherit autotools | |||
| 16 | 16 | ||
| 17 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" | 17 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" |
| 18 | 18 | ||
| 19 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','',d)}" | 19 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" |
| 20 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | 20 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" |
