package/forge: remove package

Because the way JavaScript project development is working the chances that your
project is using the same version of the buildroot package, and you provide
this library from `/var/www` to your users is actually really low ...

If you want to bundle JavaScript libraries in your project you should probably
either use a cdn, handle the package version and location of your choice in
your external or overlay, or just bundle it in your assets from a NPM workflow
to benefit from some minifications from your bundler.

Historically many of those JavaScript libraries were added in the 2010 eras
where it could make sense for them to be part of Buildroot.

Most of them are also way outdated/not maintained.

For more informations see https://elinux.org/Buildroot:DeveloperDaysELCE2025

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Perale
2025-08-29 12:33:32 +02:00
committed by Thomas Petazzoni
parent de970ee783
commit 37755d7275
6 changed files with 6 additions and 36 deletions

View File

@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2026.02"
config BR2_PACKAGE_FORGE
bool "forge has been removed"
select BR2_LEGACY
help
JS libraries are no longer part of Buildroot packages.
config BR2_PACKAGE_FLOT
bool "flot has been removed"
select BR2_LEGACY

View File

@@ -1712,7 +1712,6 @@ F: package/erlang-p1-yconf/
F: package/erlang-p1-zlib/
F: package/erlang-stun/
F: package/erlang-xmpp/
F: package/forge/
F: package/nginx-dav-ext/
F: package/vis-network/
F: package/vuejs/

View File

@@ -1868,7 +1868,6 @@ endmenu
menu "Javascript"
source "package/duktape/Config.in"
source "package/forge/Config.in"
source "package/jquery/Config.in"
if BR2_PACKAGE_JQUERY
menu "External jQuery plugins"

View File

@@ -1,7 +0,0 @@
config BR2_PACKAGE_FORGE
bool "forge"
help
A native implementation of TLS (and various other
cryptographic tools) in JavaScript.
https://github.com/digitalbazaar/forge

View File

@@ -1,3 +0,0 @@
# Locally computed
sha256 77de03720cd00fafdbcda47e3e995a1f548f2e9028d11a98b0d9bef37ec2ad85 node-forge-1.3.1.tgz
sha256 f63ff0e4e239244aa79280da2dd4811a0469e5e201caf5cbc0d97c3a1dff8e82 LICENSE

View File

@@ -1,24 +0,0 @@
################################################################################
#
# forge
#
################################################################################
FORGE_VERSION = 1.3.1
FORGE_SITE = https://registry.npmjs.org/node-forge/-
FORGE_SOURCE = node-forge-$(FORGE_VERSION).tgz
FORGE_LICENSE = BSD-3-Clause, GPL-2.0, vendored dependencies licenses probably not listed
FORGE_LICENSE_FILES = LICENSE
FORGE_CPE_ID_VENDOR = digitalbazaar
# Install .min.js as .js
define FORGE_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/dist/forge.all.min.js \
$(TARGET_DIR)/var/www/forge.all.js
$(INSTALL) -m 644 -D $(@D)/dist/forge.min.js \
$(TARGET_DIR)/var/www/forge.js
$(INSTALL) -m 644 -D $(@D)/dist/prime.worker.min.js \
$(TARGET_DIR)/var/www/prime.worker.js
endef
$(eval $(generic-package))