1 |
slords |
1.1 |
%define nut_uid 57 |
2 |
|
|
%define nut_gid 57 |
3 |
|
|
|
4 |
|
|
%define initdir /etc/rc.d/init.d |
5 |
|
|
%define cgidir /var/www/nut-cgi-bin |
6 |
|
|
%define piddir /var/run/nut |
7 |
|
|
%define modeldir /sbin |
8 |
|
|
|
9 |
|
|
Summary: Network UPS Tools |
10 |
|
|
Name: nut |
11 |
slords |
1.2 |
Version: 2.2.0 |
12 |
|
|
Release: 3.2%{?dist} |
13 |
slords |
1.1 |
Group: Applications/System |
14 |
slords |
1.2 |
License: GPLv2+ |
15 |
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
16 |
|
|
Url: http://www.networkupstools.org/ |
17 |
|
|
Source: http://www.networkupstools.org/source/2.2/%{name}-%{version}.tar.gz |
18 |
slords |
1.1 |
Source1: ups.init |
19 |
|
|
Source2: ups.sysconfig |
20 |
|
|
|
21 |
slords |
1.2 |
Patch0: nut-2.2.0-conf.patch |
22 |
|
|
Patch1: nut-2.2.0-multilib.patch |
23 |
|
|
Patch2: nut-2.2.0-udevusb.patch |
24 |
|
|
Patch3: nut-2.2.0-glibcopen.patch |
25 |
|
|
Patch4: nut-2.2.0-wrongssl.patch |
26 |
|
|
|
27 |
|
|
Requires: nut-client => 2.0.0 dbus-glib shadow-utils |
28 |
|
|
Requires(post): fileutils chkconfig /sbin/service |
29 |
|
|
Requires(postun): fileutils chkconfig /sbin/service |
30 |
|
|
|
31 |
|
|
BuildRequires: gd-devel |
32 |
|
|
BuildRequires: freetype-devel |
33 |
|
|
BuildRequires: netpbm-devel |
34 |
|
|
BuildRequires: libpng-devel |
35 |
|
|
BuildRequires: net-snmp-devel |
36 |
|
|
BuildRequires: elfutils-devel |
37 |
|
|
BuildRequires: xorg-x11-devel |
38 |
|
|
BuildRequires: libjpeg-devel |
39 |
|
|
BuildRequires: fontconfig-devel |
40 |
|
|
BuildRequires: pkgconfig |
41 |
|
|
BuildRequires: openssl-devel |
42 |
slords |
1.1 |
|
43 |
|
|
%ifnarch s390 s390x |
44 |
slords |
1.2 |
BuildRequires: libusb-devel |
45 |
slords |
1.1 |
%endif |
46 |
|
|
|
47 |
|
|
ExcludeArch: s390 s390x |
48 |
|
|
|
49 |
|
|
%description |
50 |
|
|
These programs are part of a developing project to monitor the assortment |
51 |
|
|
of UPSes that are found out there in the field. Many models have serial |
52 |
|
|
ports of some kind that allow some form of state checking. This |
53 |
|
|
capability has been harnessed where possible to allow for safe shutdowns, |
54 |
|
|
live status tracking on web pages, and more. |
55 |
|
|
|
56 |
|
|
%package client |
57 |
|
|
Group: Applications/System |
58 |
|
|
Summary: Network UPS Tools client monitoring utilities |
59 |
|
|
|
60 |
|
|
%description client |
61 |
|
|
This package includes the client utilities that are required to monitor a |
62 |
|
|
ups that the client host has access to, but where the UPS is physically |
63 |
|
|
attached to a different computer on the network. |
64 |
|
|
|
65 |
|
|
%package cgi |
66 |
|
|
Group: Applications/System |
67 |
|
|
Summary: CGI utilities for the Network UPS Tools |
68 |
slords |
1.2 |
Requires: %{name}-client = %{version}-%{release} webserver |
69 |
slords |
1.1 |
|
70 |
|
|
%description cgi |
71 |
|
|
This package includes CGI programs for accessing UPS status via a web |
72 |
|
|
browser. |
73 |
|
|
|
74 |
|
|
%package devel |
75 |
|
|
Group: Development/Libraries |
76 |
|
|
Summary: Development files for NUT Client |
77 |
slords |
1.2 |
Requires: %{name}-client = %{version}-%{release} webserver openssl-devel |
78 |
slords |
1.1 |
|
79 |
|
|
%description devel |
80 |
|
|
This package contains the development header files and libraries |
81 |
|
|
necessary to develop NUT client applications. |
82 |
|
|
|
83 |
|
|
%prep |
84 |
|
|
%setup -q |
85 |
slords |
1.2 |
%patch0 -p1 -b .conf |
86 |
|
|
%patch1 -p1 -b .multilib |
87 |
|
|
%patch2 -p1 -b .udevusb |
88 |
|
|
%patch3 -p1 -b .open |
89 |
|
|
%patch4 -p1 -b .wrongssl |
90 |
slords |
1.1 |
|
91 |
|
|
%build |
92 |
|
|
%configure \ |
93 |
|
|
--with-user=%{name} \ |
94 |
|
|
--with-group=uucp \ |
95 |
|
|
--with-statepath=%{piddir} \ |
96 |
|
|
--with-pidpath=%{piddir} \ |
97 |
|
|
--with-altpidpath=%{piddir} \ |
98 |
|
|
--sysconfdir=%{_sysconfdir}/ups \ |
99 |
|
|
--with-cgipath=%{cgidir} \ |
100 |
|
|
--with-drvpath=%{modeldir} \ |
101 |
slords |
1.2 |
--with-serial \ |
102 |
|
|
--with-usb \ |
103 |
|
|
--with-snmp \ |
104 |
slords |
1.1 |
--with-cgi \ |
105 |
slords |
1.2 |
--with-lib \ |
106 |
|
|
--with-ssl \ |
107 |
|
|
--with-ipv6 \ |
108 |
slords |
1.1 |
--with-gd-libs \ |
109 |
slords |
1.2 |
--with-linux-hiddev=%{_includedir}/linux/hiddev.h \ |
110 |
|
|
--with-pkgconfig-dir=%{_libdir}/pkgconfig \ |
111 |
|
|
--disable-static \ |
112 |
|
|
%ifarch x86_64 |
113 |
|
|
--with-gd-libs="-L/usr/X11R6/lib64 -lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11" |
114 |
|
|
%endif |
115 |
slords |
1.1 |
|
116 |
|
|
make %{?_smp_mflags} |
117 |
slords |
1.2 |
|
118 |
|
|
# fix old enconding manpages |
119 |
|
|
mv man/upscode2.8 man/upscode2.8.iso |
120 |
|
|
iconv -f ISO8859-1 -t UTF-8 -o man/upscode2.8 man/upscode2.8.iso |
121 |
|
|
mv man/bcmxcp.8 man/bcmxcp.8.iso |
122 |
|
|
iconv -f ISO8859-1 -t UTF-8 -o man/bcmxcp.8 man/bcmxcp.8.iso |
123 |
|
|
mv man/bcmxcp_usb.8 man/bcmxcp_usb.8.iso |
124 |
|
|
iconv -f ISO8859-1 -t UTF-8 -o man/bcmxcp_usb.8 man/bcmxcp_usb.8.iso |
125 |
|
|
rm -f man/*.iso |
126 |
slords |
1.1 |
|
127 |
|
|
%install |
128 |
|
|
rm -rf %{buildroot} |
129 |
|
|
|
130 |
|
|
mkdir -p %{buildroot}%{modeldir} \ |
131 |
|
|
%{buildroot}%{_sysconfdir}/sysconfig \ |
132 |
slords |
1.2 |
%{buildroot}%{_sysconfdir}/udev/rules.d \ |
133 |
slords |
1.1 |
%{buildroot}%{piddir} \ |
134 |
|
|
%{buildroot}%{_localstatedir}/lib/ups \ |
135 |
|
|
%{buildroot}%{initdir} |
136 |
|
|
|
137 |
slords |
1.2 |
make install DESTDIR=%{buildroot} |
138 |
|
|
|
139 |
|
|
install -m 755 drivers/energizerups %{buildroot}%{modeldir}/ |
140 |
slords |
1.1 |
|
141 |
|
|
install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/ups |
142 |
|
|
install -m 755 %{SOURCE1} %{buildroot}%{initdir}/ups |
143 |
|
|
|
144 |
slords |
1.2 |
install -m 644 man/gamatronic.* %{buildroot}%{_mandir}/man8/ |
145 |
|
|
|
146 |
|
|
rm -rf %{buildroot}%{_prefix}/html |
147 |
|
|
rm -f %{buildroot}%{_libdir}/*.la |
148 |
slords |
1.1 |
|
149 |
slords |
1.2 |
cd conf; make install DESTDIR=%{buildroot} |
150 |
slords |
1.1 |
for file in %{buildroot}%{_sysconfdir}/ups/*.sample |
151 |
|
|
do |
152 |
|
|
mv $file %{buildroot}%{_sysconfdir}/ups/`basename $file .sample` |
153 |
|
|
done |
154 |
|
|
|
155 |
|
|
%pre |
156 |
|
|
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \ |
157 |
|
|
-s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || : |
158 |
|
|
|
159 |
|
|
%pre client |
160 |
|
|
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \ |
161 |
|
|
-s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || : |
162 |
|
|
|
163 |
|
|
%pre cgi |
164 |
|
|
/usr/sbin/useradd -c "Network UPS Tools" -u %{nut_uid} -G uucp \ |
165 |
|
|
-s /bin/false -r -d %{_localstatedir}/lib/ups %{name} 2> /dev/null || : |
166 |
|
|
|
167 |
|
|
%post client |
168 |
|
|
/sbin/chkconfig --add ups |
169 |
slords |
1.2 |
/sbin/ldconfig |
170 |
slords |
1.1 |
exit 0 |
171 |
|
|
|
172 |
|
|
%preun client |
173 |
|
|
if [ "$1" = "0" ]; then |
174 |
|
|
/sbin/service ups stop > /dev/null 2>&1 |
175 |
|
|
/sbin/chkconfig --del ups |
176 |
|
|
fi |
177 |
slords |
1.2 |
/sbin/ldconfig |
178 |
slords |
1.1 |
exit 0 |
179 |
|
|
|
180 |
|
|
%postun client |
181 |
|
|
if [ "$1" -ge "1" ]; then |
182 |
|
|
/sbin/service ups condrestart > /dev/null 2>&1 |
183 |
|
|
fi |
184 |
|
|
exit 0 |
185 |
|
|
|
186 |
|
|
%clean |
187 |
|
|
rm -rf %{buildroot} |
188 |
|
|
|
189 |
|
|
%files |
190 |
slords |
1.2 |
%defattr(-,root,root,-) |
191 |
|
|
%doc COPYING ChangeLog AUTHORS MAINTAINERS README docs UPGRADING INSTALL NEWS |
192 |
slords |
1.1 |
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/ups.conf |
193 |
|
|
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.conf |
194 |
|
|
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.users |
195 |
|
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/ups |
196 |
slords |
1.2 |
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/udev/rules.d/* |
197 |
slords |
1.1 |
%attr(755,root,root) %{_sysconfdir}/hotplug/usb/libhidups |
198 |
|
|
%attr(644,root,root) %{_sysconfdir}/hotplug/usb/libhid.usermap |
199 |
|
|
%{modeldir}/* |
200 |
|
|
%{_sbindir}/upsd |
201 |
|
|
%{_bindir}/upslog |
202 |
|
|
%{_datadir}/cmdvartab |
203 |
|
|
%{_datadir}/driver.list |
204 |
|
|
%{_mandir}/man5/ups.conf.5.gz |
205 |
|
|
%{_mandir}/man5/upsd.conf.5.gz |
206 |
|
|
%{_mandir}/man5/upsd.users.5.gz |
207 |
|
|
%{_mandir}/man8/apcsmart.8.gz |
208 |
|
|
%{_mandir}/man8/belkin.8.gz |
209 |
|
|
%{_mandir}/man8/bestups.8.gz |
210 |
|
|
%{_mandir}/man8/bestuferrups.8.gz |
211 |
|
|
%{_mandir}/man8/cyberpower.8.gz |
212 |
|
|
%{_mandir}/man8/everups.8.gz |
213 |
|
|
%{_mandir}/man8/etapro.8.gz |
214 |
|
|
%{_mandir}/man8/genericups.8.gz |
215 |
|
|
%{_mandir}/man8/isbmex.8.gz |
216 |
|
|
%{_mandir}/man8/liebert.8.gz |
217 |
|
|
%{_mandir}/man8/masterguard.8.gz |
218 |
|
|
%{_mandir}/man8/mge-utalk.8.gz |
219 |
|
|
%{_mandir}/man8/nutupsdrv.8.gz |
220 |
|
|
%{_mandir}/man8/oneac.8.gz |
221 |
|
|
%{_mandir}/man8/powercom.8.gz |
222 |
|
|
%{_mandir}/man8/tripplite.8.gz |
223 |
|
|
%{_mandir}/man8/tripplitesu.8.gz |
224 |
|
|
%{_mandir}/man8/victronups.8.gz |
225 |
|
|
%{_mandir}/man8/upsd.8.gz |
226 |
|
|
%{_mandir}/man8/upsdrvctl.8.gz |
227 |
|
|
%{_mandir}/man8/mge-shut.8.gz |
228 |
|
|
%{_mandir}/man8/energizerups.8.gz |
229 |
|
|
%{_mandir}/man8/safenet.8.gz |
230 |
|
|
%{_mandir}/man8/belkinunv.8.gz |
231 |
|
|
%{_mandir}/man8/snmp-ups.8.gz |
232 |
|
|
%{_mandir}/man8/bestfcom.8.gz |
233 |
|
|
%{_mandir}/man8/cpsups.8.gz |
234 |
|
|
%{_mandir}/man8/metasys.8.gz |
235 |
|
|
%{_mandir}/man8/bcmxcp.8* |
236 |
|
|
%{_mandir}/man8/solis.8* |
237 |
|
|
%{_mandir}/man8/upscode2.8* |
238 |
slords |
1.2 |
%{_mandir}/man8/bcmxcp_usb.8.gz |
239 |
|
|
%{_mandir}/man8/gamatronic.8.gz |
240 |
|
|
%{_mandir}/man8/tripplite_usb.8.gz |
241 |
|
|
%{_mandir}/man8/dummy-ups.8.gz |
242 |
slords |
1.1 |
%{_mandir}/man8/al175.8.gz |
243 |
|
|
%{_mandir}/man8/megatec.8.gz |
244 |
|
|
%{_mandir}/man8/nitram.8.gz |
245 |
|
|
%{_mandir}/man8/optiups.8.gz |
246 |
|
|
%{_mandir}/man8/powerpanel.8.gz |
247 |
slords |
1.2 |
%{_mandir}/man8/megatec_usb.8.gz |
248 |
|
|
%{_mandir}/man8/rhino.8.gz |
249 |
|
|
%{_mandir}/man8/usbhid-ups.8.gz |
250 |
slords |
1.1 |
|
251 |
|
|
%files client |
252 |
|
|
%defattr(-,root,root) |
253 |
|
|
%attr(755,root,root) %{initdir}/ups |
254 |
|
|
%dir %{_sysconfdir}/ups |
255 |
|
|
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsmon.conf |
256 |
|
|
%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upssched.conf |
257 |
|
|
%dir %attr(750,nut,nut) %{_localstatedir}/lib/ups |
258 |
|
|
%dir %attr(750,nut,nut) %{piddir} |
259 |
|
|
%{_bindir}/upsc |
260 |
|
|
%{_bindir}/upscmd |
261 |
|
|
%{_bindir}/upsrw |
262 |
|
|
%{_sbindir}/upsmon |
263 |
|
|
%{_sbindir}/upssched |
264 |
slords |
1.2 |
%{_bindir}/upssched-cmd |
265 |
|
|
%{_libdir}/libupsclient.so.* |
266 |
slords |
1.1 |
%{_mandir}/man5/upsmon.conf.5.gz |
267 |
|
|
%{_mandir}/man5/upssched.conf.5.gz |
268 |
|
|
%{_mandir}/man8/upsc.8.gz |
269 |
|
|
%{_mandir}/man8/upscmd.8.gz |
270 |
|
|
%{_mandir}/man8/upsrw.8.gz |
271 |
|
|
%{_mandir}/man8/upslog.8.gz |
272 |
|
|
%{_mandir}/man8/upsmon.8.gz |
273 |
|
|
%{_mandir}/man8/upssched.8.gz |
274 |
|
|
|
275 |
|
|
%files cgi |
276 |
slords |
1.2 |
%defattr(-,root,root,-) |
277 |
slords |
1.1 |
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/hosts.conf |
278 |
|
|
%config(noreplace) %attr(600,nut,root) %{_sysconfdir}/ups/upsset.conf |
279 |
|
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats.html |
280 |
|
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsstats-single.html |
281 |
slords |
1.2 |
%{cgidir}/ |
282 |
slords |
1.1 |
%{_mandir}/man5/hosts.conf.5.gz |
283 |
|
|
%{_mandir}/man5/upsstats.html.5.gz |
284 |
|
|
%{_mandir}/man5/upsset.conf.5.gz |
285 |
|
|
%{_mandir}/man8/upsimage.cgi.8.gz |
286 |
|
|
%{_mandir}/man8/upsstats.cgi.8.gz |
287 |
|
|
%{_mandir}/man8/upsset.cgi.8.gz |
288 |
|
|
|
289 |
slords |
1.2 |
%files devel |
290 |
|
|
%defattr(-,root,root,-) |
291 |
|
|
%{_bindir}/libupsclient-config |
292 |
|
|
%{_includedir}/* |
293 |
|
|
%{_mandir}/man3/upscli* |
294 |
|
|
%{_libdir}/libupsclient.so |
295 |
|
|
%{_libdir}/pkgconfig/libupsclient.pc |
296 |
|
|
|
297 |
slords |
1.1 |
%changelog |
298 |
slords |
1.2 |
* Wed Sep 19 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-3.2 |
299 |
|
|
- fix building of cgi package on x86_64 |
300 |
slords |
1.1 |
|
301 |
slords |
1.2 |
* Wed Sep 19 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-3.1 |
302 |
|
|
- fix manpages encodings |
303 |
|
|
- run ldconfig after client (un)install |
304 |
|
|
- remove hal support for EL4 |
305 |
|
|
|
306 |
|
|
* Thu Sep 06 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-3 |
307 |
|
|
- fix wrong libssl flags in devel, fix devel package dependencies |
308 |
|
|
|
309 |
|
|
* Wed Aug 15 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-2 |
310 |
|
|
- fix #249028 - usb udev rules |
311 |
|
|
- update initscript and sysconfig file |
312 |
|
|
- fix calls to open() for compatibility with the new glibc |
313 |
|
|
|
314 |
|
|
* Fri Jul 13 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-1.1 |
315 |
|
|
- rebuild |
316 |
slords |
1.1 |
|
317 |
slords |
1.2 |
* Fri Jul 13 2007 Tomas Smetana <tsmetana@redhat.com> 2.2.0-1 |
318 |
|
|
- new upstream version (Resolves: #248074) |
319 |
|
|
- initscripts update |
320 |
|
|
- spec file cleanup |
321 |
slords |
1.1 |
|
322 |
slords |
1.2 |
* Mon May 07 2007 Arnaud Quette <aquette-dev@gmail.com> 2.1.0-1 |
323 |
|
|
- update to 2.1.0 development tree |
324 |
|
|
- HAL, ... |
325 |
slords |
1.1 |
|
326 |
slords |
1.2 |
* Mon Mar 26 2007 Than Ngo <than@redhat.com> 2.0.5-3 |
327 |
|
|
- cleanup |
328 |
slords |
1.1 |
|
329 |
slords |
1.2 |
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 2.0.5-2 |
330 |
|
|
- rename fatal to fatal_with_errno in ipv6 patch |
331 |
|
|
- fix filelist |
332 |
slords |
1.1 |
|
333 |
slords |
1.2 |
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 2.0.5-1 |
334 |
|
|
- update to 2.0.5 |
335 |
slords |
1.1 |
|
336 |
slords |
1.2 |
* Wed Nov 29 2006 Karsten Hopp <karsten@redhat.com> 2.0.4-2 |
337 |
|
|
- rebuild with new net-snmp-libs |
338 |
|
|
- disable nut-2.0.1-bad.patch, not required |
339 |
|
|
|
340 |
|
|
* Tue Nov 21 2006 Than Ngo <than@redhat.com> - 2.0.4-1 |
341 |
|
|
- add IPv6 support, thanks to Dan KopeÄek (#198394) |
342 |
|
|
|
343 |
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.0.3-2.1 |
344 |
|
|
- rebuild |
345 |
slords |
1.1 |
|
346 |
slords |
1.2 |
* Tue May 16 2006 Than Ngo <than@redhat.com> 2.0.3-2 |
347 |
|
|
- fix #191914, BR fontconfig-devel for cgi |
348 |
slords |
1.1 |
|
349 |
slords |
1.2 |
* Mon Apr 24 2006 Than Ngo <than@redhat.com> 2.0.3-1 |
350 |
|
|
- update to 2.0.3 |
351 |
|
|
- drop nut-2.0.2-buffer.patch, it's included in new upstream |
352 |
|
|
- add udev rule #189674, #187105 |
353 |
slords |
1.1 |
|
354 |
slords |
1.2 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-6.2 |
355 |
|
|
- bump again for double-long bug on ppc(64) |
356 |
slords |
1.1 |
|
357 |
slords |
1.2 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-6.1 |
358 |
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes |
359 |
slords |
1.1 |
|
360 |
slords |
1.2 |
* Tue Jan 03 2006 Radek Vokal <rvokal@redhat.com> 2.0.2-6 |
361 |
|
|
- rebuilt against new libnetsnmp |
362 |
slords |
1.1 |
|
363 |
slords |
1.2 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
364 |
|
|
- rebuilt |
365 |
|
|
|
366 |
|
|
* Wed Nov 23 2005 Than Ngo <than@redhat.com> 2.0.2-5 |
367 |
|
|
- fix for modular X |
368 |
|
|
|
369 |
|
|
* Wed Nov 09 2005 Than Ngo <than@redhat.com> 2.0.2-4 |
370 |
|
|
- rebuilt |
371 |
|
|
|
372 |
|
|
* Mon Nov 07 2005 Than Ngo <than@redhat.com> 2.0.2-3 |
373 |
|
|
- rebuilt |
374 |
slords |
1.1 |
|
375 |
slords |
1.2 |
* Thu Nov 03 2005 Than Ngo <than@redhat.com> 2.0.2-2 |
376 |
|
|
- rebuilt against new libnetsnmp |
377 |
slords |
1.1 |
|
378 |
slords |
1.2 |
* Wed Jul 20 2005 Than Ngo <than@redhat.com> 2.0.2-1 |
379 |
slords |
1.1 |
- fix compiler warnings #156027 |
380 |
slords |
1.2 |
- fix pid issue #159450 |
381 |
|
|
- fix wrong ownership and permissions #159449, #141123 |
382 |
slords |
1.1 |
- update to 2.0.2 |
383 |
|
|
|
384 |
|
|
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.1-1 |
385 |
|
|
- 2.0.1 |
386 |
|
|
- fix uninit local variable, #131773 |
387 |
|
|
|
388 |
|
|
* Wed Dec 08 2004 Than Ngo <than@redhat.com> 2.0.0-7 |
389 |
|
|
- don't requires libusb-devel on s390/s390x |
390 |
|
|
- add %%{release} in buildroot |
391 |
|
|
|
392 |
|
|
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 2.0.0-6 |
393 |
|
|
- Convert newhidups.8 to UTF-8 |
394 |
|
|
|
395 |
|
|
* Tue Oct 05 2004 Than Ngo <than@redhat.com> 2.0.0-5 |
396 |
|
|
- more buildrequires |
397 |
|
|
- don't build on s390/s390x |
398 |
|
|
|
399 |
|
|
* Thu Aug 26 2004 Nalin Dahyabhai <nalin@redhat.com> 2.0.0-4 |
400 |
|
|
- fix syntax error in -client postun scriptlet (#131040) |
401 |
|
|
|
402 |
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
403 |
|
|
- rebuilt |
404 |
|
|
|
405 |
|
|
* Mon May 10 2004 Than Ngo <than@redhat.com> 2.0.0-2 |
406 |
|
|
- fixed permission problem, bug #122867 |
407 |
|
|
|
408 |
|
|
* Fri Apr 02 2004 Than Ngo <than@redhat.com> 2.0.0-1 |
409 |
|
|
- 2.0.0 |
410 |
|
|
|
411 |
|
|
* Sat Feb 14 2004 Than Ngo <than@redhat.com> 1.4.1-3 |
412 |
|
|
- add some missing drivers |
413 |
|
|
|
414 |
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
415 |
|
|
- rebuilt |
416 |
|
|
|
417 |
|
|
* Wed Feb 11 2004 Than Ngo <than@redhat.com> 1.4.1-1 |
418 |
|
|
- 1.4.1 |
419 |
|
|
- fixed permission problem (bug #115290) |
420 |
|
|
|
421 |
|
|
* Wed Sep 24 2003 Mike McLean <mikem@redhat.com> 1.4.0-3 |
422 |
|
|
- fixed 'nut' user problem with nut-cgi (bug#104872) |
423 |
|
|
|
424 |
|
|
* Mon Sep 15 2003 Than Ngo <than@redhat.com> 1.4.0-2 |
425 |
|
|
- added missing hidups driver (bug #104412) |
426 |
|
|
|
427 |
|
|
* Tue Sep 09 2003 Than Ngo <than@redhat.com> 1.4.0-1 |
428 |
|
|
- 1.4.0 |
429 |
|
|
- fixed permission problem (bug #103023) |
430 |
|
|
- fixed rpm file list (bug #90848) |
431 |
|
|
- added support multiple drivers, thanks to Gilbert E. Detillieux (bug #79465) |
432 |
|
|
|
433 |
|
|
* Thu Jun 26 2003 Than Ngo <than@redhat.com> 1.2.2-3 |
434 |
|
|
- Add variable to ups sysconfig file for upsd (bug #97900) |
435 |
|
|
|
436 |
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
437 |
|
|
- rebuilt |
438 |
|
|
|
439 |
|
|
* Wed May 7 2003 Than Ngo <than@redhat.com> 1.2.2-1 |
440 |
|
|
- 1.2.2 |
441 |
|
|
|
442 |
|
|
* Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 1.2.0-7 |
443 |
|
|
- Bumped release and rebuilt because of new gd version. |
444 |
|
|
|
445 |
|
|
* Thu Feb 13 2003 Than Ngo <than@redhat.com> 1.2.0-6 |
446 |
|
|
- build with correct userid #84199 |
447 |
|
|
- fix directory permission |
448 |
|
|
|
449 |
|
|
* Tue Feb 11 2003 Than Ngo <than@redhat.com> 1.2.0-5 |
450 |
|
|
- add user nut, bug #81500 |
451 |
|
|
- fix permission issue, bug #81524, #83997 |
452 |
|
|
- own /etc/ups, bug #73959 |
453 |
|
|
|
454 |
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
455 |
|
|
- rebuilt |
456 |
|
|
|
457 |
|
|
* Wed Jan 8 2003 Thomas Woerner <twoerner@redhat.com> 1.2.0-3 |
458 |
|
|
- added html templates for cgi scripts (#78532) |
459 |
|
|
- added hidups driver (#80334) |
460 |
|
|
|
461 |
|
|
* Wed Dec 18 2002 Dan Walsh <dwalsh@redhat.com> 1.2.0-2 |
462 |
|
|
- Fix service description |
463 |
|
|
|
464 |
|
|
* Wed Nov 6 2002 han Ngo <than@redhat.com> 1.2.0-1 |
465 |
|
|
- update to 1.2.0 |
466 |
|
|
|
467 |
|
|
* Mon Nov 4 2002 Than Ngo <than@redhat.com> 1.00-1 |
468 |
|
|
- update to 1.00 |
469 |
|
|
|
470 |
|
|
* Wed Jul 31 2002 Than Ngo <than@redhat.com> 0.45.4-5 |
471 |
|
|
- Fixed wrong CMDSCRIPT (bug #69817) |
472 |
|
|
|
473 |
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
474 |
|
|
- automated rebuild |
475 |
|
|
|
476 |
|
|
* Sun Jun 02 2002 Than Ngo <than@redhat.com> 0.45.4-3 |
477 |
|
|
- fix forced shutdown (bug #65824, #60516) |
478 |
|
|
- enable hidups driver |
479 |
|
|
- add missing manages (bug #65188) |
480 |
|
|
|
481 |
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com> |
482 |
|
|
- automated rebuild |
483 |
|
|
|
484 |
|
|
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.45.4-1 |
485 |
|
|
- update to 0.45.4 |
486 |
|
|
|
487 |
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
488 |
|
|
- automated rebuild |
489 |
|
|
|
490 |
|
|
* Fri Dec 14 2001 Than Ngo <than@redhat.com> 0.45.3-1 |
491 |
|
|
- update to 0.45.2 |
492 |
|
|
- fix bug #57417 |
493 |
|
|
|
494 |
|
|
* Mon Nov 27 2001 Than Ngo <than@redhat.com> 0.45.2-1 |
495 |
|
|
- update to 0.45.2 |
496 |
|
|
- clean up some patch files for 0.45.2 |
497 |
|
|
|
498 |
|
|
* Tue Jul 24 2001 Than Ngo <than@redhat.com> 0.45.0-3 |
499 |
|
|
- fix build dependencies (bug #49858) |
500 |
|
|
|
501 |
|
|
* Fri Jul 6 2001 Than Ngo <than@redhat.com> 0.45.0-2 |
502 |
|
|
- rebuild |
503 |
|
|
|
504 |
|
|
* Wed Jun 13 2001 Than Ngo <than@redhat.com> |
505 |
|
|
- update to 0.45.0 |
506 |
|
|
- add some patches from alane@geeksrus.net (bug #44361, #44363) |
507 |
|
|
|
508 |
|
|
* Sun Apr 22 2001 Than Ngo <than@redhat.com> |
509 |
|
|
- add all available UPS drivers (Bug #36937) |
510 |
|
|
|
511 |
|
|
* Fri Apr 13 2001 Than Ngo <than@redhat.com> |
512 |
|
|
- update to 0.44.3 (Bug #35255) |
513 |
|
|
|
514 |
|
|
* Fri Feb 9 2001 Than Ngo <than@redhat.com> |
515 |
|
|
- fixed typo (Bug #26535) |
516 |
|
|
|
517 |
|
|
* Tue Feb 6 2001 Trond Eivind Glomsrd <teg@redhat.com> |
518 |
|
|
- Fix some of the i18n |
519 |
|
|
- make it exit cleanly if not configured |
520 |
|
|
|
521 |
|
|
* Fri Jan 26 2001 Than Ngo <than@redhat.com> |
522 |
|
|
- initscript internationalisation |
523 |
|
|
|
524 |
|
|
* Thu Jan 11 2001 Than Ngo <than@redhat.com> |
525 |
|
|
- fixed init script error (bug #23525) |
526 |
|
|
|
527 |
|
|
* Sat Oct 21 2000 Than Ngo <than@redhat.com> |
528 |
|
|
- update to 0.44.1 |
529 |
|
|
|
530 |
|
|
* Tue Aug 01 2000 Than Ngo <than@redhat.de> |
531 |
|
|
- rebuilt with Michael changes |
532 |
|
|
|
533 |
|
|
* Mon Jul 31 2000 Michael Stefaniuc <mstefani@redhat.com> |
534 |
|
|
- changed /etc/sysconfig/ups to adress the changes in 0.44.0 |
535 |
|
|
- moved /etc/sysconfig/ups to the server package |
536 |
|
|
- changed the initscript |
537 |
|
|
- small config file patch |
538 |
|
|
|
539 |
|
|
* Fri Jul 28 2000 Than Ngo <than@redhat.de> |
540 |
|
|
- fixed initscripts so that condrestart doesn't return 1 when the test fails |
541 |
|
|
|
542 |
|
|
* Mon Jul 24 2000 Than Ngo <than@redhat.de> |
543 |
|
|
- nut CGIs is disable as default (Bug #14282) |
544 |
|
|
|
545 |
|
|
* Tue Jul 18 2000 Than Ngo <than@redhat.de> |
546 |
|
|
- update to 0.44.0 |
547 |
|
|
- inits back to rc.d/init.d, using service to fire them up |
548 |
|
|
|
549 |
|
|
* Wed Jul 12 2000 Than Ngo <than@redhat.de> |
550 |
|
|
- fix initscript and specfile, it should work with 6.x and 7.x |
551 |
|
|
- add --with-statepath and --sysconfdir to %configure (thanks Michael) |
552 |
|
|
|
553 |
|
|
* Sat Jul 08 2000 Than Ngo <than@redhat.de> |
554 |
|
|
- add Prereq: /etc/init.d |
555 |
|
|
|
556 |
|
|
* Tue Jun 27 2000 Than Ngo <than@redhat.de> |
557 |
|
|
- don't prereq, only require initscripts |
558 |
|
|
|
559 |
|
|
* Mon Jun 26 2000 Than Ngo <than@redhat.de> |
560 |
|
|
- /etc/rc.d/init.d -> /etc/init.d |
561 |
|
|
- prereq initscripts >= 5.20 |
562 |
|
|
|
563 |
|
|
* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com> |
564 |
|
|
- don't run by default |
565 |
|
|
|
566 |
|
|
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com> |
567 |
|
|
- adopted for Winston. Use our new path macros. |
568 |
|
|
- change nocgi pkg to a cgi pkg (inclusive rather than exclusive). |
569 |
|
|
- new init script |
570 |
|
|
|
571 |
|
|
* Sat May 06 2000 <bo-rpm@vircio.com> (0.43.2-1) |
572 |
|
|
- Updated Package to new release |
573 |
|
|
|
574 |
|
|
* Thu Jan 20 2000 <bo-rpm@vircio.com> (0.42.2-1) |
575 |
|
|
- Updated package to new release |
576 |
|
|
- Dropped bestups patch since that is fixed in 0.42.2 |
577 |
|
|
|
578 |
|
|
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-4) |
579 |
|
|
- Package now uses chkconfig |
580 |
|
|
|
581 |
|
|
* Sat Dec 18 1999 <bo-rpm@vircio.com> (0.42.1-3) |
582 |
|
|
- applied an improved patch to deal with the |
583 |
|
|
bestups string length issue. |
584 |
|
|
|
585 |
|
|
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1) |
586 |
|
|
- fixed string length in bestups.c line 279. |
587 |
|
|
|
588 |
|
|
* Sat Dec 11 1999 <bo-rpm@vircio.com> (0.42.1-1) |
589 |
|
|
- upgraded package to 0.42.1 from 0.42.0 |
590 |
|
|
|
591 |
|
|
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-8) |
592 |
|
|
- added requirement of nut-client for nut. |
593 |
|
|
|
594 |
|
|
* Mon Dec 6 1999 <bo-rpm@vircio.com> (0.42.0-7) |
595 |
|
|
- removed overlapping files between the nut and nut-client rpms |
596 |
|
|
|
597 |
|
|
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-6) |
598 |
|
|
- stop ups before uninstalling |
599 |
|
|
|
600 |
|
|
* Mon Nov 23 1999 <bo-rpm@vircio.com> (0.42.0-5) |
601 |
|
|
- build against gd 1.6.3 |
602 |
|
|
|
603 |
|
|
* Thu Nov 03 1999 <bo-rpm@vircio.com> (0.42.0-4) |
604 |
|
|
- Initial build of nut (well almost). |
605 |
|
|
- Removed chmod from the make file so that the package |
606 |
|
|
does not have to be built as root..... |