Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From 42ac641452aa56afa04f7bad5a55f790ee639852 Mon Sep 17 00:00:00 2001
From: "Christian W. Zuckschwerdt" <christian@zuckschwerdt.org>
Date: Sun, 30 Mar 2025 12:05:53 +0200
Subject: [PATCH] build: Update for compat with newer CMake (closes #3245)
Upstream: https://github.com/merbanan/rtl_433/commit/42ac641452aa56afa04f7bad5a55f790ee639852
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 08f63eea7..6dc1f7910 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
########################################################################
# Project setup
########################################################################
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.6...3.10)
# Fix behavior of CMAKE_C_STANDARD when targeting macOS.
if(POLICY CMP0025)
cmake_policy(SET CMP0025 NEW)

View File

@@ -0,0 +1,31 @@
From 25e47f8932f0401392ef1d3c8cc9ed5595bc894a Mon Sep 17 00:00:00 2001
From: "Christian W. Zuckschwerdt" <christian@zuckschwerdt.org>
Date: Wed, 8 Oct 2025 10:11:15 +0200
Subject: [PATCH] Fix overflow in rfraw test data parsing (closes #3375)
CVE: CVE-2025-34450
Upstream: https://github.com/merbanan/rtl_433/commit/25e47f8932f0401392ef1d3c8cc9ed5595bc894a
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
src/rfraw.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/rfraw.c b/src/rfraw.c
index 9f4c9780c..71a1c365d 100644
--- a/src/rfraw.c
+++ b/src/rfraw.c
@@ -159,9 +159,14 @@ static bool parse_rfraw(pulse_data_t *data, char const **p)
data->num_pulses++;
pulse_needed = true;
}
+ // abort reading if the pulse data array is full
+ if (data->num_pulses >= PD_MAX_PULSES) {
+ break;
+ }
}
//data->gap[data->num_pulses - 1] = 3000; // TODO: extend last gap?
+ // expand reapeats as long as the pulse data array has enough space
unsigned pkt_pulses = data->num_pulses - prev_pulses;
for (int i = 1; i < repeats && data->num_pulses + pkt_pulses <= PD_MAX_PULSES; ++i) {
memcpy(&data->pulse[data->num_pulses], &data->pulse[prev_pulses], pkt_pulses * sizeof (*data->pulse));

10
package/rtl_433/Config.in Normal file
View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_RTL_433
bool "rtl_433"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
help
rtl_433 (despite the name) is a generic data receiver, mainly
for the 433.92 MHz, 868 MHz (SRD), 315 MHz, 345 MHz, and 915
MHz ISM bands.
https://github.com/merbanan/rtl_433

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 5a409ea10e6d3d7d4aa5ea91d2d6cc92ebb2d730eb229c7b37ade65458223432 rtl_433-25.02.tar.gz
# License file, locally calculated
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING

View File

@@ -0,0 +1,47 @@
################################################################################
#
# rtl_433
#
################################################################################
RTL_433_VERSION = 25.02
RTL_433_SITE = $(call github,merbanan,rtl_433,$(RTL_433_VERSION))
RTL_433_LICENSE = GPL-2.0+
RTL_433_LICENSE_FILES = COPYING
RTL_433_CPE_ID_VALID = YES
# 0002-Fix-overflow-in-rfraw-test-data-parsing.patch
RTL_433_IGNORE_CVES += CVE-2025-34450
# Force Release build to remove ASAN.
RTL_433_CONF_OPTS = \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOCUMENTATION=OFF \
-DBUILD_TESTING=OFF \
-DBUILD_TESTING_ANALYZER=OFF \
-DENABLE_SOAPYSDR=OFF
# do not include Buildroot git info in version output
RTL_433_CONF_ENV = GIT_DIR=.
ifeq ($(BR2_PACKAGE_LIBRTLSDR),y)
RTL_433_DEPENDENCIES += librtlsdr
RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON
else
RTL_433_CONF_OPTS += -DENABLE_RTLSDR=OFF
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
RTL_433_DEPENDENCIES += openssl
RTL_433_CONF_OPTS += -DENABLE_OPENSSL=ON
else
RTL_433_CONF_OPTS += -DENABLE_OPENSSL=OFF
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
RTL_433_CONF_OPTS += -DENABLE_THREADS=ON
else
RTL_433_CONF_OPTS += -DENABLE_THREADS=OFF
endif
$(eval $(cmake-package))