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,27 @@
Fix build with glibc 2.43
https://bugs.gentoo.org/969617
https://gitlab.exherbo.org/exherbo/arbor/-/raw/45d1f0e764ad1fcb8d776534d0925fe074d04d61/packages/net-www/links/files/links-2.30-glibc-2.43.patch
Source: https://www.linuxfromscratch.org/blfs/view/svn/basicnet/links.html
Reason: Fix build with glibc 2.43
Downloaded from
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/links/files/links-2.30-glibc-2.43-const.patch?id=ad9dd078c5473b947f237136746cd1c3933ae494
Upstream: Sent via email to project maintainers
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- a/ftp.c
+++ b/ftp.c
@@ -768,7 +768,7 @@
} while (0)
A(ftp_head);
ud = stracpy(get_url_data(c->url));
- if (strchr(cast_const_char ud, POST_CHAR)) *strchr(cast_const_char ud, POST_CHAR) = 0;
+ if (strchr(cast_char ud, POST_CHAR)) *strchr(cast_char ud, POST_CHAR) = 0;
s0 = init_str();
s0l = 0;
add_conv_str(&s0, &s0l, ud, (int)strlen(cast_const_char ud), -1);

24
package/links/Config.in Normal file
View File

@@ -0,0 +1,24 @@
config BR2_PACKAGE_LINKS
bool "links"
depends on BR2_USE_MMU # fork()
help
Graphics and text mode WWW browser (kind of like lynx).
http://links.twibright.com/
if BR2_PACKAGE_LINKS
config BR2_PACKAGE_LINKS_GRAPHICS
bool "use graphics"
depends on BR2_PACKAGE_GPM || BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBPNG
help
Enable graphics output for framebuffer, DirectFB or X11.
Framebuffer output requires GPM (console mouse).
Otherwise links will be text-mode only.
comment "links graphics needs GPM or X11"
depends on !BR2_PACKAGE_GPM && !BR2_PACKAGE_XORG7
endif

3
package/links/links.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 c4631c6b5a11527cdc3cb7872fc23b7f2b25c2b021d596be410dadb40315f166 links-2.30.tar.bz2
sha256 92deeb70791366630095d4e0714fe37d6e2bd5db0e6ef498ebb8de328f45b253 COPYING

92
package/links/links.mk Normal file
View File

@@ -0,0 +1,92 @@
################################################################################
#
# links
#
################################################################################
LINKS_VERSION = 2.30
LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2
LINKS_SITE = http://links.twibright.com/download
LINKS_DEPENDENCIES = host-pkgconf
LINKS_LICENSE = GPL-2.0+
LINKS_LICENSE_FILES = COPYING
LINKS_CPE_ID_VENDOR = twibright
LINKS_CONF_OPTS = --without-directfb
ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
LINKS_CONF_OPTS += --enable-graphics
LINKS_DEPENDENCIES += libpng
ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
LINKS_CONF_OPTS += \
--with-x \
--x-includes=$(STAGING_DIR)/usr/include \
--x-libraries=$(STAGING_DIR)/usr/lib
LINKS_DEPENDENCIES += xlib_libXt
else
LINKS_CONF_OPTS += --without-x
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
LINKS_CONF_OPTS += --with-libjpeg
LINKS_DEPENDENCIES += jpeg
else
LINKS_CONF_OPTS += --without-libjpeg
endif
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
LINKS_CONF_OPTS += --with-librsvg
LINKS_DEPENDENCIES += librsvg
else
LINKS_CONF_OPTS += --without-librsvg
endif
ifeq ($(BR2_PACKAGE_TIFF),y)
LINKS_CONF_OPTS += --with-libtiff
LINKS_DEPENDENCIES += tiff
else
LINKS_CONF_OPTS += --without-libtiff
endif
else
LINKS_CONF_OPTS += --disable-graphics
endif
ifeq ($(BR2_PACKAGE_BZIP2),y)
LINKS_CONF_OPTS += --with-bzip2
LINKS_DEPENDENCIES += bzip2
else
LINKS_CONF_OPTS += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_GPM),y)
LINKS_CONF_OPTS += --with-gpm
LINKS_DEPENDENCIES += gpm
else
LINKS_CONF_OPTS += --without-gpm
endif
ifeq ($(BR2_PACKAGE_LIBEVENT),y)
LINKS_CONF_OPTS += --with-libevent
LINKS_DEPENDENCIES += libevent
else
LINKS_CONF_OPTS += --without-libevent
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LINKS_CONF_OPTS += --with-ssl --enable-ssl-pkgconfig
LINKS_DEPENDENCIES += openssl
else
LINKS_CONF_OPTS += --without-ssl
endif
ifeq ($(BR2_PACKAGE_XZ),y)
LINKS_CONF_OPTS += --with-lzma
LINKS_DEPENDENCIES += xz
else
LINKS_CONF_OPTS += --without-lzma
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
LINKS_CONF_OPTS += --with-zlib
LINKS_DEPENDENCIES += zlib
else
LINKS_CONF_OPTS += --without-zlib
endif
$(eval $(autotools-package))