mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
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:
committed by
Julien Olivain
parent
e9c0222bf4
commit
59a8322ce8
@@ -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
|
||||
|
||||
@@ -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/
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
config BR2_PACKAGE_ANGULARJS
|
||||
bool "angularjs"
|
||||
help
|
||||
AngularJS web application framework.
|
||||
|
||||
http://angularjs.org
|
||||
@@ -1,3 +0,0 @@
|
||||
# Locally computed:
|
||||
sha256 471b57064031da8c5fd3b1ba3f52dd1e0d2740a97ed34da2e8ab2a4cc2718280 angular-1.8.2.zip
|
||||
sha256 237656fae6e39d02cd71cbcfbf91b7964eba5796aafca1bfcfff3b054ce3fed6 angular.js
|
||||
@@ -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))
|
||||
Reference in New Issue
Block a user