cvsdist 81ab26c
%define nut_uid 57
cvsdist 81ab26c
%define nut_gid 57
cvsdist 81ab26c
cvsdist bfc54a3
%define initdir /etc/rc.d/init.d
cvsdist bfc54a3
%define cgidir  /var/www/nut-cgi-bin
cvsdist 991b2c6
%define modeldir /sbin
cvsdist 81ab26c
cvsdist 0750536
%define devel 0
cvsdist 0750536
cvsdist bfc54a3
Summary: Network UPS Tools
cvsdist bfc54a3
Name: nut
260a5c1
Version: 2.0.2
c281ca1
Release: 1
cvsdist bfc54a3
Group: Applications/System
cvsdist 81ab26c
License: GPL
ef90b86
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist 9470c79
Url: http://us2.networkupstools.org/
cvsdist 9470c79
Source: http://us2.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz
cvsdist bfc54a3
Source1: ups.init
cvsdist bfc54a3
Source2: ups.sysconfig
cvsdist 81ab26c
cvsdist 0750536
Patch0: nut-1.4.0-buildroot.patch
cvsdist 81ab26c
Patch1: nut-0.45.0-conffiles.patch
cvsdist 81ab26c
Patch2: nut-0.45.4-conf.patch
c281ca1
Patch3: nut-2.0.1-bad.patch
260a5c1
Patch4: nut-2.0.2-buffer.patch
cvsdist 81ab26c
cvsdist bfc54a3
Requires: nut-client
cvsdist 81ab26c
cvsdist 81ab26c
Prereq: fileutils
cvsdist 81ab26c
Prereq: /sbin/chkconfig
cvsdist 81ab26c
Prereq: /sbin/service
cvsdist 81ab26c
cvsdist 81ab26c
BuildPrereq: gd-devel
cvsdist 81ab26c
BuildPrereq: freetype-devel
cvsdist 81ab26c
BuildPrereq: netpbm-devel
cvsdist 81ab26c
BuildPrereq: libpng-devel
cvsdist 2522685
BuildPrereq: net-snmp-devel
cvsdist 2522685
BuildPrereq: elfutils-devel
cvsdist 9470c79
BuildPrereq: XFree86-devel
4a722e6
BuildPrereq: libjpeg-devel
ef90b86
ef90b86
%ifnarch s390 s390x
4a722e6
BuildPrereq: libusb-devel
ef90b86
%endif
cvsdist bfc54a3
664ad3b
ExcludeArch: s390 s390x
664ad3b
cvsdist bfc54a3
%description
cvsdist bfc54a3
These programs are part of a developing project to monitor the assortment 
cvsdist bfc54a3
of UPSes that are found out there in the field. Many models have serial 
cvsdist 81ab26c
ports of some kind that allow some form of state checking. This
cvsdist bfc54a3
capability has been harnessed where possible to allow for safe shutdowns, 
cvsdist bfc54a3
live status tracking on web pages, and more.
cvsdist bfc54a3
cvsdist bfc54a3
%package client
cvsdist bfc54a3
Group: Applications/System
cvsdist bfc54a3
Summary: Network UPS Tools client monitoring utilities
cvsdist bfc54a3
Prereq: chkconfig
cvsdist 81ab26c
Prereq: /usr/sbin/useradd
cvsdist bfc54a3
cvsdist bfc54a3
%description client
cvsdist bfc54a3
This package includes the client utilities that are required to monitor a
cvsdist bfc54a3
ups that the client host has access to, but where the UPS is physically
cvsdist bfc54a3
attached to a different computer on the network.
cvsdist bfc54a3
cvsdist bfc54a3
%package cgi
cvsdist bfc54a3
Group: Applications/System
cvsdist bfc54a3
Summary: CGI utilities for the Network UPS Tools
cvsdist bfc54a3
Requires: webserver
cvsdist bfc54a3
cvsdist bfc54a3
%description cgi
cvsdist bfc54a3
This package includes CGI programs for accessing UPS status via a web
cvsdist bfc54a3
browser.
cvsdist 0750536
cvsdist 0750536
%package devel
cvsdist 0750536
Group: Development/Libraries
cvsdist 0750536
Summary: Development files for NUT Client
cvsdist 0750536
Requires: webserver
cvsdist 0750536
cvsdist 0750536
%description devel
cvsdist 0750536
This package contains the development header files and libraries
cvsdist 0750536
necessary to develop NUT client applications.
cvsdist bfc54a3
 
cvsdist bfc54a3
%prep
cvsdist bfc54a3
%setup -q
cvsdist bfc54a3
%patch0 -p1 -b .buildroot
cvsdist 81ab26c
%patch1 -p1 -b .conf
cvsdist 81ab26c
%patch2 -p1 -b .conf1
c281ca1
%patch3 -p1 -b .bad
260a5c1
%patch4 -p1 -b .buffer
cvsdist bfc54a3
c16730d
iconv -f iso-8859-1 -t utf-8 < man/newhidups.8 > man/newhidups.8_
c16730d
mv man/newhidups.8_ man/newhidups.8
c16730d
cvsdist bfc54a3
%build
cvsdist bfc54a3
%configure \
cvsdist 81ab26c
    --with-user=%{name} \
cvsdist 81ab26c
    --with-group=uucp \
cvsdist bfc54a3
    --with-statepath=%{_localstatedir}/lib/ups \
cvsdist bfc54a3
    --sysconfdir=%{_sysconfdir}/ups \
cvsdist 991b2c6
    --with-cgipath=%{cgidir} \
cvsdist 81ab26c
    --with-drvpath=%{modeldir} \
cvsdist 0750536
    --with-cgi \
cvsdist 0750536
    --with-gd-libs \
cvsdist 991b2c6
    --with-linux-hiddev=/usr/include/linux/hiddev.h
cvsdist bfc54a3
cvsdist 2522685
make %{?_smp_mflags}
cvsdist 2522685
make %{?_smp_mflags} snmp
cvsdist 2522685
make %{?_smp_mflags} usb
cvsdist bfc54a3
cvsdist bfc54a3
%install
cvsdist bfc54a3
rm -rf %{buildroot}
cvsdist bfc54a3
cvsdist 0750536
mkdir -p %{buildroot}%{modeldir} \
cvsdist 0750536
         %{buildroot}%{_sysconfdir}/sysconfig \
cvsdist 0750536
         %{buildroot}%{_localstatedir}/lib/ups \
cvsdist 0750536
         %{buildroot}%{initdir}
cvsdist 991b2c6
cvsdist 2522685
make install install-conf \
cvsdist 2522685
     install-cgi-conf \
cvsdist 2522685
     install-cgi \
cvsdist 2522685
     install-usb \
cvsdist 2522685
     install-snmp DESTDIR=%{buildroot}
cvsdist 13f7bca
cvsdist 13f7bca
install -m 755 drivers/hidups %{buildroot}%{modeldir}/
cvsdist 13f7bca
install -m 755 drivers/dummycons %{buildroot}%{modeldir}/
cvsdist 13f7bca
install -m 755 drivers/energizerups %{buildroot}%{modeldir}/
cvsdist 13f7bca
cvsdist bfc54a3
install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/ups
cvsdist bfc54a3
install -m 755 %{SOURCE1} %{buildroot}%{initdir}/ups
cvsdist bfc54a3
cvsdist 81ab26c
# rename
cvsdist 81ab26c
for file in %{buildroot}%{_sysconfdir}/ups/*.sample
cvsdist 81ab26c
do
cvsdist 81ab26c
   mv $file %{buildroot}%{_sysconfdir}/ups/`basename $file .sample`
cvsdist 81ab26c
done
cvsdist 81ab26c
cvsdist 0750536
%if !%{devel}
cvsdist 0750536
rm -rf %{buildroot}%{_includedir} \
cvsdist 0750536
       %{buildroot}%{_mandir}/man3/upscli_* \
cvsdist 13f7bca
       %{buildroot}%{_libdir}/*upsclient*
cvsdist 0750536
%endif
cvsdist 0750536
cvsdist 81ab26c
%pre
cvsdist 81ab26c
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \
cvsdist 81ab26c
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
cvsdist 81ab26c
cvsdist 81ab26c
%pre client
cvsdist 81ab26c
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \
cvsdist 81ab26c
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
cvsdist 81ab26c
cvsdist 0750536
%pre cgi
cvsdist 0750536
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \
cvsdist 0750536
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
cvsdist 0750536
cvsdist bfc54a3
%post client
cvsdist bfc54a3
/sbin/chkconfig --add ups
cvsdist 2522685
exit 0
cvsdist bfc54a3
cvsdist bfc54a3
%preun client
cvsdist bfc54a3
if [ "$1" = "0" ]; then
cvsdist bfc54a3
    /sbin/service ups stop > /dev/null 2>&1
cvsdist bfc54a3
    /sbin/chkconfig --del ups
cvsdist bfc54a3
fi
cvsdist 2522685
exit 0
cvsdist bfc54a3
cvsdist bfc54a3
%postun client
cvsdist bfc54a3
if [ "$1" -ge "1" ]; then
cvsdist bfc54a3
    /sbin/service ups condrestart > /dev/null 2>&1
cvsdist bfc54a3
fi
cvsdist 83cc7ca
exit 0
cvsdist bfc54a3
cvsdist bfc54a3
%clean
cvsdist bfc54a3
rm -rf %{buildroot}
cvsdist bfc54a3
cvsdist bfc54a3
%files
cvsdist bfc54a3
%defattr(-,root,root)
cvsdist 2522685
%doc COPYING CREDITS CHANGES README docs UPGRADING
cvsdist 13f7bca
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/ups.conf
cvsdist 13f7bca
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsd.conf
cvsdist 9470c79
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.users
cvsdist bfc54a3
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/ups
cvsdist 991b2c6
%{modeldir}/*
cvsdist 726fc72
%{_sbindir}/upsd
cvsdist bfc54a3
%{_bindir}/upslog
cvsdist 0750536
%{_datadir}/cmdvartab
cvsdist 2522685
%{_datadir}/driver.list
cvsdist 0750536
%{_mandir}/man5/ups.conf.5.gz
cvsdist 0750536
%{_mandir}/man5/upsd.conf.5.gz
cvsdist 0750536
%{_mandir}/man5/upsd.users.5.gz
cvsdist 0750536
%{_mandir}/man8/apcsmart.8.gz
cvsdist 0750536
%{_mandir}/man8/belkin.8.gz
cvsdist 0750536
%{_mandir}/man8/bestups.8.gz
cvsdist 0750536
%{_mandir}/man8/bestuferrups.8.gz
cvsdist 0750536
%{_mandir}/man8/cyberpower.8.gz
cvsdist 0750536
%{_mandir}/man8/everups.8.gz
cvsdist 0750536
%{_mandir}/man8/etapro.8.gz
cvsdist 0750536
%{_mandir}/man8/fentonups.8.gz
cvsdist 0750536
%{_mandir}/man8/genericups.8.gz
cvsdist 0750536
%{_mandir}/man8/isbmex.8.gz
cvsdist 0750536
%{_mandir}/man8/liebert.8.gz
cvsdist 0750536
%{_mandir}/man8/masterguard.8.gz
cvsdist 0750536
%{_mandir}/man8/mge-utalk.8.gz
cvsdist 0750536
%{_mandir}/man8/nutupsdrv.8.gz
cvsdist 0750536
%{_mandir}/man8/oneac.8.gz
cvsdist 0750536
%{_mandir}/man8/powercom.8.gz
cvsdist 0750536
%{_mandir}/man8/sms.8.gz
cvsdist 0750536
%{_mandir}/man8/tripplite.8.gz
cvsdist 0750536
%{_mandir}/man8/tripplitesu.8.gz
cvsdist 0750536
%{_mandir}/man8/victronups.8.gz
cvsdist 0750536
%{_mandir}/man8/upsd.8.gz
cvsdist 0750536
%{_mandir}/man8/upsdrvctl.8.gz
cvsdist 0750536
%{_mandir}/man8/mge-shut.8.gz
cvsdist 13f7bca
%{_mandir}/man8/energizerups.8.gz
cvsdist 13f7bca
%{_mandir}/man8/safenet.8.gz
cvsdist 2522685
%{_mandir}/man8/belkinunv.8.gz
cvsdist 2522685
%{_mandir}/man8/hidups.8.gz
cvsdist 2522685
%{_mandir}/man8/ippon.8.gz
cvsdist 2522685
%{_mandir}/man8/newhidups.8.gz
cvsdist 2522685
%{_mandir}/man8/snmp-ups.8.gz
c281ca1
%{_mandir}/man8/bestfcom.8.gz
c281ca1
%{_mandir}/man8/cpsups.8.gz
c281ca1
%{_mandir}/man8/metasys.8.gz
c281ca1
%{_mandir}/man8/mustek.8.gz
c281ca1
%{_mandir}/man8/powermust.8.gz
260a5c1
%{_mandir}/man8/bcmxcp.8*
260a5c1
%{_mandir}/man8/solis.8*
260a5c1
%{_mandir}/man8/upscode2.8*
cvsdist bfc54a3
%files client
cvsdist bfc54a3
%defattr(-,root,root)
cvsdist bfc54a3
%attr(755,root,root) %{initdir}/ups
cvsdist 81ab26c
%dir %{_sysconfdir}/ups
cvsdist 0750536
%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upsmon.conf
cvsdist 0750536
%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upssched.conf
cvsdist 0750536
%dir %attr(750,nut,nut) %{_localstatedir}/lib/ups
cvsdist bfc54a3
%{_bindir}/upsc
cvsdist bfc54a3
%{_bindir}/upscmd
cvsdist 81ab26c
%{_bindir}/upsrw
cvsdist 726fc72
%{_sbindir}/upsmon
cvsdist 726fc72
%{_sbindir}/upssched
cvsdist 726fc72
%{_sbindir}/upssched-cmd
cvsdist 0750536
%{_mandir}/man5/upsmon.conf.5.gz
cvsdist 0750536
%{_mandir}/man5/upssched.conf.5.gz
cvsdist 0750536
%{_mandir}/man8/upsc.8.gz
cvsdist 0750536
%{_mandir}/man8/upscmd.8.gz
cvsdist 0750536
%{_mandir}/man8/upsrw.8.gz
cvsdist 0750536
%{_mandir}/man8/upslog.8.gz
cvsdist 0750536
%{_mandir}/man8/upsmon.8.gz
cvsdist 0750536
%{_mandir}/man8/upssched.8.gz
cvsdist bfc54a3
cvsdist bfc54a3
%files cgi
cvsdist bfc54a3
%defattr(-,root,root)
cvsdist 0750536
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/hosts.conf
cvsdist 0750536
%config(noreplace) %attr(600,nut,root) %{_sysconfdir}/ups/upsset.conf
cvsdist 81ab26c
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats.html
cvsdist 81ab26c
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats-single.html
cvsdist bfc54a3
%{cgidir}/*
cvsdist 0750536
%{_mandir}/man5/hosts.conf.5.gz
cvsdist 0750536
%{_mandir}/man5/upsstats.html.5.gz
cvsdist 0750536
%{_mandir}/man5/upsset.conf.5.gz
cvsdist 0750536
%{_mandir}/man8/upsimage.cgi.8.gz
cvsdist 0750536
%{_mandir}/man8/upsstats.cgi.8.gz
cvsdist 0750536
%{_mandir}/man8/upsset.cgi.8.gz
cvsdist bfc54a3
cvsdist bfc54a3
%changelog
260a5c1
* Wed Jul 20 2005 Than Ngo <than@redhat.com> 2.0.2-1
260a5c1
- fix compiler warnings #156027
260a5c1
- update to 2.0.2
260a5c1
c281ca1
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.1-1
c281ca1
- 2.0.1
c281ca1
- fix uninit local variable, #131773
c281ca1
ef90b86
* Wed Dec 08 2004 Than Ngo <than@redhat.com> 2.0.0-7
ef90b86
- don't requires libusb-devel on s390/s390x
ef90b86
- add %%{release} in buildroot 
ef90b86
c16730d
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 2.0.0-6
c16730d
- Convert newhidups.8 to UTF-8
c16730d
4a722e6
* Tue Oct 05 2004 Than Ngo <than@redhat.com> 2.0.0-5
4a722e6
- more buildrequires
664ad3b
- don't build on s390/s390x
4a722e6
cvsdist 83cc7ca
* Thu Aug 26 2004 Nalin Dahyabhai <nalin@redhat.com> 2.0.0-4
cvsdist 83cc7ca
- fix syntax error in -client postun scriptlet (#131040)
cvsdist 83cc7ca
cvsdist f801687
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f801687
- rebuilt
cvsdist f801687
cvsdist 9470c79
* Mon May 10 2004 Than Ngo <than@redhat.com> 2.0.0-2
cvsdist 9470c79
- fixed permission problem, bug #122867
cvsdist 9470c79
cvsdist 2522685
* Fri Apr 02 2004 Than Ngo <than@redhat.com> 2.0.0-1
cvsdist 2522685
- 2.0.0
cvsdist 2522685
cvsdist 13f7bca
* Sat Feb 14 2004 Than Ngo <than@redhat.com> 1.4.1-3 
cvsdist 13f7bca
- add some missing drivers
cvsdist 13f7bca
cvsdist 13f7bca
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 13f7bca
- rebuilt
cvsdist 13f7bca
cvsdist 13f7bca
* Wed Feb 11 2004 Than Ngo <than@redhat.com> 1.4.1-1
cvsdist 13f7bca
- 1.4.1
cvsdist 13f7bca
- fixed permission problem (bug #115290)
cvsdist 13f7bca
cvsdist 0750536
* Wed Sep 24 2003 Mike McLean <mikem@redhat.com> 1.4.0-3
cvsdist 0750536
- fixed 'nut' user problem with nut-cgi (bug#104872)
cvsdist 0750536
cvsdist 0750536
* Mon Sep 15 2003 Than Ngo <than@redhat.com> 1.4.0-2
cvsdist 0750536
- added missing hidups driver (bug #104412)
cvsdist 0750536
cvsdist 0750536
* Tue Sep 09 2003 Than Ngo <than@redhat.com> 1.4.0-1
cvsdist 0750536
- 1.4.0
cvsdist 0750536
- fixed permission problem (bug #103023)
cvsdist 0750536
- fixed rpm file list (bug #90848)
cvsdist 0750536
- added support multiple drivers, thanks to Gilbert E. Detillieux (bug #79465)
cvsdist 0750536
cvsdist 0750536
* Thu Jun 26 2003 Than Ngo <than@redhat.com> 1.2.2-3
cvsdist 0750536
- Add variable to ups sysconfig file for upsd (bug #97900)
cvsdist 0750536
cvsdist 0750536
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 0750536
- rebuilt
cvsdist 0750536
cvsdist 0750536
* Wed May  7 2003 Than Ngo <than@redhat.com> 1.2.2-1
cvsdist 0750536
- 1.2.2
cvsdist 0750536
cvsdist 0750536
* Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 1.2.0-7
cvsdist 0750536
- Bumped release and rebuilt because of new gd version.
cvsdist 0750536
cvsdist 81ab26c
* Thu Feb 13 2003 Than Ngo <than@redhat.com> 1.2.0-6
cvsdist 81ab26c
- build with correct userid #84199
cvsdist 81ab26c
- fix directory permission
cvsdist 81ab26c
cvsdist 81ab26c
* Tue Feb 11 2003 Than Ngo <than@redhat.com> 1.2.0-5
cvsdist 81ab26c
- add user nut, bug #81500 
cvsdist 81ab26c
- fix permission issue, bug #81524, #83997
cvsdist 81ab26c
- own /etc/ups, bug #73959
cvsdist 81ab26c
cvsdist 81ab26c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 81ab26c
- rebuilt
cvsdist 81ab26c
cvsdist 81ab26c
* Wed Jan  8 2003 Thomas Woerner <twoerner@redhat.com> 1.2.0-3
cvsdist 81ab26c
- added html templates for cgi scripts (#78532)
cvsdist 81ab26c
- added hidups driver (#80334)
cvsdist 81ab26c
cvsdist 81ab26c
* Wed Dec  18 2002 Dan Walsh <dwalsh@redhat.com> 1.2.0-2
cvsdist 81ab26c
- Fix service description
cvsdist 81ab26c
cvsdist 81ab26c
* Wed Nov  6 2002 han Ngo <than@redhat.com> 1.2.0-1
cvsdist 81ab26c
- update to 1.2.0
cvsdist 81ab26c
cvsdist 81ab26c
* Mon Nov  4 2002 Than Ngo <than@redhat.com> 1.00-1
cvsdist 81ab26c
- update to 1.00
cvsdist 81ab26c
cvsdist 4729ef4
* Wed Jul 31 2002 Than Ngo <than@redhat.com> 0.45.4-5
cvsdist 4729ef4
- Fixed wrong CMDSCRIPT (bug #69817)
cvsdist 4729ef4
cvsdist 991b2c6
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 991b2c6
- automated rebuild
cvsdist 991b2c6
cvsdist 991b2c6
* Sun Jun 02 2002 Than Ngo <than@redhat.com> 0.45.4-3
cvsdist 991b2c6
- fix forced shutdown (bug #65824, #60516)
cvsdist 991b2c6
- enable hidups driver
cvsdist 991b2c6
- add missing manages (bug #65188)
cvsdist 991b2c6
cvsdist 991b2c6
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 991b2c6
- automated rebuild
cvsdist 991b2c6
cvsdist 17ed6ca
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.45.4-1
cvsdist 17ed6ca
- update to 0.45.4
cvsdist 17ed6ca
cvsdist 17ed6ca
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 17ed6ca
- automated rebuild
cvsdist 17ed6ca
cvsdist 17ed6ca
* Fri Dec 14 2001 Than Ngo <than@redhat.com> 0.45.3-1
cvsdist 17ed6ca
- update to 0.45.2
cvsdist 17ed6ca
- fix bug #57417
cvsdist 17ed6ca
cvsdist 17ed6ca
* Mon Nov 27 2001 Than Ngo <than@redhat.com> 0.45.2-1
cvsdist 17ed6ca
- update to 0.45.2
cvsdist 17ed6ca
- clean up some patch files for 0.45.2
cvsdist 17ed6ca
cvsdist 598525c
* Tue Jul 24 2001 Than Ngo <than@redhat.com> 0.45.0-3
cvsdist 598525c
- fix build dependencies (bug #49858)
cvsdist 598525c
cvsdist 726fc72
* Fri Jul  6 2001 Than Ngo <than@redhat.com> 0.45.0-2
cvsdist 726fc72
- rebuild
cvsdist 726fc72
cvsdist 726fc72
* Wed Jun 13 2001 Than Ngo <than@redhat.com>
cvsdist 726fc72
- update to 0.45.0
cvsdist 726fc72
- add some patches from alane@geeksrus.net (bug #44361, #44363)
cvsdist 726fc72
cvsdist 726fc72
* Sun Apr 22 2001 Than Ngo <than@redhat.com>
cvsdist 726fc72
- add all available UPS drivers (Bug #36937)
cvsdist 726fc72
cvsdist 726fc72
* Fri Apr 13 2001 Than Ngo <than@redhat.com>
cvsdist 726fc72
- update to 0.44.3 (Bug #35255)
cvsdist 726fc72
cvsdist b21753e
* Fri Feb  9 2001 Than Ngo <than@redhat.com>
cvsdist b21753e
- fixed typo (Bug #26535)
cvsdist b21753e
cvsdist 0750536
* Tue Feb  6 2001 Trond Eivind Glomsrd <teg@redhat.com>
cvsdist b21753e
- Fix some of the i18n
cvsdist b21753e
- make it exit cleanly if not configured
cvsdist b21753e
cvsdist b21753e
* Fri Jan 26 2001 Than Ngo <than@redhat.com>
cvsdist b21753e
- initscript internationalisation
cvsdist b21753e
cvsdist b21753e
* Thu Jan 11 2001 Than Ngo <than@redhat.com>
cvsdist b21753e
- fixed init script error (bug #23525)
cvsdist b21753e
cvsdist b21753e
* Sat Oct 21 2000 Than Ngo <than@redhat.com>
cvsdist b21753e
- update to 0.44.1
cvsdist b21753e
cvsdist bfc54a3
* Tue Aug 01 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- rebuilt with Michael changes
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Jul 31 2000 Michael Stefaniuc <mstefani@redhat.com>
cvsdist bfc54a3
- changed /etc/sysconfig/ups to adress the changes in 0.44.0
cvsdist bfc54a3
- moved /etc/sysconfig/ups to the server package
cvsdist bfc54a3
- changed the initscript
cvsdist bfc54a3
- small config file patch
cvsdist bfc54a3
cvsdist bfc54a3
* Fri Jul 28 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- fixed initscripts so that condrestart doesn't return 1 when the test fails
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Jul 24 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- nut CGIs is disable as default (Bug #14282)
cvsdist bfc54a3
cvsdist bfc54a3
* Tue Jul 18 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- update to 0.44.0
cvsdist bfc54a3
- inits back to rc.d/init.d, using service to fire them up
cvsdist bfc54a3
cvsdist bfc54a3
* Wed Jul 12 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- fix initscript and specfile, it should work with 6.x and 7.x
cvsdist bfc54a3
- add --with-statepath and --sysconfdir to %configure (thanks Michael)
cvsdist bfc54a3
cvsdist bfc54a3
* Sat Jul 08 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- add Prereq: /etc/init.d
cvsdist bfc54a3
cvsdist bfc54a3
* Tue Jun 27 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- don't prereq, only require initscripts
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Jun 26 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a3
- /etc/rc.d/init.d -> /etc/init.d
cvsdist bfc54a3
- prereq initscripts >= 5.20
cvsdist bfc54a3
cvsdist bfc54a3
* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist bfc54a3
- don't run by default
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist bfc54a3
- adopted for Winston.  Use our new path macros.
cvsdist bfc54a3
- change nocgi pkg to a cgi pkg (inclusive rather than exclusive).
cvsdist bfc54a3
- new init script
cvsdist bfc54a3
cvsdist bfc54a3
* Sat May 06 2000 <bo-rpm@vircio.com> (0.43.2-1)
cvsdist bfc54a3
- Updated Package to new release
cvsdist bfc54a3
cvsdist bfc54a3
* Thu Jan 20 2000 <bo-rpm@vircio.com> (0.42.2-1)
cvsdist bfc54a3
- Updated package to new release
cvsdist bfc54a3
- Dropped bestups patch since that is fixed in 0.42.2
cvsdist bfc54a3
cvsdist bfc54a3
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-4)
cvsdist bfc54a3
- Package now uses chkconfig
cvsdist bfc54a3
cvsdist bfc54a3
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-3)
cvsdist bfc54a3
- applied an improved patch to deal with the 
cvsdist bfc54a3
  bestups string length issue.
cvsdist bfc54a3
cvsdist bfc54a3
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1)
cvsdist bfc54a3
- fixed string length in bestups.c line 279.
cvsdist bfc54a3
cvsdist bfc54a3
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1)
cvsdist bfc54a3
- upgraded package to 0.42.1 from 0.42.0
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-8)
cvsdist bfc54a3
- added requirement of nut-client for nut.
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-7)
cvsdist bfc54a3
- removed overlapping files between the nut and nut-client rpms
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-6)
cvsdist bfc54a3
- stop ups before uninstalling
cvsdist bfc54a3
cvsdist bfc54a3
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-5)
cvsdist bfc54a3
- build against gd 1.6.3
cvsdist bfc54a3
cvsdist bfc54a3
* Thu Nov 03 1999 <bo-rpm@vircio.com> (0.42.0-4)
cvsdist bfc54a3
- Initial build of nut (well almost).
cvsdist bfc54a3
- Removed chmod from the make file so that the package
cvsdist bfc54a3
  does not have to be built as root.....