summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2023-10-12 13:59:14 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-10-13 17:31:02 +0300
commit2013739591dc50e6d01836d0017e7e5a02225709 (patch)
tree0eb5e655fe53b8c868278f5d0eabfbe7fe5e9cc4 /meta-openembedded/meta-networking
parent2622a13632f0d61a0aa1e11a346b79ef4c08320c (diff)
downloadopenbmc-2013739591dc50e6d01836d0017e7e5a02225709.tar.xz
master: subtree updates oct 12 2023
poky: e444d2bed0..8d0ba08aa6: Alassane Yattara (1): bitbake: toaster: Monitoring - implement Django logging system Alexander Kanavin (1): nghttp2: update 1.56.0 -> 1.57.0 Alexis Lothoré (2): oeqa/utils/gitarchive: fix tag pattern searching oeqa/utils/gitarchive: ensure tag matches regex before getting its fields Andreas Cord-Landwehr (1): wayland: consider pkgconfig sysroot for pkgdatadir André Draszik (1): wic: fix a typo in help output Archana Polampalli (1): gstreamer: upgrade 1.22.5 -> 1.22.6 Bruce Ashfield (1): linux-yocto/6.5: integrate fixes for sanity issues Chris Laplante (1): recipetool/create_buildsys_python: use importlib instead of imp Daniel McGregor (2): meson: upgrade 1.2.1 -> 1.2.2 libtirpc: conditionally enable gssapi Daniel Semkowicz (3): uboot-extlinux-config.bbclass: Remove repeated space character uboot-extlinux-config.bbclass: Uppercase "menu title" entry uboot-extlinux-config.bbclass: Add menu title configuration Fabio Estevam (1): u-boot: Upgrade to 2023.10 Fahad Arslan (1): linux-firmware: create separate package for cirrus and cnm firmwares Jermain Horsman (1): scripts/oe-setup-layers: Update how to determine if directory is git repo Jose Quaresma (4): curl: 8.3.0 -> 8.4.0 go: update 1.20.7 -> 1.20.8 go: update 1.20.8 -> 1.20.9 go: update 1.20.9 -> 1.20.10 Joshua Watt (6): bitbake: hashserv: Add remove API bitbake: bitbake-hashclient: Add remove subcommand bitbake: hashserv: Extend get_outhash API to optionally include unihash bitbake: hashserv: Add API to clean unused entries bitbake: bitbake-hashclient: Add clean-unused subcommand overview: Add note about non-reproducibility side effects Julien Stephan (4): bitbake.conf: include bblock.conf sstatesig: add a new info level for SIGGEN_LOCKEDSIGS_TASKSIG_CHECK scripts/bblock: add a script to lock/unlock recipes oeqa/selftest/bblock: add self test for bblock tool Khem Raj (1): python3-docutils: Rename utilities to their canonical names Lee Chee Yang (1): migration-guides: add release notes for 4.0.13 Marcus Flyckt (1): devtool/upgrade: check all git config locations Markus Volk (2): mesa: Upgrade 23.1.8 -> 23.2.1 gtk: Upgrade 4.12.1 -> 4.12.3 Marlon Rodriguez Garcia (1): bitbake: toaster: update selenium version and code syntax Martijn de Gouw (1): busybox: Set PATH in syslog initscript Michael Opdenacker (1): ref-manual: releases.svg: Scarthgap is now version 5.0 Mikko Rapeli (2): qemurunner.py: detect login prompt without without utf-8 conversion openssh: drop sudo from ptest dependencies Peter Kjellerstedt (4): externalsrc.bbclass: Support specifying patterns in CONFIGURE_FILES autotools.bbclass: Add *.m4 to CONFIGURE_FILES packages.bbclass: Correct the check for conflicts with renamed packages cmake.bbclass: Add *.cmake to CONFIGURE_FILES Quentin Schulz (1): uboot-extlinux-config.bbclass: fix missed override syntax migration Randy MacLeod (1): strace: skip so_peerpidfd test Rasmus Villemoes (1): openssh: update sshd_check_keys script to make use of 'sshd -G' Richard Purdie (14): wic: Add console parameters to qemux86 canned-wks qemurunner: Skip conversion from/to binary data for logfile qemurunner: Use backslashreplace with utf8 to make invalid characters clear qemurunner: Log the second serial console as well as the first qemurunner: Show both the login console log and all logging upon failure oeqa/concurrencytest: Remove invalid buffering option bitbake: selftest/fetch: Ensure top level directory timestamp doesn't break test cryptodev: Update to latest git for 6.5 kernel fixes qemux86/qemuarm: Drop kernel version overrides oeqa/qemurunner: Add newlines serial workaround runqemu/qemurunner: Use nodelay with tcp serial connections oeqa/qemurunner: Add extra logging when console doesn't appear poky/poky-tiny: Switch to the 6.5 kernel oeqa/qemurunner: Ensure we retry after BrokenPipeError Ross Burton (12): python3-numpy: remove obsolete reproducible workaround libx11: upgrade to 1.8.7 libxpm: upgrade to 3.5.17 qemuboot: reduce default size of software I/O translation buffer sysvinit-initab: rewrite loop to generate inittab ttyrun: add new recipe sysvinit-inittab: use ttyrun to run getty only if the terminal exists busybox: use ttyrun to run getty only if the terminal exists oeqa/selftest: don't skip test_read_only_image on qemuarm64 meta/conf/machine: remove SERIAL_CONSOLES_CHECK busybox-inittab: fix console handling oeqa/runtime/_qemutiny: rewrite test to be functional Sundeep KOKKONDA (1): rust: reproducibility issue fix Trevor Gamblin (1): dev-manual: fix testimage usage instructions Yogita Urade (1): qemu: fix CVE-2023-42467 meta-openembedded: ea42cec2ec..62039a2c33: Ahmad Fatoum (1): signing.bbclass: don't export OPENSSL environment variables globally Beniamin Sandu (1): libnet: upgrade version v1.2 -> v1.3 Benjamin Bara (1): libvpx: upgrade 1.13.0 -> 1.13.1 Chen Qi (1): libblockdev: fix QA error in case of multilib Christophe Vu-Brugier (3): libnvme: upgrade 1.5 -> 1.6 nvme-cli: upgrade 2.5 -> 2.6 libnvme: apply patch already upstream to fix build with musl Clément Péron (1): Revert "protobuf: stage protoc binary to sysroot" Daniel Klauer (1): graphviz: Fix build to not use $prefix as search dir Denys Zagorui (1): libbpf: add arm, powerpc and mips64 to COMPATIBLE_HOST Fabien Thomas (8): meta-filesystems/layer.conf : Add meta-networking dependency Add static-passwd and static-group files Add static-passwd and static-group files Add static-passwd and static-group files Add static-passwd and static-group files Add static-passwd and static-group files Add static-passwd and static-group files Add static-passwd and static-group files Gianfranco Costamagna (6): dlt-daemon: Make it work without systemd dlt-daemon: Enable experimental coredumphandler feature dlt-daemon: update patch 544.patch dlt-daemon: do not disable dlt-system build when systemd is set to off dlt-daemon: Add an additional fix for non-systemd builds cpprestsdk: fix typo in comment, tag is actually 2.0.18 Jeffrey Pautler (1): bolt: change product name used for CVE checking Joe Slater (1): nginx: add configure option Johannes Kauffmann (1): open62541: add Backport status and link to patch Jörg Sommer (1): collectd: Use https in SRC_URI, add HOMEPAGE Khem Raj (16): python3-pyroute2: Add missing dependency on sqlite3 for ptests python3-pylint: Upgrade to 3.0.0 python3-lz4: use python3-unittest-automake-output minicoredumber: Fix ptest reporting images: Inherit from core-image-base images: Delete layer specific base images images: Rename <layer>-image to <layer>-image-all images: Rename ptest images to rhyme with oe-core ptest images ptest-image: Switch to using core-image-minimal stressapptest: Upgrade to 1.0.11 release klibc: Upgrade to 2.0.13 release libnvme: Fix test builds on musl kernel-selftest: Build bpf tests again ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images kernel-selftest: Copy the .config from kernel build kernel-selftest: Use clang options when clang is available Markus Volk (3): pugixml: Update 1.13 -> 1.14 pipewire: Upgrade 0.3.80 -> 0.3.81 gnome-control-center: Fix polkit gettext issue Martin Jansa (1): opencv: Fix build with protobuf v22 and dnn enabled Mickael RAMILISON (1): python3-rapidjson: add ptest Pawel Langowski (1): recipes-connectivity: Add tayga recipe Philip-Dylan Gleonec (1): cukinia: Fix license field Thomas Roos (1): python3-boto3, python3-botocore: remove recipes Tom Hochstein (1): libcamera: Avoid build break in signature recalculation meta-arm: 95789365f7..e914891eee: Jon Mason (1): arm-bsp/u-boot: add recipe for 2023.07.02 meta-security: aca6d4a9e7..3f7d40b0fc: Rasmus Villemoes (3): fail2ban: add systemd support fail2ban: change sqlite3 dependency to python3-sqlite3 fail2ban: add useful recommendations Change-Id: I93672642f4e0392adc6223fdc4e073910b817bc9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openembedded/meta-networking')
-rw-r--r--meta-openembedded/meta-networking/files/static-group-meta-networking14
-rw-r--r--meta-openembedded/meta-networking/files/static-passwd-meta-networking19
-rw-r--r--meta-openembedded/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch18
-rw-r--r--meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.conf103
-rw-r--r--meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.service12
-rw-r--r--meta-openembedded/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb21
-rw-r--r--meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-all.bb (renamed from meta-openembedded/meta-networking/recipes-core/images/meta-networking-image.bb)2
-rw-r--r--meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb7
-rw-r--r--meta-openembedded/meta-networking/recipes-protocols/opcua/open62541/0001-fix-build-do-not-install-git-files.patch2
9 files changed, 189 insertions, 9 deletions
diff --git a/meta-openembedded/meta-networking/files/static-group-meta-networking b/meta-openembedded/meta-networking/files/static-group-meta-networking
new file mode 100644
index 0000000000..0aada6c5ff
--- /dev/null
+++ b/meta-openembedded/meta-networking/files/static-group-meta-networking
@@ -0,0 +1,14 @@
+ftp:x:630:
+dovecot:x:631:
+dovenull:x:632:
+postfix:x:633:
+postdrop:x:634:
+vmail:x:635:
+rasvd:x:636:
+frr:x:637:
+frrvty:x:638:
+nogroup:x:639:
+ftp:x:640:
+rwhod:x:641:
+lldpd:x:642:
+opensaf:x:643: \ No newline at end of file
diff --git a/meta-openembedded/meta-networking/files/static-passwd-meta-networking b/meta-openembedded/meta-networking/files/static-passwd-meta-networking
new file mode 100644
index 0000000000..77c2b36f94
--- /dev/null
+++ b/meta-openembedded/meta-networking/files/static-passwd-meta-networking
@@ -0,0 +1,19 @@
+ftp:x:630:630::/:/bin/nologin
+dovecot:x:631:631::/:/bin/nologin
+dovenull:x:632:632::/:/bin/nologin
+postfix:x:633:633::/:/bin/nologin
+vmail:x:635:635::/:/bin/nologin
+radvd:x:636:636::/:/bin/nologin
+frr:x:637:637::/:/bin/nologin
+ftp:x:640:640::/:/bin/nologin
+rwhod:x:641:641::/:/bin/nologin
+lldpd:x:642:642::/:/bin/nologin
+opensaf:x:643:643::/:/bin/nologin
+tinyproxy:x:650:nogroup::/:/bin/nologin
+radiusd:x:651:nogroup::/:/bin/nologin
+nm-openconnect:x:652:nogroup::/:/bin/nologin
+ntp:x:653:nogroup::/:/bin/nologin
+nm-fortisslvpn:x:654:nogroup::/:/bin/nologin
+nm-openvpn:x:655:nogroup::/:/bin/nologin
+squid:x:656:nogroup::/:/bin/nologin
+mosquitto:x:657:nogroup::/:/bin/nologin \ No newline at end of file
diff --git a/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch
new file mode 100644
index 0000000000..0c6f1609af
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/0001-include-sys-uio.patch
@@ -0,0 +1,18 @@
+
+This patch addresses the following clang failure: tayga-0.9.2/nat64.c:119:6:
+error: call to undeclared function 'writev'; ISO C99 and later do not support
+implicit function declarations [-Wimplicit-function-declaration]
+
+Upstream-Status: Pending
+Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
+
+--- tayga.h 2023-09-29 14:38:05.005837695 +0200
++++ tayga-2.h 2023-09-29 14:37:45.560837257 +0200
+@@ -20,6 +20,7 @@
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <sys/uio.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
diff --git a/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.conf b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.conf
new file mode 100644
index 0000000000..c1b6163a45
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.conf
@@ -0,0 +1,103 @@
+#
+# Sample configuration file for TAYGA 0.9.2
+#
+# Modify this to use your own addresses!!
+#
+
+#
+# TUN device that TAYGA will use to exchange IPv4 and IPv6 packets with the
+# kernel. You may use any name you like, but `nat64' is recommended.
+#
+# This device may be created before starting the tayga daemon by running
+# `tayga --mktun`. This allows routing and firewall rules to be set up prior
+# to commencement of packet translation.
+#
+# Mandatory.
+#
+tun-device nat64
+
+#
+# TAYGA's IPv4 address. This is NOT your router's IPv4 address! TAYGA
+# requires its own address because it acts as an IPv4 and IPv6 router, and
+# needs to be able to send ICMP messages. TAYGA will also respond to ICMP
+# echo requests (ping) at this address.
+#
+# This address can safely be located inside the dynamic-pool prefix.
+#
+# Mandatory.
+#
+ipv4-addr 192.168.254.1
+
+#
+# TAYGA's IPv6 address. This is NOT your router's IPv6 address! TAYGA
+# requires its own address because it acts as an IPv4 and IPv6 router, and
+# needs to be able to send ICMP messages. TAYGA will also respond to ICMP
+# echo requests (ping6) at this address.
+#
+# You can leave ipv6-addr unspecified and TAYGA will construct its IPv6
+# address using ipv4-addr and the NAT64 prefix.
+#
+# Optional if the NAT64 prefix is specified, otherwise mandatory. It is also
+# mandatory if the NAT64 prefix is 64:ff9b::/96 and ipv4-addr is a private
+# (RFC1918) address.
+#
+#ipv6-addr 2001:db8:1::2
+ipv6-addr fdaa:bb:1::1
+
+#
+# The NAT64 prefix. The IPv4 address space is mapped into the IPv6 address
+# space by prepending this prefix to the IPv4 address. Using a /96 prefix is
+# recommended in most situations, but all lengths specified in RFC 6052 are
+# supported.
+#
+# This must be a prefix selected from your organization's IPv6 address space
+# or the Well-Known Prefix 64:ff9b::/96. Note that using the Well-Known
+# Prefix will prohibit IPv6 hosts from contacting IPv4 hosts that have private
+# (RFC1918) addresses, per RFC 6052.
+#
+# The NAT64 prefix need not be specified if all required address mappings are
+# listed in `map' directives. (See below.)
+#
+# Optional.
+#
+##prefix 2001:db8:1:ffff::/96
+prefix 64:ff9b::/96
+
+#
+# Dynamic pool prefix. IPv6 hosts which send traffic through TAYGA (and do
+# not correspond to a static map or an IPv4-translatable address in the NAT64
+# prefix) will be assigned an IPv4 address from the dynamic pool. Dynamic
+# maps are valid for 124 minutes after the last matching packet is seen.
+#
+# If no unassigned addresses remain in the dynamic pool (or no dynamic pool is
+# configured), packets from unknown IPv6 hosts will be rejected with an ICMP
+# unreachable error.
+#
+# Optional.
+#
+dynamic-pool 192.168.254.0/24
+
+#
+# Persistent data storage directory. The dynamic.map file, which saves the
+# dynamic maps that are created from dynamic-pool, is stored in this
+# directory. Omit if you do not need these maps to be persistent between
+# instances of TAYGA.
+#
+# Optional.
+#
+data-dir /var/spool/tayga
+
+#
+# Establishes a single-host map. If an IPv6 host should be consistently
+# reachable at a specific IPv4 address, the mapping can be specified in a
+# `map' directive. (IPv6 hosts numbered with an IPv4-translatable address do
+# not need map directives.)
+#
+# IPv4 addresses specified in the `map' directive can safely be located inside
+# the dynamic-pool prefix.
+#
+# Optional.
+#
+#map 192.168.5.42 2001:db8:1:4444::1
+#map 192.168.5.43 2001:db8:1:4444::2
+#map 192.168.255.2 2001:db8:1:569::143
diff --git a/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.service b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.service
new file mode 100644
index 0000000000..0bffeb92a5
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/tayga.service
@@ -0,0 +1,12 @@
+[Unit]
+SourcePath=/usr/sbin/tayga
+Description=LSB: userspace NAT64
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/tayga -d --config /etc/tayga.conf
+RemainAfterExit=yes
+TimeoutStopSec=infinity
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-openembedded/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb b/meta-openembedded/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb
new file mode 100644
index 0000000000..36d35e6dee
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb
@@ -0,0 +1,21 @@
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = " \
+ http://www.litech.org/tayga/tayga-${PV}.tar.bz2 \
+ file://tayga.conf \
+ file://tayga.service \
+ file://0001-include-sys-uio.patch;striplevel=0 \
+ "
+SRC_URI[sha256sum] = "2b1f7927a9d2dcff9095aff3c271924b052ccfd2faca9588b277431a44f0009c"
+
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE:${PN} = "tayga.service"
+
+do_install:append() {
+ install -m 0644 ${WORKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/tayga.service ${D}${systemd_unitdir}/system/
+}
+
+inherit autotools systemd
diff --git a/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image.bb b/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-all.bb
index f4c7401b35..20d3271c94 100644
--- a/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image.bb
+++ b/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-all.bb
@@ -1,3 +1,3 @@
-require meta-networking-image-base.bb
+require recipes-core/images/core-image-base.bb
IMAGE_INSTALL += "packagegroup-meta-networking"
diff --git a/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb b/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb
deleted file mode 100644
index eaf1409537..0000000000
--- a/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-SUMMARY = "meta-networking build test image"
-
-IMAGE_INSTALL = "packagegroup-core-boot"
-
-LICENSE = "MIT"
-
-inherit core-image
diff --git a/meta-openembedded/meta-networking/recipes-protocols/opcua/open62541/0001-fix-build-do-not-install-git-files.patch b/meta-openembedded/meta-networking/recipes-protocols/opcua/open62541/0001-fix-build-do-not-install-git-files.patch
index a84290218d..b93e311054 100644
--- a/meta-openembedded/meta-networking/recipes-protocols/opcua/open62541/0001-fix-build-do-not-install-git-files.patch
+++ b/meta-openembedded/meta-networking/recipes-protocols/opcua/open62541/0001-fix-build-do-not-install-git-files.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] fix(build): do not install git files
Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
---
-Upstream-Status: Pending
+Upstream-Status: Backport [https://github.com/open62541/open62541/commit/a0328d4cb527f9778a262fc4a6b42bfbdffc38e9]
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)