diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-24 17:06:54 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-05 13:34:12 -0400 |
commit | 020db7d8c46f2fddc96fc2e651bb188d605ef914 (patch) | |
tree | f698889edb54c2fe770c2b11c6816ca2ba8073df /meta-networking/recipes-daemons | |
parent | 23b7656cc8028bf3b2854f7127cceea125ba3c54 (diff) | |
download | meta-openembedded-020db7d8c46f2fddc96fc2e651bb188d605ef914.tar.gz |
squid: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
Signed-off-by: Jackie Huang <jackie.huang@windriver.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-daemons')
-rw-r--r-- | meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb index 5595bdff7..760eca8c1 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb | |||
@@ -37,9 +37,11 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she | |||
37 | 37 | ||
38 | PACKAGECONFIG ??= "${@bb.utils.contains('TARGET_ARCH', 'powerpc', 'noatomics', '', d)} \ | 38 | PACKAGECONFIG ??= "${@bb.utils.contains('TARGET_ARCH', 'powerpc', 'noatomics', '', d)} \ |
39 | ${@bb.utils.contains('TARGET_ARCH', 'mips', 'noatomics', '', d)} \ | 39 | ${@bb.utils.contains('TARGET_ARCH', 'mips', 'noatomics', '', d)} \ |
40 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
40 | " | 41 | " |
41 | PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack" | 42 | PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack" |
42 | PACKAGECONFIG[noatomics] = "squid_cv_gnu_atomics=no,squid_cv_gnu_atomics=yes,," | 43 | PACKAGECONFIG[noatomics] = "squid_cv_gnu_atomics=no,squid_cv_gnu_atomics=yes,," |
44 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
43 | 45 | ||
44 | BASIC_AUTH = "DB SASL LDAP NIS" | 46 | BASIC_AUTH = "DB SASL LDAP NIS" |
45 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 47 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |