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,41 @@
From 2631c745f986b356fbe5e1d418cff63b46134df6 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Tue, 19 Mar 2024 20:37:33 +0100
Subject: [PATCH] unix/utils/arm_arch_queries.h: fix uclibc build
Build on uclibc is broken since version 0.75 and commit
65383082bf0c49cec63f4b36001a40bd9b13edf6 because AT_HWCAP2 is used
even if <sys/auxv.h> is not available:
/home/buildroot/autobuild/run/instance-3/output-1/build/putty-0.80/unix/utils/arm_arch_queries.c: In function 'platform_aes_neon_available':
/home/buildroot/autobuild/run/instance-3/output-1/build/putty-0.80/unix/utils/arm_arch_queries.c:18:22: error: 'AT_HWCAP2' undeclared (first use in this function)
18 | return getauxval(AT_HWCAP2) & HWCAP2_AES;
| ^~~~~~~~~
To fix this build failure, include <elf.h>
Fixes:
- http://autobuild.buildroot.org/results/547d1c0e8a89e1e4b601aa756d26886bfc3d586f
Upstream: Rejected after sending to Simon Tatham <anakin@pobox.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
unix/utils/arm_arch_queries.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/unix/utils/arm_arch_queries.h b/unix/utils/arm_arch_queries.h
index fa46c622..5cce7f31 100644
--- a/unix/utils/arm_arch_queries.h
+++ b/unix/utils/arm_arch_queries.h
@@ -18,6 +18,8 @@
#if defined __arm__ || defined __aarch64__
+#include <elf.h>
+
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
--
2.43.0

15
package/putty/Config.in Normal file
View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_PUTTY
bool "putty"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
help
PuTTY is a free SSH and Telnet client. Without GTK2 or GTK3
activated, only the commandline tools plink, pscp, psftp,
and puttygen are built; enable GTK2 or GTK3 for the
graphical client.
https://www.chiark.greenend.org.uk/~sgtatham/putty/
comment "putty needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR

7
package/putty/putty.hash Normal file
View File

@@ -0,0 +1,7 @@
# Hashes from: https://the.earth.li/~sgtatham/putty/0.85/{sha1,sha256,sha512}sums
sha1 a9f0b3ed9b90a9f48615eb446a626fa107e33267 putty-0.85.tar.gz
sha256 13fd4db2936d03b73812a7bcc2a658e4dd29cc776a56c3670a7fc6f1a0ee8af8 putty-0.85.tar.gz
sha512 f52c3f580a0b9e52cb65c0bfddfa834f7362af22ac8c1a3803cefb11e43e35887b98209ae32d2abc0b56c2d0ddcc03c08b42542ce72989c1dc3ef116c19d761b putty-0.85.tar.gz
# Locally calculated
sha256 3b02f87e0063430289d9681727a98818c844fc8a4d79b24b76047fa061e77f13 LICENCE

23
package/putty/putty.mk Normal file
View File

@@ -0,0 +1,23 @@
################################################################################
#
# putty
#
################################################################################
PUTTY_VERSION = 0.85
PUTTY_SITE = https://the.earth.li/~sgtatham/putty/$(PUTTY_VERSION)
PUTTY_LICENSE = MIT
PUTTY_LICENSE_FILES = LICENCE
PUTTY_CPE_ID_VENDOR = putty
PUTTY_DEPENDENCIES = host-pkgconf
PUTTY_CONF_OPTS = -DPUTTY_GSSAPI=OFF
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
PUTTY_DEPENDENCIES += libgtk3
endif
ifeq ($(BR2_STATIC_LIBS),y)
PUTTY_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -DNO_LIBDL"
endif
$(eval $(cmake-package))