package/angularjs: drop package

The package has not been updated since 2020, has known vulnerabilities and
the upstream Github project has been archived as of April 12, 2024 - So drop
the package.

For reference, AngularJS website [1] reads, at the time of
this commit:
"""
AngularJS support has officially ended as of January 2022.
See what ending support means [2] and read the end of life
announcement [3].
"""

[1] https://angularjs.org/
[2] https://docs.angularjs.org/misc/version-support-status
[3] https://goo.gle/angularjs-end-of-life

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Julien: add end-of-life announce and links in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Peter Korsgaard
2025-02-15 12:07:05 +01:00
committed by Julien Olivain
parent e9c0222bf4
commit 59a8322ce8
6 changed files with 7 additions and 42 deletions

View File

@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2025.02"
config BR2_PACKAGE_ANGULARJS
bool "angularjs has been removed"
select BR2_LEGACY
help
The angularjs package was removed as the upstream
project has been archived.
config BR2_PACKAGE_ANGULAR_WEBSOCKET
bool "angular-websocket has been removed"
select BR2_LEGACY

View File

@@ -1447,9 +1447,6 @@ F: package/gcc-bare-metal/
F: package/newlib-bare-metal/
F: toolchain/toolchain-bare-metal-buildroot/
N: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
F: package/angularjs/
N: Ilias Apalodimas <apalos@gmail.com>
F: package/keepalived/

View File

@@ -1862,7 +1862,6 @@ menu "Hardware handling"
endmenu
menu "Javascript"
source "package/angularjs/Config.in"
source "package/bootstrap/Config.in"
source "package/chartjs/Config.in"
source "package/datatables/Config.in"

View File

@@ -1,6 +0,0 @@
config BR2_PACKAGE_ANGULARJS
bool "angularjs"
help
AngularJS web application framework.
http://angularjs.org

View File

@@ -1,3 +0,0 @@
# Locally computed:
sha256 471b57064031da8c5fd3b1ba3f52dd1e0d2740a97ed34da2e8ab2a4cc2718280 angular-1.8.2.zip
sha256 237656fae6e39d02cd71cbcfbf91b7964eba5796aafca1bfcfff3b054ce3fed6 angular.js

View File

@@ -1,29 +0,0 @@
################################################################################
#
# angularjs
#
################################################################################
ANGULARJS_VERSION = 1.8.2
ANGULARJS_SOURCE = angular-$(ANGULARJS_VERSION).zip
ANGULARJS_SITE = https://code.angularjs.org/$(ANGULARJS_VERSION)
ANGULARJS_LICENSE = MIT
# There's no separate license file in the archive, so use angular.js instead.
ANGULARJS_LICENSE_FILES = angular.js
ANGULARJS_CPE_ID_VENDOR = angularjs
ANGULARJS_CPE_ID_PRODUCT = angular.js
define ANGULARJS_EXTRACT_CMDS
unzip $(ANGULARJS_DL_DIR)/$(ANGULARJS_SOURCE) -d $(@D)
mv $(@D)/angular-$(ANGULARJS_VERSION)/* $(@D)
rmdir $(@D)/angular-$(ANGULARJS_VERSION)
endef
# install .min.js as .js
define ANGULARJS_INSTALL_TARGET_CMDS
$(foreach f,$(notdir $(wildcard $(@D)/*.min.js)),
$(INSTALL) -m 0644 -D $(@D)/$(f) \
$(TARGET_DIR)/var/www/$(f:.min.js=.js)$(sep))
endef
$(eval $(generic-package))