]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
man-pages: upgrade 6.9.1 -> 6.11
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 17 Feb 2025 07:14:32 +0000 (15:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2025 23:18:17 +0000 (23:18 +0000)
1. Due to upstream commit [GNUmakefile: Require the user to specify
'-R' if their make(1) is too old][1], add option -R to make

2. Due to upstream commit [src/bin/pdfman, scripts/bash_aliases,
pdfman.1: Make pdfman a standalone program, and add a manual page][2],
inherit bbclass lib_package to use package ${PN}-bin to collect newly
added scripts and runtime depends on bash

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=50c914d25b40ac6a4d63ce10ed146653098014a2
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=ed9bc1e3277befd6e165270f14e458a5ec4074f1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-pages/man-pages_6.11.bb [moved from meta/recipes-extended/man-pages/man-pages_6.9.1.bb with 92% similarity]

similarity index 92%
rename from meta/recipes-extended/man-pages/man-pages_6.9.1.bb
rename to meta/recipes-extended/man-pages/man-pages_6.11.bb
index 8258874dd7550037b68442b104d4f0a0ab16b01e..52a1fbda14a0450025c6af5b60d3b94c82e72ac4 100644 (file)
@@ -20,9 +20,9 @@ LIC_FILES_CHKSUM = "file://README;md5=72cff06b7954222c24d38bc2c41b234e \
 SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \
            "
 
-SRC_URI[sha256sum] = "3ae3f8ad97487d2c1b14258231d97d03b4e569b915377f6dd4f6be7141c57ee0"
+SRC_URI[sha256sum] = "44c09f43ae7a0b327efef5285a30d56ecc5fd4a07056f77e806f6c65196ba7f3"
 
-inherit manpages
+inherit manpages lib_package
 
 MAN_PKG = "${PN}"
 
@@ -32,6 +32,7 @@ PACKAGECONFIG[manpages] = ""
 do_configure[noexec] = "1"
 do_compile[noexec] = "1"
 
+EXTRA_OEMAKE += "-R"
 do_install() {
         oe_runmake install prefix=${prefix} DESTDIR=${D}
         rm -rf ${D}${mandir}/man3/crypt.3
@@ -40,6 +41,10 @@ do_install() {
         rm -rf ${D}${mandir}/man5/passwd.5
 }
 
+RDEPENDS:${PN}-bin += " \
+    bash \
+"
+
 # Only deliveres man-pages so FILES:${PN} gets everything
 FILES:${PN}-doc = ""
 FILES:${PN} = "${mandir}/*"