Hello community, here is the log from the commit of package libpcap checked in at Fri Jul 13 18:19:08 CEST 2007. -------- --- libpcap/libpcap.changes 2007-05-02 16:43:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/libpcap/libpcap.changes 2007-07-12 11:11:35.000000000 +0200 @@ -1,0 +2,16 @@ +Thu Jul 12 11:00:38 CEST 2007 - prusnak@suse.cz + +- updated to 0.9.6 + * added Bluetooth support + * added USB capturing support + * added support for the binary USB sniffing interface + * added additional filter operations for 802.11 frame types + * added support for filtering on MTP2 frame types + * added LINKTYPE_ for IEEE 802.15.4, with address fields padded + * added LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS + * added DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer + * added DLT for Bluetooth HCI UART transport layer + * fixed discarding of unread packets when changing filters + * fixed a bug in pcap_open_live() + +------------------------------------------------------------------- Old: ---- libpcap-0.9.5-config.diff libpcap-0.9.5-filter-fix.diff libpcap-0.9.5-nonvoid.diff libpcap-0.9.5-shared.diff libpcap-0.9.5-socket-timeout.diff libpcap-0.9.5.tar.bz2 New: ---- libpcap-0.9.6-config.diff libpcap-0.9.6-filter-fix.diff libpcap-0.9.6-nonvoid.diff libpcap-0.9.6-shared.diff libpcap-0.9.6-socket-timeout.diff libpcap-0.9.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpcap.spec ++++++ --- /var/tmp/diff_new_pack.h18839/_old 2007-07-13 18:13:57.000000000 +0200 +++ /var/tmp/diff_new_pack.h18839/_new 2007-07-13 18:13:57.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libpcap (Version 0.9.5) +# spec file for package libpcap (Version 0.9.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,11 +12,11 @@ Name: libpcap BuildRequires: bison flex -Version: 0.9.5 -Release: 16 +Version: 0.9.6 +Release: 1 Autoreqprov: on Group: System/Libraries -License: BSD License and BSD-like +License: BSD 3-Clause URL: http://www.tcpdump.org/ Summary: A Library for Network Sniffers Source: %{name}-%{version}.tar.bz2 @@ -64,12 +64,7 @@ #autoheader --force autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -fpic" CXXFLAGS="$RPM_OPT_FLAGS -fpic" -./configure \ - --prefix=%{_prefix} \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} \ - --infodir=%{_infodir} \ - --mandir=%{_mandir} \ +%configure \ --enable-ipv6 make VERSION=%{version} @@ -79,14 +74,33 @@ %clean rm -rf $RPM_BUILD_ROOT +%post +%run_ldconfig + +%postun +%run_ldconfig + %files %defattr(-, root, root) -%doc README* INSTALL.txt CHANGES CREDITS LICENSE TODO doc/* +%doc README README.linux CHANGES CREDITS LICENSE TODO doc/* %doc %{_mandir}/man?/* %{_libdir}/lib* %{_includedir}/* %changelog +* Thu Jul 12 2007 - prusnak@suse.cz +- updated to 0.9.6 + * added Bluetooth support + * added USB capturing support + * added support for the binary USB sniffing interface + * added additional filter operations for 802.11 frame types + * added support for filtering on MTP2 frame types + * added LINKTYPE_ for IEEE 802.15.4, with address fields padded + * added LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS + * added DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer + * added DLT for Bluetooth HCI UART transport layer + * fixed discarding of unread packets when changing filters + * fixed a bug in pcap_open_live() * Wed May 02 2007 - pth@suse.de - Use correct version for naming the shared library (#270226) * Thu Mar 29 2007 - rguenther@suse.de ++++++ libpcap-0.9.5-config.diff -> libpcap-0.9.6-config.diff ++++++ ++++++ libpcap-0.9.5-filter-fix.diff -> libpcap-0.9.6-filter-fix.diff ++++++ ++++++ libpcap-0.9.5-nonvoid.diff -> libpcap-0.9.6-nonvoid.diff ++++++ ++++++ libpcap-0.9.5-shared.diff -> libpcap-0.9.6-shared.diff ++++++ --- libpcap/libpcap-0.9.5-shared.diff 2007-05-02 16:38:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/libpcap/libpcap-0.9.6-shared.diff 2007-07-12 11:08:06.000000000 +0200 @@ -39,7 +39,7 @@ -# libpcap.so: $(OBJ) @rm -f $@ -- ld -shared -o $@.`cat VERSION` $(OBJ) +- $(CC) -shared -o $@.`cat VERSION` $(OBJ) $(DAGLIBS) - -# the following rule succeeds, but the result is untested. -libpcap.dylib: $(OBJ) @@ -86,7 +86,7 @@ AC_REVISION($Revision: 1.120.2.8 $) AC_PREREQ(2.50) -AC_INIT(pcap.c) -+AC_INIT([libpcap], [0.9.5]) ++AC_INIT([libpcap], [0.9.6]) +AC_CONFIG_SRCDIR([pcap.c]) AC_CANONICAL_SYSTEM ++++++ libpcap-0.9.5-socket-timeout.diff -> libpcap-0.9.6-socket-timeout.diff ++++++ --- libpcap/libpcap-0.9.5-socket-timeout.diff 2007-05-02 16:38:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/libpcap/libpcap-0.9.6-socket-timeout.diff 2007-07-12 10:57:44.000000000 +0200 @@ -1,31 +1,5 @@ --- pcap-linux.c +++ pcap-linux.c -@@ -1021,8 +1021,9 @@ - handle->md.use_bpf = 1; - - oldflags = fcntl(handle->fd, F_GETFL, 0); -- oldflags |= O_NONBLOCK; -- fcntl(handle->fd, F_SETFL, oldflags); -+ if (!(oldflags & O_NONBLOCK)) -+ fcntl(handle->fd, F_SETFL, oldflags | O_NONBLOCK); -+ - getsockopt(handle->fd, SOL_SOCKET, SO_RCVBUF, - (char *)&rec_len, &optlen); - -@@ -1031,11 +1032,9 @@ - && received < rec_len) { - received += ret; - } -- -- if(oldflags > 0) { -- oldflags &= ~O_NONBLOCK; -+ -+ if(!(oldflags & O_NONBLOCK)) - fcntl(handle->fd, F_SETFL, oldflags); -- } - } - else if (err == -1) /* Non-fatal error */ - { @@ -1594,6 +1593,18 @@ } } ++++++ libpcap-0.9.5.tar.bz2 -> libpcap-0.9.6.tar.bz2 ++++++ ++++ 2059 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org