All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 2/2] package/angularjs: drop package
Date: Sat, 15 Feb 2025 12:07:05 +0100	[thread overview]
Message-ID: <20250215110705.159871-2-peter@korsgaard.com> (raw)
In-Reply-To: <20250215110705.159871-1-peter@korsgaard.com>

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.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 Config.in.legacy                 |  7 +++++++
 DEVELOPERS                       |  3 ---
 package/Config.in                |  1 -
 package/angularjs/Config.in      |  6 ------
 package/angularjs/angularjs.hash |  3 ---
 package/angularjs/angularjs.mk   | 29 -----------------------------
 6 files changed, 7 insertions(+), 42 deletions(-)
 delete mode 100644 package/angularjs/Config.in
 delete mode 100644 package/angularjs/angularjs.hash
 delete mode 100644 package/angularjs/angularjs.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 037f9a8b89..f94a7db7b0 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -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
diff --git a/DEVELOPERS b/DEVELOPERS
index 5f98257b86..4914acba0d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
 
diff --git a/package/Config.in b/package/Config.in
index 5e2dc79cb5..6f79eafc4b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/angularjs/Config.in b/package/angularjs/Config.in
deleted file mode 100644
index f0d2015a70..0000000000
--- a/package/angularjs/Config.in
+++ /dev/null
@@ -1,6 +0,0 @@
-config BR2_PACKAGE_ANGULARJS
-	bool "angularjs"
-	help
-	  AngularJS web application framework.
-
-	  http://angularjs.org
diff --git a/package/angularjs/angularjs.hash b/package/angularjs/angularjs.hash
deleted file mode 100644
index 5468174e4d..0000000000
--- a/package/angularjs/angularjs.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  471b57064031da8c5fd3b1ba3f52dd1e0d2740a97ed34da2e8ab2a4cc2718280  angular-1.8.2.zip
-sha256  237656fae6e39d02cd71cbcfbf91b7964eba5796aafca1bfcfff3b054ce3fed6  angular.js
diff --git a/package/angularjs/angularjs.mk b/package/angularjs/angularjs.mk
deleted file mode 100644
index d393c82c19..0000000000
--- a/package/angularjs/angularjs.mk
+++ /dev/null
@@ -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))
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-02-15 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15 11:07 [Buildroot] [PATCH 1/2] package/angular-websocket: drop package Peter Korsgaard
2025-02-15 11:07 ` Peter Korsgaard [this message]
2025-02-15 21:20 ` Julien Olivain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250215110705.159871-2-peter@korsgaard.com \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.