diff options
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0001-make_exports.awk-not-expose-the-path.patch | 32 | ||||
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.54.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0001-make_exports.awk-not-expose-the-path.patch b/meta-webserver/recipes-httpd/apache2/apache2/0001-make_exports.awk-not-expose-the-path.patch new file mode 100644 index 0000000000..78f23f0f2d --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2/0001-make_exports.awk-not-expose-the-path.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 5b5eae9cdf3bae91756c717349f2f33a31888f24 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
| 3 | Date: Wed, 3 Aug 2022 12:35:16 +0800 | ||
| 4 | Subject: [PATCH] make_exports.awk: not expose the path | ||
| 5 | |||
| 6 | Don't print the full path in the comment line. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [oe specific] | ||
| 9 | |||
| 10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
| 11 | --- | ||
| 12 | build/make_exports.awk | 4 +++- | ||
| 13 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/build/make_exports.awk b/build/make_exports.awk | ||
| 16 | index 1cf0568..44d93c5 100644 | ||
| 17 | --- a/build/make_exports.awk | ||
| 18 | +++ b/build/make_exports.awk | ||
| 19 | @@ -47,7 +47,9 @@ function push(line) { | ||
| 20 | |||
| 21 | function do_output() { | ||
| 22 | printf("/*\n") | ||
| 23 | - printf(" * %s\n", FILENAME) | ||
| 24 | + file = FILENAME | ||
| 25 | + sub("([^/]*[/])*", "", file) | ||
| 26 | + printf(" * %s\n", file) | ||
| 27 | printf(" */\n") | ||
| 28 | |||
| 29 | for (i = 0; i < stackptr; i++) { | ||
| 30 | -- | ||
| 31 | 2.25.1 | ||
| 32 | |||
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.54.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.54.bb index c5f014b3cd..4f30eca59e 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.54.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.54.bb | |||
| @@ -15,6 +15,7 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \ | |||
| 15 | file://0007-apache2-allow-to-disable-selinux-support.patch \ | 15 | file://0007-apache2-allow-to-disable-selinux-support.patch \ |
| 16 | file://0008-Fix-perl-install-directory-to-usr-bin.patch \ | 16 | file://0008-Fix-perl-install-directory-to-usr-bin.patch \ |
| 17 | file://0009-support-apxs.in-force-destdir-to-be-empty-string.patch \ | 17 | file://0009-support-apxs.in-force-destdir-to-be-empty-string.patch \ |
| 18 | file://0001-make_exports.awk-not-expose-the-path.patch \ | ||
| 18 | " | 19 | " |
| 19 | 20 | ||
| 20 | SRC_URI:append:class-target = " \ | 21 | SRC_URI:append:class-target = " \ |
