meta-openembedded: subtree update:fe77eaab8f..629696b64b

Alex Kiernan (4):
      zstd: Upgrade 1.4.4 -> 1.4.5
      libxmlb: Add recipe
      libjcat: Add recipe
      gcab: Add recipe

Andreas Müller (14):
      libdvdcss: upgrade 1.3.0 -> 1.4.2
      vlc: upgrade 3.0.10 -> 3.0.11
      netdata: upgrade 1.17.0 -> 1.22.1
      libsass: upgrade 3.6.3 -> 3.6.4 / rename recipe
      gnome-desktop3: upgrade 3.36.2 -> 3.36.3.1
      evince: upgrade 3.36.3 -> 3.36.5
      gnome-control-center: upgrade 3.36.2 -> 3.36.3
      redis: upgrade 5.0.9 -> 6.0.4
      squid: upgrade 4.9 -> 4.12
      libgit2: upgrade 1.0.0 -> 1.0.1
      openh264: upgrade 2.1.0 -> 2.1.1
      tcpreplay: upgrade 4.3.2 -> 4.3.3
      asio: upgrade 1.12.2 -> 1.16.1
      Revert "packagegroup-xfce-base: add RDEPEND packagegroup-core-x11"

Anuj Mittal (2):
      opencl: move headers and loader recipe to common directory
      opencl-clhpp: add recipe

Armin Kuster (9):
      python3-configobj: Add package
      python3-croniter: add package
      python3-flask-versioned: Add package
      python3-huey: Add package
      python3-sqlsoup: add package
      python3-smpplib: add package
      python3-pyrad: add package
      libuv: pkg now in core, remove
      ntp: update 4.2.8p15

Christian Eggers (1):
      linuxptp: Fix segmentation fault on 32 bit platforms with 64 bit time_t

Konrad Weihmann (1):
      libtalloc: fix upstream url

Leon Anavi (82):
      python3-packaging: Consolidate in a single file
      python3-packaging: Upgrade 20.3 -> 20.4
      python3-parse-type: Consolidate in a single file
      python3-parse-type: Upgrade 0.4.2 -> 0.5.2
      python3-javaobj-py3: Consolidate in a single file
      python3-jsonpointer: Consolidate in a single file
      python3-kconfiglib: Consolidate in a single file
      python3-twisted: Consolidate in a single file
      python3-twisted: Upgrade 19.10.0 -> 20.3.0
      protobuf: Upgrade 3.11.4 -> 3.12.3
      xscreensaver: Upgrade 5.39 -> 5.44
      python3-iso8601: Consolidate in a single file
      python3-isodate: Consolidate in a single file
      python3-incremental: Consolidate in a single file
      python3-itsdangerous: Consolidate in a single file
      python3-importlib-metadata: Consolidate in a single file
      python3-importlib-metadata: Upgrade 1.5.2 -> 1.6.1
      python3-can: Upgrade 3.3.2 -> 3.3.3
      python3-psutil: Consolidate in a single file
      python3-protobuf: Consolidate in a single file
      python3-protobuf: Upgrade 3.11.3 -> 3.12.2
      python-kconfiglib.inc: Remove
      sip3: Consolidate in a single file
      sip3: Upgrade 4.19.19 -> 4.19.23
      python3-pexpect: Consolidate in a single file
      python3-periphery: Consolidate in a single file
      python3-periphery: Upgrade 2.0.1 -> 2.1.0
      python3-pocketsphinx: Inherit features_check
      python3-parse: Consolidate in a single file
      python3-passlib: Consolidate in a single file
      python3-pathlib2: Consolidate in a single file
      python3-pretend: Consolidate in a single file
      python3-prompt-toolkit: Consolidate in a single file
      python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
      python3-ptyprocess: Consolidate in a single file
      python3-booleanpy: Upgrade 3.7 to 3.8
      python3-toml: Upgrade 0.10.0 -> 0.10.1
      python3-msgpack: Upgrade 0.6.2 -> 1.0.0
      lirc: Add python3 to the run-time dependencies
      python3-sqlalchemy: Upgrade 1.3.12 -> 1.3.17
      python3-sh: Upgrade 1.12.14 -> 1.13.1
      python3-certifi: Upgrade 2019.11.28 -> 2020.6.20
      python3-setuptools-scm: Upgrade 3.5.0 -> 4.1.2
      python3-more-itertools: Upgrade 8.3.0 -> 8.4.0
      python3-configparser: Upgrade 4.0.2 -> 5.0.0
      python3-pytest-timeout: Upgrade 1.3.4 -> 1.4.1
      python3-semver: Upgrade 2.8.1 -> 2.10.2
      python3-spidev: Upgrade 3.4 -> 3.5
      python3-pint: Upgrade 0.12 -> 0.13
      python3-xxhash: Upgrade 1.4.3 -> 1.4.4
      python3-networkx: Consolidate in a single file
      python3-netifaces: Consolidate in a single file
      python3-netaddr: Consolidate in a single file
      python3-netaddr: Upgrade 0.7.19 -> 0.7.20
      python3-ndg-httpsclient: Consolidate in a single file
      python3-lazy-object-proxy: Consolidate in a single file
      python3-lazy-object-proxy: Upgrade 1.4.3 -> 1.5.0
      python3-license-expression: Consolidate in a single file
      python3-license-expression: Upgrade 1.0 -> 1.2
      python3-wcwidth: Upgrade 0.2.4 -> 0.2.5
      python3-ordered-set: Upgrade 3.1.1 -> 4.0.2
      python3-cheetah: Upgrade 3.2.4 -> 3.2.5
      python3-cmd2: Upgrade 0.9.23 -> 1.1.0
      python3-pyrsistent: Upgrade 0.15.7 -> 0.16.0
      python3-requests-file: Upgrade 1.4.3 -> 1.5.1
      python3-msk: Upgrade 0.3.13 -> 0.3.15
      python3-pyperf: Upgrade 1.7.1 -> 2.0.0
      python3-padatious: Upgrade 0.4.7 -> 0.4.8
      python3-croniter: Upgrade 0.3.33 -> 0.3.34
      python3-lrparsing: Consolidate in a single file
      python3-pytun: Consolidate in a single file
      python3-jsonpatch: Upgrade 1.25 -> 1.26
      python3-socketio: Upgrade 4.5.1 -> 4.6.0
      python3-twine: Upgrade 3.1.1 -> 3.2.0
      python3-pyexpect: Upgrade 1.0.19 -> 1.0.20
      python3-pyjks: Upgrade 19.0.0 -> 20.0.0
      python3-ruamel-yaml: Upgrade 0.16.5 0> 0.16.10
      python3-pandas: Upgrade 1.0.3 -> 1.0.5
      python3-matplotlib: Upgrade 3.2.1 -> 3.2.2
      python3-coverage: Upgrade 5.0.2 -> 5.1
      python3-coloredlogs: Upgrade 10.0 -> 14.0
      python3-astroid: Upgrade 2.3.3 -> 2.4.2

Liwei Song (1):
      pm-graph: add flags support for RT kernel

Madhavan Krishnan (1):
      libcamera: Bumped to latest source revision

Martin Jansa (1):
      ace: fix installation paths when usrmerge is used

Mingli Yu (1):
      opencv: make ts module external

Ovidiu Panait (1):
      freediameter: upgrade 1.3.2 -> 1.4.0

Paul Eggleton (1):
      protobuf-c: disable parallelism to avoid race condition

Peace Lee (1):
      Update commit for version 3.9.7

Pierre-Jean Texier (3):
      rsnapshot: upgrade 1.4.2 -> 1.4.3
      libzip: upgrade 1.7.0 -> 1.7.1
      fuse3: upgrade 3.9.1 -> 3.9.2

Ryan Rowe (3):
      python3-typeguard: Upgrade 2.7.1 -> 2.9.1
      add python3-dynamic-dispatch
      add python3-argexec

Sakib Sajal (1):
      python3-requests-toolbelt: add recipe for v0.9.1

Trevor Gamblin (1):
      python3-django: upgrade 2.2.7 -> 2.2.13

Wang Mingyu (4):
      openipmi: upgrade 2.0.28 -> 2.0.29
      twm: upgrade 1.0.10 -> 1.0.11
      python3-wtforms: upgrade 2.2.1 -> 2.3.1
      python3-py: upgrade 1.8.1 -> 1.8.2

Zang Ruochen (6):
      python3-geojson: Enable ptest
      python3-intervals: Enable ptest
      python3-ipy: Enable ptest
      python3-iso3166: Enable ptest
      python-html2text: Enable ptest
      python3-gunicorn: Enable ptest

Zheng Ruoqin (3):
      python3-cachetools: Enable ptest
      python3-dnspython: Enable ptest
      python3-dominate: Enable ptest

lumag (1):
      lmsensors: do not depend on lmsensors-isatools on non-x86

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I66b8b206b1f74dab49ef7c266e145127ba27869b
diff --git a/meta-openembedded/meta-networking/recipes-daemons/squid/squid_4.12.bb b/meta-openembedded/meta-networking/recipes-daemons/squid/squid_4.12.bb
new file mode 100644
index 0000000..6e49790
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-daemons/squid/squid_4.12.bb
@@ -0,0 +1,117 @@
+SUMMARY = "A fully-featured http proxy and web-cache daemon for Linux"
+DESCRIPTION = "A fully-featured http proxy and web-cache daemon for Linux. \
+Squid offers a rich access control, authorization and logging environment to \
+develop web proxy and content serving applications. \
+Squid offers a rich set of traffic optimization options, most of which are \
+enabled by default for simpler installation and high performance. \
+"
+HOMEPAGE = "http://www.squid-cache.org"
+SECTION = "web"
+LICENSE = "GPLv2+"
+
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}"
+MIN_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+
+SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.bz2 \
+           file://Set-up-for-cross-compilation.patch \
+           file://Skip-AC_RUN_IFELSE-tests.patch \
+           file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
+           file://squid-use-serial-tests-config-needed-by-ptest.patch \
+           file://run-ptest \
+           file://volatiles.03_squid \
+           file://set_sysroot_patch.patch \
+           file://squid-don-t-do-squid-conf-tests-at-build-time.patch \
+           file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch \
+           file://0001-tools.cc-fixed-unused-result-warning.patch \
+           file://0001-splay.cc-fix-bind-is-not-a-member-of-std.patch \
+           "
+
+SRC_URI_remove_toolchain-clang = "file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch"
+
+SRC_URI[md5sum] = "5d058f7f8f1db9fa4ce3db910a008b0e"
+SRC_URI[sha256sum] = "eae0ad993921e472ce36cce34674c47a224fc2868b65ef0c4b41b2f5f18378a0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://errors/COPYRIGHT;md5=4c3268f394af77fbbf541875cef96a6c \
+                    "
+DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+
+inherit autotools pkgconfig useradd ptest perlnative
+
+LDFLAGS_append_mipsarch = " -latomic"
+LDFLAGS_append_powerpc = " -latomic"
+LDFLAGS_append_riscv64 = " -latomic"
+LDFLAGS_append_riscv32 = " -latomic"
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
+                  "
+PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+PACKAGECONFIG[werror] = "--enable-strict-error-checking,--disable-strict-error-checking,"
+PACKAGECONFIG[esi] = "--enable-esi,--disable-esi,expat libxml2"
+PACKAGECONFIG[ssl] = "--with-openssl=yes,--with-openssl=no,openssl"
+
+BASIC_AUTH = "DB SASL LDAP"
+
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+BASIC_AUTH += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'PAM', '', d)}"
+
+EXTRA_OECONF += "--with-default-user=squid --enable-auth-basic='${BASIC_AUTH}' \
+                 --sysconfdir=${sysconfdir}/${BPN} \
+                 --with-logdir=${localstatedir}/log/${BPN} \
+                 'PERL=${USRBINPATH}/env perl'"
+
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+
+TESTDIR = "test-suite"
+
+do_configure_prepend() {
+    export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
+}
+
+do_compile_ptest() {
+    oe_runmake -C ${TESTDIR} buildtest-TESTS
+}
+
+do_install_ptest() {
+    cp -rf ${B}/${TESTDIR} ${D}${PTEST_PATH}
+    cp -rf ${S}/${TESTDIR} ${D}${PTEST_PATH}
+
+    # do NOT need to rebuild Makefile itself
+    sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile
+
+    # Add squid-conf-tests for runtime tests
+    sed -e 's/^\(runtest-TESTS:\)/\1 squid-conf-tests/' \
+        -e "s/\(list=' \$(TESTS)\)/\1 squid-conf-tests/" \
+        -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
+
+    # Ensure the path for command true is correct
+    sed -i 's:^TRUE = .*$:TRUE = /bin/true:' ${D}${PTEST_PATH}/${TESTDIR}/Makefile
+}
+
+do_install_append() {
+    if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
+        install -d ${D}${sysconfdir}/tmpfiles.d
+        echo "d ${localstatedir}/run/${BPN} 0755 squid squid -" >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
+        echo "d ${localstatedir}/log/${BPN} 0750 squid squid -" >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
+    fi
+
+    install -d ${D}${sysconfdir}/default/volatiles
+    install -m 0644 ${WORKDIR}/volatiles.03_squid ${D}${sysconfdir}/default/volatiles/03_squid
+
+    rmdir "${D}${localstatedir}/run/${BPN}"
+    rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/run"
+
+    rmdir "${D}${localstatedir}/log/${BPN}"
+    rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/log"
+}
+
+FILES_${PN} += "${libdir} ${datadir}/errors ${datadir}/icons"
+FILES_${PN}-dbg += "/usr/src/debug"
+FILES_${PN}-doc += "${datadir}/*.txt"
+
+RDEPENDS_${PN} += "perl"
+RDEPENDS_${PN}-ptest += "make"