summaryrefslogtreecommitdiffstats
path: root/meta-agl-wireless-monitor/recipes-component/boa
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-wireless-monitor/recipes-component/boa')
-rw-r--r--meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-compat.h.patch28
-rw-r--r--meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch30
-rw-r--r--meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch32
-rw-r--r--meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-modify-conf-file-matching-AGL-system.patch74
-rw-r--r--meta-agl-wireless-monitor/recipes-component/boa/boa_0.94.13.bb38
5 files changed, 0 insertions, 202 deletions
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-compat.h.patch b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-compat.h.patch
deleted file mode 100644
index caa0e263..00000000
--- a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-compat.h.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 2d33bc14c1ed37bcc50973740e432d6d894141b6 Mon Sep 17 00:00:00 2023
-From: Yan <yanxk.fnst@fujitsu.com>
-Date: Fri, 25 Aug 2023 10:03:15 +0800
-Subject: [PATCH] boa: fix compat.h
-
-fix this grammer mistake.
-
-Upstream-Status: Pending
-Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
----
- src/compat.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/compat.h b/src/compat.h
-index b3be2e0..31b656a 100644
---- a/src/compat.h
-+++ b/src/compat.h
-@@ -117,7 +117,7 @@ char *strdup(char *s);
- #endif
-
- #ifdef HAVE_TM_GMTOFF
--#define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff
-+#define TIMEZONE_OFFSET(foo) (foo)->tm_gmtoff
- #else
- #define TIMEZONE_OFFSET(foo) timezone
- #endif
---
-2.25.1
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch
deleted file mode 100644
index b0afccce..00000000
--- a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 88d73d77794cde03f93ed53f21a163f5980696be Mon Sep 17 00:00:00 2023
-From: Yan <yanxk.fnst@fujitsu.com>
-Date: Fri, 25 Aug 2023 09:53:43 +0800
-Subject: [PATCH] boa: fix configure avoid run test on cross platform
-
-during configuration, boa configure would run already
-cross compiled test files on host machine, remove exit
-is to ignore this run test failure.
-
-Upstream-Status: Pending
-Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
----
- src/configure | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/configure b/src/configure
-index bda829f..7a6a624 100755
---- a/src/configure
-+++ b/src/configure
-@@ -1552,7 +1552,7 @@ if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- if test "$cross_compiling" = yes; then
-- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
-+ { echo "configure: error: can not run test program while cross compiling" 1>&2; }
- else
- cat > conftest.$ac_ext <<EOF
- #line 1559 "configure"
---
-2.25.1
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch
deleted file mode 100644
index f1039547..00000000
--- a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 238e0f78c950a940544049cafec63f26c8722250 Mon Sep 17 00:00:00 2023
-From: Yan <yanxk.fnst@fujitsu.com>
-Date: Fri, 25 Aug 2023 09:59:38 +0800
-Subject: [PATCH] boa: fix icky kernel bug
-
-Upstream-Status: Pending
-comment out these DIE sentecnce to avoid crash
-when you start the boa server.
-
-Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
----
- src/boa.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/boa.c b/src/boa.c
-index 8ce2c7b..b2f3f83 100644
---- a/src/boa.c
-+++ b/src/boa.c
-@@ -222,9 +222,11 @@ static void drop_privs(void)
- /* test for failed-but-return-was-successful setuid
- * http://www.securityportal.com/list-archive/bugtraq/2000/Jun/0101.html
- */
-+ #if 0
- if (setuid(0) != -1) {
- DIE("icky Linux kernel bug!");
- }
-+ #endif
- } else {
- if (server_gid || server_uid) {
- log_error_time();
---
-2.25.1
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-modify-conf-file-matching-AGL-system.patch b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-modify-conf-file-matching-AGL-system.patch
deleted file mode 100644
index 52f32eb8..00000000
--- a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-modify-conf-file-matching-AGL-system.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 6b227adac5dbabc958ef215f15637d3c4d21d759 Mon Sep 17 00:00:00 2001
-From: Yan <yanxk.fnst@fujitsu.com>
-Date: Sat, 7 Oct 2023 18:27:42 +0800
-Subject: [PATCH] boa: modify conf file matching AGL system
-
-set boa and boa_index working path to /usr/bin
-error log and access log are re-directed to /var/log/
-default index reset to homepage
-cgi-bin folder to /usr/bin/cgi-bin
-
-Upstream-Status: Pending
-Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
----
- boa.conf | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/boa.conf b/boa.conf
-index e3775db..4da9983 100644
---- a/boa.conf
-+++ b/boa.conf
-@@ -59,7 +59,7 @@ Group nogroup
- # Set to /dev/null if you don't want errors logged.
- # If unset, defaults to /dev/stderr
-
--ErrorLog /var/log/boa/error_log
-+ErrorLog /var/log/boa_error_log
- # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
- # is somewhat experimental and might fail under heavy load.
- # "Usual libc implementations of printf will stall the whole
-@@ -71,7 +71,7 @@ ErrorLog /var/log/boa/error_log
- # Comment out or set to /dev/null (less effective) to disable
- # Access logging.
-
--AccessLog /var/log/boa/access_log
-+AccessLog /var/log/boa_access_log
- # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
- # is somewhat experimental and might fail under heavy load.
- # "Usual libc implementations of printf will stall the whole
-@@ -108,7 +108,7 @@ AccessLog /var/log/boa/access_log
- # DocumentRoot: The root directory of the HTML documents.
- # Comment out to disable server non user files.
-
--DocumentRoot /var/www
-+DocumentRoot /etc/boa/www
-
- # UserDir: The name of the directory which is appended onto a user's home
- # directory if a ~user request is recieved.
-@@ -120,14 +120,14 @@ UserDir public_html
- # fly creation of directory indexes can be _slow_.
- # Comment out to always use DirectoryMaker
-
--DirectoryIndex index.html
-+DirectoryIndex homepage.html
-
- # DirectoryMaker: Name of program used to create a directory listing.
- # Comment out to disable directory listings. If both this and
- # DirectoryIndex are commented out, accessing a directory will give
- # an error (though accessing files in the directory are still ok).
-
--DirectoryMaker /usr/lib/boa/boa_indexer
-+DirectoryMaker /usr/bin/boa_indexer
-
- # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
- # has been commented out, the the on-the-fly indexing of Boa can be used
-@@ -190,5 +190,5 @@ Alias /doc /usr/doc
- # ScriptAlias: Maps a virtual path to a directory for serving scripts
- # Example: ScriptAlias /htbin/ /www/htbin/
-
--ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
-+ScriptAlias /cgi-bin/ /usr/bin/cgi-bin/
-
---
-2.25.1
-
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa_0.94.13.bb b/meta-agl-wireless-monitor/recipes-component/boa/boa_0.94.13.bb
deleted file mode 100644
index fbdc799c..00000000
--- a/meta-agl-wireless-monitor/recipes-component/boa/boa_0.94.13.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-SUMMARY = "Boa Web Server"
-HOMEPAGE = "http://www.boa.org/"
-DESCRIPTION = "Boa web server is a tiny web server."
-
-LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://Gnu_License;md5=94d55d512a9ba36caa9b7df079bae19f"
-
-DEPENDS = "bison-native flex-native"
-
-SRC_URI = "http://www.boa.org/boa-0.94.13.tar.gz \
- file://0001-boa-fix-compat.h.patch \
- file://0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch \
- file://0001-boa-fix-icky-kernel-bug.patch \
- file://0001-boa-modify-conf-file-matching-AGL-system.patch \
-"
-
-SRC_URI[sha256sum] = "e00bb50eb859c736f2afc913976e82e8fc68a1fbe34fa294e014aa95f4d87366"
-
-do_configure() {
- cd ${S}/src
- ./configure
- sed -i '/^CC =/ s/$/& -fcommon/' Makefile
-}
-
-do_compile() {
- cd ${S}/src
- oe_runmake
-}
-
-do_install() {
- install -d ${D}/usr/bin/
- install -m 0755 ${S}/src/boa ${D}/usr/bin/
- install -m 0755 ${S}/src/boa_indexer ${D}/usr/bin/
- install -d ${D}/etc/boa/
- install -m 0755 ${S}/boa.conf ${D}/etc/boa/
-}
-
-RDEPENDS:${PN} += "mime-support"