File bluez-hcidump.spec of Package bluez-hcidump
#
# spec file for package bluez-hcidump (Version 1.42)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bluez-hcidump
BuildRequires: bluez bluez-devel pkgconfig
Url: http://bluez.sourceforge.net
Version: 1.42
Release: 17
Summary: HCI Dumper for Debugging Bluetooth Connections
License: GPL v2 or later
PreReq: %insserv_prereq
Group: Development/Tools/Debuggers
AutoReqProv: on
Source: bluez-hcidump-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%requires_ge bluez
%description
An HCI dumper for debugging Bluetooth connections for BlueZ.
Authors:
--------
Marcel Holtmann <marcel@holtmann.org>
Maxim Krasnyansky <maxk@qualcomm.com>
Ricky Yuen <ryuen@qualcomm.com>
Wayne Lee <waynelee@qualcomm.com>
Takashi Sasai <sasai@sm.sony.co.jp>
%prep
%setup
#%{?s
#use_update_c
#onfig:%{suse_up
#date_config -f . }}
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=/usr --enable-pcmcia --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
cp src/bpasniff $RPM_BUILD_ROOT/%{_sbindir}/bpasniff
cp src/csrsniff $RPM_BUILD_ROOT/%{_sbindir}/csrsniff
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{_sbindir}/hcidump
%{_sbindir}/bpasniff
%{_sbindir}/csrsniff
%{_mandir}/man8/hcidump.8.gz
%doc AUTHORS COPYING INSTALL ChangeLog README
%changelog
* Tue Sep 16 2008 dmueller@suse.de
- adjust buildrequires
* Fri Jun 27 2008 seife@suse.de
- update to v1.42:
- Decode the Read Link Policy Settings command.
- Decode Default Link Policy Settings commands
- Enable PIE by default if supported.
- Don't optimize when debug is enabled.
* Tue Feb 05 2008 seife@suse.de
- update to v1.41:
- Improve decoding of HCI connection link type.
- Fix handling of unsupported L2CAP config options.
- Add full decoding of L2CAP RFC config option.
- Reset to L2CAP basic mode when MTU config request is sent.
* Wed Aug 29 2007 seife@suse.de
- update to v1.40:
Add HCI and LMP decoding support for Simple Pairing.
- This version needs at least bluez-libs-3.14
- clean up the buildsystem to please rpmlint
* Mon Jul 30 2007 seife@suse.de
- update to v1.39:
* Add support for daemon discover protocol.
* Fix device disconnect handling.
- v1.38:
* Add support for daemon mode.
* Tue Jul 03 2007 seife@suse.de
- update to v1.37:
* Add decoding for SCO packet flags.
* Add decoding for more extended inquiry features.
* Add missing HCI command and event decodings.
- v1.36:
* Add missing HCI command definitions.
* Add missing HCI event definitions.
* Add missing HCI error definitions.
- This version needs at least bluez-libs-3.12
* Thu May 10 2007 seife@suse.de
- update to v1.35:
* Add partial decoding for eSCO setup.
* Fix HCI command array size.
* Tue Feb 27 2007 seife@suse.de
- update to v1.34:
* Add reading support for MacOS X packet logger format.
* Add decoding for AFH host channel classification command.
* Add decoding for QoS setup command.
* Tue Oct 31 2006 seife@suse.de
- update to v1.33:
* Add support for IPv6 decoding.
* Add IPv6 connection support.
* Sun Sep 03 2006 seife@suse.de
- update to v1.32:
* Add decoding for link supervision timeout change event.
* Add decoding for host controller to host flow control setting.
* Add decoding for host number of completed packets.
* Add decoding for host buffer size command.
* Fix OBEX header parsing.
This version needs at least bluez-libs-3.3
* Thu Jul 06 2006 seife@suse.de
- update to v1.31
* Add Ericsson LMP decoding support.
* Update sniff subrating decoding.
* Update UUID and attribute definitions.
* Add decoding for pause encryption feature.
* Add generic RFCOMM streaming helpers.
* Add HDLC decoding support to the PPP parser.
* Add unslip support and basic protocol decoding.
* Add PPP extraction support.
* Move TCP/IP decoders into a separate file.
* Fix DoS problem of the L2CAP parser.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 behlert@suse.de
- update to v1.29:
* Obfuscate the BD_ADDR if no vendor events are requested.
* Decode and display binary strings correctly.
* Allow null-terminated text strings.
* Add definitions for Apple Agent.
* Add skeleton for AVCTP parser.
* Add skeleton for PPP parser.
* Mon Dec 12 2005 behlert@suse.de
- update to v1.28:
* Add missing UUID definitions and translations.
* Add option to disable vendor commands and events.
* Add decoding for hold mode, sniff mode and park state.
* Add decoding for sniff subrate command complete event.
* Decode class of device and BD_ADDR for inquiry filter.
* Make it possible to obfuscate pin codes and link keys.
* Thu Nov 24 2005 behlert@suse.de
- added -fno-strict-aliasing
* Wed Nov 02 2005 dmueller@suse.de
- don't build as root
* Wed Nov 02 2005 behlert@suse.de
- update to v1.27:
* Decode the extended inquiry response payload.
* Update HCI_DEV_NONE frame format.
* Update the CSR PS key handling.
* Add another bunch LMP message decodings.
* Add compile time buffer checks (FORTIFY SOURCE).
* Fix memory leak with lmp_vertostr() function.
* Fix FHS packet decoding for slave connections.
* Add support for decoding more LMP messages.
* Display the data of extended inquiry results.
* Correct HCI command and event string arrays.
* Add SCO audio extraction support.
* Wed Sep 21 2005 behlert@suse.de
- update to v1.25:
* Add new attribute identifiers and UUID definitions.
* Add decoding support for extended inquiry response.
* Add more detailed BCCMD decoding.
* Tue Jul 19 2005 behlert@suse.de
- update to v1.24:
* Allow selection of system device.
* Handle system events and commands.
* Tue Jul 05 2005 behlert@suse.de
- update to v1.23:
* Add decoding support for inquiry scan type.
* Fix connection accept timeout and scan enable decoding.
* Show human readable timestamps only in verbose decoding mode.
* Dump raw BNEP payload only in non-verbose decoding mode.
* Update CSR BCCMD support and correct uint32 decoding.
* Fri Jun 17 2005 behlert@suse.de
- update to v1.22:
* Only do verbose decoding when requested.
* Fix number of completed packets decoding.
* Improve the decoding of CSR vendor commands and events.
* Use human readable timestamps.
* Add support for the BTSnoop file format.
* Tue May 17 2005 behlert@suse.de
- update to v1.21:
* Clear L2CAP states when receiving the HCI disconnect.
* Make the OBEX parser aware of that RFCOMM is a stream.
* Update HCI verbose decoding routines.
* Add CSR verbose decoding support.
* Wed Apr 20 2005 behlert@suse.de
- update to v1.20:
* Workaround for inquiry results with RSSI and page scan mode.
* Decode almost every used HCI commands and events.
* Thu Mar 31 2005 behlert@suse.de
- update to v1.19: more decoding of protocols
* Fri Feb 11 2005 behlert@suse.de
- update to v1.18: more verbose output, bpa sniffer utility
* Fri Dec 03 2004 behlert@suse.de
- update to v1.16: UUID fixes, some fixes for display
* Mon Nov 29 2004 behlert@suse.de
- update to v1.15: mostly AVDTP stuff
* Wed Nov 17 2004 behlert@suse.de
- updated to v1.13: better nad more output
* Mon Aug 30 2004 behlert@suse.de
- update to v1.11: various enhancements, configure/make-fixes
* Tue Jul 27 2004 behlert@suse.de
- update to v1.10: bugfix-version
- removed patch for *.m4-files again, it's now in mainline
* Thu Jul 15 2004 behlert@suse.de
- fixed *.m4-files
* Tue Jun 29 2004 behlert@suse.de
- updated to v1.9: Initial AVDTP parser support.
* Tue May 11 2004 behlert@suse.de
- added bluez-libs as required to spec-file
* Thu May 06 2004 behlert@suse.de
- updated to v1.8: Support Bluetooth 1.2 HCI commands and events.
Decode RFCOMM credit based flow control.
* Thu Mar 11 2004 behlert@suse.de
- update to v1.7: various fixes for the SDP parser
- more protocols supported
* Fri Jan 30 2004 behlert@suse.de
- initial version