rpms/bluez-utils/devel bluez-utils-oui-usage.patch, NONE, 1.1 bluez-utils.spec, 1.88, 1.89
Bastien Nocera (hadess)
fedora-extras-commits at redhat.com
Fri Jan 25 13:28:44 UTC 2008
- Previous message (by thread): rpms/icu/F-7 icu.regexp.patch,NONE,1.1 icu.spec,1.49,1.50
- Next message (by thread): rpms/bluez-utils/F-8 bluez-utils.spec, 1.85, 1.86 dund.init, 1.6, 1.7 pand.init, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/bluez-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28224
Modified Files:
bluez-utils.spec
Added Files:
bluez-utils-oui-usage.patch
Log Message:
* Fri Jan 25 2008 - Bastien Nocera <bnocera at redhat.com> - 3.23-2
- Fix hcid trying to find the OUI file somewhere in /var (#428803)
bluez-utils-oui-usage.patch:
--- NEW FILE bluez-utils-oui-usage.patch ---
Index: common/oui.c
===================================================================
RCS file: /cvsroot/bluez/utils/common/oui.c,v
retrieving revision 1.2
diff -u -p -r1.2 oui.c
--- common/oui.c 13 Jan 2007 17:48:12 -0000 1.2
+++ common/oui.c 25 Jan 2008 12:16:58 -0000
@@ -38,7 +38,7 @@
/* http://standards.ieee.org/regauth/oui/oui.txt */
-#define OUIFILE "/var/lib/misc/oui.txt"
+#define OUIFILE "/usr/share/hwdata/oui.txt"
char *ouitocomp(const char *oui)
{
@@ -46,14 +46,9 @@ char *ouitocomp(const char *oui)
char *str, *map, *off, *end;
int fd;
- fd = open("oui.txt", O_RDONLY);
+ fd = open(OUIFILE, O_RDONLY);
if (fd < 0) {
- fd = open(OUIFILE, O_RDONLY);
- if (fd < 0) {
- fd = open("/usr/share/misc/oui.txt", O_RDONLY);
- if (fd < 0)
- return NULL;
- }
+ return NULL;
}
if (fstat(fd, &st) < 0) {
Index: bluez-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-utils/devel/bluez-utils.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- bluez-utils.spec 10 Dec 2007 11:53:49 -0000 1.88
+++ bluez-utils.spec 25 Jan 2008 13:28:08 -0000 1.89
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez-utils
Version: 3.23
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@
Source7: dund.conf
Source9: bluetooth.conf
Patch0: bluez-utils-2.3-conf.patch
+Patch1: bluez-utils-oui-usage.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.bluez.org/
@@ -25,6 +26,7 @@
Obsoletes: bluez-pan, bluez-sdp
Requires: initscripts, bluez-libs >= %{version}
Requires: dbus >= 0.60
+Requires: hwdata >= 0.215
Requires: dbus-bluez-pin-helper
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(post): /sbin/chkconfig, /sbin/service
@@ -71,6 +73,7 @@
%setup -q
%patch0 -p1
+%patch1 -p0 -b .oui
%build
%configure --with-bluez-libs=%{_libdir} --enable-pie --enable-debug \
@@ -154,6 +157,9 @@
%{_libdir}/alsa-lib/*.so
%changelog
+* Fri Jan 25 2008 - Bastien Nocera <bnocera at redhat.com> - 3.23-2
+- Fix hcid trying to find the OUI file somewhere in /var (#428803)
+
* Mon Dec 10 2007 - Bastien Nocera <bnocera at redhat.com> - 3.23-1
- Update to 3.23
- Previous message (by thread): rpms/icu/F-7 icu.regexp.patch,NONE,1.1 icu.spec,1.49,1.50
- Next message (by thread): rpms/bluez-utils/F-8 bluez-utils.spec, 1.85, 1.86 dund.init, 1.6, 1.7 pand.init, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list