cvsdist 81ab26
%define nut_uid 57
cvsdist 81ab26
%define nut_gid 57
cvsdist 81ab26
cvsdist bfc54a
%define initdir /etc/rc.d/init.d
cvsdist bfc54a
%define cgidir  /var/www/nut-cgi-bin
2943cd
%define piddir  /var/run/nut
cvsdist 991b2c
%define modeldir /sbin
cvsdist 81ab26
cvsdist bfc54a
Summary: Network UPS Tools
cvsdist bfc54a
Name: nut
d737ad
Version: 2.4.3
80fb93
Release: 6%{?dist}
cvsdist bfc54a
Group: Applications/System
eb2ea7
License: GPLv2+
aad9df
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9b6e23
Url: http://www.networkupstools.org/
e1231e
Source: http://www.networkupstools.org/source/2.4/%{name}-%{version}.tar.gz
cvsdist bfc54a
Source1: ups.init
cvsdist bfc54a
Source2: ups.sysconfig
cvsdist 81ab26
38c37c
Patch0: nut-2.2.1-conf.patch
e1231e
d737ad
#rejected upstream
d737ad
Patch1: nut-2.2.2-halpath.patch
cvsdist 81ab26
9c94fe
#from upstream, required for nut <= 2.4.3, bz#575334
9c94fe
Patch2: nut-2.4.3-bz575334.patch
9c94fe
aacca5
# sent upstream, for nut<=2.4.3, rhbz#573806
943d57
Patch3: nut-2.4.3-udev.patch
943d57
aacca5
# for nut <= 2.4.3, rhbz#616375
aacca5
Patch4: nut-2.4.3-portcrash.patch
aacca5
e1231e
Requires: nut-client => 2.4.0 hal
65c9f4
Requires(pre): hal
e1231e
Requires(post): fileutils chkconfig initscripts
e1231e
Requires(postun): fileutils chkconfig initscripts
aad9df
e1231e
BuildRequires: autoconf
e1231e
BuildRequires: automake
e1231e
BuildRequires: dbus-glib-devel
aad9df
BuildRequires: elfutils-devel
aad9df
BuildRequires: fontconfig-devel
e1231e
BuildRequires: freetype-devel
e1231e
BuildRequires: gd-devel
c4984d
BuildRequires: hal-devel
e1231e
BuildRequires: libjpeg-devel
e1231e
BuildRequires: libpng-devel
938672
BuildRequires: libtool
e1231e
BuildRequires: libX11-devel
e1231e
BuildRequires: libXpm-devel
938672
BuildRequires: neon-devel
e1231e
BuildRequires: net-snmp-devel
e1231e
BuildRequires: netpbm-devel
e1231e
BuildRequires: openssl-devel
e1231e
BuildRequires: pkgconfig
ccbffb
BuildRequires: powerman-devel
ef90b8
ef90b8
%ifnarch s390 s390x
aad9df
BuildRequires: libusb-devel
ef90b8
%endif
cvsdist bfc54a
664ad3
ExcludeArch: s390 s390x
664ad3
cvsdist bfc54a
%description
cvsdist bfc54a
These programs are part of a developing project to monitor the assortment 
cvsdist bfc54a
of UPSes that are found out there in the field. Many models have serial 
cvsdist 81ab26
ports of some kind that allow some form of state checking. This
cvsdist bfc54a
capability has been harnessed where possible to allow for safe shutdowns, 
cvsdist bfc54a
live status tracking on web pages, and more.
cvsdist bfc54a
cvsdist bfc54a
%package client
cvsdist bfc54a
Group: Applications/System
cvsdist bfc54a
Summary: Network UPS Tools client monitoring utilities
af52c9
Requires(post): chkconfig
af52c9
Requires(preun): chkconfig
65c9f4
Requires(pre): /usr/sbin/useradd hal
cvsdist bfc54a
cvsdist bfc54a
%description client
cvsdist bfc54a
This package includes the client utilities that are required to monitor a
cvsdist bfc54a
ups that the client host has access to, but where the UPS is physically
cvsdist bfc54a
attached to a different computer on the network.
cvsdist bfc54a
cvsdist bfc54a
%package cgi
cvsdist bfc54a
Group: Applications/System
cvsdist bfc54a
Summary: CGI utilities for the Network UPS Tools
9d928d
Requires: %{name}-client = %{version}-%{release} webserver
65c9f4
Requires(pre): /usr/sbin/useradd hal
cvsdist bfc54a
cvsdist bfc54a
%description cgi
cvsdist bfc54a
This package includes CGI programs for accessing UPS status via a web
cvsdist bfc54a
browser.
cvsdist 075053
938672
%package xml
938672
Group: Applications/System
938672
Summary: XML UPS driver for the Network UPS Tools
938672
Requires: %{name}-client = %{version}-%{release}
938672
938672
%description xml
938672
This package adds the netxml-ups driver, that allows NUT to monitor a XML
938672
capable UPS.
938672
af52c9
%package hal
ccbffb
Summary: UPS Monitoring Software
ccbffb
Group: Applications/System
ccbffb
Requires: hal
ccbffb
Conflicts: apcupsd, %{name}
af52c9
af52c9
%description hal
af52c9
This package contains the HAL enabled version of the drivers. You can use
af52c9
this for most USB connected UPSes that are powering a single system with a
af52c9
graphical desktop.
af52c9
cvsdist 075053
%package devel
cvsdist 075053
Group: Development/Libraries
cvsdist 075053
Summary: Development files for NUT Client
aed1aa
Requires: %{name}-client = %{version}-%{release} webserver openssl-devel
cvsdist 075053
cvsdist 075053
%description devel
cvsdist 075053
This package contains the development header files and libraries
cvsdist 075053
necessary to develop NUT client applications.
fd8fc3
cvsdist bfc54a
%prep
cvsdist bfc54a
%setup -q
9d928d
%patch0 -p1 -b .conf
d737ad
%patch1 -p1 -b .halpath
9c94fe
%patch2 -p1 -b .bz575334
943d57
%patch3 -p1 -b .udevpatch
aacca5
%patch4 -p1 -b .portcrash
c16730
cvsdist bfc54a
%build
8adf5c
autoreconf -i
cvsdist bfc54a
%configure \
cvsdist 81ab26
    --with-user=%{name} \
47df70
    --with-group=dialout \
2943cd
    --with-statepath=%{piddir} \
2943cd
    --with-pidpath=%{piddir} \
2943cd
    --with-altpidpath=%{piddir} \
cvsdist bfc54a
    --sysconfdir=%{_sysconfdir}/ups \
cvsdist 991b2c
    --with-cgipath=%{cgidir} \
cvsdist 81ab26
    --with-drvpath=%{modeldir} \
9d928d
    --with-all \
ccbffb
    --with-ipv6 \
9d928d
    --with-linux-hiddev=%{_includedir}/linux/hiddev.h \
ccbffb
    --with-pkgconfig-dir=%{_libdir}/pkgconfig \
e1231e
    --disable-static \
e1231e
    --libdir=%{_libdir}
cvsdist bfc54a
ccbffb
#remove rpath
8adf5c
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
8adf5c
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
8adf5c
cvsdist 252268
make %{?_smp_mflags}
cvsdist bfc54a
fd8fc3
# fix old enconding manpages
fd8fc3
mv man/upscode2.8 man/upscode2.8.iso
fd8fc3
iconv -f ISO8859-1 -t UTF-8 -o man/upscode2.8 man/upscode2.8.iso 
fd8fc3
mv man/bcmxcp.8 man/bcmxcp.8.iso
fd8fc3
iconv -f ISO8859-1 -t UTF-8 -o man/bcmxcp.8 man/bcmxcp.8.iso 
fd8fc3
mv man/bcmxcp_usb.8 man/bcmxcp_usb.8.iso
fd8fc3
iconv -f ISO8859-1 -t UTF-8 -o man/bcmxcp_usb.8 man/bcmxcp_usb.8.iso 
fd8fc3
rm -f man/*.iso
fd8fc3
cvsdist bfc54a
%install
cvsdist bfc54a
rm -rf %{buildroot}
cvsdist bfc54a
cvsdist 075053
mkdir -p %{buildroot}%{modeldir} \
cvsdist 075053
         %{buildroot}%{_sysconfdir}/sysconfig \
580885
         %{buildroot}%{_sysconfdir}/udev/rules.d \
2943cd
         %{buildroot}%{piddir} \
cvsdist 075053
         %{buildroot}%{_localstatedir}/lib/ups \
fd8fc3
         %{buildroot}%{initdir} \
fd8fc3
         %{buildroot}%{_libexecdir} \
fd8fc3
         %{buildroot}%{_datadir}/hal/fdi/information/20thirdparty
cvsdist 991b2c
9d928d
make install DESTDIR=%{buildroot}
cvsdist 13f7bc
cvsdist bfc54a
install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/ups
cvsdist bfc54a
install -m 755 %{SOURCE1} %{buildroot}%{initdir}/ups
cvsdist bfc54a
3dc1e7
install -m 644 man/gamatronic.*  %{buildroot}%{_mandir}/man8/
580885
938672
install -m 644 scripts/hal/ups-nut-device.fdi \
938672
        %{buildroot}%{_datadir}/hal/fdi/information/20thirdparty/20-ups-nut-device.fdi
fd8fc3
96caa1
rm -rf %{buildroot}%{_prefix}/html
9d928d
rm -f %{buildroot}%{_libdir}/*.la
96caa1
e1231e
pushd conf; 
e1231e
make install DESTDIR=%{buildroot}
cvsdist 81ab26
for file in %{buildroot}%{_sysconfdir}/ups/*.sample
cvsdist 81ab26
do
cvsdist 81ab26
   mv $file %{buildroot}%{_sysconfdir}/ups/`basename $file .sample`
cvsdist 81ab26
done
e1231e
popd
cvsdist 81ab26
33a576
mv %{buildroot}/lib/udev/rules.d/52-nut-usbups.rules %{buildroot}/lib/udev/rules.d/62-nut-usbups.rules
d55996
e1231e
#pushd %{buildroot}
e1231e
# fix encoding
e1231e
for fe in ./docs/cables/powerware.txt
e1231e
do
e1231e
  iconv -f iso-8859-1 -t utf-8 <$fe >$fe.new
e1231e
  touch -r $fe $fe.new
e1231e
  mv -f $fe.new $fe
e1231e
done
e1231e
e1231e
cvsdist 81ab26
%pre
d50269
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid}  \
cvsdist 81ab26
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
d50269
/usr/sbin/usermod -G dialout %{name}
cvsdist 81ab26
cvsdist 81ab26
%pre client
d50269
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} \
cvsdist 81ab26
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
d50269
/usr/sbin/usermod -G dialout %{name}
cvsdist 81ab26
cvsdist 075053
%pre cgi
d50269
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} \
cvsdist 075053
        -s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || :
d50269
/usr/sbin/usermod -G dialout %{name}
cvsdist 075053
cvsdist bfc54a
%post client
cvsdist bfc54a
/sbin/chkconfig --add ups
fd8fc3
/sbin/ldconfig
cvsdist 252268
exit 0
cvsdist bfc54a
cvsdist bfc54a
%preun client
cvsdist bfc54a
if [ "$1" = "0" ]; then
cvsdist bfc54a
    /sbin/service ups stop > /dev/null 2>&1
cvsdist bfc54a
    /sbin/chkconfig --del ups
cvsdist bfc54a
fi
fd8fc3
/sbin/ldconfig
cvsdist 252268
exit 0
cvsdist bfc54a
cvsdist bfc54a
%postun client
cvsdist bfc54a
if [ "$1" -ge "1" ]; then
cvsdist bfc54a
    /sbin/service ups condrestart > /dev/null 2>&1
cvsdist bfc54a
fi
af52c9
/sbin/ldconfig
cvsdist 83cc7c
exit 0
cvsdist bfc54a
cvsdist bfc54a
%clean
cvsdist bfc54a
rm -rf %{buildroot}
cvsdist bfc54a
cvsdist bfc54a
%files
aad9df
%defattr(-,root,root,-)
9d928d
%doc COPYING ChangeLog AUTHORS MAINTAINERS README docs UPGRADING INSTALL NEWS
ccbffb
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/nut.conf
737048
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/ups.conf
737048
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.conf
cvsdist 9470c7
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.users
cvsdist bfc54a
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/ups
e1231e
%attr(644,root,root) /lib/udev/rules.d/62-nut-usbups.rules
cvsdist 991b2c
%{modeldir}/*
938672
%exclude %{modeldir}/netxml-ups
cvsdist 726fc7
%{_sbindir}/upsd
cvsdist bfc54a
%{_bindir}/upslog
cvsdist 075053
%{_datadir}/cmdvartab
cvsdist 252268
%{_datadir}/driver.list
d737ad
%{_mandir}/man5/nut.conf.5.gz
cvsdist 075053
%{_mandir}/man5/ups.conf.5.gz
cvsdist 075053
%{_mandir}/man5/upsd.conf.5.gz
cvsdist 075053
%{_mandir}/man5/upsd.users.5.gz
cvsdist 075053
%{_mandir}/man8/apcsmart.8.gz
ccbffb
%{_mandir}/man8/bcmxcp.8*
ccbffb
%{_mandir}/man8/bcmxcp_usb.8.gz
cvsdist 075053
%{_mandir}/man8/belkin.8.gz
ccbffb
%{_mandir}/man8/bestfcom.8.gz
ccbffb
%{_mandir}/man8/belkinunv.8.gz
d737ad
%{_mandir}/man8/bestfortress.8.gz
cvsdist 075053
%{_mandir}/man8/bestups.8.gz
cvsdist 075053
%{_mandir}/man8/bestuferrups.8.gz
ccbffb
%{_mandir}/man8/blazer.8.gz
d737ad
%{_mandir}/man8/clone.8.gz
ccbffb
%{_mandir}/man8/dummy-ups.8.gz
cvsdist 075053
%{_mandir}/man8/everups.8.gz
cvsdist 075053
%{_mandir}/man8/etapro.8.gz
ccbffb
%{_mandir}/man8/gamatronic.8.gz
cvsdist 075053
%{_mandir}/man8/genericups.8.gz
cvsdist 075053
%{_mandir}/man8/isbmex.8.gz
d737ad
%{_mandir}/man8/ivtscd.8.gz
cvsdist 075053
%{_mandir}/man8/liebert.8.gz
d737ad
%{_mandir}/man8/liebertgxt2.8.gz
cvsdist 075053
%{_mandir}/man8/masterguard.8.gz
ccbffb
%{_mandir}/man8/megatec.8.gz
ccbffb
%{_mandir}/man8/megatec_usb.8.gz
ccbffb
%{_mandir}/man8/metasys.8.gz
6ad2e0
%{_mandir}/man8/microdowell.8.gz
cvsdist 075053
%{_mandir}/man8/mge-utalk.8.gz
ccbffb
%{_mandir}/man8/mge-shut.8.gz
cvsdist 075053
%{_mandir}/man8/nutupsdrv.8.gz
cvsdist 075053
%{_mandir}/man8/oneac.8.gz
ccbffb
%{_mandir}/man8/optiups.8.gz
cvsdist 075053
%{_mandir}/man8/powercom.8.gz
ccbffb
%{_mandir}/man8/powerman-pdu.8.gz
ccbffb
%{_mandir}/man8/powerpanel.8.gz
ccbffb
%{_mandir}/man8/rhino.8.gz
ccbffb
%{_mandir}/man8/richcomm_usb.8.gz
ccbffb
%{_mandir}/man8/safenet.8.gz
ccbffb
%{_mandir}/man8/snmp-ups.8.gz
ccbffb
%{_mandir}/man8/solis.8*
cvsdist 075053
%{_mandir}/man8/tripplite.8.gz
ccbffb
%{_mandir}/man8/tripplite_usb.8.gz
cvsdist 075053
%{_mandir}/man8/tripplitesu.8.gz
cvsdist 075053
%{_mandir}/man8/victronups.8.gz
ccbffb
%{_mandir}/man8/upscode2.8*
cvsdist 075053
%{_mandir}/man8/upsd.8.gz
cvsdist 075053
%{_mandir}/man8/upsdrvctl.8.gz
9d928d
%{_mandir}/man8/usbhid-ups.8.gz
aad9df
cvsdist bfc54a
%files client
aacca5
%doc COPYING
cvsdist bfc54a
%defattr(-,root,root)
cvsdist bfc54a
%attr(755,root,root) %{initdir}/ups
57784c
%dir %{_sysconfdir}/ups
737048
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsmon.conf
737048
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upssched.conf
cvsdist 075053
%dir %attr(750,nut,nut) %{_localstatedir}/lib/ups
2943cd
%dir %attr(750,nut,nut) %{piddir}
cvsdist bfc54a
%{_bindir}/upsc
cvsdist bfc54a
%{_bindir}/upscmd
cvsdist 81ab26
%{_bindir}/upsrw
cvsdist 726fc7
%{_sbindir}/upsmon
cvsdist 726fc7
%{_sbindir}/upssched
9d928d
%{_bindir}/upssched-cmd
9d928d
%{_libdir}/libupsclient.so.*
cvsdist 075053
%{_mandir}/man5/upsmon.conf.5.gz
cvsdist 075053
%{_mandir}/man5/upssched.conf.5.gz
cvsdist 075053
%{_mandir}/man8/upsc.8.gz
cvsdist 075053
%{_mandir}/man8/upscmd.8.gz
cvsdist 075053
%{_mandir}/man8/upsrw.8.gz
cvsdist 075053
%{_mandir}/man8/upslog.8.gz
cvsdist 075053
%{_mandir}/man8/upsmon.8.gz
cvsdist 075053
%{_mandir}/man8/upssched.8.gz
cvsdist bfc54a
cvsdist bfc54a
%files cgi
aad9df
%defattr(-,root,root,-)
cvsdist 075053
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/hosts.conf
cvsdist 075053
%config(noreplace) %attr(600,nut,root) %{_sysconfdir}/ups/upsset.conf
cvsdist 81ab26
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats.html
cvsdist 81ab26
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats-single.html
aad9df
%{cgidir}/
cvsdist 075053
%{_mandir}/man5/hosts.conf.5.gz
cvsdist 075053
%{_mandir}/man5/upsstats.html.5.gz
cvsdist 075053
%{_mandir}/man5/upsset.conf.5.gz
cvsdist 075053
%{_mandir}/man8/upsimage.cgi.8.gz
cvsdist 075053
%{_mandir}/man8/upsstats.cgi.8.gz
cvsdist 075053
%{_mandir}/man8/upsset.cgi.8.gz
cvsdist bfc54a
938672
%files xml
938672
%defattr(-,root,root)
938672
%{modeldir}/netxml-ups
938672
%doc %{_mandir}/man8/netxml-ups.8.gz
938672
af52c9
%files hal
af52c9
%defattr(-,root,root)
af52c9
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README UPGRADING docs/nut-hal.txt
af52c9
%{_datadir}/hal/fdi/information/20thirdparty/20-ups-nut-device.fdi
af52c9
%{_libexecdir}/hald-addon*
af52c9
aad9df
%files devel
aad9df
%defattr(-,root,root,-)
aad9df
%{_includedir}/*
9d928d
%{_mandir}/man3/upscli*
9d928d
%{_libdir}/libupsclient.so
aad9df
%{_libdir}/pkgconfig/libupsclient.pc
aad9df
cvsdist bfc54a
%changelog
80fb93
* Fri Sep 17 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-6
80fb93
- fix inconsitent name of upsdrvctl in init script (#633116)
80fb93
aacca5
* Mon Jul 26 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-5
aacca5
- fix crash when port= is ommited (#616375)
aacca5
- fix issue where nut fails to restart because it did not finished termination 
aacca5
  yet and old instance blocks devices (#193058)
aacca5
aacca5
* Fri Jul 07 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-4
aacca5
- follow licensing guideline update
aacca5
943d57
* Fri Mar 26 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-3
943d57
- replace BUS with SUBSYSTEMS in udev rules (#573806)
943d57
9c94fe
* Mon Mar 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-2
9c94fe
- reduced size of buffer to maximum size supported by low-speed USB devices
9c94fe
- fixes #575334
9c94fe
d737ad
* Wed Feb 24 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.4.3-1
d737ad
- cyberpower driver was replaced by the powerpanel driver
d737ad
- general USB support has been vastly improved, including many bug
d737ad
  fixes, new features and devices
d737ad
- the virtual driver has been renamed to 'clone'
d737ad
- the UPower (previously known as DeviceKit-power) rules file is now
d737ad
  generated by NUT
d737ad
- a lot of new devices supported
d737ad
e1231e
* Thu Nov 05 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.4.1-9
e1231e
- spec cleanup
e1231e
ce9e0e
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.4.1-8
ce9e0e
- rebuilt with new openssl
ce9e0e
5a50d8
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-7
5a50d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5a50d8
d55996
* Wed May 20 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.4.1-6
d55996
- fix coexistence with virtualbox (#488368)
d55996
65c9f4
* Wed May 20 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.4.1-5
65c9f4
- add requires for hal (#501687)
65c9f4
d50269
* Fri Apr 17 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.4.1-4
d50269
- change group even for existing nut user (#495999)
d50269
47df70
* Tue Apr 14 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.4.1-3
47df70
- udev changed group from uucp to dialout, follow the change (#494020)
47df70
4a2a30
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
4a2a30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4a2a30
6ad2e0
* Tue Feb 17 2009 Michal Hlavinka <mhlavink@redhat.com> 2.4.1-1
6ad2e0
- update to 2.4.1
6ad2e0
- added support for microdowell ups
6ad2e0
ccbffb
* Mon Feb 16 2009 Michal Hlavinka <mhlavink@redhat.com> 2.4.0-1
ccbffb
- update to new stable branch 2.4
ccbffb
90d577
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 2.2.2-6
90d577
- rebuild with new openssl
90d577
8adf5c
* Thu Dec 18 2008 Michal Hlavinka <mhlavink@redhat.com> 2.2.2-5
8adf5c
- remove rpath, fix libtool
8adf5c
3d6b66
* Wed Dec 17 2008 Michal Hlavinka <mhlavink@redhat.com> 2.2.2-4
3d6b66
- fix #476850 - tripplite_usb driver segfaults when UPS on battery
3d6b66
efad9f
* Mon Sep 15 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.2-3
efad9f
- fix #461374 - add missing udev rules
efad9f
af52c9
* Mon Aug 25 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.2-2
aed1aa
- fix requirements in spec file
af52c9
- build a separate hal package
aed1aa
938672
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.2-1
938672
- new upstream version
938672
dab836
* Tue Feb 12 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.1-3
dab836
- fix compilation error with new glibc headers
dab836
21717d
* Tue Feb 12 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.1-2
21717d
- rebuild (gcc-4.3)
21717d
38c37c
* Wed Jan 09 2008 Tomas Smetana <tsmetana@redhat.com> 2.2.1-1
38c37c
- new upstream version
38c37c
b08bbb
* Wed Dec 05 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-6.2
b08bbb
- rebuild
b08bbb
3aed2d
* Thu Nov 29 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-6.1
3aed2d
- init script update, fix a typo
3aed2d
bdf225
* Wed Nov 28 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-6
bdf225
- fix forgotten bug in init script
2c5ea6
- do not hardcode the uucp group in udev patch
bdf225
fd8fc3
* Tue Nov 27 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-5
fd8fc3
- fix udev rules and hal information files
fd8fc3
- fix init script
fd8fc3
fd8fc3
* Wed Sep 19 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-4
fd8fc3
- fix manpages encodings
fd8fc3
- run ldconfig after client (un)install
fd8fc3
- fix HAL support
fd8fc3
fd5a9e
* Thu Sep 06 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-3
fd5a9e
- fix wrong libssl flags in devel, fix devel package dependencies
fd5a9e
eb2ea7
* Wed Aug 15 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-2
eb2ea7
- fix #249028 - usb udev rules
eb2ea7
- update initscript and sysconfig file
eb2ea7
- fix calls to open() for compatibility with the new glibc
eb2ea7
c4984d
* Fri Jul 13 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-1.1
c4984d
- rebuild
c4984d
9d928d
* Fri Jul 13 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-1
9d928d
- new upstream version (Resolves: #248074)
9d928d
- initscripts update
9d928d
- spec file cleanup
9d928d
9d928d
* Mon May 07 2007 Arnaud Quette <aquette-dev@gmail.com> 2.1.0-1
9d928d
- update to 2.1.0 development tree
9d928d
- HAL, ...
9d928d
aad9df
* Mon Mar 26 2007 Than Ngo <than@redhat.com> 2.0.5-3
aad9df
- cleanup
aad9df
3dc1e7
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 2.0.5-2
3dc1e7
- rename fatal to fatal_with_errno in ipv6 patch
3dc1e7
- fix filelist
3dc1e7
4ce8cf
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 2.0.5-1
4ce8cf
- update to 2.0.5
4ce8cf
e57082
* Wed Nov 29 2006 Karsten Hopp <karsten@redhat.com> 2.0.4-2
e57082
- rebuild with new net-snmp-libs
6d3acb
- disable nut-2.0.1-bad.patch, not required
e57082
e7d2c0
* Tue Nov 21 2006 Than Ngo <than@redhat.com> - 2.0.4-1
e7d2c0
- add IPv6 support, thanks to Dan KopeÄek (#198394)
e7d2c0
9521ad
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.0.3-2.1
9521ad
- rebuild
9521ad
256e56
* Tue May 16 2006 Than Ngo <than@redhat.com> 2.0.3-2 
256e56
- fix #191914, BR fontconfig-devel for cgi
256e56
580885
* Mon Apr 24 2006 Than Ngo <than@redhat.com> 2.0.3-1
580885
- update to 2.0.3
580885
- drop nut-2.0.2-buffer.patch, it's included in new upstream
580885
- add udev rule #189674, #187105
580885
7b36d2
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-6.2
7b36d2
- bump again for double-long bug on ppc(64)
7b36d2
766b95
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-6.1
766b95
- rebuilt for new gcc4.1 snapshot and glibc changes
766b95
4457eb
* Tue Jan 03 2006 Radek Vokal <rvokal@redhat.com> 2.0.2-6
4457eb
- rebuilt against new libnetsnmp
4457eb
2a581d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2a581d
- rebuilt
2a581d
cd8fe0
* Wed Nov 23 2005 Than Ngo <than@redhat.com> 2.0.2-5
cd8fe0
- fix for modular X
cd8fe0
9b6e23
* Wed Nov 09 2005 Than Ngo <than@redhat.com> 2.0.2-4
9b6e23
- rebuilt
9b6e23
2f730f
* Mon Nov 07 2005 Than Ngo <than@redhat.com> 2.0.2-3 
2f730f
- rebuilt
2f730f
8342e9
* Thu Nov 03 2005 Than Ngo <than@redhat.com> 2.0.2-2
8342e9
- rebuilt against new libnetsnmp
8342e9
260a5c
* Wed Jul 20 2005 Than Ngo <than@redhat.com> 2.0.2-1
260a5c
- fix compiler warnings #156027
2943cd
- fix pid issue  #159450
737048
- fix wrong ownership and permissions #159449, #141123
260a5c
- update to 2.0.2
260a5c
c281ca
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.1-1
c281ca
- 2.0.1
c281ca
- fix uninit local variable, #131773
c281ca
ef90b8
* Wed Dec 08 2004 Than Ngo <than@redhat.com> 2.0.0-7
ef90b8
- don't requires libusb-devel on s390/s390x
ef90b8
- add %%{release} in buildroot 
ef90b8
c16730
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 2.0.0-6
c16730
- Convert newhidups.8 to UTF-8
c16730
4a722e
* Tue Oct 05 2004 Than Ngo <than@redhat.com> 2.0.0-5
4a722e
- more buildrequires
664ad3
- don't build on s390/s390x
4a722e
cvsdist 83cc7c
* Thu Aug 26 2004 Nalin Dahyabhai <nalin@redhat.com> 2.0.0-4
cvsdist 83cc7c
- fix syntax error in -client postun scriptlet (#131040)
cvsdist 83cc7c
cvsdist f80168
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f80168
- rebuilt
cvsdist f80168
cvsdist 9470c7
* Mon May 10 2004 Than Ngo <than@redhat.com> 2.0.0-2
cvsdist 9470c7
- fixed permission problem, bug #122867
cvsdist 9470c7
cvsdist 252268
* Fri Apr 02 2004 Than Ngo <than@redhat.com> 2.0.0-1
cvsdist 252268
- 2.0.0
cvsdist 252268
cvsdist 13f7bc
* Sat Feb 14 2004 Than Ngo <than@redhat.com> 1.4.1-3 
cvsdist 13f7bc
- add some missing drivers
cvsdist 13f7bc
cvsdist 13f7bc
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 13f7bc
- rebuilt
cvsdist 13f7bc
cvsdist 13f7bc
* Wed Feb 11 2004 Than Ngo <than@redhat.com> 1.4.1-1
cvsdist 13f7bc
- 1.4.1
cvsdist 13f7bc
- fixed permission problem (bug #115290)
cvsdist 13f7bc
cvsdist 075053
* Wed Sep 24 2003 Mike McLean <mikem@redhat.com> 1.4.0-3
cvsdist 075053
- fixed 'nut' user problem with nut-cgi (bug#104872)
cvsdist 075053
cvsdist 075053
* Mon Sep 15 2003 Than Ngo <than@redhat.com> 1.4.0-2
cvsdist 075053
- added missing hidups driver (bug #104412)
cvsdist 075053
cvsdist 075053
* Tue Sep 09 2003 Than Ngo <than@redhat.com> 1.4.0-1
cvsdist 075053
- 1.4.0
cvsdist 075053
- fixed permission problem (bug #103023)
cvsdist 075053
- fixed rpm file list (bug #90848)
cvsdist 075053
- added support multiple drivers, thanks to Gilbert E. Detillieux (bug #79465)
cvsdist 075053
cvsdist 075053
* Thu Jun 26 2003 Than Ngo <than@redhat.com> 1.2.2-3
cvsdist 075053
- Add variable to ups sysconfig file for upsd (bug #97900)
cvsdist 075053
cvsdist 075053
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 075053
- rebuilt
cvsdist 075053
cvsdist 075053
* Wed May  7 2003 Than Ngo <than@redhat.com> 1.2.2-1
cvsdist 075053
- 1.2.2
cvsdist 075053
cvsdist 075053
* Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 1.2.0-7
cvsdist 075053
- Bumped release and rebuilt because of new gd version.
cvsdist 075053
cvsdist 81ab26
* Thu Feb 13 2003 Than Ngo <than@redhat.com> 1.2.0-6
cvsdist 81ab26
- build with correct userid #84199
cvsdist 81ab26
- fix directory permission
cvsdist 81ab26
cvsdist 81ab26
* Tue Feb 11 2003 Than Ngo <than@redhat.com> 1.2.0-5
cvsdist 81ab26
- add user nut, bug #81500 
cvsdist 81ab26
- fix permission issue, bug #81524, #83997
cvsdist 81ab26
- own /etc/ups, bug #73959
cvsdist 81ab26
cvsdist 81ab26
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 81ab26
- rebuilt
cvsdist 81ab26
cvsdist 81ab26
* Wed Jan  8 2003 Thomas Woerner <twoerner@redhat.com> 1.2.0-3
cvsdist 81ab26
- added html templates for cgi scripts (#78532)
cvsdist 81ab26
- added hidups driver (#80334)
cvsdist 81ab26
cvsdist 81ab26
* Wed Dec  18 2002 Dan Walsh <dwalsh@redhat.com> 1.2.0-2
cvsdist 81ab26
- Fix service description
cvsdist 81ab26
cvsdist 81ab26
* Wed Nov  6 2002 han Ngo <than@redhat.com> 1.2.0-1
cvsdist 81ab26
- update to 1.2.0
cvsdist 81ab26
cvsdist 81ab26
* Mon Nov  4 2002 Than Ngo <than@redhat.com> 1.00-1
cvsdist 81ab26
- update to 1.00
cvsdist 81ab26
cvsdist 4729ef
* Wed Jul 31 2002 Than Ngo <than@redhat.com> 0.45.4-5
cvsdist 4729ef
- Fixed wrong CMDSCRIPT (bug #69817)
cvsdist 4729ef
cvsdist 991b2c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 991b2c
- automated rebuild
cvsdist 991b2c
cvsdist 991b2c
* Sun Jun 02 2002 Than Ngo <than@redhat.com> 0.45.4-3
cvsdist 991b2c
- fix forced shutdown (bug #65824, #60516)
cvsdist 991b2c
- enable hidups driver
cvsdist 991b2c
- add missing manages (bug #65188)
cvsdist 991b2c
cvsdist 991b2c
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 991b2c
- automated rebuild
cvsdist 991b2c
cvsdist 17ed6c
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.45.4-1
cvsdist 17ed6c
- update to 0.45.4
cvsdist 17ed6c
cvsdist 17ed6c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 17ed6c
- automated rebuild
cvsdist 17ed6c
cvsdist 17ed6c
* Fri Dec 14 2001 Than Ngo <than@redhat.com> 0.45.3-1
cvsdist 17ed6c
- update to 0.45.2
cvsdist 17ed6c
- fix bug #57417
cvsdist 17ed6c
cvsdist 17ed6c
* Mon Nov 27 2001 Than Ngo <than@redhat.com> 0.45.2-1
cvsdist 17ed6c
- update to 0.45.2
cvsdist 17ed6c
- clean up some patch files for 0.45.2
cvsdist 17ed6c
cvsdist 598525
* Tue Jul 24 2001 Than Ngo <than@redhat.com> 0.45.0-3
cvsdist 598525
- fix build dependencies (bug #49858)
cvsdist 598525
cvsdist 726fc7
* Fri Jul  6 2001 Than Ngo <than@redhat.com> 0.45.0-2
cvsdist 726fc7
- rebuild
cvsdist 726fc7
cvsdist 726fc7
* Wed Jun 13 2001 Than Ngo <than@redhat.com>
cvsdist 726fc7
- update to 0.45.0
cvsdist 726fc7
- add some patches from alane@geeksrus.net (bug #44361, #44363)
cvsdist 726fc7
cvsdist 726fc7
* Sun Apr 22 2001 Than Ngo <than@redhat.com>
cvsdist 726fc7
- add all available UPS drivers (Bug #36937)
cvsdist 726fc7
cvsdist 726fc7
* Fri Apr 13 2001 Than Ngo <than@redhat.com>
cvsdist 726fc7
- update to 0.44.3 (Bug #35255)
cvsdist 726fc7
cvsdist b21753
* Fri Feb  9 2001 Than Ngo <than@redhat.com>
cvsdist b21753
- fixed typo (Bug #26535)
cvsdist b21753
cvsdist 075053
* Tue Feb  6 2001 Trond Eivind Glomsrd <teg@redhat.com>
cvsdist b21753
- Fix some of the i18n
cvsdist b21753
- make it exit cleanly if not configured
cvsdist b21753
cvsdist b21753
* Fri Jan 26 2001 Than Ngo <than@redhat.com>
cvsdist b21753
- initscript internationalisation
cvsdist b21753
cvsdist b21753
* Thu Jan 11 2001 Than Ngo <than@redhat.com>
cvsdist b21753
- fixed init script error (bug #23525)
cvsdist b21753
cvsdist b21753
* Sat Oct 21 2000 Than Ngo <than@redhat.com>
cvsdist b21753
- update to 0.44.1
cvsdist b21753
cvsdist bfc54a
* Tue Aug 01 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- rebuilt with Michael changes
cvsdist bfc54a
cvsdist bfc54a
* Mon Jul 31 2000 Michael Stefaniuc <mstefani@redhat.com>
cvsdist bfc54a
- changed /etc/sysconfig/ups to adress the changes in 0.44.0
cvsdist bfc54a
- moved /etc/sysconfig/ups to the server package
cvsdist bfc54a
- changed the initscript
cvsdist bfc54a
- small config file patch
cvsdist bfc54a
cvsdist bfc54a
* Fri Jul 28 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- fixed initscripts so that condrestart doesn't return 1 when the test fails
cvsdist bfc54a
cvsdist bfc54a
* Mon Jul 24 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- nut CGIs is disable as default (Bug #14282)
cvsdist bfc54a
cvsdist bfc54a
* Tue Jul 18 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- update to 0.44.0
cvsdist bfc54a
- inits back to rc.d/init.d, using service to fire them up
cvsdist bfc54a
cvsdist bfc54a
* Wed Jul 12 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- fix initscript and specfile, it should work with 6.x and 7.x
ccbffb
- add --with-statepath and --sysconfdir to %%configure (thanks Michael)
cvsdist bfc54a
cvsdist bfc54a
* Sat Jul 08 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- add Prereq: /etc/init.d
cvsdist bfc54a
cvsdist bfc54a
* Tue Jun 27 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- don't prereq, only require initscripts
cvsdist bfc54a
cvsdist bfc54a
* Mon Jun 26 2000 Than Ngo <than@redhat.de>
cvsdist bfc54a
- /etc/rc.d/init.d -> /etc/init.d
cvsdist bfc54a
- prereq initscripts >= 5.20
cvsdist bfc54a
cvsdist bfc54a
* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist bfc54a
- don't run by default
cvsdist bfc54a
cvsdist bfc54a
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist bfc54a
- adopted for Winston.  Use our new path macros.
cvsdist bfc54a
- change nocgi pkg to a cgi pkg (inclusive rather than exclusive).
cvsdist bfc54a
- new init script
cvsdist bfc54a
cvsdist bfc54a
* Sat May 06 2000 <bo-rpm@vircio.com> (0.43.2-1)
cvsdist bfc54a
- Updated Package to new release
cvsdist bfc54a
cvsdist bfc54a
* Thu Jan 20 2000 <bo-rpm@vircio.com> (0.42.2-1)
cvsdist bfc54a
- Updated package to new release
cvsdist bfc54a
- Dropped bestups patch since that is fixed in 0.42.2
cvsdist bfc54a
cvsdist bfc54a
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-4)
cvsdist bfc54a
- Package now uses chkconfig
cvsdist bfc54a
cvsdist bfc54a
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-3)
cvsdist bfc54a
- applied an improved patch to deal with the 
cvsdist bfc54a
  bestups string length issue.
cvsdist bfc54a
cvsdist bfc54a
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1)
cvsdist bfc54a
- fixed string length in bestups.c line 279.
cvsdist bfc54a
cvsdist bfc54a
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1)
cvsdist bfc54a
- upgraded package to 0.42.1 from 0.42.0
cvsdist bfc54a
cvsdist bfc54a
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-8)
cvsdist bfc54a
- added requirement of nut-client for nut.
cvsdist bfc54a
cvsdist bfc54a
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-7)
cvsdist bfc54a
- removed overlapping files between the nut and nut-client rpms
cvsdist bfc54a
cvsdist bfc54a
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-6)
cvsdist bfc54a
- stop ups before uninstalling
cvsdist bfc54a
cvsdist bfc54a
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-5)
cvsdist bfc54a
- build against gd 1.6.3
cvsdist bfc54a
cvsdist bfc54a
* Thu Nov 03 1999 <bo-rpm@vircio.com> (0.42.0-4)
cvsdist bfc54a
- Initial build of nut (well almost).
cvsdist bfc54a
- Removed chmod from the make file so that the package
cvsdist bfc54a
  does not have to be built as root.....