Skip to contentSkip to conversation

package/boa: drop package

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 17, 2021 – Jan 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/boa: drop package

Drop boa package as it is affected by multiple CVEs (CVE-2017-9833, CVE-2018-21027 and CVE-2018-21028) and is not maintained anymore (no release since 2005):

https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&seach_type=all&query=cpe:2.3:a:boa:boa:0.94.14.21:*:*:*:*:*:*:*

---
 Config.in.legacy                    |   7 +
 package/Config.in                   |   1 -
 package/boa/0001-use-name-max.patch |  21 ---
 package/boa/Config.in               |   8 --
 package/boa/boa.conf                | 187 -------------------------
 package/boa/boa.hash                |   3 -
 package/boa/boa.mk                  |  19 ---
 package/boa/mime.types              | 205 ----------------------------
 8 files changed, 7 insertions(+), 444 deletions(-)
 delete mode 100644 package/boa/0001-use-name-max.patch
 delete mode 100644 package/boa/Config.in
 delete mode 100644 package/boa/boa.conf
 delete mode 100644 package/boa/boa.hash
 delete mode 100644 package/boa/boa.mk
 delete mode 100644 package/boa/mime.types
Config.in.legacy +7 -0
index a322d18cb3..3e84678519 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2021.02"
 
+config BR2_PACKAGE_BOA
+	bool "boa package removed"
+	select BR2_LEGACY
+	help
+	  The boa package was removed as it is affected by multiple
+	  CVEs and is not maintained anymore (no release since 2005).
+
 config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
 	bool "imx sdma firmware is provided by firmware-imx"
 	select BR2_LEGACY
package/Config.in +0 -1
index bfc60b5a69..4ddde0d985 100644
@@ -2065,7 +2065,6 @@ menu "Networking applications"
 	source "package/bluez-tools/Config.in"
 	source "package/bluez5_utils/Config.in"
 	source "package/bmon/Config.in"
-	source "package/boa/Config.in"
 	source "package/boinc/Config.in"
 	source "package/brcm-patchram-plus/Config.in"
 	source "package/bridge-utils/Config.in"
package/boa/0001-use-name-max.patch deleted +0 -21
deleted file mode 100644
index 055e56c3e1..0000000000
@@ -1,21 +0,0 @@
-Use NAME_MAX instead of MAXNAMLEN
-
-NAME_MAX is POSIX, and available in all C libraries, generally in
-<limits.h>, while MAXNAMLEN is BSD-specific, and only available in
-musl in <sys/param.h>. So let's use NAME_MAX instead of MAXNAMLEN.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
-
-Index: b/src/index_dir.c
-===================================================================
---- a/src/index_dir.c
-+++ b/src/index_dir.c
-@@ -29,7 +29,7 @@
- #include <fcntl.h>
- #include "compat.h"
- 
--#define MAX_FILE_LENGTH                         MAXNAMLEN
-+#define MAX_FILE_LENGTH                         NAME_MAX
- #define MAX_PATH_LENGTH                         PATH_MAX
- 
- #define INT_TO_HEX(x) \
package/boa/Config.in deleted +0 -8
deleted file mode 100644
index cb085a2494..0000000000
@@ -1,8 +0,0 @@
-config BR2_PACKAGE_BOA
-	bool "boa"
-	depends on BR2_USE_MMU # uses fork()
-	help
-	  A very small and very fast http daemon. Not intended as
-	  a feature-packed server.
-
-	  http://www.boa.org/
package/boa/boa.conf deleted +0 -187

187 lines not on this page · raw message

package/boa/boa.hash deleted +0 -3
deleted file mode 100644
index 4efe3aec43..0000000000
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  02c51bf25f29d56e641b662f0767759654c28d88ec31f55c5a73d57edfe13cf6  boa-0.94.14rc21.tar.gz
-sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
package/boa/boa.mk deleted +0 -19
deleted file mode 100644
index d8bcaa122b..0000000000
@@ -1,19 +0,0 @@
-################################################################################
-#
-# boa
-#
-################################################################################
-
-BOA_VERSION = 0.94.14rc21
-BOA_SITE = http://www.boa.org
-BOA_LICENSE = GPL-2.0+
-BOA_LICENSE_FILES = COPYING
-
-define BOA_INSTALL_TARGET_CMDS
-	$(INSTALL) -D -m 755 $(@D)/src/boa $(TARGET_DIR)/usr/sbin/boa
-	$(INSTALL) -D -m 755 $(@D)/src/boa_indexer $(TARGET_DIR)/usr/lib/boa/boa_indexer
-	$(INSTALL) -D -m 644 package/boa/boa.conf $(TARGET_DIR)/etc/boa/boa.conf
-	$(INSTALL) -D -m 644 package/boa/mime.types $(TARGET_DIR)/etc/mime.types
-endef
-
-$(eval $(autotools-package))
package/boa/mime.types deleted +0 -205

205 lines not on this page · raw message

Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/boa: drop package

Quoted 7 lines · On Sun, 17 Jan 2021 22:54:13 +0100 Fabrice Fontaine…

Drop boa package as it is affected by multiple CVEs (CVE-2017-9833, CVE-2018-21027 and CVE-2018-21028) and is not maintained anymore (no release since 2005):

https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&seach_type=all&query=cpe:2.3:a:boa:boa:0.94.14.21:*:*:*:*:*:*:*

Quoted 16 lines
---
 Config.in.legacy                    |   7 +
 package/Config.in                   |   1 -
 package/boa/0001-use-name-max.patch |  21 ---
 package/boa/Config.in               |   8 --
 package/boa/boa.conf                | 187 -------------------------
 package/boa/boa.hash                |   3 -
 package/boa/boa.mk                  |  19 ---
 package/boa/mime.types              | 205 ----------------------------
 8 files changed, 7 insertions(+), 444 deletions(-)
 delete mode 100644 package/boa/0001-use-name-max.patch
 delete mode 100644 package/boa/Config.in
 delete mode 100644 package/boa/boa.conf
 delete mode 100644 package/boa/boa.hash
 delete mode 100644 package/boa/boa.mk
 delete mode 100644 package/boa/mime.types

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com