Summary: | sys-apps/busybox does not install its manpage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | marcboocha <marcboocha> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=751988 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
marcboocha@gmail.com
2019-11-30 03:05:11 UTC
Ping, since I just found the same problem. It's basically a matter of adding "doman busybox.1" after the "cd docs" line. I was wrong, it also needs a "make doc" in src_compile(). I use this patch which works well (ignore the httpd part): --- /usr/portage/sys-apps/busybox/busybox-1.32.0.ebuild 2020-07-16 21:41:46.185438669 +0200 +++ busybox-1.32.0-r1.ebuild 2020-10-31 14:35:00.034064503 +0100 @@ -217,6 +217,7 @@ export SKIP_STRIP=y emake V=1 busybox + emake V=1 doc } src_install() { @@ -254,6 +255,14 @@ newconfd "${FILESDIR}/ntpd.confd" "busybox-ntpd" newinitd "${FILESDIR}/ntpd.initd" "busybox-ntpd" fi + if busybox_config_enabled HTTPD; then + newconfd "${FILESDIR}/httpd.confd" "busybox-httpd" + newinitd "${FILESDIR}/httpd.initd" "busybox-httpd" + docinto txt + sed -En '/httpd implementation for busybox/,/\*\//s#^ \*( |$)##p' \ + networking/httpd.c >httpd.txt + dodoc httpd.txt + fi if busybox_config_enabled SYSLOGD; then newconfd "${FILESDIR}/syslogd.confd" "busybox-syslogd" newinitd "${FILESDIR}/syslogd.initd" "busybox-syslogd" @@ -289,6 +298,7 @@ dodoc AUTHORS README TODO cd docs + doman busybox.1 docinto txt dodoc *.txt docinto pod The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c52e9702c82fa2c3ba5a24ffe2d067ecaa3ff74 commit 8c52e9702c82fa2c3ba5a24ffe2d067ecaa3ff74 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-26 08:56:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-26 09:01:57 +0000 sys-apps/busybox: add 1.33.1 Closes: https://bugs.gentoo.org/701512 Closes: https://bugs.gentoo.org/765580 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/busybox/Manifest | 1 + sys-apps/busybox/busybox-1.33.1.ebuild | 343 +++++++++++++++++++++++++++++++++ sys-apps/busybox/busybox-9999.ebuild | 17 +- 3 files changed, 356 insertions(+), 5 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860a1fd317c71f3740919d9304787465bd337a54 commit 860a1fd317c71f3740919d9304787465bd337a54 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-26 09:00:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-26 09:01:56 +0000 sys-apps/busybox: install man page in 1.32.1 Bug: https://bugs.gentoo.org/701512 Signed-off-by: Sam James <sam@gentoo.org> .../busybox/{busybox-1.32.1.ebuild => busybox-1.32.1-r1.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) |