hddtemp is simple utility, which reads the temperature of SMART IDE hard drives. I have done 2 things differently to an 'out-of-the-box' compile: 1) patched source (patch file included under Files/) to allow support files to be located under /usr/share/<pkg_name>/ (as per other Gentoo packages) 2) if you are going to use hddtemp in conjunction with the gkrellm plugin (for which I am also submitting an ebuild), then the binary needs to be installed setuid. In this ebuild, 'setuid' bit will be set if the 'gkrellm' USE flag is set. This is a non-standard USE flag, so you may or may not want to rip this part out of src_install()
Created attachment 1439 [details] ebuild app-admin/hddtemp/hddtemp-0.2.ebuild
Created attachment 1440 [details] ChangeLog app-admin/hddtemp/ChangeLog
Created attachment 1441 [details] md5 checksum app-admin/hddtemp/files/digest-hddtemp-0.2
Created attachment 1442 [details] patch to source (used by ebuild) app-admin/hddtemp/files/hddtemp-0.2-db_location.patch
Created attachment 1443 [details] support file (required by hddtemp - not included as part of source tarball) app-admin/hddtemp/files/hddtemp.db
Hi Imran I am processing your submission (Thanks for the contribution!). I have noticed, the following line in the ebuild: # Author: Thilo Bangert <bangert@gentoo.org> 1. This information is supposed to go into the Changelog. 2. As I understand you are the author of the ebuild. So, did you include this line intentionally? And if yes, how should it be represented in the Changelog? PS I left another remark WRT setting suid bit as a comment to #3615 George
My mistake. It must have been a leftover in the basic ebuild template I used. Could you change it to: Imran Sher Rafique <imran@rafique.org> Thanks.
Cleaned up and committed. I removed that Author line from the ebuild. I included "ebuild submitted by" line in the Changelog above your entry. Thanks for submission! George