Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828467 - sys-apps/busybox-1.34.1: does not provide the index.cgi to provide dir listings
Summary: sys-apps/busybox-1.34.1: does not provide the index.cgi to provide dir listings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-06 17:01 UTC by korte
Modified: 2022-06-30 21:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description korte 2021-12-06 17:01:52 UTC
busybox provides a httpd. This server does not provide dir listing on its own, if index.html missing. If index.html is missing, the httpd checks for wwwroot/cgi-bin/index.cgi . The index.cgi could be placed in /usr/share/doc/busybox-1.34.1/examples/. It could be installed with e.g. the useflag utils.

The cgi example: https://git.busybox.net/busybox/tree/networking/httpd_indexcgi.c

Documentation about it is in the source: https://git.busybox.net/busybox/tree/networking/httpd.c

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-06-30 21:41:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268cafb9cfeb8eb0a3525ef94052ae4d122db8e9

commit 268cafb9cfeb8eb0a3525ef94052ae4d122db8e9
Author:     Viorel Munteanu <ceamac.paragon@gmail.com>
AuthorDate: 2022-04-17 07:00:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-30 21:40:14 +0000

    sys-apps/busybox: Install httpd CGI scripts
    
    Closes: https://bugs.gentoo.org/828467
    Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/busybox/busybox-1.34.1-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)