Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3614 - hddtemp-0.2.ebuild (new package)
Summary: hddtemp-0.2.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3615
  Show dependency tree
 
Reported: 2002-06-11 00:26 UTC by Imran Sher Rafique
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
ebuild (hddtemp-0.2.ebuild,1.13 KB, text/plain)
2002-06-11 00:28 UTC, Imran Sher Rafique
Details
ChangeLog (ChangeLog,474 bytes, text/plain)
2002-06-11 00:30 UTC, Imran Sher Rafique
Details
md5 checksum (digest-hddtemp-0.2,62 bytes, text/plain)
2002-06-11 00:31 UTC, Imran Sher Rafique
Details
patch to source (used by ebuild) (hddtemp-0.2-db_location.patch,593 bytes, text/plain)
2002-06-11 00:31 UTC, Imran Sher Rafique
Details
support file (required by hddtemp - not included as part of source tarball) (hddtemp.db,5.83 KB, text/plain)
2002-06-11 00:32 UTC, Imran Sher Rafique
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Imran Sher Rafique 2002-06-11 00:26:13 UTC
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()
Comment 1 Imran Sher Rafique 2002-06-11 00:28:48 UTC
Created attachment 1439 [details]
ebuild

app-admin/hddtemp/hddtemp-0.2.ebuild
Comment 2 Imran Sher Rafique 2002-06-11 00:30:34 UTC
Created attachment 1440 [details]
ChangeLog

app-admin/hddtemp/ChangeLog
Comment 3 Imran Sher Rafique 2002-06-11 00:31:14 UTC
Created attachment 1441 [details]
md5 checksum

app-admin/hddtemp/files/digest-hddtemp-0.2
Comment 4 Imran Sher Rafique 2002-06-11 00:31:48 UTC
Created attachment 1442 [details]
patch to source (used by ebuild)

app-admin/hddtemp/files/hddtemp-0.2-db_location.patch
Comment 5 Imran Sher Rafique 2002-06-11 00:32:49 UTC
Created attachment 1443 [details]
support file (required by hddtemp - not included as part of source tarball)

app-admin/hddtemp/files/hddtemp.db
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2002-06-22 00:43:02 UTC
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
Comment 7 Imran Sher Rafique 2002-06-22 00:48:03 UTC
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.
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2002-06-22 01:07:33 UTC
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