Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37114 - uptimed ebuild could keep the config file for CGI use of uprecords
Summary: uptimed ebuild could keep the config file for CGI use of uprecords
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Markus Nigbur (RETIRED)
Depends on:
Reported: 2004-01-03 09:37 UTC by Sylvain Demers
Modified: 2009-04-02 13:07 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Demers 2004-01-03 09:37:32 UTC
The uptimed daemon has the uprecords executable to show the record uptimes. This executable may be used as a cgi on a web server. Included in uptimed's tarball are uprecords.conf, uprecords.header, and uprecords.footer, in the sample-cgi directory. Those files are currently ignored by the ebuild, and not merged into the file system.

I think it would be nice to have a USE flag (say, cgi), that would allow the ebuild to keep these files, and either copy uprecords as uprecords.cgi or symlink it. Uprecords needs to have the .cgi extention to work as cgi. Also, the 3 files from sample-cgi must reside in the same directory as the uprecords.cgi file.

I thought about providing a patch to the ebuild, but after looking at it, I'm not sure how to proceed, so I'll have to leave that to someone else!

Reproducible: Always
Steps to Reproduce:
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2004-02-24 22:51:47 UTC
I've added the sample configuration files into /usr/share/doc/ along with the INSTALL.cgi. I think this should be enough.