the NUT package wasn't up-to-date with the current release and it needed some tweaks: 1) updated from version 0.44.x to 0.45.5 (latest stable). 2) added 3 init scripts: one for the UPS driver (upsdrv), one for the daemon (upsd), one for the monitor (upsmon); dependecies are (i think) right, for we first start upsdrv, then upsd, then upsmon; upsmon has a script by itself so we can monitor an UPS on another computer. 3) UPS drivers are stored in /usr/bin/nut , so as not to mix them in /usr/bin. 4) i've asked NUT developers to add a 'make upsmon' so we can have a 'net-misc/nut-monitor' all by itself (so we don't have to compile drivers/deamons if we just need the monitor) Note: my init scripts would need to be added/copied afterwards, for my ebuild doesn't deal with them... sorry...
Created attachment 1121 [details] the ebuild + the init files
version 0.50.0 is just out... i'll make an ebuild for it...
Also, please don't make a directory in /usr/bin. For data stuff, consider using /usr/share/nut instead