I found that I needed a newer version of apcupsd than Mandrake had packaged. So I downloaded a newer version and got the latest SRPM from cooker and found a few things that I thought were wrong with the existing spec...
* _cgibin (where the cgi scripts are put) is set to: /usr/lib/cgi-bin this is contrary to where cgi's are generally put in mandrake and well /usr/lib/cgi-bin doesn't seem like an intuitive place to put them anyway. So I changed it to /var/www/cgi-bin * Updated the URLs... the existing ones seemed to be dead. * %doc was using doc/* and examples/* which made it really messy, switched to using doc/ and examples/ so that they are kept in their separate directories. * Switched to using the system gd library and generating PNG's instead of the patent encumbered GIF format for the cgi scripts graphing capabilities. There's really no justifiable reason to keep using GIF here since PNG support in all the common browsers is sufficient for the needs of this application. * Make a mandrake distribution settings in the package so it stops saying that I'm running RedHat. I think this looks kinda stupid when it's being said by a program that's installed from a Mandrake RPM. The other changes that I made which probably aren't appropriate for cooker since they have to do with the development version are: * Upgraded to 3.9.8 * Added --enable-usb to the configure script (I needed USB support so that's why I moved to 3.9.8). At any rate 3.9.8 has been running on my machine here for several days without any problems. So it's probably safe to put in cooker. My 3.9.8 RPMS and SRPMS are available here: http://ben.reser.org/mandrake/x86/apcupsd-3.9.8-1mdk/ specs and patches are available there too. In order to backport these changes to 3.8.2 probably the only thing that would have to be done is backdown the version, backport the new paths patch, and remove the --enable-usb on configure. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? - Ghandi
