diff options
47 files changed, 352 insertions, 1441 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb index 88fe9cf39c..e4be41f5f3 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb | |||
| @@ -19,6 +19,11 @@ PE = "1" | |||
| 19 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" | 19 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" |
| 20 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" | 20 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" |
| 21 | 21 | ||
| 22 | # libcamera has logic to detect libc++ in sysroot with clang and uses it if it exists | ||
| 23 | # however this does not work well, when llvm runtime is not used systemd wide. Because dependencies | ||
| 24 | # e.g. libpisp demand libstdc++ and mix and match does not work well | ||
| 25 | BASE_DEFAULT_DEPS:remove = "${@bb.utils.contains("TC_CXX_RUNTIME", "gnu", "compiler-rt libcxx", "", d)}" | ||
| 26 | |||
| 22 | PACKAGES =+ "${PN}-gst ${PN}-pycamera" | 27 | PACKAGES =+ "${PN}-gst ${PN}-pycamera" |
| 23 | 28 | ||
| 24 | PACKAGECONFIG ??= "" | 29 | PACKAGECONFIG ??= "" |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-build-with-gcc-15.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-build-with-gcc-15.patch index 038615538d..af33d5444c 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-build-with-gcc-15.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0001-Fix-build-with-gcc-15.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 4f7a50fa0b9ecc177a54e84eca3c98207cb623ac Mon Sep 17 00:00:00 2001 | 1 | From c84f185f29d0839b97177aecb0a78b9717947973 Mon Sep 17 00:00:00 2001 |
| 2 | From: Nguyen Dat Tho <tho3.nguyen@lge.com> | 2 | From: Nguyen Dat Tho <tho3.nguyen@lge.com> |
| 3 | Date: Wed, 9 Apr 2025 13:05:24 +0900 | 3 | Date: Wed, 9 Apr 2025 13:05:24 +0900 |
| 4 | Subject: [PATCH] Fix build with gcc-15 | 4 | Subject: [PATCH] Fix build with gcc-15 |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-Use-secure_getenv-on-Linux.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-Use-secure_getenv-on-Linux.patch deleted file mode 100644 index 2b75f29088..0000000000 --- a/meta-networking/recipes-protocols/mdns/mdns/0001-Use-secure_getenv-on-Linux.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From 3d4d517fe8924696584e84b953ab22f496b371be Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | ||
| 3 | Date: Tue, 27 May 2025 13:33:30 +0100 | ||
| 4 | Subject: [PATCH] Use secure_getenv on Linux | ||
| 5 | |||
| 6 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] | ||
| 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | ||
| 8 | --- | ||
| 9 | mDNSShared/dnssd_clientstub.c | 4 ++++ | ||
| 10 | 1 file changed, 4 insertions(+) | ||
| 11 | |||
| 12 | diff --git a/mDNSShared/dnssd_clientstub.c b/mDNSShared/dnssd_clientstub.c | ||
| 13 | index 6667276ee33a..e7b51813664e 100644 | ||
| 14 | --- a/mDNSShared/dnssd_clientstub.c | ||
| 15 | +++ b/mDNSShared/dnssd_clientstub.c | ||
| 16 | @@ -801,10 +801,14 @@ static DNSServiceErrorType ConnectToServer(DNSServiceRef *ref, DNSServiceFlags f | ||
| 17 | #endif | ||
| 18 | #ifndef USE_TCP_LOOPBACK | ||
| 19 | char* uds_serverpath = NULL; | ||
| 20 | +#ifdef TARGET_OS_LINUX | ||
| 21 | + uds_serverpath = secure_getenv(MDNS_UDS_SERVERPATH_ENVVAR); | ||
| 22 | +#else | ||
| 23 | if (!issetugid()) | ||
| 24 | { | ||
| 25 | uds_serverpath = getenv(MDNS_UDS_SERVERPATH_ENVVAR); | ||
| 26 | } | ||
| 27 | +#endif | ||
| 28 | if (uds_serverpath == NULL) | ||
| 29 | uds_serverpath = MDNS_UDS_SERVERPATH; | ||
| 30 | else if (strlen(uds_serverpath) >= MAX_CTLPATH) | ||
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0001-dns-sd-Include-missing-headers.patch b/meta-networking/recipes-protocols/mdns/mdns/0001-dns-sd-Include-missing-headers.patch index 94b2ce8ab2..5464e3febe 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0001-dns-sd-Include-missing-headers.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0001-dns-sd-Include-missing-headers.patch | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | From 2e18dbd9c8ff3e48270fde2ba46b44e94ebdb439 Mon Sep 17 00:00:00 2001 | 1 | From cdbc28c668dd627906f833f9a8e32ac53b0b0139 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 4 Nov 2021 07:31:32 -0700 | 3 | Date: Thu, 4 Nov 2021 07:31:32 -0700 |
| 4 | Subject: [PATCH] dns-sd: Include missing headers | 4 | Subject: [PATCH] dns-sd: Include missing headers |
| 5 | 5 | ||
| 6 | Fixes build on Musl | 6 | Fixes build on Musl |
| 7 | 7 | ||
| 8 | Upstream-Status: Pending | 8 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- | 10 | --- |
| 11 | mDNSPosix/nss_mdns.c | 3 +++ | 11 | mDNSPosix/nss_mdns.c | 3 +++ |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0002-make-Set-libdns_sd.so-soname-correctly.patch b/meta-networking/recipes-protocols/mdns/mdns/0002-make-Set-libdns_sd.so-soname-correctly.patch index 48f18f1f03..f547c64d93 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0002-make-Set-libdns_sd.so-soname-correctly.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0002-make-Set-libdns_sd.so-soname-correctly.patch | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | From aedffca94035f7a16303fb4f90cba19c0df1ca2e Mon Sep 17 00:00:00 2001 | 1 | From dcc1f39a0918cdebf53ac7c105b3d33df960ed14 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Mon, 5 Dec 2022 15:14:12 +0000 | 3 | Date: Mon, 5 Dec 2022 15:14:12 +0000 |
| 4 | Subject: [PATCH] make: Set libdns_sd.so soname correctly | 4 | Subject: [PATCH] make: Set libdns_sd.so soname correctly |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] |
| 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 8 | --- | 8 | --- |
| 9 | mDNSPosix/Makefile | 2 +- | 9 | mDNSPosix/Makefile | 2 +- |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0004-make-Separate-TLS-targets-from-libraries.patch b/meta-networking/recipes-protocols/mdns/mdns/0004-make-Separate-TLS-targets-from-libraries.patch index b07720b35e..2969b5e244 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0004-make-Separate-TLS-targets-from-libraries.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0004-make-Separate-TLS-targets-from-libraries.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 74f0969c4f092d92c4fc6440c27707c2a5cbfe97 Mon Sep 17 00:00:00 2001 | 1 | From f7ee12c1f8e85b9d2fe4023b6539c8051dc710c3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Mon, 5 Dec 2022 15:14:26 +0000 | 3 | Date: Mon, 5 Dec 2022 15:14:26 +0000 |
| 4 | Subject: [PATCH] make: Separate TLS targets from libraries | 4 | Subject: [PATCH] make: Separate TLS targets from libraries |
| @@ -6,7 +6,7 @@ Subject: [PATCH] make: Separate TLS targets from libraries | |||
| 6 | There are dependencies on TLSOBJS, which fails when `-lmbedtls` is | 6 | There are dependencies on TLSOBJS, which fails when `-lmbedtls` is |
| 7 | listed as a dependency, so separate it out. | 7 | listed as a dependency, so separate it out. |
| 8 | 8 | ||
| 9 | Upstream-Status: Pending | 9 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] |
| 10 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | 10 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 11 | --- | 11 | --- |
| 12 | mDNSPosix/Makefile | 14 ++++++++------ | 12 | mDNSPosix/Makefile | 14 ++++++++------ |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0005-mDNSCore-Fix-broken-debug-parameter.patch b/meta-networking/recipes-protocols/mdns/mdns/0005-mDNSCore-Fix-broken-debug-parameter.patch index 42d0e51c54..0c1a9f373f 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0005-mDNSCore-Fix-broken-debug-parameter.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0005-mDNSCore-Fix-broken-debug-parameter.patch | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | From 224884989226b9d7980c0f09d895c3e0dc48c47a Mon Sep 17 00:00:00 2001 | 1 | From e79f75487e32f87677519ec40c021b1623395bde Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Mon, 5 Dec 2022 22:49:49 +0000 | 3 | Date: Mon, 5 Dec 2022 22:49:49 +0000 |
| 4 | Subject: [PATCH] mDNSCore: Fix broken debug parameter | 4 | Subject: [PATCH] mDNSCore: Fix broken debug parameter |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] |
| 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 8 | --- | 8 | --- |
| 9 | mDNSCore/mDNS.c | 2 +- | 9 | mDNSCore/mDNS.c | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | 11 | ||
| 12 | diff --git a/mDNSCore/mDNS.c b/mDNSCore/mDNS.c | 12 | Index: mDNSResponder/mDNSCore/mDNS.c |
| 13 | index 2a6f9d5b28f3..2bdd78e351d9 100644 | 13 | =================================================================== |
| 14 | --- a/mDNSCore/mDNS.c | 14 | --- mDNSResponder.orig/mDNSCore/mDNS.c |
| 15 | +++ b/mDNSCore/mDNS.c | 15 | +++ mDNSResponder/mDNSCore/mDNS.c |
| 16 | @@ -11046,7 +11046,7 @@ mDNSlocal void mDNSCoreReceiveNoUnicastAnswers(mDNS *const m, const DNSMessage * | 16 | @@ -9481,7 +9481,7 @@ mDNSlocal void mDNSCoreReceiveNoUnicastA |
| 17 | #else | 17 | { |
| 18 | CacheRecord *negcr; | ||
| 18 | const DNSServRef dnsserv = qptr->qDNSServer; | 19 | const DNSServRef dnsserv = qptr->qDNSServer; |
| 19 | #endif | ||
| 20 | - debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName, DNSTypeName(q.qtype)); | 20 | - debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName, DNSTypeName(q.qtype)); |
| 21 | + debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName->c, DNSTypeName(q.qtype)); | 21 | + debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName->c, DNSTypeName(q.qtype)); |
| 22 | // Create a negative record for the current name in the CNAME chain. | 22 | // Create a negative record for the current name in the CNAME chain. |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0006-make-Add-top-level-Makefile.patch b/meta-networking/recipes-protocols/mdns/mdns/0006-make-Add-top-level-Makefile.patch index 01afa6fea5..5f8f428302 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/0006-make-Add-top-level-Makefile.patch +++ b/meta-networking/recipes-protocols/mdns/mdns/0006-make-Add-top-level-Makefile.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 41819656682c8ab68d1181a5ee39634df7630de3 Mon Sep 17 00:00:00 2001 | 1 | From a1c982808ebfb71ba7e0f16040013b7127a6e2ab Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Tue, 6 Dec 2022 13:28:31 +0000 | 3 | Date: Tue, 6 Dec 2022 13:28:31 +0000 |
| 4 | Subject: [PATCH] make: Add top-level Makefile | 4 | Subject: [PATCH] make: Add top-level Makefile |
| @@ -8,19 +8,15 @@ Simple top level Makefile that just delegates to mDNSPosix. | |||
| 8 | Upstream-Status: Inappropriate [oe-specific] | 8 | Upstream-Status: Inappropriate [oe-specific] |
| 9 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | 9 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 10 | --- | 10 | --- |
| 11 | Makefile | 6 ++++++ | 11 | Makefile | 2 ++ |
| 12 | 1 file changed, 6 insertions(+) | 12 | 1 file changed, 2 insertions(+) |
| 13 | create mode 100644 Makefile | 13 | create mode 100644 Makefile |
| 14 | 14 | ||
| 15 | diff --git a/Makefile b/Makefile | 15 | diff --git a/Makefile b/Makefile |
| 16 | new file mode 100644 | 16 | new file mode 100644 |
| 17 | index 000000000000..2fe39ad8938a | 17 | index 000000000000..feb6ac67ef47 |
| 18 | --- /dev/null | 18 | --- /dev/null |
| 19 | +++ b/Makefile | 19 | +++ b/Makefile |
| 20 | @@ -0,0 +1,6 @@ | 20 | @@ -0,0 +1,2 @@ |
| 21 | +# We install a stub Makefile in the top directory so that the various checks | ||
| 22 | +# in base.bbclass pass their tests for a Makefile, this ensures (that amongst | ||
| 23 | +# other things) the sstate checks will clean the build directory when the | ||
| 24 | +# task hashes changes. | ||
| 25 | +all clean: | 21 | +all clean: |
| 26 | + cd mDNSPosix && $(MAKE) $@ | 22 | + cd mDNSPosix && $(MAKE) $@ |
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch b/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch deleted file mode 100644 index ebebeb27f0..0000000000 --- a/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From 43b82963a79250b19c94e15d0a86b04a5cffc0e1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Beniamin Sandu <beniaminsandu@gmail.com> | ||
| 3 | Date: Thu, 15 Jun 2023 17:02:58 +0000 | ||
| 4 | Subject: [PATCH] remove unneeded headers | ||
| 5 | |||
| 6 | From a quick look, these seem to not be needed and having them | ||
| 7 | breaks the build with mbedtls 3.x. Without them it builds fine | ||
| 8 | on both 2.x and 3.x versions. | ||
| 9 | |||
| 10 | Upstream-Status: Inactive-Upstream [Upstream does not take patches] | ||
| 11 | Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> | ||
| 12 | --- | ||
| 13 | mDNSPosix/mbedtls.c | 2 -- | ||
| 14 | 1 file changed, 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/mDNSPosix/mbedtls.c b/mDNSPosix/mbedtls.c | ||
| 17 | index a73681b6d528..ab8f8c772c00 100644 | ||
| 18 | --- a/mDNSPosix/mbedtls.c | ||
| 19 | +++ b/mDNSPosix/mbedtls.c | ||
| 20 | @@ -38,10 +38,8 @@ | ||
| 21 | #include <mbedtls/sha256.h> | ||
| 22 | #include <mbedtls/base64.h> | ||
| 23 | |||
| 24 | -#include <mbedtls/certs.h> | ||
| 25 | #include <mbedtls/x509.h> | ||
| 26 | #include <mbedtls/ssl.h> | ||
| 27 | -#include <mbedtls/config.h> | ||
| 28 | |||
| 29 | // Posix TLS server context | ||
| 30 | struct TLSContext_struct { | ||
diff --git a/meta-networking/recipes-protocols/mdns/mdns/mdns.service b/meta-networking/recipes-protocols/mdns/mdns/mdns.service index 531d142dcd..86869d4792 100644 --- a/meta-networking/recipes-protocols/mdns/mdns/mdns.service +++ b/meta-networking/recipes-protocols/mdns/mdns/mdns.service | |||
| @@ -3,11 +3,8 @@ Description=Zero-configuration networking | |||
| 3 | After=network.target | 3 | After=network.target |
| 4 | 4 | ||
| 5 | [Service] | 5 | [Service] |
| 6 | Type=forking | 6 | Type=exec |
| 7 | ExecStartPre=/bin/rm -f /var/run/mdnsd.pid | 7 | ExecStart=/usr/sbin/mdnsd -foreground |
| 8 | ExecStart=/usr/sbin/mdnsd | ||
| 9 | ExecReload=/bin/kill -HUP $MAINPID | ||
| 10 | PIDFile=/var/run/mdnsd.pid | ||
| 11 | Restart=always | 8 | Restart=always |
| 12 | RestartSec=10s | 9 | RestartSec=10s |
| 13 | 10 | ||
diff --git a/meta-networking/recipes-protocols/mdns/mdns_2600.140.3.bb b/meta-networking/recipes-protocols/mdns/mdns_2881.0.25.bb index d7f2335747..d44eb72f67 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_2600.140.3.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_2881.0.25.bb | |||
| @@ -12,13 +12,11 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https | |||
| 12 | file://0004-make-Separate-TLS-targets-from-libraries.patch \ | 12 | file://0004-make-Separate-TLS-targets-from-libraries.patch \ |
| 13 | file://0005-mDNSCore-Fix-broken-debug-parameter.patch \ | 13 | file://0005-mDNSCore-Fix-broken-debug-parameter.patch \ |
| 14 | file://0006-make-Add-top-level-Makefile.patch \ | 14 | file://0006-make-Add-top-level-Makefile.patch \ |
| 15 | file://0009-remove-unneeded-headers.patch \ | ||
| 16 | file://0001-Fix-build-with-gcc-15.patch \ | 15 | file://0001-Fix-build-with-gcc-15.patch \ |
| 17 | file://0001-Use-secure_getenv-on-Linux.patch \ | ||
| 18 | file://mdns.service \ | 16 | file://mdns.service \ |
| 19 | " | 17 | " |
| 20 | BRANCH = "rel/mDNSResponder-2600" | 18 | BRANCH = "main" |
| 21 | SRCREV = "62914d23f299cf336a8647fb3a1b5b78647b3b41" | 19 | SRCREV = "d4658af3f5f291311c6aee4210aa6d39bda82bbe" |
| 22 | 20 | ||
| 23 | inherit github-releases manpages systemd update-rc.d | 21 | inherit github-releases manpages systemd update-rc.d |
| 24 | 22 | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/bacnet.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/bacnet.json deleted file mode 100644 index e36a2165d1..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/bacnet.json +++ /dev/null | |||
| @@ -1,58 +0,0 @@ | |||
| 1 | { | ||
| 2 | "general": { | ||
| 3 | "objectName": "TB_gateway", | ||
| 4 | "address": "192.168.188.181:1052", | ||
| 5 | "objectIdentifier": 599, | ||
| 6 | "maxApduLengthAccepted": 1024, | ||
| 7 | "segmentationSupported": "segmentedBoth", | ||
| 8 | "vendorIdentifier": 15 | ||
| 9 | }, | ||
| 10 | "devices": [ | ||
| 11 | { | ||
| 12 | "deviceName": "BACnet Device ${objectName}", | ||
| 13 | "deviceType": "default", | ||
| 14 | "address": "192.168.188.181:10520", | ||
| 15 | "pollPeriod": 10000, | ||
| 16 | "attributes": [ | ||
| 17 | { | ||
| 18 | "key": "temperature", | ||
| 19 | "type": "string", | ||
| 20 | "objectId": "analogOutput:1", | ||
| 21 | "propertyId": "presentValue" | ||
| 22 | } | ||
| 23 | ], | ||
| 24 | "timeseries": [ | ||
| 25 | { | ||
| 26 | "key": "state", | ||
| 27 | "type": "bool", | ||
| 28 | "objectId": "binaryValue:1", | ||
| 29 | "propertyId": "presentValue" | ||
| 30 | } | ||
| 31 | ], | ||
| 32 | "attributeUpdates": [ | ||
| 33 | { | ||
| 34 | "key": "brightness", | ||
| 35 | "requestType": "writeProperty", | ||
| 36 | "objectId": "analogOutput:1", | ||
| 37 | "propertyId": "presentValue" | ||
| 38 | } | ||
| 39 | ], | ||
| 40 | "serverSideRpc": [ | ||
| 41 | { | ||
| 42 | "method": "set_state", | ||
| 43 | "requestType": "writeProperty", | ||
| 44 | "requestTimeout": 10000, | ||
| 45 | "objectId": "binaryOutput:1", | ||
| 46 | "propertyId": "presentValue" | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "method": "get_state", | ||
| 50 | "requestType": "readProperty", | ||
| 51 | "requestTimeout": 10000, | ||
| 52 | "objectId": "binaryOutput:1", | ||
| 53 | "propertyId": "presentValue" | ||
| 54 | } | ||
| 55 | ] | ||
| 56 | } | ||
| 57 | ] | ||
| 58 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/ble.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/ble.json deleted file mode 100755 index 2a5da3f41d..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/ble.json +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | { | ||
| 2 | "name": "BLE Connector", | ||
| 3 | "rescanIntervalSeconds": 100, | ||
| 4 | "checkIntervalSeconds": 100, | ||
| 5 | "scanTimeSeconds": 5, | ||
| 6 | "passiveScanMode": true, | ||
| 7 | "devices": [ | ||
| 8 | { | ||
| 9 | "name": "Temperature and humidity sensor", | ||
| 10 | "MACAddress": "4C:65:A8:DF:85:C0", | ||
| 11 | "addrType": "public", | ||
| 12 | "telemetry": [ | ||
| 13 | { | ||
| 14 | "key": "temperature", | ||
| 15 | "method": "notify", | ||
| 16 | "characteristicUUID": "226CAA55-6476-4566-7562-66734470666D", | ||
| 17 | "byteFrom": 2, | ||
| 18 | "byteTo": 6 | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | "key": "humidity", | ||
| 22 | "method": "notify", | ||
| 23 | "characteristicUUID": "226CAA55-6476-4566-7562-66734470666D", | ||
| 24 | "byteFrom": 9, | ||
| 25 | "byteTo": 13 | ||
| 26 | } | ||
| 27 | ], | ||
| 28 | "attributes": [ | ||
| 29 | { | ||
| 30 | "key": "name", | ||
| 31 | "characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB", | ||
| 32 | "method": "read", | ||
| 33 | "byteFrom": 0, | ||
| 34 | "byteTo": -1 | ||
| 35 | } | ||
| 36 | ], | ||
| 37 | "attributeUpdates": [ | ||
| 38 | { | ||
| 39 | "attributeOnThingsBoard": "sharedName", | ||
| 40 | "characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB" | ||
| 41 | } | ||
| 42 | ], | ||
| 43 | "serverSideRpc": [ | ||
| 44 | { | ||
| 45 | "methodRPC": "rpcMethod1", | ||
| 46 | "withResponse": true, | ||
| 47 | "characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB", | ||
| 48 | "methodProcessing": "read" | ||
| 49 | } | ||
| 50 | ] | ||
| 51 | } | ||
| 52 | ] | ||
| 53 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/can.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/can.json deleted file mode 100644 index b5cec0045a..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/can.json +++ /dev/null | |||
| @@ -1,89 +0,0 @@ | |||
| 1 | { | ||
| 2 | "interface": "socketcan", | ||
| 3 | "channel": "vcan0", | ||
| 4 | "backend": { | ||
| 5 | "fd": true | ||
| 6 | }, | ||
| 7 | "reconnectPeriod": 5, | ||
| 8 | "devices": [ | ||
| 9 | { | ||
| 10 | "name": "Car", | ||
| 11 | "sendDataOnlyOnChange": false, | ||
| 12 | "enableUnknownRpc": true, | ||
| 13 | "strictEval": false, | ||
| 14 | "attributes": [ | ||
| 15 | { | ||
| 16 | "key": "isDriverDoorOpened", | ||
| 17 | "nodeId": 41, | ||
| 18 | "command": "2:2:big:8717", | ||
| 19 | "value": "4:1:int", | ||
| 20 | "expression": "bool(value & 0b00000100)", | ||
| 21 | "polling": { | ||
| 22 | "type": "once", | ||
| 23 | "dataInHex": "AB CD AB CD" | ||
| 24 | } | ||
| 25 | } | ||
| 26 | ], | ||
| 27 | "timeseries": [ | ||
| 28 | { | ||
| 29 | "key": "rpm", | ||
| 30 | "nodeId": 1918, | ||
| 31 | "isExtendedId": true, | ||
| 32 | "command": "2:2:big:48059", | ||
| 33 | "value": "4:2:big:int", | ||
| 34 | "expression": "value / 4", | ||
| 35 | "polling": { | ||
| 36 | "type": "always", | ||
| 37 | "period": 5, | ||
| 38 | "dataInHex": "aaaa bbbb aaaa bbbb" | ||
| 39 | } | ||
| 40 | }, | ||
| 41 | { | ||
| 42 | "key": "milliage", | ||
| 43 | "nodeId": 1918, | ||
| 44 | "isExtendedId": true, | ||
| 45 | "value": "4:2:little:int", | ||
| 46 | "expression": "value * 10", | ||
| 47 | "polling": { | ||
| 48 | "type": "always", | ||
| 49 | "period": 30, | ||
| 50 | "dataInHex": "aa bb cc dd ee ff aa bb" | ||
| 51 | } | ||
| 52 | } | ||
| 53 | ], | ||
| 54 | "attributeUpdates": [ | ||
| 55 | { | ||
| 56 | "attributeOnThingsBoard": "softwareVersion", | ||
| 57 | "nodeId": 64, | ||
| 58 | "isExtendedId": true, | ||
| 59 | "dataLength": 4, | ||
| 60 | "dataExpression": "value + 5", | ||
| 61 | "dataByteorder": "little" | ||
| 62 | } | ||
| 63 | ], | ||
| 64 | "serverSideRpc": [ | ||
| 65 | { | ||
| 66 | "method": "sendSameData", | ||
| 67 | "nodeId": 4, | ||
| 68 | "isExtendedId": true, | ||
| 69 | "isFd": true, | ||
| 70 | "bitrateSwitch": true, | ||
| 71 | "dataInHex": "aa bb cc dd ee ff aa bb aa bb cc d ee ff" | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | "method": "setLightLevel", | ||
| 75 | "nodeId": 5, | ||
| 76 | "dataLength": 2, | ||
| 77 | "dataByteorder": "little", | ||
| 78 | "dataBefore": "00AA" | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "method": "setSpeed", | ||
| 82 | "nodeId": 16, | ||
| 83 | "dataAfter": "0102", | ||
| 84 | "dataExpression": "userSpeed if maxAllowedSpeed > userSpeed else maxAllowedSpeed" | ||
| 85 | } | ||
| 86 | ] | ||
| 87 | } | ||
| 88 | ] | ||
| 89 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/custom_serial.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/custom_serial.json deleted file mode 100755 index 0aee5cb765..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/custom_serial.json +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | { | ||
| 2 | "name": "Custom serial connector", | ||
| 3 | "devices": [ | ||
| 4 | { | ||
| 5 | "name": "CustomSerialDevice1", | ||
| 6 | "type": "default", | ||
| 7 | "port": "/dev/ttyUSB0", | ||
| 8 | "baudrate": 9600, | ||
| 9 | "converter": "CustomSerialUplinkConverter", | ||
| 10 | "telemetry": [ | ||
| 11 | { | ||
| 12 | "type": "byte", | ||
| 13 | "key": "humidity", | ||
| 14 | "untilDelimiter": "\r" | ||
| 15 | } | ||
| 16 | ], | ||
| 17 | "attributes":[ | ||
| 18 | { | ||
| 19 | "key": "SerialNumber", | ||
| 20 | "type": "string", | ||
| 21 | "fromByte": 4, | ||
| 22 | "toByte": -1 | ||
| 23 | } | ||
| 24 | ], | ||
| 25 | "attributeUpdates": [ | ||
| 26 | { | ||
| 27 | "attributeOnThingsBoard": "attr1", | ||
| 28 | "stringToDevice": "value = ${attr1}\n" | ||
| 29 | } | ||
| 30 | ] | ||
| 31 | } | ||
| 32 | ] | ||
| 33 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/logs.conf b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/logs.conf deleted file mode 100755 index d66c2b84a8..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/logs.conf +++ /dev/null | |||
| @@ -1,77 +0,0 @@ | |||
| 1 | [loggers] | ||
| 2 | keys=root, service, connector, converter, tb_connection, storage, extension | ||
| 3 | [handlers] | ||
| 4 | keys=consoleHandler, serviceHandler, connectorHandler, converterHandler, tb_connectionHandler, storageHandler, extensionHandler | ||
| 5 | [formatters] | ||
| 6 | keys=LogFormatter | ||
| 7 | [logger_root] | ||
| 8 | level=ERROR | ||
| 9 | handlers=consoleHandler | ||
| 10 | [logger_connector] | ||
| 11 | level=INFO | ||
| 12 | handlers=connectorHandler | ||
| 13 | formatter=LogFormatter | ||
| 14 | qualname=connector | ||
| 15 | [logger_storage] | ||
| 16 | level=INFO | ||
| 17 | handlers=storageHandler | ||
| 18 | formatter=LogFormatter | ||
| 19 | qualname=storage | ||
| 20 | [logger_tb_connection] | ||
| 21 | level=INFO | ||
| 22 | handlers=tb_connectionHandler | ||
| 23 | formatter=LogFormatter | ||
| 24 | qualname=tb_connection | ||
| 25 | [logger_service] | ||
| 26 | level=INFO | ||
| 27 | handlers=serviceHandler | ||
| 28 | formatter=LogFormatter | ||
| 29 | qualname=service | ||
| 30 | [logger_converter] | ||
| 31 | level=INFO | ||
| 32 | handlers=converterHandler | ||
| 33 | formatter=LogFormatter | ||
| 34 | qualname=converter | ||
| 35 | [logger_extension] | ||
| 36 | level=INFO | ||
| 37 | handlers=connectorHandler | ||
| 38 | formatter=LogFormatter | ||
| 39 | qualname=extension | ||
| 40 | [handler_consoleHandler] | ||
| 41 | class=StreamHandler | ||
| 42 | level=INFO | ||
| 43 | formatter=LogFormatter | ||
| 44 | args=(sys.stdout,) | ||
| 45 | [handler_connectorHandler] | ||
| 46 | level=INFO | ||
| 47 | class=logging.handlers.TimedRotatingFileHandler | ||
| 48 | formatter=LogFormatter | ||
| 49 | args=("./logs/connector.log", "d", 1, 7,) | ||
| 50 | [handler_storageHandler] | ||
| 51 | level=INFO | ||
| 52 | class=logging.handlers.TimedRotatingFileHandler | ||
| 53 | formatter=LogFormatter | ||
| 54 | args=("./logs/storage.log", "d", 1, 7,) | ||
| 55 | [handler_serviceHandler] | ||
| 56 | level=INFO | ||
| 57 | class=logging.handlers.TimedRotatingFileHandler | ||
| 58 | formatter=LogFormatter | ||
| 59 | args=("./logs/service.log", "d", 1, 7,) | ||
| 60 | [handler_converterHandler] | ||
| 61 | level=INFO | ||
| 62 | class=logging.handlers.TimedRotatingFileHandler | ||
| 63 | formatter=LogFormatter | ||
| 64 | args=("./logs/converter.log", "d", 1, 3,) | ||
| 65 | [handler_extensionHandler] | ||
| 66 | level=INFO | ||
| 67 | class=logging.handlers.TimedRotatingFileHandler | ||
| 68 | formatter=LogFormatter | ||
| 69 | args=("./logs/extension.log", "d", 1, 3,) | ||
| 70 | [handler_tb_connectionHandler] | ||
| 71 | level=INFO | ||
| 72 | class=logging.handlers.TimedRotatingFileHandler | ||
| 73 | formatter=LogFormatter | ||
| 74 | args=("./logs/tb_connection.log", "d", 1, 3,) | ||
| 75 | [formatter_LogFormatter] | ||
| 76 | format="%(asctime)s - %(levelname)s - [%(filename)s] - %(module)s - %(lineno)d - %(message)s" | ||
| 77 | datefmt="%Y-%m-%d %H:%M:%S" \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus.json deleted file mode 100755 index 479d8aa4d0..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus.json +++ /dev/null | |||
| @@ -1,169 +0,0 @@ | |||
| 1 | { | ||
| 2 | "server": { | ||
| 3 | "type": "tcp", | ||
| 4 | "host": "127.0.0.1", | ||
| 5 | "port": 5020, | ||
| 6 | "timeout": 35, | ||
| 7 | "method": "socket", | ||
| 8 | "byteOrder": "BIG", | ||
| 9 | "devices": [ | ||
| 10 | { | ||
| 11 | "unitId": 1, | ||
| 12 | "deviceName": "Temp Sensor", | ||
| 13 | "attributesPollPeriod": 5000, | ||
| 14 | "timeseriesPollPeriod": 5000, | ||
| 15 | "sendDataOnlyOnChange": true, | ||
| 16 | "attributes": [ | ||
| 17 | { | ||
| 18 | "tag": "string_read", | ||
| 19 | "type": "string", | ||
| 20 | "functionCode": 4, | ||
| 21 | "objectsCount": 4, | ||
| 22 | "address": 1 | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | "tag": "bits_read", | ||
| 26 | "type": "bits", | ||
| 27 | "functionCode": 4, | ||
| 28 | "objectsCount": 1, | ||
| 29 | "address": 5 | ||
| 30 | }, | ||
| 31 | { | ||
| 32 | "tag": "8int_read", | ||
| 33 | "type": "8int", | ||
| 34 | "functionCode": 4, | ||
| 35 | "objectsCount": 1, | ||
| 36 | "address": 6 | ||
| 37 | }, | ||
| 38 | { | ||
| 39 | "tag": "16int_read", | ||
| 40 | "type": "16int", | ||
| 41 | "functionCode": 4, | ||
| 42 | "objectsCount": 1, | ||
| 43 | "address": 7 | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | "tag": "32int_read_divider", | ||
| 47 | "type": "32int", | ||
| 48 | "functionCode": 4, | ||
| 49 | "objectsCount": 2, | ||
| 50 | "address": 8, | ||
| 51 | "divider": 10 | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | "tag": "8int_read_multiplier", | ||
| 55 | "type": "8int", | ||
| 56 | "functionCode": 4, | ||
| 57 | "objectsCount": 1, | ||
| 58 | "address": 10, | ||
| 59 | "multiplier": 10 | ||
| 60 | }, | ||
| 61 | { | ||
| 62 | "tag": "32int_read", | ||
| 63 | "type": "32int", | ||
| 64 | "functionCode": 4, | ||
| 65 | "objectsCount": 2, | ||
| 66 | "address": 11 | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "tag": "64int_read", | ||
| 70 | "type": "64int", | ||
| 71 | "functionCode": 4, | ||
| 72 | "objectsCount": 4, | ||
| 73 | "address": 13 | ||
| 74 | } | ||
| 75 | ], | ||
| 76 | "timeseries": [ | ||
| 77 | { | ||
| 78 | "tag": "8uint_read", | ||
| 79 | "type": "8uint", | ||
| 80 | "functionCode": 4, | ||
| 81 | "objectsCount": 1, | ||
| 82 | "address": 17 | ||
| 83 | }, | ||
| 84 | { | ||
| 85 | "tag": "16uint_read", | ||
| 86 | "type": "16uint", | ||
| 87 | "functionCode": 4, | ||
| 88 | "objectsCount": 2, | ||
| 89 | "address": 18 | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | "tag": "32uint_read", | ||
| 93 | "type": "32uint", | ||
| 94 | "functionCode": 4, | ||
| 95 | "objectsCount": 4, | ||
| 96 | "address": 20 | ||
| 97 | }, | ||
| 98 | { | ||
| 99 | "tag": "64uint_read", | ||
| 100 | "type": "64uint", | ||
| 101 | "functionCode": 4, | ||
| 102 | "objectsCount": 1, | ||
| 103 | "address": 24 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "tag": "16float_read", | ||
| 107 | "type": "16float", | ||
| 108 | "functionCode": 4, | ||
| 109 | "objectsCount": 1, | ||
| 110 | "address": 25 | ||
| 111 | }, | ||
| 112 | { | ||
| 113 | "tag": "32float_read", | ||
| 114 | "type": "32float", | ||
| 115 | "functionCode": 4, | ||
| 116 | "objectsCount": 2, | ||
| 117 | "address": 26 | ||
| 118 | }, | ||
| 119 | { | ||
| 120 | "tag": "64float_read", | ||
| 121 | "type": "64float", | ||
| 122 | "functionCode": 4, | ||
| 123 | "objectsCount": 4, | ||
| 124 | "address": 28 | ||
| 125 | } | ||
| 126 | ], | ||
| 127 | "attributeUpdates": [ | ||
| 128 | { | ||
| 129 | "tag": "shared_attribute_write", | ||
| 130 | "type": "32int", | ||
| 131 | "functionCode": 6, | ||
| 132 | "objectsCount": 2, | ||
| 133 | "address": 29 | ||
| 134 | } | ||
| 135 | ], | ||
| 136 | "rpc": [ | ||
| 137 | { | ||
| 138 | "tag": "setValue", | ||
| 139 | "type": "bits", | ||
| 140 | "functionCode": 5, | ||
| 141 | "objectsCount": 1, | ||
| 142 | "address": 31 | ||
| 143 | }, | ||
| 144 | { | ||
| 145 | "tag": "getValue", | ||
| 146 | "type": "bits", | ||
| 147 | "functionCode": 1, | ||
| 148 | "objectsCount": 1, | ||
| 149 | "address": 31 | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | "tag": "setCPUFanSpeed", | ||
| 153 | "type": "32int", | ||
| 154 | "functionCode": 16, | ||
| 155 | "objectsCount": 2, | ||
| 156 | "address": 33 | ||
| 157 | }, | ||
| 158 | { | ||
| 159 | "tag":"getCPULoad", | ||
| 160 | "type": "32int", | ||
| 161 | "functionCode": 4, | ||
| 162 | "objectsCount": 2, | ||
| 163 | "address": 35 | ||
| 164 | } | ||
| 165 | ] | ||
| 166 | } | ||
| 167 | ] | ||
| 168 | } | ||
| 169 | } | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus_serial.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus_serial.json deleted file mode 100755 index 19b38e3f7b..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/modbus_serial.json +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | { | ||
| 2 | "server": { | ||
| 3 | "name": "Modbus Default Server", | ||
| 4 | "type": "serial", | ||
| 5 | "method": "rtu", | ||
| 6 | "port": "/dev/ttyUSB0", | ||
| 7 | "baudrate": 19200, | ||
| 8 | "timeout": 35, | ||
| 9 | "devices": [ | ||
| 10 | { | ||
| 11 | "unitId": 1, | ||
| 12 | "deviceName": "Temp Sensor", | ||
| 13 | "attributesPollPeriod": 5000, | ||
| 14 | "timeseriesPollPeriod": 5000, | ||
| 15 | "sendDataOnlyOnChange": true, | ||
| 16 | "attributes": [ | ||
| 17 | { | ||
| 18 | "byteOrder": "BIG", | ||
| 19 | "tag": "test", | ||
| 20 | "type": "long", | ||
| 21 | "functionCode": 4, | ||
| 22 | "registerCount": 1, | ||
| 23 | "address": 4 | ||
| 24 | } | ||
| 25 | ] | ||
| 26 | } | ||
| 27 | ] | ||
| 28 | } | ||
| 29 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/mqtt.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/mqtt.json deleted file mode 100755 index 6b78a7cec9..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/mqtt.json +++ /dev/null | |||
| @@ -1,132 +0,0 @@ | |||
| 1 | { | ||
| 2 | "broker": { | ||
| 3 | "name":"Default Local Broker", | ||
| 4 | "host":"127.0.0.1", | ||
| 5 | "port":1883, | ||
| 6 | "clientId": "ThingsBoard_gateway", | ||
| 7 | "security": { | ||
| 8 | "type": "basic", | ||
| 9 | "username": "user", | ||
| 10 | "password": "password" | ||
| 11 | } | ||
| 12 | }, | ||
| 13 | "mapping": [ | ||
| 14 | { | ||
| 15 | "topicFilter": "/sensor/data", | ||
| 16 | "converter": { | ||
| 17 | "type": "json", | ||
| 18 | "deviceNameJsonExpression": "${serialNumber}", | ||
| 19 | "deviceTypeJsonExpression": "${sensorType}", | ||
| 20 | "timeout": 60000, | ||
| 21 | "attributes": [ | ||
| 22 | { | ||
| 23 | "type": "string", | ||
| 24 | "key": "model", | ||
| 25 | "value": "${sensorModel}" | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | "type": "string", | ||
| 29 | "key": "${sensorModel}", | ||
| 30 | "value": "on" | ||
| 31 | } | ||
| 32 | ], | ||
| 33 | "timeseries": [ | ||
| 34 | { | ||
| 35 | "type": "double", | ||
| 36 | "key": "temperature", | ||
| 37 | "value": "${temp}" | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | "type": "double", | ||
| 41 | "key": "humidity", | ||
| 42 | "value": "${hum}" | ||
| 43 | } | ||
| 44 | ] | ||
| 45 | } | ||
| 46 | }, | ||
| 47 | { | ||
| 48 | "topicFilter": "/sensor/+/data", | ||
| 49 | "converter": { | ||
| 50 | "type": "json", | ||
| 51 | "deviceNameTopicExpression": "(?<=sensor\/)(.*?)(?=\/data)", | ||
| 52 | "deviceTypeTopicExpression": "Thermometer", | ||
| 53 | "timeout": 60000, | ||
| 54 | "attributes": [ | ||
| 55 | { | ||
| 56 | "type": "string", | ||
| 57 | "key": "model", | ||
| 58 | "value": "${sensorModel}" | ||
| 59 | } | ||
| 60 | ], | ||
| 61 | "timeseries": [ | ||
| 62 | { | ||
| 63 | "type": "double", | ||
| 64 | "key": "temperature", | ||
| 65 | "value": "${temp}" | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | "type": "double", | ||
| 69 | "key": "humidity", | ||
| 70 | "value": "${hum}" | ||
| 71 | } | ||
| 72 | ] | ||
| 73 | } | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "topicFilter": "/custom/sensors/+", | ||
| 77 | "converter": { | ||
| 78 | "type": "custom", | ||
| 79 | "extension": "CustomMqttUplinkConverter", | ||
| 80 | "extension-config": { | ||
| 81 | "temperatureBytes" : 2, | ||
| 82 | "humidityBytes" : 2, | ||
| 83 | "batteryLevelBytes" : 1 | ||
| 84 | } | ||
| 85 | } | ||
| 86 | } | ||
| 87 | ], | ||
| 88 | "connectRequests": [ | ||
| 89 | { | ||
| 90 | "topicFilter": "sensor/connect", | ||
| 91 | "deviceNameJsonExpression": "${SerialNumber}" | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | "topicFilter": "sensor/+/connect", | ||
| 95 | "deviceNameTopicExpression": "(?<=sensor\/)(.*?)(?=\/connect)" | ||
| 96 | } | ||
| 97 | ], | ||
| 98 | "disconnectRequests": [ | ||
| 99 | { | ||
| 100 | "topicFilter": "sensor/disconnect", | ||
| 101 | "deviceNameJsonExpression": "${SerialNumber}" | ||
| 102 | }, | ||
| 103 | { | ||
| 104 | "topicFilter": "sensor/+/disconnect", | ||
| 105 | "deviceNameTopicExpression": "(?<=sensor\/)(.*?)(?=\/disconnect)" | ||
| 106 | } | ||
| 107 | ], | ||
| 108 | "attributeUpdates": [ | ||
| 109 | { | ||
| 110 | "deviceNameFilter": "SmartMeter.*", | ||
| 111 | "attributeFilter": "uploadFrequency", | ||
| 112 | "topicExpression": "sensor/${deviceName}/${attributeKey}", | ||
| 113 | "valueExpression": "{\"${attributeKey}\":\"${attributeValue}\"}" | ||
| 114 | } | ||
| 115 | ], | ||
| 116 | "serverSideRpc": [ | ||
| 117 | { | ||
| 118 | "deviceNameFilter": ".*", | ||
| 119 | "methodFilter": "echo", | ||
| 120 | "requestTopicExpression": "sensor/${deviceName}/request/${methodName}/${requestId}", | ||
| 121 | "responseTopicExpression": "sensor/${deviceName}/response/${methodName}/${requestId}", | ||
| 122 | "responseTimeout": 10000, | ||
| 123 | "valueExpression": "${params}" | ||
| 124 | }, | ||
| 125 | { | ||
| 126 | "deviceNameFilter": ".*", | ||
| 127 | "methodFilter": "no-reply", | ||
| 128 | "requestTopicExpression": "sensor/${deviceName}/request/${methodName}/${requestId}", | ||
| 129 | "valueExpression": "${params}" | ||
| 130 | } | ||
| 131 | ] | ||
| 132 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/odbc.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/odbc.json deleted file mode 100644 index c93992a262..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/odbc.json +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | { | ||
| 2 | "connection": { | ||
| 3 | "str": "Driver={PostgreSQL};Server=localhost;Port=5432;Database=thingsboard;Uid=postgres;Pwd=postgres;", | ||
| 4 | "attributes": { | ||
| 5 | "autocommit": true, | ||
| 6 | "timeout": 0 | ||
| 7 | }, | ||
| 8 | "encoding": "utf-8", | ||
| 9 | "decoding": { | ||
| 10 | "char": "utf-8", | ||
| 11 | "wchar": "utf-8", | ||
| 12 | "metadata": "utf-16le" | ||
| 13 | }, | ||
| 14 | "reconnect": true, | ||
| 15 | "reconnectPeriod": 60 | ||
| 16 | }, | ||
| 17 | "pyodbc": { | ||
| 18 | "pooling": false | ||
| 19 | }, | ||
| 20 | "polling": { | ||
| 21 | "query": "SELECT bool_v, str_v, dbl_v, long_v, entity_id, ts FROM ts_kv WHERE ts > ? ORDER BY ts ASC LIMIT 10", | ||
| 22 | "period": 10, | ||
| 23 | "iterator": { | ||
| 24 | "column": "ts", | ||
| 25 | "query": "SELECT MIN(ts) - 1 FROM ts_kv", | ||
| 26 | "persistent": false | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | "mapping": { | ||
| 30 | "device": { | ||
| 31 | "type": "postgres", | ||
| 32 | "name": "'ODBC ' + entity_id" | ||
| 33 | }, | ||
| 34 | "sendDataOnlyOnChange": false, | ||
| 35 | "attributes": "*", | ||
| 36 | "timeseries": [ | ||
| 37 | { | ||
| 38 | "name": "value", | ||
| 39 | "value": "[i for i in [str_v, long_v, dbl_v,bool_v] if i is not None][0]" | ||
| 40 | } | ||
| 41 | ] | ||
| 42 | }, | ||
| 43 | "serverSideRpc": { | ||
| 44 | "enableUnknownRpc": false, | ||
| 45 | "overrideRpcConfig": true, | ||
| 46 | "methods": [ | ||
| 47 | "procedureOne", | ||
| 48 | { | ||
| 49 | "name": "procedureTwo", | ||
| 50 | "args": [ "One", 2, 3.0 ] | ||
| 51 | } | ||
| 52 | ] | ||
| 53 | } | ||
| 54 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/opcua.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/opcua.json deleted file mode 100755 index 1deed7d524..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/opcua.json +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | { | ||
| 2 | "server": { | ||
| 3 | "name": "OPC-UA Default Server", | ||
| 4 | "url": "localhost:4840/freeopcua/server/", | ||
| 5 | "timeoutInMillis": 5000, | ||
| 6 | "scanPeriodInMillis": 5000, | ||
| 7 | "disableSubscriptions":false, | ||
| 8 | "subCheckPeriodInMillis": 100, | ||
| 9 | "showMap": false, | ||
| 10 | "security": "Basic128Rsa15", | ||
| 11 | "identity": { | ||
| 12 | "type": "anonymous" | ||
| 13 | }, | ||
| 14 | "mapping": [ | ||
| 15 | { | ||
| 16 | "deviceNodePattern": "Root\\.Objects\\.Device1", | ||
| 17 | "deviceNamePattern": "Device ${Root\\.Objects\\.Device1\\.serialNumber}", | ||
| 18 | "attributes": [ | ||
| 19 | { | ||
| 20 | "key": "temperature °C", | ||
| 21 | "path": "${ns=2;i=5}" | ||
| 22 | } | ||
| 23 | ], | ||
| 24 | "timeseries": [ | ||
| 25 | { | ||
| 26 | "key": "humidity", | ||
| 27 | "path": "${Root\\.Objects\\.Device1\\.TemperatureAndHumiditySensor\\.Humidity}" | ||
| 28 | }, | ||
| 29 | { | ||
| 30 | "key": "batteryLevel", | ||
| 31 | "path": "${Battery\\.batteryLevel}" | ||
| 32 | } | ||
| 33 | ], | ||
| 34 | "rpc_methods": [ | ||
| 35 | { | ||
| 36 | "method": "multiply", | ||
| 37 | "arguments": [2, 4] | ||
| 38 | } | ||
| 39 | ], | ||
| 40 | "attributes_updates": [ | ||
| 41 | { | ||
| 42 | "attributeOnThingsBoard": "deviceName", | ||
| 43 | "attributeOnDevice": "Root\\.Objects\\.Device1\\.serialNumber" | ||
| 44 | } | ||
| 45 | ] | ||
| 46 | } | ||
| 47 | ] | ||
| 48 | } | ||
| 49 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/request.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/request.json deleted file mode 100644 index 43237a7dc0..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/request.json +++ /dev/null | |||
| @@ -1,146 +0,0 @@ | |||
| 1 | "job": "leader" | ||
| 2 | }, | ||
| 3 | "allowRedirects": true, | ||
| 4 | "timeout": 0.5, | ||
| 5 | "scanPeriod": 5, | ||
| 6 | "converter": { | ||
| 7 | "type": "json", | ||
| 8 | "deviceNameJsonExpression": "SD8500", | ||
| 9 | "deviceTypeJsonExpression": "SD", | ||
| 10 | "attributes": [ | ||
| 11 | { | ||
| 12 | "key": "serialNumber", | ||
| 13 | "type": "string", | ||
| 14 | "value": "${serial}" | ||
| 15 | } | ||
| 16 | ], | ||
| 17 | "telemetry": [ | ||
| 18 | { | ||
| 19 | "key": "Maintainer", | ||
| 20 | "type": "string", | ||
| 21 | "value": "${Developer}" | ||
| 22 | } | ||
| 23 | ] | ||
| 24 | } | ||
| 25 | }, | ||
| 26 | { | ||
| 27 | "url": "get_info", | ||
| 28 | "httpMethod": "GET", | ||
| 29 | "httpHeaders": { | ||
| 30 | "ACCEPT": "application/json" | ||
| 31 | }, | ||
| 32 | "allowRedirects": true, | ||
| 33 | "timeout": 0.5, | ||
| 34 | "scanPeriod": 100, | ||
| 35 | "converter": { | ||
| 36 | "type": "custom", | ||
| 37 | "deviceNameJsonExpression": "SD8500", | ||
| 38 | "deviceTypeJsonExpression": "SD", | ||
| 39 | "extension": "CustomRequestUplinkConverter", | ||
| 40 | "extension-config": [ | ||
| 41 | { | ||
| 42 | "key": "Totaliser", | ||
| 43 | "type": "float", | ||
| 44 | "fromByte": 0, | ||
| 45 | "toByte": 4, | ||
| 46 | "byteorder": "big", | ||
| 47 | "signed": true, | ||
| 48 | "multiplier": 1 | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "key": "Flow", | ||
| 52 | "type": "int", | ||
| 53 | "fromByte": 4, | ||
| 54 | "toByte": 6, | ||
| 55 | "byteorder": "big", | ||
| 56 | "signed": true, | ||
| 57 | "multiplier": 0.01 | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | "key": "Temperature", | ||
| 61 | "type": "int", | ||
| 62 | "fromByte": 8, | ||
| 63 | "toByte": 10, | ||
| 64 | "byteorder": "big", | ||
| 65 | "signed": true, | ||
| 66 | "multiplier": 0.01 | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "key": "Pressure", | ||
| 70 | "type": "int", | ||
| 71 | "fromByte": 12, | ||
| 72 | "toByte": 14, | ||
| 73 | "byteorder": "big", | ||
| 74 | "signed": true, | ||
| 75 | "multiplier": 0.01 | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | "key": "deviceStatus", | ||
| 79 | "type": "int", | ||
| 80 | "byteAddress": 15, | ||
| 81 | "fromBit": 4, | ||
| 82 | "toBit": 8, | ||
| 83 | "byteorder": "big", | ||
| 84 | "signed": false | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "key": "OUT2", | ||
| 88 | "type": "int", | ||
| 89 | "byteAddress": 15, | ||
| 90 | "fromBit": 1, | ||
| 91 | "toBit": 2, | ||
| 92 | "byteorder": "big" | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | "key": "OUT1", | ||
| 96 | "type": "int", | ||
| 97 | "byteAddress": 15, | ||
| 98 | "fromBit": 0, | ||
| 99 | "toBit": 1, | ||
| 100 | "byteorder": "big" | ||
| 101 | } | ||
| 102 | ] | ||
| 103 | } | ||
| 104 | } | ||
| 105 | ], | ||
| 106 | "attributeUpdates": [ | ||
| 107 | { | ||
| 108 | "httpMethod": "POST", | ||
| 109 | "httpHeaders": { | ||
| 110 | "CONTENT-TYPE": "application/json" | ||
| 111 | }, | ||
| 112 | "timeout": 0.5, | ||
| 113 | "tries": 3, | ||
| 114 | "allowRedirects": true, | ||
| 115 | "deviceNameFilter": "SD.*", | ||
| 116 | "attributeFilter": "send_data", | ||
| 117 | "requestUrlExpression": "sensor/${deviceName}/${attributeKey}", | ||
| 118 | "valueExpression": "{\"${attributeKey}\":\"${attributeValue}\"}" | ||
| 119 | } | ||
| 120 | ], | ||
| 121 | "serverSideRpc": [ | ||
| 122 | { | ||
| 123 | "deviceNameFilter": ".*", | ||
| 124 | "methodFilter": "echo", | ||
| 125 | "requestUrlExpression": "sensor/${deviceName}/request/${methodName}/${requestId}", | ||
| 126 | "responseTimeout": 1, | ||
| 127 | "httpMethod": "GET", | ||
| 128 | "valueExpression": "${params}", | ||
| 129 | "timeout": 0.5, | ||
| 130 | "tries": 3, | ||
| 131 | "httpHeaders": { | ||
| 132 | "Content-Type": "application/json" | ||
| 133 | } | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "deviceNameFilter": ".*", | ||
| 137 | "methodFilter": "no-reply", | ||
| 138 | "requestUrlExpression": "sensor/${deviceName}/request/${methodName}/${requestId}", | ||
| 139 | "httpMethod": "POST", | ||
| 140 | "valueExpression": "${params}", | ||
| 141 | "httpHeaders": { | ||
| 142 | "Content-Type": "application/json" | ||
| 143 | } | ||
| 144 | } | ||
| 145 | ] | ||
| 146 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/rest.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/rest.json deleted file mode 100644 index be6c6ff18e..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/rest.json +++ /dev/null | |||
| @@ -1,152 +0,0 @@ | |||
| 1 | { | ||
| 2 | "host": "127.0.0.1", | ||
| 3 | "port": "5000", | ||
| 4 | "mapping":[ | ||
| 5 | { | ||
| 6 | "endpoint": "/device1", | ||
| 7 | "HTTPMethods": [ | ||
| 8 | "POST" | ||
| 9 | ], | ||
| 10 | "security": | ||
| 11 | { | ||
| 12 | "type": "basic", | ||
| 13 | "username": "user", | ||
| 14 | "password": "passwd" | ||
| 15 | }, | ||
| 16 | "converter": { | ||
| 17 | "type": "json", | ||
| 18 | "deviceNameExpression": "Device ${name}", | ||
| 19 | "deviceTypeExpression": "default", | ||
| 20 | "attributes": [ | ||
| 21 | { | ||
| 22 | "type": "string", | ||
| 23 | "key": "model", | ||
| 24 | "value": "${sensorModel}" | ||
| 25 | } | ||
| 26 | ], | ||
| 27 | "timeseries": [ | ||
| 28 | { | ||
| 29 | "type": "double", | ||
| 30 | "key": "${sensorModel}", | ||
| 31 | "value": "${temp}" | ||
| 32 | }, | ||
| 33 | { | ||
| 34 | "type": "double", | ||
| 35 | "key": "humidity", | ||
| 36 | "value": "${hum}" | ||
| 37 | } | ||
| 38 | ] | ||
| 39 | } | ||
| 40 | }, | ||
| 41 | { | ||
| 42 | "endpoint": "/anon1", | ||
| 43 | "HTTPMethods": [ | ||
| 44 | "GET", | ||
| 45 | "POST" | ||
| 46 | ], | ||
| 47 | "security": | ||
| 48 | { | ||
| 49 | "type": "anonymous" | ||
| 50 | }, | ||
| 51 | "converter": { | ||
| 52 | "type": "json", | ||
| 53 | "deviceNameExpression": "Device 2", | ||
| 54 | "deviceTypeExpression": "default", | ||
| 55 | "attributes": [ | ||
| 56 | { | ||
| 57 | "type": "string", | ||
| 58 | "key": "model", | ||
| 59 | "value": "Model2" | ||
| 60 | } | ||
| 61 | ], | ||
| 62 | "timeseries": [ | ||
| 63 | { | ||
| 64 | "type": "double", | ||
| 65 | "key": "temperature", | ||
| 66 | "value": "${temp}" | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "type": "double", | ||
| 70 | "key": "humidity", | ||
| 71 | "value": "${hum}" | ||
| 72 | } | ||
| 73 | ] | ||
| 74 | } | ||
| 75 | }, | ||
| 76 | { | ||
| 77 | "endpoint": "/anon2", | ||
| 78 | "HTTPMethods": [ | ||
| 79 | "POST" | ||
| 80 | ], | ||
| 81 | "security": | ||
| 82 | { | ||
| 83 | "type": "anonymous" | ||
| 84 | }, | ||
| 85 | "converter": { | ||
| 86 | "type": "custom", | ||
| 87 | "deviceNameExpression": "SuperAnonDevice", | ||
| 88 | "deviceTypeExpression": "default", | ||
| 89 | "extension": "CustomRestUplinkConverter", | ||
| 90 | "extension-config": [ | ||
| 91 | { | ||
| 92 | "key": "Totaliser", | ||
| 93 | "datatype": "float", | ||
| 94 | "fromByte": 0, | ||
| 95 | "toByte": 4, | ||
| 96 | "byteorder": "big", | ||
| 97 | "signed": true, | ||
| 98 | "multiplier": 1 | ||
| 99 | }] | ||
| 100 | } | ||
| 101 | } | ||
| 102 | ], | ||
| 103 | "attributeUpdates": [ | ||
| 104 | { | ||
| 105 | "HTTPMethod": "POST", | ||
| 106 | "SSLVerify": false, | ||
| 107 | "httpHeaders": { | ||
| 108 | "CONTENT-TYPE": "application/json" | ||
| 109 | }, | ||
| 110 | "security": { | ||
| 111 | "type": "basic", | ||
| 112 | "username": "user", | ||
| 113 | "password": "passwd" | ||
| 114 | }, | ||
| 115 | "timeout": 0.5, | ||
| 116 | "tries": 3, | ||
| 117 | "allowRedirects": true, | ||
| 118 | "deviceNameFilter": ".*REST$", | ||
| 119 | "attributeFilter": "data", | ||
| 120 | "requestUrlExpression": "sensor/${deviceName}/${attributeKey}", | ||
| 121 | "valueExpression": "{\"${attributeKey}\":\"${attributeValue}\"}" | ||
| 122 | } | ||
| 123 | ], | ||
| 124 | "serverSideRpc": [ | ||
| 125 | { | ||
| 126 | "deviceNameFilter": ".*", | ||
| 127 | "methodFilter": "echo", | ||
| 128 | "requestUrlExpression": "http://127.0.0.1:5001/${deviceName}", | ||
| 129 | "responseTimeout": 1, | ||
| 130 | "HTTPMethod": "GET", | ||
| 131 | "valueExpression": "${params}", | ||
| 132 | "timeout": 0.5, | ||
| 133 | "tries": 3, | ||
| 134 | "httpHeaders": { | ||
| 135 | "Content-Type": "application/json" | ||
| 136 | }, | ||
| 137 | "security": { | ||
| 138 | "type": "anonymous" | ||
| 139 | } | ||
| 140 | }, | ||
| 141 | { | ||
| 142 | "deviceNameFilter": ".*", | ||
| 143 | "methodFilter": "no-reply", | ||
| 144 | "requestUrlExpression": "sensor/${deviceName}/request/${methodName}/${requestId}", | ||
| 145 | "HTTPMethod": "POST", | ||
| 146 | "valueExpression": "${params}", | ||
| 147 | "httpHeaders": { | ||
| 148 | "Content-Type": "application/json" | ||
| 149 | } | ||
| 150 | } | ||
| 151 | ] | ||
| 152 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/snmp.json b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/snmp.json deleted file mode 100644 index b4ddb42645..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/snmp.json +++ /dev/null | |||
| @@ -1,138 +0,0 @@ | |||
| 1 | { | ||
| 2 | "devices": [ | ||
| 3 | { | ||
| 4 | "deviceName": "SNMP router", | ||
| 5 | "deviceType": "snmp", | ||
| 6 | "ip": "snmp.live.gambitcommunications.com", | ||
| 7 | "port": 161, | ||
| 8 | "pollPeriod": 5000, | ||
| 9 | "community": "public", | ||
| 10 | "attributes": [ | ||
| 11 | { | ||
| 12 | "key": "ReceivedFromGet", | ||
| 13 | "method": "get", | ||
| 14 | "oid": "1.3.6.1.2.1.1.1.0", | ||
| 15 | "timeout": 6 | ||
| 16 | }, | ||
| 17 | { | ||
| 18 | "key": "ReceivedFromMultiGet", | ||
| 19 | "method": "multiget", | ||
| 20 | "oid": [ | ||
| 21 | "1.3.6.1.2.1.1.1.0", | ||
| 22 | "1.3.6.1.2.1.1.2.0" | ||
| 23 | ], | ||
| 24 | "timeout": 6 | ||
| 25 | }, | ||
| 26 | { | ||
| 27 | "key": "ReceivedFromGetNext", | ||
| 28 | "method": "getnext", | ||
| 29 | "oid": "1.3.6.1.2.1.1.1.0", | ||
| 30 | "timeout": 6 | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | "key": "ReceivedFromMultiWalk", | ||
| 34 | "method": "multiwalk", | ||
| 35 | "oid": [ | ||
| 36 | "1.3.6.1.2.1.1.1.0", | ||
| 37 | "1.3.6.0.1.2.1" | ||
| 38 | ] | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | "key": "ReceivedFromBulkWalk", | ||
| 42 | "method": "bulkwalk", | ||
| 43 | "oid": [ | ||
| 44 | "1.3.6.1.2.1.1.1.0", | ||
| 45 | "1.3.6.1.2.1.1.2.0" | ||
| 46 | ] | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "key": "ReceivedFromBulkGet", | ||
| 50 | "method": "bulkget", | ||
| 51 | "scalarOid": [ | ||
| 52 | "1.3.6.1.2.1.1.1.0", | ||
| 53 | "1.3.6.1.2.1.1.2.0" | ||
| 54 | ], | ||
| 55 | "repeatingOid": [ | ||
| 56 | "1.3.6.1.2.1.1.1.0", | ||
| 57 | "1.3.6.1.2.1.1.2.0" | ||
| 58 | ], | ||
| 59 | "maxListSize": 10 | ||
| 60 | } | ||
| 61 | ], | ||
| 62 | "telemetry": [ | ||
| 63 | { | ||
| 64 | "key": "ReceivedFromWalk", | ||
| 65 | "community": "private", | ||
| 66 | "method": "walk", | ||
| 67 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | "key": "ReceivedFromTable", | ||
| 71 | "method": "table", | ||
| 72 | "oid": "1.3.6.1.2.1.1" | ||
| 73 | } | ||
| 74 | ], | ||
| 75 | "attributeUpdateRequests": [ | ||
| 76 | { | ||
| 77 | "attributeFilter": "dataToSet", | ||
| 78 | "method": "set", | ||
| 79 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | "attributeFilter": "dataToMultiSet", | ||
| 83 | "method": "multiset", | ||
| 84 | "mappings": { | ||
| 85 | "1.2.3": "10", | ||
| 86 | "2.3.4": "${attribute}" | ||
| 87 | } | ||
| 88 | } | ||
| 89 | ], | ||
| 90 | "serverSideRpcRequests": [ | ||
| 91 | { | ||
| 92 | "requestFilter": "setData", | ||
| 93 | "method": "set", | ||
| 94 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 95 | }, | ||
| 96 | { | ||
| 97 | "requestFilter": "multiSetData", | ||
| 98 | "method": "multiset" | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "requestFilter": "getData", | ||
| 102 | "method": "get", | ||
| 103 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "requestFilter": "runBulkWalk", | ||
| 107 | "method": "bulkwalk", | ||
| 108 | "oid": [ | ||
| 109 | "1.3.6.1.2.1.1.1.0", | ||
| 110 | "1.3.6.1.2.1.1.2.0" | ||
| 111 | ] | ||
| 112 | } | ||
| 113 | ] | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "deviceName": "SNMP router", | ||
| 117 | "deviceType": "snmp", | ||
| 118 | "ip": "127.0.0.1", | ||
| 119 | "pollPeriod": 5000, | ||
| 120 | "community": "public", | ||
| 121 | "converter": "CustomSNMPConverter", | ||
| 122 | "attributes": [ | ||
| 123 | { | ||
| 124 | "key": "ReceivedFromGetWithCustomConverter", | ||
| 125 | "method": "get", | ||
| 126 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 127 | } | ||
| 128 | ], | ||
| 129 | "telemetry": [ | ||
| 130 | { | ||
| 131 | "key": "ReceivedFromTableWithCustomConverter", | ||
| 132 | "method": "table", | ||
| 133 | "oid": "1.3.6.1.2.1.1.1.0" | ||
| 134 | } | ||
| 135 | ] | ||
| 136 | } | ||
| 137 | ] | ||
| 138 | } \ No newline at end of file | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/tb_gateway.yaml b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/tb_gateway.yaml deleted file mode 100755 index e3eb8f1fc7..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/tb_gateway.yaml +++ /dev/null | |||
| @@ -1,66 +0,0 @@ | |||
| 1 | thingsboard: | ||
| 2 | host: demo.thingsboard.io | ||
| 3 | port: 1883 | ||
| 4 | remoteConfiguration: false | ||
| 5 | security: | ||
| 6 | accessToken: PUT_YOUR_GW_ACCESS_TOKEN_HERE | ||
| 7 | storage: | ||
| 8 | type: memory | ||
| 9 | read_records_count: 100 | ||
| 10 | max_records_count: 100000 | ||
| 11 | # type: file | ||
| 12 | # data_folder_path: ./data/ | ||
| 13 | # max_file_count: 10 | ||
| 14 | # max_read_records_count: 10 | ||
| 15 | # max_records_per_file: 10000 | ||
| 16 | connectors: | ||
| 17 | - | ||
| 18 | name: MQTT Broker Connector | ||
| 19 | type: mqtt | ||
| 20 | configuration: mqtt.json | ||
| 21 | |||
| 22 | # - | ||
| 23 | # name: Modbus Connector | ||
| 24 | # type: modbus | ||
| 25 | # configuration: modbus.json | ||
| 26 | # | ||
| 27 | # - | ||
| 28 | # name: Modbus Connector | ||
| 29 | # type: modbus | ||
| 30 | # configuration: modbus_serial.json | ||
| 31 | # | ||
| 32 | # - | ||
| 33 | # name: OPC-UA Connector | ||
| 34 | # type: opcua | ||
| 35 | # configuration: opcua.json | ||
| 36 | # | ||
| 37 | # - | ||
| 38 | # name: BLE Connector | ||
| 39 | # type: ble | ||
| 40 | # configuration: ble.json | ||
| 41 | # | ||
| 42 | # - | ||
| 43 | # name: REQUEST Connector | ||
| 44 | # type: request | ||
| 45 | # configuration: request.json | ||
| 46 | # | ||
| 47 | # - | ||
| 48 | # name: CAN Connector | ||
| 49 | # type: can | ||
| 50 | # configuration: can.json | ||
| 51 | # | ||
| 52 | # - | ||
| 53 | # name: BACnet Connector | ||
| 54 | # type: bacnet | ||
| 55 | # configuration: bacnet.json | ||
| 56 | # | ||
| 57 | # - | ||
| 58 | # name: ODBC Connector | ||
| 59 | # type: odbc | ||
| 60 | # configuration: odbc.json | ||
| 61 | # | ||
| 62 | # - | ||
| 63 | # name: Custom Serial Connector | ||
| 64 | # type: serial | ||
| 65 | # configuration: custom_serial.json | ||
| 66 | # class: CustomSerialConnector | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/thingsboard-gateway.service b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/thingsboard-gateway.service index 5dd352a553..0b7601d494 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/thingsboard-gateway.service +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway/thingsboard-gateway.service | |||
| @@ -1,13 +1,17 @@ | |||
| 1 | [Unit] | 1 | [Unit] |
| 2 | Description = Systemd service for Thingsboard Gateway | 2 | Description=ThingsBoard Gateway |
| 3 | After = network.target | 3 | After=network-online.target |
| 4 | Wants=network-online.target | ||
| 5 | ConditionPathExists=/etc/thingsboard-gateway/config/tb_gateway.json | ||
| 4 | 6 | ||
| 5 | [Service] | 7 | [Service] |
| 6 | ExecStart = /usr/bin/python3 /usr/bin/thingsboard-gateway | 8 | Type=simple |
| 7 | ExecStop = /bin/kill -INT $MAINPID | 9 | User=thingsboard_gateway |
| 8 | ExecReload = /bin/kill -TERM $MAINPID | 10 | Group=thingsboard_gateway |
| 9 | Restart = always | 11 | ExecStart=/usr/bin/python3 /usr/bin/thingsboard-gateway |
| 10 | Type = simple | 12 | ExecStop=/bin/kill -INT $MAINPID |
| 13 | ExecReload=/bin/kill -TERM $MAINPID | ||
| 14 | Restart=on-failure | ||
| 11 | 15 | ||
| 12 | [Install] | 16 | [Install] |
| 13 | WantedBy=multi-user.target | 17 | WantedBy=multi-user.target |
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb index 57e162cabd..7a82414937 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb | |||
| @@ -21,47 +21,61 @@ RDEPENDS:${PN} += " python3-jsonpath-rw \ | |||
| 21 | python3-requests \ | 21 | python3-requests \ |
| 22 | python3-pip \ | 22 | python3-pip \ |
| 23 | python3-pyrsistent \ | 23 | python3-pyrsistent \ |
| 24 | python3-cachetools \ | ||
| 25 | python3-orjson \ | ||
| 26 | python3-psutil \ | ||
| 27 | python3-pybase64 \ | ||
| 28 | python3-grpcio \ | ||
| 29 | python3-packaging \ | ||
| 30 | python3-protobuf \ | ||
| 31 | python3-service-identity \ | ||
| 32 | python3-termcolor \ | ||
| 33 | python3-charset-normalizer \ | ||
| 34 | python3-mmh3 \ | ||
| 35 | python3-dateutil \ | ||
| 36 | python3-setuptools \ | ||
| 37 | python3-urllib3 \ | ||
| 38 | python3-questionary \ | ||
| 39 | python3-pyfiglet \ | ||
| 40 | python3-cryptography \ | ||
| 41 | python3-pysocks \ | ||
| 24 | " | 42 | " |
| 25 | 43 | ||
| 26 | SRC_URI += "file://bacnet.json \ | 44 | SRC_URI += "file://thingsboard-gateway.service" |
| 27 | file://ble.json \ | ||
| 28 | file://can.json \ | ||
| 29 | file://custom_serial.json \ | ||
| 30 | file://modbus.json \ | ||
| 31 | file://modbus_serial.json \ | ||
| 32 | file://mqtt.json \ | ||
| 33 | file://opcua.json \ | ||
| 34 | file://odbc.json \ | ||
| 35 | file://request.json \ | ||
| 36 | file://rest.json \ | ||
| 37 | file://snmp.json \ | ||
| 38 | file://tb_gateway.yaml \ | ||
| 39 | file://logs.conf \ | ||
| 40 | file://thingsboard-gateway.service \ | ||
| 41 | " | ||
| 42 | 45 | ||
| 43 | 46 | inherit systemd useradd | |
| 44 | inherit systemd | ||
| 45 | 47 | ||
| 46 | SYSTEMD_PACKAGES = "${PN}" | 48 | SYSTEMD_PACKAGES = "${PN}" |
| 47 | SYSTEMD_SERVICE:${PN} = "thingsboard-gateway.service" | 49 | SYSTEMD_SERVICE:${PN} = "thingsboard-gateway.service" |
| 48 | 50 | ||
| 51 | USERADD_PACKAGES = "${PN}" | ||
| 52 | USERADD_PARAM:${PN} = " \ | ||
| 53 | --system --no-create-home \ | ||
| 54 | --comment 'ThingsBoard-Gateway Service' \ | ||
| 55 | --home-dir ${localstatedir}/lib/${BPN} \ | ||
| 56 | --shell ${base_sbindir}/nologin \ | ||
| 57 | --gid thingsboard_gateway thingsboard_gateway" | ||
| 58 | GROUPADD_PARAM:${PN} = "--system thingsboard_gateway" | ||
| 59 | |||
| 49 | FILES:${PN} += "/etc \ | 60 | FILES:${PN} += "/etc \ |
| 50 | /lib \ | 61 | /lib \ |
| 51 | /usr \ | 62 | /usr \ |
| 63 | ${localstatedir} \ | ||
| 52 | " | 64 | " |
| 53 | 65 | ||
| 54 | do_install:append(){ | 66 | do_install:append(){ |
| 67 | install -d ${D}${sysconfdir}/${BPN}/config | ||
| 68 | install -m 0644 ${S}/thingsboard_gateway/config/*.json ${D}${sysconfdir}/${BPN}/config | ||
| 69 | chown -R thingsboard_gateway:thingsboard_gateway ${D}${sysconfdir}/${BPN} | ||
| 55 | 70 | ||
| 56 | install -d ${D}${sysconfdir}/thingsboard-gateway/config | 71 | install -d ${D}${systemd_system_unitdir}/ |
| 57 | |||
| 58 | for file in $(find ${UNPACKDIR} -maxdepth 1 -type f -name *.json); do | ||
| 59 | install -m 0644 "$file" ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 60 | done | ||
| 61 | |||
| 62 | install -m 0644 ${UNPACKDIR}/tb_gateway.yaml ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 63 | install -m 0644 ${UNPACKDIR}/logs.conf ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 64 | |||
| 65 | install -d ${D}${systemd_unitdir}/system/ | ||
| 66 | install -m 0644 ${UNPACKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service | 72 | install -m 0644 ${UNPACKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service |
| 73 | |||
| 74 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 75 | install -d ${D}${sysconfdir}/tmpfiles.d | ||
| 76 | echo "d ${localstatedir}/log/${BPN} 0755 thingsboard_gateway thingsboard_gateway -" \ | ||
| 77 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | ||
| 78 | echo "d ${localstatedir}/lib/${BPN} 0755 thingsboard_gateway thingsboard_gateway -" \ | ||
| 79 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | ||
| 80 | fi | ||
| 67 | } | 81 | } |
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb index 91d266a2d5..a8c74c1b45 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ | |||
| 22 | 22 | ||
| 23 | SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" | 23 | SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" |
| 24 | 24 | ||
| 25 | RDEPENDS:${PN} = "libgcc" | ||
| 25 | 26 | ||
| 26 | inherit autotools | 27 | inherit autotools |
| 27 | 28 | ||
diff --git a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb index 74f895cf3c..77bd0d007f 100644 --- a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb +++ b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=3f911cecfc74a2d9f1ead9a07bd92a6e" | |||
| 5 | SECTION = "libs" | 5 | SECTION = "libs" |
| 6 | 6 | ||
| 7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" | 7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" |
| 8 | SRC_URI[sha256sum] = "fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b" | 8 | SRC_URI[sha256sum] = "8c3f284b58ddd42e8e43e9fa86a7129d87ea7c3f776a80d3da63ec20722b0883" |
| 9 | 9 | ||
| 10 | S = "${UNPACKDIR}/Botan-${PV}" | 10 | S = "${UNPACKDIR}/Botan-${PV}" |
| 11 | 11 | ||
| @@ -24,8 +24,6 @@ do_configure() { | |||
| 24 | --cc-bin="${CXX}" \ | 24 | --cc-bin="${CXX}" \ |
| 25 | --cxxflags="${CXXFLAGS}" \ | 25 | --cxxflags="${CXXFLAGS}" \ |
| 26 | --ldflags="${LDFLAGS}" \ | 26 | --ldflags="${LDFLAGS}" \ |
| 27 | --with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ | ||
| 28 | ${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \ | ||
| 29 | --with-sysroot-dir=${STAGING_DIR_HOST} \ | 27 | --with-sysroot-dir=${STAGING_DIR_HOST} \ |
| 30 | --with-build-dir="${B}" \ | 28 | --with-build-dir="${B}" \ |
| 31 | --optimize-for-size \ | 29 | --optimize-for-size \ |
| @@ -36,12 +34,14 @@ do_configure() { | |||
| 36 | } | 34 | } |
| 37 | 35 | ||
| 38 | do_compile() { | 36 | do_compile() { |
| 37 | sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${B}/build/target_info.h | ||
| 39 | oe_runmake | 38 | oe_runmake |
| 40 | } | 39 | } |
| 40 | |||
| 41 | do_install() { | 41 | do_install() { |
| 42 | oe_runmake DESTDIR=${D} install | 42 | oe_runmake DESTDIR=${D} install |
| 43 | sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h | 43 | sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h |
| 44 | 44 | ||
| 45 | # Add botan binary and test tool | 45 | # Add botan binary and test tool |
| 46 | install -d ${D}${bindir} | 46 | install -d ${D}${bindir} |
| 47 | install -d ${D}${datadir}/${PN}/tests/data | 47 | install -d ${D}${datadir}/${PN}/tests/data |
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch b/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch deleted file mode 100644 index 9cc5ad9b86..0000000000 --- a/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | From 5bfa9f1cd0523a0cad70cacf5ecf8c1aeb06c4d0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
| 3 | Date: Tue, 22 Apr 2025 17:47:02 +0000 | ||
| 4 | Subject: [PATCH] configure: make sure to call AC_CHECK_HEADER_STDBOOL | ||
| 5 | |||
| 6 | before using ac_cv_sizeof_bool | ||
| 7 | |||
| 8 | It was called after this conditional, so PG_USE_STDBOOL wasn't set | ||
| 9 | even when it should be as shown in at the end of config.log: | ||
| 10 | |||
| 11 | ac_cv_header_stdbool_h=yes | ||
| 12 | ac_cv_sizeof_bool=1 | ||
| 13 | ac_cv_type__Bool=yes | ||
| 14 | #define SIZEOF_BOOL 1 | ||
| 15 | #define HAVE__BOOL 1 | ||
| 16 | #define HAVE_STDBOOL_H 1 | ||
| 17 | |||
| 18 | * fixes: | ||
| 19 | https://github.com/postgresql-interfaces/psqlodbc/issues/110 | ||
| 20 | https://github.com/postgresql-interfaces/psqlodbc/issues/94 | ||
| 21 | |||
| 22 | Upstream-Status: Submitted [https://github.com/postgresql-interfaces/psqlodbc/pull/112] | ||
| 23 | |||
| 24 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 25 | --- | ||
| 26 | configure.ac | 4 +++- | ||
| 27 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 28 | |||
| 29 | diff --git a/configure.ac b/configure.ac | ||
| 30 | index f35c825..ea363ca 100644 | ||
| 31 | --- a/configure.ac | ||
| 32 | +++ b/configure.ac | ||
| 33 | @@ -28,9 +28,11 @@ AC_CHECK_SIZEOF([bool], [], | ||
| 34 | #include <stdbool.h> | ||
| 35 | #endif]) | ||
| 36 | |||
| 37 | +AC_CHECK_HEADER_STDBOOL() | ||
| 38 | + | ||
| 39 | dnl We use <stdbool.h> if we have it and it declares type bool as having | ||
| 40 | dnl size 1. Otherwise, c.h will fall back to declaring bool as unsigned char. | ||
| 41 | -if test "$ac_cv_header_stdbool_h" = yes -a "$ac_cv_sizeof_bool" = 1; then | ||
| 42 | +if test "$ac_cv_header_stdbool_h" = yes && test "$ac_cv_sizeof_bool" = 1; then | ||
| 43 | AC_DEFINE([PG_USE_STDBOOL], 1, | ||
| 44 | [Define to 1 to use <stdbool.h> to define type bool.]) | ||
| 45 | fi | ||
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/add-expected-output-file-for-descrec-test.patch b/meta-oe/recipes-dbs/psqlodbc/files/add-expected-output-file-for-descrec-test.patch new file mode 100644 index 0000000000..af25b207c8 --- /dev/null +++ b/meta-oe/recipes-dbs/psqlodbc/files/add-expected-output-file-for-descrec-test.patch | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | From 453a8bdcaafde9fcd108a195ffea3ccb5c4d0a21 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Christoph Berg <myon@debian.org> | ||
| 3 | Date: Mon, 16 Jun 2025 20:25:26 +0200 | ||
| 4 | Subject: [PATCH] Add expected output file for descrec test in C locale (#131) | ||
| 5 | |||
| 6 | When running with LC_ALL=C, SQL_DESC_OCTET_LENGTH matches the character | ||
| 7 | length. Add "10" as accepted value. | ||
| 8 | |||
| 9 | The net diff to the existing descrec.out file is this: | ||
| 10 | |||
| 11 | test/expected/descrec.out 2025-06-13 19:02:36.460302799 +0200 | ||
| 12 | test/expected/descrec_2.out 2025-06-16 14:34:44.270543393 +0200 | ||
| 13 | @@ -19,7 +19,7 @@ | ||
| 14 | -- Column 3 -- | ||
| 15 | SQL_DESC_NAME: col3 | ||
| 16 | SQL_DESC_TYPE: 12 | ||
| 17 | -SQL_DESC_OCTET_LENGTH: 40 | ||
| 18 | +SQL_DESC_OCTET_LENGTH: 10 | ||
| 19 | SQL_DESC_PRECISION: 0 | ||
| 20 | SQL_DESC_SCALE: 0 | ||
| 21 | SQL_DESC_NULLABLE: 0 | ||
| 22 | |||
| 23 | Fixes #51. | ||
| 24 | |||
| 25 | Upstream-Status: Backport [https://github.com/postgresql-interfaces/psqlodbc/commit/453a8bdcaafde9fcd108a195ffea3ccb5c4d0a21] | ||
| 26 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 27 | |||
| 28 | --- | ||
| 29 | test/expected/descrec_2.out | 34 ++++++++++++++++++++++++++++++++++ | ||
| 30 | 1 file changed, 34 insertions(+) | ||
| 31 | create mode 100644 test/expected/descrec_2.out | ||
| 32 | |||
| 33 | diff --git a/test/expected/descrec_2.out b/test/expected/descrec_2.out | ||
| 34 | new file mode 100644 | ||
| 35 | index 0000000..6f61c49 | ||
| 36 | --- /dev/null | ||
| 37 | +++ b/test/expected/descrec_2.out | ||
| 38 | @@ -0,0 +1,34 @@ | ||
| 39 | +connected | ||
| 40 | + | ||
| 41 | +-- Column 1 -- | ||
| 42 | +SQL_DESC_NAME: col1 | ||
| 43 | +SQL_DESC_TYPE: 4 | ||
| 44 | +SQL_DESC_OCTET_LENGTH: 0 | ||
| 45 | +SQL_DESC_PRECISION: 0 | ||
| 46 | +SQL_DESC_SCALE: 0 | ||
| 47 | +SQL_DESC_NULLABLE: 0 | ||
| 48 | + | ||
| 49 | +-- Column 2 -- | ||
| 50 | +SQL_DESC_NAME: col2 | ||
| 51 | +SQL_DESC_TYPE: 2 | ||
| 52 | +SQL_DESC_OCTET_LENGTH: 6 | ||
| 53 | +SQL_DESC_PRECISION: 4 | ||
| 54 | +SQL_DESC_SCALE: 2 | ||
| 55 | +SQL_DESC_NULLABLE: 1 | ||
| 56 | + | ||
| 57 | +-- Column 3 -- | ||
| 58 | +SQL_DESC_NAME: col3 | ||
| 59 | +SQL_DESC_TYPE: 12 | ||
| 60 | +SQL_DESC_OCTET_LENGTH: 10 | ||
| 61 | +SQL_DESC_PRECISION: 0 | ||
| 62 | +SQL_DESC_SCALE: 0 | ||
| 63 | +SQL_DESC_NULLABLE: 0 | ||
| 64 | + | ||
| 65 | +-- Column 4 -- | ||
| 66 | +SQL_DESC_NAME: col4 | ||
| 67 | +SQL_DESC_TYPE: -5 | ||
| 68 | +SQL_DESC_OCTET_LENGTH: 8 | ||
| 69 | +SQL_DESC_PRECISION: 0 | ||
| 70 | +SQL_DESC_SCALE: 0 | ||
| 71 | +SQL_DESC_NULLABLE: 0 | ||
| 72 | +disconnecting | ||
diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_17.00.0006.bb index dfd7f6a1e6..2fbd8b78e4 100644 --- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb +++ b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_17.00.0006.bb | |||
| @@ -19,11 +19,12 @@ HOMEPAGE = "https://odbc.postgresql.org/" | |||
| 19 | LICENSE = "LGPL-2.0-only" | 19 | LICENSE = "LGPL-2.0-only" |
| 20 | LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" | 20 | LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" |
| 21 | 21 | ||
| 22 | SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions.old/src/${BPN}-${PV}.tar.gz \ | 22 | PV_WITH_USCORE = "${@d.getVar('PV').replace('.', '_')}" |
| 23 | SRC_URI = "git://github.com/postgresql-interfaces/psqlodbc.git;protocol=https;branch=main;tag=REL-${PV_WITH_USCORE} \ | ||
| 23 | file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ | 24 | file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ |
| 24 | file://psqlodbc-donot-use-the-hardcode-libdir.patch \ | 25 | file://psqlodbc-donot-use-the-hardcode-libdir.patch \ |
| 25 | file://psqlodbc-fix-for-ptest-support.patch \ | 26 | file://psqlodbc-fix-for-ptest-support.patch \ |
| 26 | file://0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch \ | 27 | file://add-expected-output-file-for-descrec-test.patch \ |
| 27 | file://run-ptest \ | 28 | file://run-ptest \ |
| 28 | " | 29 | " |
| 29 | 30 | ||
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch index a872be5b54..9950be4c90 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch | |||
| @@ -27,10 +27,8 @@ Signed-off-by: mark.yang <mark.yang@lge.com> | |||
| 27 | include/rocksdb/utilities/checkpoint.h | 1 + | 27 | include/rocksdb/utilities/checkpoint.h | 1 + |
| 28 | 1 file changed, 1 insertion(+) | 28 | 1 file changed, 1 insertion(+) |
| 29 | 29 | ||
| 30 | Index: git/include/rocksdb/utilities/checkpoint.h | 30 | --- a/include/rocksdb/utilities/checkpoint.h |
| 31 | =================================================================== | 31 | +++ b/include/rocksdb/utilities/checkpoint.h |
| 32 | --- git.orig/include/rocksdb/utilities/checkpoint.h | ||
| 33 | +++ git/include/rocksdb/utilities/checkpoint.h | ||
| 34 | @@ -7,6 +7,7 @@ | 32 | @@ -7,6 +7,7 @@ |
| 35 | 33 | ||
| 36 | #pragma once | 34 | #pragma once |
| @@ -39,3 +37,13 @@ Index: git/include/rocksdb/utilities/checkpoint.h | |||
| 39 | #include <string> | 37 | #include <string> |
| 40 | #include <vector> | 38 | #include <vector> |
| 41 | 39 | ||
| 40 | --- a/include/rocksdb/utilities/transaction_db_mutex.h | ||
| 41 | +++ b/include/rocksdb/utilities/transaction_db_mutex.h | ||
| 42 | @@ -5,6 +5,7 @@ | ||
| 43 | |||
| 44 | #pragma once | ||
| 45 | |||
| 46 | +#include <cstdint> | ||
| 47 | #include <memory> | ||
| 48 | |||
| 49 | #include "rocksdb/status.h" | ||
diff --git a/meta-oe/recipes-devtools/php/php_8.4.13.bb b/meta-oe/recipes-devtools/php/php_8.4.14.bb index 527d825189..483ba19ddd 100644 --- a/meta-oe/recipes-devtools/php/php_8.4.13.bb +++ b/meta-oe/recipes-devtools/php/php_8.4.14.bb | |||
| @@ -29,7 +29,7 @@ SRC_URI:append:class-target = " \ | |||
| 29 | 29 | ||
| 30 | S = "${UNPACKDIR}/php-${PV}" | 30 | S = "${UNPACKDIR}/php-${PV}" |
| 31 | 31 | ||
| 32 | SRC_URI[sha256sum] = "85181ddca7b3e03f148521b043bd62411950d468c667db6400479f1b10812194" | 32 | SRC_URI[sha256sum] = "f2139ce4cb7a6c5643ee98caa34e5c32ba841c2ba293e34a3d0357faa84bb3e7" |
| 33 | 33 | ||
| 34 | CVE_STATUS_GROUPS += "CVE_STATUS_PHP" | 34 | CVE_STATUS_GROUPS += "CVE_STATUS_PHP" |
| 35 | CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." | 35 | CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." |
diff --git a/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb b/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb index 9dad6ba279..4260111200 100644 --- a/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb +++ b/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb | |||
| @@ -16,7 +16,10 @@ SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag= | |||
| 16 | 16 | ||
| 17 | # Main dependencies | 17 | # Main dependencies |
| 18 | inherit cmake pkgconfig lib_package ptest multilib_header | 18 | inherit cmake pkgconfig lib_package ptest multilib_header |
| 19 | DEPENDS = "libpcre2" | 19 | DEPENDS = " \ |
| 20 | libpcre2 \ | ||
| 21 | xxhash \ | ||
| 22 | " | ||
| 20 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)}" | 23 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)}" |
| 21 | 24 | ||
| 22 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" | 25 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" |
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb index cb8aa96d00..6ca05d0596 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb | |||
| @@ -21,3 +21,5 @@ RDEPENDS:${PN} = "\ | |||
| 21 | python3-yarl \ | 21 | python3-yarl \ |
| 22 | python3-aiodns \ | 22 | python3-aiodns \ |
| 23 | " | 23 | " |
| 24 | |||
| 25 | CFLAGS:append:arm = " -flax-vector-conversions" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb b/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb index 9840fbfbd6..a75948a006 100644 --- a/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb | |||
| @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" | |||
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "13a7bf254c3c0d28b12e2290b82aed0f0977a4c2a2bf84854fcdc7796a29f3b0" | 8 | SRC_URI[sha256sum] = "13a7bf254c3c0d28b12e2290b82aed0f0977a4c2a2bf84854fcdc7796a29f3b0" |
| 9 | 9 | ||
| 10 | inherit pypi setuptools3 cython | 10 | inherit pypi python_setuptools_build_meta cython |
| 11 | |||
| 12 | DEPENDS += "python3-setuptools-git-versioning-native" | ||
| 11 | 13 | ||
| 12 | RDEPENDS:${PN} += "python3-toolz" | 14 | RDEPENDS:${PN} += "python3-toolz" |
diff --git a/meta-python/recipes-devtools/python/python3-mmh3_5.2.0.bb b/meta-python/recipes-devtools/python/python3-mmh3_5.2.0.bb new file mode 100644 index 0000000000..c719762885 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mmh3_5.2.0.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | SUMMARY = "Python extension for MurmurHash (MurmurHash3), a set of fast and \ | ||
| 2 | robust hash functions" | ||
| 3 | HOMEPAGE = "https://github.com/hajimes/mmh3" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2edf2352bb2cd3d7787f05247781b314" | ||
| 6 | |||
| 7 | inherit pypi python_setuptools_build_meta | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "1efc8fec8478e9243a78bb993422cf79f8ff85cb4cf6b79647480a31e0d950a8" | ||
| 10 | |||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-orjson-crates.inc b/meta-python/recipes-devtools/python/python3-orjson-crates.inc new file mode 100644 index 0000000000..76ed174329 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson-crates.inc | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | # Autogenerated with 'bitbake -c update_crates python3-orjson' | ||
| 2 | |||
| 3 | # from Cargo.lock | ||
| 4 | SRC_URI += " \ | ||
| 5 | crate://crates.io/associative-cache/2.0.0 \ | ||
| 6 | crate://crates.io/bytecount/0.6.8 \ | ||
| 7 | crate://crates.io/castaway/0.2.3 \ | ||
| 8 | crate://crates.io/cc/1.2.20 \ | ||
| 9 | crate://crates.io/cfg-if/1.0.0 \ | ||
| 10 | crate://crates.io/compact_str/0.9.0 \ | ||
| 11 | crate://crates.io/crunchy/0.2.3 \ | ||
| 12 | crate://crates.io/encoding_rs/0.8.35 \ | ||
| 13 | crate://crates.io/gimli/0.31.1 \ | ||
| 14 | crate://crates.io/half/2.6.0 \ | ||
| 15 | crate://crates.io/itoa/1.0.15 \ | ||
| 16 | crate://crates.io/itoap/1.0.1 \ | ||
| 17 | crate://crates.io/jiff/0.2.10 \ | ||
| 18 | crate://crates.io/jiff-static/0.2.10 \ | ||
| 19 | crate://crates.io/libc/0.2.172 \ | ||
| 20 | crate://crates.io/memchr/2.7.4 \ | ||
| 21 | crate://crates.io/once_cell/1.21.3 \ | ||
| 22 | crate://crates.io/portable-atomic/1.11.0 \ | ||
| 23 | crate://crates.io/portable-atomic-util/0.2.4 \ | ||
| 24 | crate://crates.io/proc-macro2/1.0.95 \ | ||
| 25 | crate://crates.io/pyo3-build-config/0.23.3 \ | ||
| 26 | crate://crates.io/pyo3-ffi/0.23.3 \ | ||
| 27 | crate://crates.io/quote/1.0.40 \ | ||
| 28 | crate://crates.io/rustversion/1.0.20 \ | ||
| 29 | crate://crates.io/ryu/1.0.20 \ | ||
| 30 | crate://crates.io/serde/1.0.219 \ | ||
| 31 | crate://crates.io/serde_derive/1.0.219 \ | ||
| 32 | crate://crates.io/serde_json/1.0.140 \ | ||
| 33 | crate://crates.io/shlex/1.3.0 \ | ||
| 34 | crate://crates.io/simdutf8/0.1.5 \ | ||
| 35 | crate://crates.io/smallvec/1.15.0 \ | ||
| 36 | crate://crates.io/static_assertions/1.1.0 \ | ||
| 37 | crate://crates.io/syn/2.0.101 \ | ||
| 38 | crate://crates.io/target-lexicon/0.13.2 \ | ||
| 39 | crate://crates.io/unicode-ident/1.0.18 \ | ||
| 40 | crate://crates.io/unwinding/0.2.5 \ | ||
| 41 | crate://crates.io/uuid/1.16.0 \ | ||
| 42 | crate://crates.io/version_check/0.9.5 \ | ||
| 43 | crate://crates.io/xxhash-rust/0.8.15 \ | ||
| 44 | " | ||
| 45 | |||
| 46 | SRC_URI[associative-cache-2.0.0.sha256sum] = "b993cd767a2bc7307dd87622311ca22c44329cc7a21366206bfa0896827b2bad" | ||
| 47 | SRC_URI[bytecount-0.6.8.sha256sum] = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" | ||
| 48 | SRC_URI[castaway-0.2.3.sha256sum] = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" | ||
| 49 | SRC_URI[cc-1.2.20.sha256sum] = "04da6a0d40b948dfc4fa8f5bbf402b0fc1a64a28dbf7d12ffd683550f2c1b63a" | ||
| 50 | SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
| 51 | SRC_URI[compact_str-0.9.0.sha256sum] = "3fdb1325a1cece981e8a296ab8f0f9b63ae357bd0784a9faaf548cc7b480707a" | ||
| 52 | SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" | ||
| 53 | SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" | ||
| 54 | SRC_URI[gimli-0.31.1.sha256sum] = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" | ||
| 55 | SRC_URI[half-2.6.0.sha256sum] = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9" | ||
| 56 | SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" | ||
| 57 | SRC_URI[itoap-1.0.1.sha256sum] = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" | ||
| 58 | SRC_URI[jiff-0.2.10.sha256sum] = "5a064218214dc6a10fbae5ec5fa888d80c45d611aba169222fc272072bf7aef6" | ||
| 59 | SRC_URI[jiff-static-0.2.10.sha256sum] = "199b7932d97e325aff3a7030e141eafe7f2c6268e1d1b24859b753a627f45254" | ||
| 60 | SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" | ||
| 61 | SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" | ||
| 62 | SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" | ||
| 63 | SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" | ||
| 64 | SRC_URI[portable-atomic-util-0.2.4.sha256sum] = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" | ||
| 65 | SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" | ||
| 66 | SRC_URI[pyo3-build-config-0.23.3.sha256sum] = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b" | ||
| 67 | SRC_URI[pyo3-ffi-0.23.3.sha256sum] = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d" | ||
| 68 | SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" | ||
| 69 | SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" | ||
| 70 | SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" | ||
| 71 | SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" | ||
| 72 | SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | ||
| 73 | SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" | ||
| 74 | SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" | ||
| 75 | SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" | ||
| 76 | SRC_URI[smallvec-1.15.0.sha256sum] = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" | ||
| 77 | SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" | ||
| 78 | SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" | ||
| 79 | SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" | ||
| 80 | SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" | ||
| 81 | SRC_URI[unwinding-0.2.5.sha256sum] = "51f06a05848f650946acef3bf525fe96612226b61f74ae23ffa4e98bfbb8ab3c" | ||
| 82 | SRC_URI[uuid-1.16.0.sha256sum] = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" | ||
| 83 | SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | ||
| 84 | SRC_URI[xxhash-rust-0.8.15.sha256sum] = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" | ||
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb b/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb new file mode 100644 index 0000000000..7db76c9415 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "orjson is a fast, correct JSON library for Python" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/orjson/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b" | ||
| 7 | |||
| 8 | require ${BPN}-crates.inc | ||
| 9 | |||
| 10 | inherit pypi python_maturin cargo-update-recipe-crates | ||
| 11 | |||
| 12 | DEPENDS = "python3-maturin-native" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += "python3-maturin python3-mypy" | ||
| 15 | |||
| 16 | do_compile:prepend() { | ||
| 17 | sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml | ||
| 18 | } | ||
| 19 | |||
| 20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb b/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb new file mode 100644 index 0000000000..a551034168 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | SUMMARY = "Fast Base64 encoding/decoding in Python" | ||
| 2 | HOMEPAGE = "https://github.com/mayeut/pybase64" | ||
| 3 | LICENSE = "BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84b11fa55a5d83cf6fa202fd3b49c7e8" | ||
| 5 | |||
| 6 | inherit pypi setuptools3 | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "46cdefd283ed9643315d952fe44de80dc9b9a811ce6e3ec97fd1827af97692d0" | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyfiglet_1.0.4.bb b/meta-python/recipes-devtools/python/python3-pyfiglet_1.0.4.bb new file mode 100644 index 0000000000..948bac56df --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyfiglet_1.0.4.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | SUMMARY = "An implementation of figlet written in Python" | ||
| 2 | HOMEPAGE = "https://github.com/pwaller/pyfiglet" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f37a72c457e560fc4853ae67f3f9cc0e" | ||
| 5 | |||
| 6 | inherit pypi python_setuptools_build_meta | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "db9c9940ed1bf3048deff534ed52ff2dafbbc2cd7610b17bb5eca1df6d4278ef" | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-questionary_2.1.1.bb b/meta-python/recipes-devtools/python/python3-questionary_2.1.1.bb new file mode 100644 index 0000000000..a7120dc619 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-questionary_2.1.1.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | SUMMARY = "Python library to build pretty command line user prompts. Easy to \ | ||
| 2 | use multi-select lists, confirmations, free text prompts." | ||
| 3 | HOMEPAGE = "https://github.com/tmbo/questionary" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=19f0688967ec2b2624ee04c0136daae7" | ||
| 6 | |||
| 7 | inherit pypi python_poetry_core | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "3d7e980292bb0107abaa79c68dd3eee3c561b83a0f89ae482860b181c8bd412d" | ||
| 10 | |||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb index 0da9d26dd3..8206e8513d 100644 --- a/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb | |||
| @@ -10,8 +10,7 @@ inherit pypi setuptools3 | |||
| 10 | PACKAGECONFIG ?= "" | 10 | PACKAGECONFIG ?= "" |
| 11 | PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli" | 11 | PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli" |
| 12 | 12 | ||
| 13 | RDEPENDS:${PN} += "python3-packaging python3-setuptools \ | 13 | RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \ |
| 14 | python3-core python3-datetime python3-logging \ | ||
| 15 | python3-packaging python3-pprint python3-setuptools \ | 14 | python3-packaging python3-pprint python3-setuptools \ |
| 16 | python3-tomllib" | 15 | python3-tomllib" |
| 17 | 16 | ||
diff --git a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch index 46b1f7c7b8..3315aa579b 100644 --- a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch +++ b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch | |||
| @@ -9,7 +9,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
| 9 | 9 | ||
| 10 | --- a/webmin/webmin-lib.pl | 10 | --- a/webmin/webmin-lib.pl |
| 11 | +++ b/webmin/webmin-lib.pl | 11 | +++ b/webmin/webmin-lib.pl |
| 12 | @@ -1170,38 +1170,6 @@ my %miniserv; | 12 | @@ -1234,52 +1234,6 @@ my %miniserv; |
| 13 | &get_miniserv_config(\%miniserv); | 13 | &get_miniserv_config(\%miniserv); |
| 14 | &load_theme_library(); # So that UI functions work | 14 | &load_theme_library(); # So that UI functions work |
| 15 | 15 | ||
| @@ -27,6 +27,20 @@ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
| 27 | - else { | 27 | - else { |
| 28 | - &read_file($realos_cache_file, \%realos); | 28 | - &read_file($realos_cache_file, \%realos); |
| 29 | - } | 29 | - } |
| 30 | - my $new_real = $realos{'real_os_version'}; | ||
| 31 | - my $old_real = $gconfig{'real_os_version'}; | ||
| 32 | - $new_real =~ s/\.\d+$//; | ||
| 33 | - $old_real =~ s/\.\d+$//; | ||
| 34 | - if ($realos{'real_os_type'} eq $gconfig{'real_os_type'} && | ||
| 35 | - $new_real eq $old_real && | ||
| 36 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'}) { | ||
| 37 | - # Only the minor OS version has changed, just silently update it | ||
| 38 | - &lock_file("$config_directory/config"); | ||
| 39 | - $gconfig{'real_os_version'} = $realos{'real_os_version'}; | ||
| 40 | - $gconfig{'os_version'} = $realos{'os_version'}; | ||
| 41 | - &write_file("$config_directory/config", \%gconfig); | ||
| 42 | - &unlock_file("$config_directory/config"); | ||
| 43 | - } | ||
| 30 | - if (($realos{'os_version'} ne $gconfig{'os_version'} || | 44 | - if (($realos{'os_version'} ne $gconfig{'os_version'} || |
| 31 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'} || | 45 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'} || |
| 32 | - $realos{'os_type'} ne $gconfig{'os_type'}) && | 46 | - $realos{'os_type'} ne $gconfig{'os_type'}) && |
diff --git a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch index 65e1d77629..cd9a522bb6 100644 --- a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch +++ b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch | |||
| @@ -5,15 +5,14 @@ Upstream-Status: Inappropriate [config] | |||
| 5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 6 | --- a/net/module.info | 6 | --- a/net/module.info |
| 7 | +++ b/net/module.info | 7 | +++ b/net/module.info |
| 8 | @@ -1,7 +1,7 @@ | 8 | @@ -1,6 +1,6 @@ |
| 9 | version=2.300 | ||
| 10 | longdesc=Configure boot time and active interfaces, DNS, routing and /etc/hosts. | ||
| 11 | name=Networking | 9 | name=Networking |
| 10 | category=net | ||
| 12 | -os_support=solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux | 11 | -os_support=solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux |
| 13 | +os_support=generic-linux solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux | 12 | +os_support=generic-linux solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux |
| 14 | readonly=1 | ||
| 15 | desc=Network Configuration | 13 | desc=Network Configuration |
| 16 | category=net | 14 | longdesc=Configure boot time and active interfaces, DNS, routing and /etc/hosts. |
| 15 | readonly=1 | ||
| 17 | --- /dev/null | 16 | --- /dev/null |
| 18 | +++ b/net/generic-linux-lib.pl | 17 | +++ b/net/generic-linux-lib.pl |
| 19 | @@ -0,0 +1,2 @@ | 18 | @@ -0,0 +1,2 @@ |
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_2.300.bb b/meta-webserver/recipes-webadmin/webmin/webmin_2.303.bb index 1e46384465..f65898bf93 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_2.300.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_2.303.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ | |||
| 19 | file://mysql-config-fix.patch \ | 19 | file://mysql-config-fix.patch \ |
| 20 | file://webmin.service \ | 20 | file://webmin.service \ |
| 21 | " | 21 | " |
| 22 | SRC_URI[sha256sum] = "1405dfd1f452c502169e07f00fb856fe31af122e484df03e1ac549a7eeec3001" | 22 | SRC_URI[sha256sum] = "1317935427aa893159b2dae52a2860adbd9ba5482522115abd2422a4bb27c983" |
| 23 | UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" | 23 | UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" |
| 24 | UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz" | 24 | UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz" |
| 25 | 25 | ||
