rpms/nut/F-7 nut-2.0.5-udevusb.patch,NONE,1.1 nut.spec,1.47,1.48
Tomas Smetana (tsmetana)
fedora-extras-commits at redhat.com
Wed Dec 12 15:46:14 UTC 2007
Author: tsmetana
Update of /cvs/pkgs/rpms/nut/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14426
Modified Files:
nut.spec
Added Files:
nut-2.0.5-udevusb.patch
Log Message:
* Wed Dec 12 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.5-7
- fix #420131 wrong ownership and permissions on USB device-special file
nut-2.0.5-udevusb.patch:
--- NEW FILE nut-2.0.5-udevusb.patch ---
diff -up nut-2.0.5/scripts/hotplug-ng/nut-usbups.rules.in.udevusb nut-2.0.5/scripts/hotplug-ng/nut-usbups.rules.in
--- nut-2.0.5/scripts/hotplug-ng/nut-usbups.rules.in.udevusb 2007-12-12 16:39:16.000000000 +0100
+++ nut-2.0.5/scripts/hotplug-ng/nut-usbups.rules.in 2007-12-12 16:39:26.000000000 +0100
@@ -1,6 +1,6 @@
# udev rules for the NUT USB drivers
-SUBSYSTEM!="usb_device", GOTO="nut-usbups_rules_end"
+SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
ACTION!="add", GOTO="nut-usbups_rules_end"
# MGE UPS SYSTEMS - usbhid-ups
Index: nut.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nut/F-7/nut.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- nut.spec 6 Nov 2007 12:50:12 -0000 1.47
+++ nut.spec 12 Dec 2007 15:45:41 -0000 1.48
@@ -9,7 +9,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.0.5
-Release: 6
+Release: 7
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -24,6 +24,7 @@
Patch3: nut-2.0.5-multilib.patch
Patch4: nut-ipv6.patch
Patch5: nut-2.0.5-pkgconfig.patch
+Patch6: nut-2.0.5-udevusb.patch
Requires: nut-client
Requires(post): fileutils /sbin/chkconfig /sbin/service
@@ -92,6 +93,7 @@
%patch3 -p1 -b .multilib
%patch4 -p1 -b .IPv6
%patch5 -p1 -b .pkgconfig
+%patch6 -p1 -b .udevusb
iconv -f iso-8859-1 -t utf-8 < man/newhidups.8 > man/newhidups.8_
mv man/newhidups.8_ man/newhidups.8
@@ -289,6 +291,9 @@
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Wed Dec 12 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.5-7
+- fix #420131 wrong ownership and permissions on USB device-special file
+
* Tue Oct 16 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.5-6
- fix #330741 upsd ignoring ACL in upsd.conf - backported access.c
More information about the fedora-extras-commits
mailing list