Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2991

Summary: nut-0.50.0.ebuild (update)
Product: Gentoo Linux Reporter: Alessandro Giorgio Togna <tag>
Component: New packagesAssignee: Ben Lutgens (RETIRED) <lamer>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild + script files
New ebuild files

Description Alessandro Giorgio Togna 2002-05-24 06:53:29 UTC
New ebuild for a new NUT version (gentoo was stuck at 0.44.x).
- ups drivers are now in /usr/lib/ups
- 3 init scripts: one for the driver starter (upsdrv), one for the daemon
(upsd), one for the monitor (upsmon)

a nut-monitor ebuild will follow (to emerge just the monitor, and not the
drivers/daemon)
Comment 1 Alessandro Giorgio Togna 2002-05-24 06:54:00 UTC
Created attachment 1122 [details]
ebuild + script files
Comment 2 Ben Lutgens (RETIRED) gentoo-dev 2002-06-10 21:47:08 UTC
If you split this into the seperate parts nut-base and nut-monitor and join the
initscripts driver and daemon in one, monitor in the other; and place them in
thier respective ebuilds, I'll touch up, test and commit this. Thanks for your
contribution! Keep up the good work!
Comment 3 Alessandro Giorgio Togna 2002-06-11 04:46:49 UTC
I've split the ebuild in two:
- nut ; includes everything (since a PC with a daemon is very likely to need the
monitor too)
- nut-monitor ; just the monitor
Comment 4 Alessandro Giorgio Togna 2002-06-11 04:49:19 UTC
Created attachment 1450 [details]
New ebuild files

halt.sh (which is a copy of /etc/init.d/halt.sh) has a few lines at the end
that deal with shutting down the ups (commented)... they should be added to
halt.sh only if you install nut, NOT nut-monitor.
Comment 5 Hanno Böck gentoo-dev 2002-08-28 10:30:55 UTC
there is already nut 1.0 in portage, so this one is outdated.