Here is an ebuild for digitemp, a program that uses Dallas Semiconductor ibuttons (http://www.ibutton.com/) to log temperatures. It supports networks of sensors, and can produce neat MRTG-like logs. I have this hardware, and it works nicely. For the maintainer, there are a few things to note. First, the software can be made with one of two targets, depending on the serial adapter: ds9097, or ds9097u. I have chosen ds9097u as the default, but this can be overridden with a local USE="ds9097" Second, there are a number of examples that may or may not belong in /usr/share/doc. I have suggested two methods for installing these examples within the ebuild. Feel free to use one, or devise a better one. Finally, a rrd local use flag controls whether or not rrd examples are installed (as with the global perl and python flags). Thanks. Feel free to make changes to any particularly cumbersome or unusal code bits.
Created attachment 16009 [details] app-misc/digitemp-3.2.0 ebuild Here is the ebuild. Suggested category is app-misc/digitemp.
Mike, I am willing to check this in, if you are willing to handle bug reports related to it.
No problem-o.
ok, in that case what's the purpose of the rrd and the ds9097 USE flags (in laypeople's terms)?
in fact, rather than a USE flag, I reckon an environment flag would be more appropriate (Along the lines of xfree-drm and alsa-driver)
Basically the DigiTemp makefile requires you to build for one of two types of hardware adapters: the 9097, or the 9097u, with the latter being (I believe to be) the more common. Regarding the rrd flag -- probably not necessary; the perl/python/rrd flags just install examples for that language. (this is the part that I thought was cumersome.) Since it doesn't affect the builds, lets just blow away the use flags for the examples, eliminating the rrd flag in the process. Not a big space-hit. Does the place where the examples are stored look sane, or is there a better convention? cheers..
Created attachment 16514 [details] digitemp-3.2.0 revised ebuild changed to remove all the use flags; ds9097 controller with SERIAL_DRIVER="ds9097" env
added to portage. Thanks Mike.