commit libpcap for openSUSE:Factory

2019-10-11 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2019-10-11 15:10:57

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new.2352 (New)


Package is "libpcap"

Fri Oct 11 15:10:57 2019 rev:58 rq:734984 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2019-09-05 
12:01:45.487948934 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new.2352/libpcap.changes
2019-10-11 15:11:24.829077291 +0200
@@ -1,0 +2,66 @@
+Wed Oct  2 13:40:23 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Update to 1.9.1
+   * Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, 
CVE-2019-15165
+   * Fixes for CVE-2018-16301, errors in pcapng reading.
+   * Mention pcap_get_required_select_timeout() in the main pcap man page
+   * Fix pcap-usb-linux.c build on systems with musl
+   * Fix assorted man page and other documentation issues
+   * Plug assorted memory leaks
+   * Documentation changes to use https:
+   * Changes to how time stamp calculations are done
+   * Lots of tweaks to make newer compilers happier and warning-free and
+ to fix instances of C undefined behavior
+   * Warn if AC_PROG_CC_C99 can't enable C99 support
+   * Rename pcap_set_protocol() to  pcap_set_protocol_linux().
+   * Align pcap_t private data on an 8-byte boundary.
+   * Fix various error messages
+   * Use 64-bit clean API in dag_findalldevs()
+   * Fix cleaning up after some errors
+   * Work around some ethtool ioctl bugs in newer Linux kernels
+   * Add backwards compatibility sections to some man pages
+   * Fix autotool configuration on AIX and macOS
+   * Don't export bpf_filter_with_aux_data() or struct bpf_aux_data;
+ they're internal-only and subject to change
+   * Fix pcapng block size checking
+   * Fix reading of capture statistics for Linux USB
+   * Fix packet size values for Linux USB packets
+   * Check only VID in VLAN test in filterss
+   * Fix pcap_list_datalinks on 802.11 devices on macOS
+   * Fix overflows with very large snapshot length in pcap file
+   * Improve parsing of rpcapd configuration file
+   * Handle systems without strlcpy() or strlcat() better
+   * Fix crashes and other errors with invalid filter expressions
+   * Fix use of uninitialized file descriptor in remote capture
+   * Fix some CMake issues
+   * Fix some divide-by-zero issues with the filter compiler
+   * Work around a GNU libc bug in pcap_nametonetaddr()
+   * Add support for DLT_LINUX_SLL2
+   * Fix handling of the packet-count argument for Myricom SNF devices
+   * Fix --disable-rdma in configure script
+   * Fix compilation of TurboCap support
+   * Constify first argument to pcap_findalldevs_ex()
+   * Fix a number of issues when running rpcapd as an inetd-style daemon
+   * Fix CMake issues with D-Bus libraries
+   * In rpcapd, clean up termination of a capture session
+   * Redo remote capture protocol negotiation
+   * In rpcapd, report the same error for "invalid user name" and
+ "invalid password", to make brute-forcing harder
+   * For remote captures, add an error code for "the server requires TLS"
+   * Fix building as part of Npcap
+   * Allow rpcapd to rebind more rapidly
+   * Fix building shared libpcap library on midipix (midipix.org)
+   * Fix hack to detect UTF-16LE adapter names on Windows not to go past
+ the end of the string
+   * Have pcap_dump_open_append() create the dump file if it doesn't exists
+   * Fix the maxmum snapshot length for DLT_USBPCAP
+   * Use -fPIC when building for 64-bit SPARC on Linux
+   * Fix CMake 64-bit library installation directory on some Linux 
distributions
+   * Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 
specified
+   * PCAPNG reader applies some sanity checks before doing malloc().
+- Drop patch fixed upstream:
+   * Check-only-VID-in-VLAN-test-issue-461.patch
+- Rebase patch:
+   * libpcap-1.0.0-ppp.patch
+
+---

Old:

  Check-only-VID-in-VLAN-test-issue-461.patch
  libpcap-1.9.0.tar.gz
  libpcap-1.9.0.tar.gz.sig

New:

  libpcap-1.9.1.tar.gz
  libpcap-1.9.1.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.w0KOza/_old  2019-10-11 15:11:26.677072212 +0200
+++ /var/tmp/diff_new_pack.w0KOza/_new  2019-10-11 15:11:26.677072212 +0200
@@ -17,21 +17,19 @@
 
 
 Name:   libpcap
-Version:1.9.0
+Version:1.9.1
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://www.tcpdump.org/
-Source: http://www.tcpdump.org/release/

commit libpcap for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2019-09-05 12:01:43

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new.7948 (New)


Package is "libpcap"

Thu Sep  5 12:01:43 2019 rev:57 rq:720465 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2018-10-02 
19:43:20.618081184 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new.7948/libpcap.changes
2019-09-05 12:01:45.487948934 +0200
@@ -1,0 +2,5 @@
+Fri Aug  2 07:06:13 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.klGrmk/_old  2019-09-05 12:01:46.299948775 +0200
+++ /var/tmp/diff_new_pack.klGrmk/_new  2019-09-05 12:01:46.303948774 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -93,6 +93,7 @@
 %patch6 -p1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoreconf -fiv
 %ifarch %sparc
 pic="PIC"






commit libpcap for openSUSE:Factory

2018-10-02 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2018-10-02 19:43:17

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Tue Oct  2 19:43:17 2018 rev:56 rq:637759 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2018-03-07 
10:28:56.282900491 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2018-10-02 
19:43:20.618081184 +0200
@@ -1,0 +2,27 @@
+Mon Sep 24 17:46:26 UTC 2018 - mkube...@suse.cz
+
+- update to 1.9.0
+  * add testing system to libpcap, independent of tcpdump
+  * changes to how pcap_t is activated
+  * update included copies of BSD 4-clause license to 3-clause
+  * additions to TCP header parsing, per RFC3168
+  * support setting non-blocking mode before activating
+  * fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses
+  * pcap_compile() in 1.8.0 and later is newly thread-safe
+  * bound snaplen for linux tpacket_v2 to ~64k
+  * make VLAN filter handle both metadata and inline tags
+(bsc#874131 bsc#993691 fate#321405)
+  * D-Bus captures can now be up to 128MB in size
+  * add DLT_LORATAP and DLT_VSOCK
+  * allow specifying a specific capture protocol
+  * RDMA sniffing support for pcap
+  * increase minimum autoconf version requirement to 2.64
+  * rpcapd: support for xinetd.conf and systemd units
+  * provide pkgconfig file
+- add BuildRequires for autoconf >= 2.64
+- package (newly added) pkgconfig file
+- Check-only-VID-in-VLAN-test-issue-461.patch:
+  fix "vlan " test to check only VID, not complete TCI
+- drop disable-remote.diff (superseded by upstream changes)
+
+---

Old:

  disable-remote.diff
  libpcap-1.8.1.tar.gz
  libpcap-1.8.1.tar.gz.sig

New:

  Check-only-VID-in-VLAN-test-issue-461.patch
  libpcap-1.9.0.tar.gz
  libpcap-1.9.0.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.ruxxzw/_old  2018-10-02 19:43:21.210080585 +0200
+++ /var/tmp/diff_new_pack.ruxxzw/_new  2018-10-02 19:43:21.214080580 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libpcap
-Version:1.8.1
+Version:1.9.0
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -31,7 +31,8 @@
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
 Patch5: libpcap-no-old-socket.patch
-Patch6: disable-remote.diff
+Patch6: Check-only-VID-in-VLAN-test-issue-461.patch
+BuildRequires:  autoconf >= 2.64
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  bluez-devel
@@ -113,7 +114,7 @@
 
 %files -n libpcap1
 %defattr(-, root, root)
-%doc CHANGES CREDITS LICENSE README README.linux TODO
+%doc CHANGES CREDITS LICENSE README.md doc/README.linux.md TODO
 %{_libdir}/*.so.*
 %{_mandir}/man7/*
 
@@ -127,5 +128,6 @@
 %{_includedir}/*
 %{_bindir}/pcap-config
 %{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog

++ Check-only-VID-in-VLAN-test-issue-461.patch ++
From: Michal Kubecek 
Date: Mon, 24 Sep 2018 18:19:04 +0200
Subject: Check only VID in VLAN test (issue #461)
Patch-mailine: libpcap-1.9.1?
Git-commit: b525a0863466ba863630c0450926044230b447e8
References: https://github.com/the-tcpdump-group/libpcap/issues/461

The SKF_AD_VLAN_TAG value in metadata contains the whole TCI so that if we
want to use it for "vlan " test, we need to apply 0xfff mask to compare
only VID.

Rather than adding another 'and' instruction, use existing one we already
have for the "not offloaded" case so that when patching block like e.g.

  (010) ldh  [14]
  (011) and  #0xfff
  (012) jeq  #0xb jt 13   jf 14

we jump to (011) instead of (012).

Fixes: 04660eb1e561 ("Use BPF extensions in compiled filters")
---
 gencode.c | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/gencode.c
+++ b/gencode.c
@@ -8234,12 +8234,15 @@ gen_vlan_patch_vid_test(compiler_state_t *cstate, 
struct block *b_vid)
sappend(s, s2);
sjeq->s.jt = s2;
 
-   /* jump to the test in b_vid (bypass loading VID from packet data) */
+   /* Jump to the test in b_vid. We need to jump one instruction before
+* the end of the b_vid block so that we only skip loading the TCI
+* from packet data and not the 'and' instruction extractging VID.
+*/
cnt = 0;
for (s2 = b_vid->stmts; s2; s2 = s2->next)
cnt++;
s2 = new_stmt(cstate, JMP(BPF_JA));
-   s2->s.k = cnt;
+   s2->s.k = cnt - 1;
sappend(s, s2);
 
/* insert our statements at the beginning of b_vid */
++ libpcap

commit libpcap for openSUSE:Factory

2018-03-07 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2018-03-07 10:28:54

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Wed Mar  7 10:28:54 2018 rev:55 rq:581748 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2017-09-18 
19:52:51.916618483 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2018-03-07 
10:28:56.282900491 +0100
@@ -1,0 +2,5 @@
+Thu Mar  1 14:49:43 UTC 2018 - jeng...@inai.de
+
+- Fix SRPM group
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.USFA85/_old  2018-03-07 10:28:58.478821281 +0100
+++ /var/tmp/diff_new_pack.USFA85/_new  2018-03-07 10:28:58.482821137 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Libraries/C and C++
 Url:http://www.tcpdump.org/
 Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
 Source2:baselibs.conf






commit libpcap for openSUSE:Factory

2017-09-18 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2017-09-18 19:52:46

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Mon Sep 18 19:52:46 2017 rev:54 rq:523893 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2017-04-11 
09:29:20.839127216 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2017-09-18 
19:52:51.916618483 +0200
@@ -1,0 +2,6 @@
+Tue Sep 12 20:33:09 UTC 2017 - asterios.dra...@gmail.com
+
+- Added a patch (disable-remote.diff) to fix applications to FTBFS
+  if they define HAVE_REMOTE (deb#843384). Patch taken from Debian.
+
+---

New:

  disable-remote.diff



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.kGz28i/_old  2017-09-18 19:52:53.284426101 +0200
+++ /var/tmp/diff_new_pack.kGz28i/_new  2017-09-18 19:52:53.284426101 +0200
@@ -31,6 +31,7 @@
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
 Patch5: libpcap-no-old-socket.patch
+Patch6: disable-remote.diff
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  bluez-devel
@@ -88,6 +89,7 @@
 %patch2
 %patch3 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 autoreconf -fiv

++ disable-remote.diff ++
Disable bits of remote capture support inherited from the WinPCAP merge
which cause applications to FTBFS if they define HAVE_REMOTE (#843384).

--- a/pcap/pcap.h
+++ b/pcap/pcap.h
@@ -506,6 +506,11 @@
   #define MODE_STAT 1
   #define MODE_MON 2
 
+#ifdef HAVE_REMOTE
+  /* Includes most of the public stuff that is needed for the remote capture */
+  #include 
+#endif  /* HAVE_REMOTE */
+
 #elif defined(MSDOS)
 
   /*
@@ -526,11 +531,6 @@
 
 #endif /* _WIN32/MSDOS/UN*X */
 
-#ifdef HAVE_REMOTE
-  /* Includes most of the public stuff that is needed for the remote capture */
-  #include 
-#endif  /* HAVE_REMOTE */
-
 #ifdef __cplusplus
 }
 #endif





commit libpcap for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2017-04-11 09:29:08

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Tue Apr 11 09:29:08 2017 rev:53 rq:485091 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2017-03-21 
22:42:18.456199405 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2017-04-11 
09:29:20.839127216 +0200
@@ -1,0 +2,5 @@
+Thu Mar 23 15:42:52 UTC 2017 - jeng...@inai.de
+
+- Restore section setting $pic
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.S0wmxU/_old  2017-04-11 09:29:21.495034581 +0200
+++ /var/tmp/diff_new_pack.S0wmxU/_new  2017-04-11 09:29:21.499034016 +0200
@@ -91,7 +91,12 @@
 
 %build
 autoreconf -fiv
-export CFLAGS="%{optflags} -fpic" CXXFLAGS="%{optflags} -f$pic"
+%ifarch %sparc
+pic="PIC"
+%else
+pic="pic"
+%endif
+export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
 %configure \
--enable-bluetooth=yes \
--enable-ipv6






commit libpcap for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2017-03-21 22:42:17

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Tue Mar 21 22:42:17 2017 rev:52 rq:478864 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2017-03-05 
17:53:42.275283717 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2017-03-21 
22:42:18.456199405 +0100
@@ -1,0 +2,5 @@
+Wed Mar  1 10:12:45 UTC 2017 - tchva...@suse.com
+
+- Do not put conditions about the provides for < 11.0
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.6kuC8y/_old  2017-03-21 22:42:19.276083572 +0100
+++ /var/tmp/diff_new_pack.6kuC8y/_new  2017-03-21 22:42:19.280083007 +0100
@@ -50,11 +50,8 @@
 %package -n libpcap1
 Summary:A Library for Network Sniffers
 Group:  System/Libraries
-#
-%if 0%{?suse_version} > 1100
 Provides:   libpcap = %{version}
 Obsoletes:  libpcap < %{version}
-%endif
 
 %description -n libpcap1
 libpcap is a library used by packet sniffer programs. It provides an
@@ -93,13 +90,8 @@
 %patch5 -p1
 
 %build
-%ifarch %{sparc}
-pic="PIC"
-%else
-pic="pic"
-%endif
 autoreconf -fiv
-export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
+export CFLAGS="%{optflags} -fpic" CXXFLAGS="%{optflags} -f$pic"
 %configure \
--enable-bluetooth=yes \
--enable-ipv6






commit libpcap for openSUSE:Factory

2017-03-05 Thread root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2017-03-05 17:53:40

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Sun Mar  5 17:53:40 2017 rev:51 rq:457407 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2016-04-22 
16:17:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2017-03-05 
17:53:42.275283717 +0100
@@ -1,0 +2,49 @@
+Wed Feb 15 10:03:07 UTC 2017 - pmonrealgonza...@suse.com
+
+- Dropped patches not required after review
+  * libpcap-1.0.0-pcap-bpf.patch
+  * libpcap-1.5.2-filter-fix.patch
+- Reference of the pull request for the rest of the patches
+  * https://github.com/the-tcpdump-group/libpcap/issues/196
+- Changed libpcap-1.0.0-s390.patch to the git formatted one
+
+---
+Thu Feb  2 13:37:19 UTC 2017 - pmonrealgonza...@suse.com
+
+- Formatted the specs file using spec-cleaner.
+
+---
+Thu Feb  2 13:28:11 UTC 2017 - pmonrealgonza...@suse.com
+
+- Allow bluetooth monitoring support unconditionally.
+
+---
+Thu Feb  2 13:09:23 UTC 2017 - pmonrealgonza...@suse.com
+
+- update to 1.8.1
+  * Clean up the name-to-DLT mapping table.
+  * Add some newer DLT_ values:
+  IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS
+  * Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue
+  #493.
+  * Filter out duplicate looped back CAN frames.
+  * Fix the handling of loopback filters for IPv6 packets.
+  * Add a link-layer header type for RDS (IEC 62106) groups.
+  * On Linux, handle all CAN captures with pcap-linux.c, in cooked mode.
+  * Removes the need for the "host-endian" link-layer header type.
+  * Compile with '-Wused-but-marked-unused' in devel mode if supported
+  * Have separate DLTs for big-endian and host-endian SocketCAN headers.
+  * Require that version.h be generated: all build procedures we support 
generate version.h (autoconf, CMake, MSVC)!
+  * Properly check for sock_recv() errors.
+  * Re-impose some of Winsock's limitations on sock_recv().
+  * Replace sprintf() with pcap_snprintf().
+  * Fix signature of pcap_stats_ex_remote().
+  * Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" 
flag.
+  * Clean up {DAG, Septel, Myricom SNF}-only builds.
+  * pcap_create_interface() needs the interface name on Linux.
+  * Clean up hardware time stamp support: the "any" device does not support 
any time stamp types.
+  * Recognize 802.1ad nested VLAN tag in vlan filter.
+- dropped libpcap-ocloexec.patch, never upstreamed.
+- refreshed libpcap-1.0.0-ppp.patch
+
+---

Old:

  libpcap-1.0.0-pcap-bpf.patch
  libpcap-1.5.2-filter-fix.patch
  libpcap-1.7.3.tar.gz
  libpcap-1.7.3.tar.gz.sig
  libpcap-ocloexec.patch

New:

  libpcap-1.8.1.tar.gz
  libpcap-1.8.1.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.UqKFbL/_old  2017-03-05 17:53:42.855201636 +0100
+++ /var/tmp/diff_new_pack.UqKFbL/_new  2017-03-05 17:53:42.855201636 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,8 @@
 #
 
 
-# bluetooth not working with bluez 5.21
-%bcond_withbluetooth
-
 Name:   libpcap
-Version:1.7.3
+Version:1.8.1
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -30,22 +27,18 @@
 Source2:baselibs.conf
 Source3:http://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
 Source4:http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
-Patch0: libpcap-1.5.2-filter-fix.patch
-Patch1: libpcap-1.0.0-pcap-bpf.patch
+# https://github.com/the-tcpdump-group/libpcap/pull/556
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
-Patch4: libpcap-ocloexec.patch
 Patch5: libpcap-no-old-socket.patch
 BuildRequires:  automake
 BuildRequires:  bison
+BuildRequires:  bluez-devel
 BuildRequires:  dbus-1-devel
 BuildRequires:  flex
 BuildRequires:  libnl3-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libusb-1.0)
-%if %{with bluetooth}
-BuildRequires:  bluez

commit libpcap for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2016-04-22 16:17:21

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2015-06-30 
10:15:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2016-04-22 
16:17:22.0 +0200
@@ -1,0 +2,9 @@
+Sun Apr 17 02:42:52 UTC 2016 - crrodrig...@opensuse.org
+
+- libpcap-no-old-socket.patch: never fallback to the obsolete
+  SOCK_PACKET (kernel < 2.2) interface, this still happens
+  for example, when you update the kernel, run iftop and 
+  the old kernel af_packet module wasn't loaded, program fails
+  and the kernel prints "iftop uses obsolete (PF_INET,SOCK_PACKET)"
+
+---

New:

  libpcap-no-old-socket.patch



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.GDE7I2/_old  2016-04-22 16:17:23.0 +0200
+++ /var/tmp/diff_new_pack.GDE7I2/_new  2016-04-22 16:17:23.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
 Patch4: libpcap-ocloexec.patch
+Patch5: libpcap-no-old-socket.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  dbus-1-devel
@@ -105,6 +106,7 @@
 %patch2
 %patch3
 %patch4 -p1
+%patch5 -p1
 %build
 %ifarch %sparc
 pic="PIC"


++ libpcap-no-old-socket.patch ++
Index: libpcap-1.7.3/pcap-linux.c
===
--- libpcap-1.7.3.orig/pcap-linux.c
+++ libpcap-1.7.3/pcap-linux.c
@@ -1425,16 +1425,10 @@ pcap_activate_linux(pcap_t *handle)
}
}
else if (ret == 0) {
-   /* Non-fatal error; try old way */
-   if ((ret = activate_old(handle)) != 1) {
-   /*
-* Both methods to open the packet socket failed.
-* Tidy up and report our failure (handle->errbuf
-* is expected to be set by the functions above).
-*/
-   status = ret;
-   goto fail;
-   }
+snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
+"af_packet module unavailable, missing a reboot to new kernel?");
+status = PCAP_ERROR;
+goto fail;
}
 
/*




commit libpcap for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2015-06-30 10:15:06

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2015-04-28 
20:42:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2015-06-30 
10:15:07.0 +0200
@@ -1,0 +2,9 @@
+Sun Jun 21 04:41:13 UTC 2015 - crrodrig...@opensuse.org
+
+- remove dependency on libusb-devel, only libusb-1.0 is used for
+  build.
+- split a -devel-static subpackage that contains the static
+  libraries and all the extra dependencies which are not needed
+  for dynamic linking.
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.cpvLua/_old  2015-06-30 10:15:08.0 +0200
+++ /var/tmp/diff_new_pack.cpvLua/_new  2015-06-30 10:15:08.0 +0200
@@ -39,11 +39,9 @@
 BuildRequires:  bison
 BuildRequires:  dbus-1-devel
 BuildRequires:  flex
-BuildRequires:  libusb-devel
-BuildRequires:  pkg-config
-%if %{?suse_version} >= 1210
 BuildRequires:  libnl3-devel
-%endif
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(libusb-1.0)
 %if %{with bluetooth}
 BuildRequires:  bluez-devel
 %endif
@@ -77,12 +75,8 @@
 %package devel
 Summary:A Library for Network Sniffers
 Group:  Development/Libraries/C and C++
-Requires:   bluez-devel
+Requires:   glibc-devel
 Requires:   libpcap1 = %{version}
-Requires:   libusb-devel
-%if %{?suse_version} >= 1210
-Requires:   libnl3-devel
-%endif
 
 %description devel
 libpcap is a library used by packet sniffer programs. It provides an
@@ -90,6 +84,20 @@
 This package is only needed if you plan to compile or write such a
 program yourself.
 
+%package devel-static
+Summary:A Library for Network Sniffers
+Group:  Development/Libraries/C and C++ 
+Requires:   %{name}-devel = %{version}
+Requires:   dbus-1-devel
+Requires:   libnl3-devel
+Requires:   pkgconfig(libusb-1.0)
+%if %{with bluetooth}
+Requires:   bluez-devel
+%endif
+
+%description devel-static
+libpcap static libraries
+
 %prep
 %setup -q
 %patch0 -p1
@@ -128,12 +136,15 @@
 %{_libdir}/*.so.*
 %doc %{_mandir}/man7/*
 
+%files devel-static
+%defattr(-, root, root)
+%{_libdir}/*.*a
+
 %files devel
 %defattr(-, root, root)
 %doc %{_mandir}/man[1-6]/*
 %{_includedir}/*
 %{_bindir}/pcap-config
 %{_libdir}/*.so
-%{_libdir}/*.*a
 
 %changelog






commit libpcap for openSUSE:Factory

2015-04-28 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2015-04-28 20:42:57

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2015-03-16 
06:53:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2015-04-28 
20:42:59.0 +0200
@@ -1,0 +2,6 @@
+Sun Apr 26 18:55:17 UTC 2015 - astie...@suse.com
+
+- libpcap 1.7.3:
+  * work around a Linux bonding driver bug.
+
+---

Old:

  libpcap-1.7.2.tar.gz
  libpcap-1.7.2.tar.gz.sig

New:

  libpcap-1.7.3.tar.gz
  libpcap-1.7.3.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.LCAzkS/_old  2015-04-28 20:43:00.0 +0200
+++ /var/tmp/diff_new_pack.LCAzkS/_new  2015-04-28 20:43:00.0 +0200
@@ -20,7 +20,7 @@
 %bcond_withbluetooth
 
 Name:   libpcap
-Version:1.7.2
+Version:1.7.3
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause

++ libpcap-1.7.2.tar.gz -> libpcap-1.7.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.7.2/CHANGES new/libpcap-1.7.3/CHANGES
--- old/libpcap-1.7.2/CHANGES   2015-03-09 20:22:07.0 +0100
+++ new/libpcap-1.7.3/CHANGES   2015-04-22 22:19:15.0 +0200
@@ -1,15 +1,27 @@
+Friday Apr. 10, 2015 g...@alum.mit.edu
+  Summary for 1.7.3 libpcap release
+   Work around a Linux bonding driver bug.
+
 Thursday Feb. 12, 2015 g...@alum.mit.edu/m...@sandelman.ca
-  Summary for 1.8.0 libpcap release
+  Summary for 1.7.2 libpcap release
Support for filtering Geneve encapsulated packets.
+   Generalize encapsulation handling, fixing some bugs.
+   Don't add null addresses to address lists.
+   Add pcap_dump_open_append() to open for appending.
+   Fix the swapping of isochronous descriptors in Linux USB.
+   Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel.
 
 Wednesday Nov. 12, 2014 g...@alum.mit.edu/m...@sandelman.ca
   Summary for 1.7.0 libpcap release
Fix handling of zones for BPF on Solaris
new DLT for ZWAVE
clarifications for read timeouts.
-   added bpf_filter1() with extensions
+   Use BPF extensions in compiled filters, fixing VLAN filters
some fixes to compilation without stdint.h
EBUSY can now be returned by SNFv3 code.
+   Fix the range checks in BPF loads
+   Various DAG fixes.
+   Various Linux fixes.
 
 Monday Aug. 12, 2014 g...@alum.mit.edu
   Summary for 1.6.2 libpcap release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.7.2/VERSION new/libpcap-1.7.3/VERSION
--- old/libpcap-1.7.2/VERSION   2015-03-09 20:23:05.0 +0100
+++ new/libpcap-1.7.3/VERSION   2015-04-22 22:19:15.0 +0200
@@ -1 +1 @@
-1.7.2
+1.7.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.7.2/config.h.in 
new/libpcap-1.7.3/config.h.in
--- old/libpcap-1.7.2/config.h.in   2015-03-09 20:22:07.0 +0100
+++ new/libpcap-1.7.3/config.h.in   2015-04-22 22:19:15.0 +0200
@@ -76,12 +76,18 @@
 /* Define to 1 if you have the  header file. */
 #undef HAVE_LINUX_ETHTOOL_H
 
+/* Define to 1 if you have the  header file. */
+#undef HAVE_LINUX_IF_BONDING_H
+
 /* Define to 1 if you have the  header file. */
 #undef HAVE_LINUX_IF_PACKET_H
 
 /* Define to 1 if you have the  header file. */
 #undef HAVE_LINUX_NET_TSTAMP_H
 
+/* Define to 1 if you have the  header file. */
+#undef HAVE_LINUX_SOCKIOS_H
+
 /* if tp_vlan_tci exists */
 #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.7.2/configure new/libpcap-1.7.3/configure
--- old/libpcap-1.7.2/configure 2015-03-09 20:22:07.0 +0100
+++ new/libpcap-1.7.3/configure 2015-04-22 22:19:15.0 +0200
@@ -4710,6 +4710,28 @@
 
 fi
 
+case "$host_os" in
+linux*)
+   for ac_header in linux/sockios.h linux/if_bonding.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
+#include 
+#include 
+
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+   ;;
+esac
+
 if test "$GCC" = yes ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AN

commit libpcap for openSUSE:Factory

2015-03-15 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2015-03-16 06:53:26

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2014-11-24 
11:11:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2015-03-16 
06:53:28.0 +0100
@@ -1,0 +2,13 @@
+Fri Mar 13 12:02:35 UTC 2015 - vci...@suse.com
+
+- update to 1.7.2
+  * Support for filtering Geneve encapsulated packets.
+  * Fix handling of zones for BPF on Solaris
+  * new DLT for ZWAVE
+  * clarifications for read timeouts.
+  * added bpf_filter1() with extensions
+  * some fixes to compilation without stdint.h
+  * EBUSY can now be returned by SNFv3 code.
+- refreshed libpcap-ocloexec.patch
+
+---

Old:

  libpcap-1.6.2.tar.gz
  libpcap-1.6.2.tar.gz.sig

New:

  libpcap-1.7.2.tar.gz
  libpcap-1.7.2.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.t1LVBc/_old  2015-03-16 06:53:28.0 +0100
+++ /var/tmp/diff_new_pack.t1LVBc/_new  2015-03-16 06:53:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %bcond_withbluetooth
 
 Name:   libpcap
-Version:1.6.2
+Version:1.7.2
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause

++ libpcap-1.6.2.tar.gz -> libpcap-1.7.2.tar.gz ++
 12616 lines of diff (skipped)

++ libpcap-ocloexec.patch ++
--- /var/tmp/diff_new_pack.t1LVBc/_old  2015-03-16 06:53:29.0 +0100
+++ /var/tmp/diff_new_pack.t1LVBc/_new  2015-03-16 06:53:29.0 +0100
@@ -18,11 +18,11 @@
  sf-pcap.c  |2 +-
  17 files changed, 39 insertions(+), 36 deletions(-)
 
-Index: libpcap-1.5.2/configure.in
+Index: libpcap-1.7.2/configure.in
 ===
 libpcap-1.5.2.orig/configure.in2013-11-07 23:23:22.0 +
-+++ libpcap-1.5.2/configure.in 2013-12-14 11:40:45.0 +
-@@ -21,7 +21,9 @@ AC_INIT(pcap.c)
+--- libpcap-1.7.2.orig/configure.in2015-03-13 13:05:08.908309397 +0100
 libpcap-1.7.2/configure.in 2015-03-13 13:05:09.885323892 +0100
+@@ -20,7 +20,9 @@ AC_INIT(pcap.c)
  AC_CANONICAL_SYSTEM
  
  AC_LBL_C_INIT_BEFORE_CC(V_CCOPT, V_INCLS)
@@ -33,11 +33,11 @@
  AC_LBL_C_INIT(V_CCOPT, V_INCLS)
  AC_LBL_SHLIBS_INIT
  AC_LBL_C_INLINE
-Index: libpcap-1.5.2/fad-gifc.c
+Index: libpcap-1.7.2/fad-gifc.c
 ===
 libpcap-1.5.2.orig/fad-gifc.c  2013-11-07 23:23:22.0 +
-+++ libpcap-1.5.2/fad-gifc.c   2013-12-14 11:40:45.0 +
-@@ -157,7 +157,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
+--- libpcap-1.7.2.orig/fad-gifc.c  2015-03-13 13:05:08.908309397 +0100
 libpcap-1.7.2/fad-gifc.c   2015-03-13 13:05:09.885323892 +0100
+@@ -152,7 +152,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
/*
 * Create a socket from which to fetch the list of interfaces.
 */
@@ -46,11 +46,11 @@
if (fd < 0) {
(void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
"socket: %s", pcap_strerror(errno));
-Index: libpcap-1.5.2/fad-glifc.c
+Index: libpcap-1.7.2/fad-glifc.c
 ===
 libpcap-1.5.2.orig/fad-glifc.c 2013-11-07 23:23:22.0 +
-+++ libpcap-1.5.2/fad-glifc.c  2013-12-14 11:40:45.0 +
-@@ -100,7 +100,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
+--- libpcap-1.7.2.orig/fad-glifc.c 2015-03-13 13:05:08.908309397 +0100
 libpcap-1.7.2/fad-glifc.c  2015-03-13 13:05:09.885323892 +0100
+@@ -95,7 +95,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
 * Create a socket from which to fetch the list of interfaces,
 * and from which to fetch IPv4 information.
 */
@@ -59,7 +59,7 @@
if (fd4 < 0) {
(void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
"socket: %s", pcap_strerror(errno));
-@@ -110,7 +110,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
+@@ -105,7 +105,7 @@ pcap_findalldevs_interfaces(pcap_if_t **
/*
 * Create a socket from which to fetch IPv6 information.
 */
@@ -68,11 +68,11 @@
i

commit libpcap for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2014-11-24 11:11:09

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2014-09-09 
18:59:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2014-11-24 
11:11:16.0 +0100
@@ -1,0 +2,8 @@
+Fri Nov 14 09:18:45 UTC 2014 - dims...@opensuse.org
+
+- No longer perform gpg validation; osc source_validator does it
+  implicit:
+  + Drop gpg-offline BuildRequires.
+  + No longer execute gpg_verify.
+
+---



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.62txr1/_old  2014-11-24 11:11:17.0 +0100
+++ /var/tmp/diff_new_pack.62txr1/_new  2014-11-24 11:11:17.0 +0100
@@ -44,9 +44,6 @@
 %if %{?suse_version} >= 1210
 BuildRequires:  libnl3-devel
 %endif
-%if 0%{?suse_version} >= 1230
-BuildRequires:  gpg-offline
-%endif
 %if %{with bluetooth}
 BuildRequires:  bluez-devel
 %endif
@@ -94,7 +91,6 @@
 program yourself.
 
 %prep
-%{?gpg_verify: %gpg_verify %{S:4}}
 %setup -q
 %patch0 -p1
 %patch1



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpcap for openSUSE:Factory

2014-09-09 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2014-09-09 18:59:43

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2014-08-25 
11:03:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2014-09-09 
18:59:53.0 +0200
@@ -1,0 +2,11 @@
+Wed Sep  3 18:46:50 UTC 2014 - andreas.stie...@gmx.de
+
+- libpcap 1.6.2:
+  * Don't crash on filters testing a non-existent link-layer type
+field.
+  * Fix sending in non-blocking mode on Linux with memory-mapped
+capture.
+  * Fix timestamps when reading pcap-ng files on big-endian
+machines.
+
+---

Old:

  libpcap-1.6.1.tar.gz
  libpcap-1.6.1.tar.gz.sig

New:

  libpcap-1.6.2.tar.gz
  libpcap-1.6.2.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.eH1ulK/_old  2014-09-09 18:59:55.0 +0200
+++ /var/tmp/diff_new_pack.eH1ulK/_new  2014-09-09 18:59:55.0 +0200
@@ -20,7 +20,7 @@
 %bcond_withbluetooth
 
 Name:   libpcap
-Version:1.6.1
+Version:1.6.2
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause

++ libpcap-1.6.1.tar.gz -> libpcap-1.6.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.6.1/CHANGES new/libpcap-1.6.2/CHANGES
--- old/libpcap-1.6.1/CHANGES   2014-07-19 15:26:03.0 +0200
+++ new/libpcap-1.6.2/CHANGES   2014-09-03 02:01:35.0 +0200
@@ -1,3 +1,12 @@
+Monday Aug. 12, 2014 g...@alum.mit.edu
+  Summary for 1.6.2 tcpdump release
+   Don't crash on filters testing a non-existent link-layer type
+   field.
+   Fix sending in non-blocking mode on Linux with memory-mapped
+   capture.
+   Fix timestamps when reading pcap-ng files on big-endian
+   machines.
+
 Saturday  Jul. 19, 2014 m...@sandelman.ca
   Summary for 1.6.1 tcpdump release
some fixes for the any device
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.6.1/VERSION new/libpcap-1.6.2/VERSION
--- old/libpcap-1.6.1/VERSION   2014-07-19 15:22:02.0 +0200
+++ new/libpcap-1.6.2/VERSION   2014-09-03 02:02:35.0 +0200
@@ -1 +1 @@
-1.6.1
+1.6.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libpcap-1.6.1/gencode.c new/libpcap-1.6.2/gencode.c
--- old/libpcap-1.6.1/gencode.c 2014-07-03 00:12:49.0 +0200
+++ new/libpcap-1.6.2/gencode.c 2014-09-03 02:01:35.0 +0200
@@ -2902,6 +2902,7 @@
register int proto;
 {
struct block *b0, *b1, *b2;
+   const char *description;
 
/* are we checking MPLS-encapsulated packets? */
if (label_stack_depth > 0) {
@@ -3418,26 +3419,36 @@
 * either missing or behind TLVs.
 */
bpf_error("NFLOG link-layer type filtering not implemented");
-   }
-
-   /*
-* All the types that have no encapsulation should either be
-* handled as DLT_SLIP, DLT_SLIP_BSDOS, and DLT_RAW are, if
-* all packets are IP packets, or should be handled in some
-* special case, if none of them are (if some are and some
-* aren't, the lack of encapsulation is a problem, as we'd
-* have to find some other way of determining the packet type).
-*
-* Therefore, if "off_linktype" is -1, there's an error.
-*/
-   if (off_linktype == (u_int)-1)
-   abort();
 
-   /*
-* Any type not handled above should always have an Ethernet
-* type at an offset of "off_linktype".
-*/
-   return gen_cmp(OR_LINK, off_linktype, BPF_H, (bpf_int32)proto);
+   default:
+   /*
+* Does this link-layer header type have a field
+* indicating the type of the next protocol?  If
+* so, off_linktype will be the offset of that
+* field in the packet; if not, it will be -1.
+*/
+   if (off_linktype != (u_int)-1) {
+   /*
+* Yes; assume it's an Ethernet type.  (If
+* it's not, it needs to be handled specially
+* above.)
+*/
+   return gen_cmp(OR_LINK, off_linktype, BPF_H, 
(bpf_int32)proto);
+   } else {
+   /*
+* No; report 

commit libpcap for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2014-08-25 11:02:59

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2014-02-17 
09:56:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2014-08-25 
11:03:24.0 +0200
@@ -1,0 +2,16 @@
+Sun Aug 17 19:50:37 UTC 2014 - andreas.stie...@gmx.de
+
+- libpcap 1.6.1:
+  * some fixes for the any device
+  * changes for how --enable-XXX works
+- includes changes from 1.6.0:
+  * fixes for byte order issues with NFLOG captures
+  * Handle using cooked mode for DLT_NETLINK in activate_new().
+removing libpcap-netlink.patch, upstream, [bnc#863823]
+  * on platforms where you can not capture on down interfaces, do
+not list them, but: do list interfaces which are down, if you
+can capture on them!
+- libpcap does not build with bluez 5.21, disable bluetooth
+  ( bluetooth/mgmt.h moved to kernel )
+
+---

Old:

  libpcap-1.5.3.tar.gz
  libpcap-1.5.3.tar.gz.sig
  libpcap-netlink.patch

New:

  libpcap-1.6.1.tar.gz
  libpcap-1.6.1.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.AqAfZS/_old  2014-08-25 11:03:25.0 +0200
+++ /var/tmp/diff_new_pack.AqAfZS/_new  2014-08-25 11:03:25.0 +0200
@@ -16,8 +16,11 @@
 #
 
 
+# bluetooth not working with bluez 5.21
+%bcond_withbluetooth
+
 Name:   libpcap
-Version:1.5.3
+Version:1.6.1
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -32,10 +35,8 @@
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
 Patch4: libpcap-ocloexec.patch
-Patch5: libpcap-netlink.patch
 BuildRequires:  automake
 BuildRequires:  bison
-BuildRequires:  bluez-devel
 BuildRequires:  dbus-1-devel
 BuildRequires:  flex
 BuildRequires:  libusb-devel
@@ -46,6 +47,9 @@
 %if 0%{?suse_version} >= 1230
 BuildRequires:  gpg-offline
 %endif
+%if %{with bluetooth}
+BuildRequires:  bluez-devel
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -97,7 +101,6 @@
 %patch2
 %patch3
 %patch4 -p1
-%patch5 -p1
 %build
 %ifarch %sparc
 pic="PIC"
@@ -107,6 +110,11 @@
 autoreconf -fiv
 export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
 %configure \
+%if %{with bluetooth}
+   --enable-bluetooth=yes \
+%else
+   --enable-bluetooth=no \
+%endif 
   --enable-ipv6
 make %{?_smp_mflags} all shared
 

++ libpcap-1.5.3.tar.gz -> libpcap-1.6.1.tar.gz ++
 9114 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpcap for openSUSE:Factory

2014-02-17 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2014-02-17 09:56:27

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2013-12-17 
10:02:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2014-02-17 
09:56:28.0 +0100
@@ -1,0 +2,20 @@
+Thu Feb 13 16:18:19 UTC 2014 - vci...@suse.com
+
+- added support for netlink (bnc#863823)
+  * libpcap-netlink.patch
+
+---
+Thu Feb 13 15:14:48 UTC 2014 - vci...@suse.com
+
+- update to 1.5.3
+  * Don't let packets that don't match the current filter get to the
+application when TPACKET_V3 is used. (GitHub issue #331)
+  * Fix handling of pcap_loop()/pcap_dispatch() with a packet count
+of 0 on some platforms (including Linux with TPACKET_V3).
+(GitHub issue #333)
+  * Work around TPACKET_V3 deficiency that causes packets to be lost
+when a timeout of 0 is specified. (GitHub issue #335)
+  * Man page formatting fixes.
+- refreshed libpcap-1.5.2-filter-fix.patch
+
+---

Old:

  libpcap-1.5.2.tar.gz
  libpcap-1.5.2.tar.gz.sig

New:

  libpcap-1.5.3.tar.gz
  libpcap-1.5.3.tar.gz.sig
  libpcap-netlink.patch



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.VPOLUT/_old  2014-02-17 09:56:28.0 +0100
+++ /var/tmp/diff_new_pack.VPOLUT/_new  2014-02-17 09:56:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
 
 
 Name:   libpcap
-Version:1.5.2
+Version:1.5.3
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -32,6 +32,7 @@
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
 Patch4: libpcap-ocloexec.patch
+Patch5: libpcap-netlink.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  bluez-devel
@@ -96,6 +97,7 @@
 %patch2
 %patch3
 %patch4 -p1
+%patch5 -p1
 %build
 %ifarch %sparc
 pic="PIC"

++ libpcap-1.5.2-filter-fix.patch ++
--- /var/tmp/diff_new_pack.VPOLUT/_old  2014-02-17 09:56:28.0 +0100
+++ /var/tmp/diff_new_pack.VPOLUT/_new  2014-02-17 09:56:28.0 +0100
@@ -3,10 +3,10 @@
  pcap-linux.c |   22 ++
  2 files changed, 23 insertions(+), 1 deletion(-)
 
-Index: libpcap-1.5.2/pcap-bpf.c
+Index: libpcap-1.5.3/pcap-bpf.c
 ===
 libpcap-1.5.2.orig/pcap-bpf.c  2013-11-07 23:23:22.0 +
-+++ libpcap-1.5.2/pcap-bpf.c   2013-12-14 11:28:40.0 +
+--- libpcap-1.5.3.orig/pcap-bpf.c  2014-02-13 17:22:30.794295046 +0100
 libpcap-1.5.3/pcap-bpf.c   2014-02-13 17:22:31.667305231 +0100
 @@ -494,7 +494,7 @@ bpf_open(pcap_t *p)
fd = open(device, O_RDWR);
if (fd == -1 && errno == EACCES)
@@ -16,11 +16,11 @@
  
/*
 * XXX better message for all minors used
-Index: libpcap-1.5.2/pcap-linux.c
+Index: libpcap-1.5.3/pcap-linux.c
 ===
 libpcap-1.5.2.orig/pcap-linux.c2013-12-03 15:11:24.0 +
-+++ libpcap-1.5.2/pcap-linux.c 2013-12-14 11:30:29.0 +
-@@ -2475,8 +2475,30 @@ pcap_setfilter_linux_common(pcap_t *hand
+--- libpcap-1.5.3.orig/pcap-linux.c2014-02-13 17:22:31.668305243 +0100
 libpcap-1.5.3/pcap-linux.c 2014-02-13 17:24:01.924357989 +0100
+@@ -2476,11 +2476,33 @@ pcap_setfilter_linux_common(pcap_t *hand
if (can_filter_in_kernel) {
if ((err = set_kernel_filter(handle, &fcode)) == 0)
{
@@ -29,8 +29,11 @@
 +  int ret;
 +  unsigned int received = 0, rec_len = 0;
 +  socklen_t optlen = sizeof(rec_len);
-   /* Installation succeded - using kernel filter. */
-   handlep->filtering_in_kernel = 1;
+   /*
+* Installation succeded - using kernel filter,
+* so userland filtering not needed.
+*/
+   handlep->filter_in_userland = 0;
 +
 +  old

commit libpcap for openSUSE:Factory

2013-12-17 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2013-12-17 10:02:07

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2013-09-23 
09:53:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2013-12-17 
10:02:08.0 +0100
@@ -1,0 +2,21 @@
+Sat Dec 14 12:08:46 UTC 2013 - andreas.stie...@gmx.de
+
+- update to 1.5.2
+  Version 1.5.0 revised for non-code related edits Version,
+  1.5.1 revised for for interop against Linux 3.1.0
+  * TPACKET_V3 support added for Linux
+  * Point users to the the-tcpdump-group repository on GitHub
+rather than the mcr repository
+  * Checks added for malloc()/realloc()/etc. failures
+  * Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
+  * Use "ln -s" to link man pages by default
+  * Added pcap_open_dead_with_tstamp_precision API interface.
+  * Many changes to autoconf to deal better with non-GCC compilers
+added many new DLT types 
+- require pkg-config for devel library support detection
+- add support for D-Bus capture
+- modified patches for upstream changes:
+  * libpcap-ocloexec.patch
+  * libpcap-1.0.0-filter-fix.patch to libpcap-1.5.2-filter-fix.patch
+
+---

Old:

  libpcap-1.0.0-filter-fix.patch
  libpcap-1.4.0.tar.gz
  libpcap-1.4.0.tar.gz.sig

New:

  libpcap-1.5.2-filter-fix.patch
  libpcap-1.5.2.tar.gz
  libpcap-1.5.2.tar.gz.sig



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.gB6O6H/_old  2013-12-17 10:02:09.0 +0100
+++ /var/tmp/diff_new_pack.gB6O6H/_new  2013-12-17 10:02:09.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libpcap
-Version:1.4.0
+Version:1.5.2
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -27,7 +27,7 @@
 Source2:baselibs.conf
 Source3:http://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
 Source4:http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
-Patch0: libpcap-1.0.0-filter-fix.patch
+Patch0: libpcap-1.5.2-filter-fix.patch
 Patch1: libpcap-1.0.0-pcap-bpf.patch
 Patch2: libpcap-1.0.0-ppp.patch
 Patch3: libpcap-1.0.0-s390.patch
@@ -35,8 +35,10 @@
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  bluez-devel
+BuildRequires:  dbus-1-devel
 BuildRequires:  flex
 BuildRequires:  libusb-devel
+BuildRequires:  pkg-config
 %if %{?suse_version} >= 1210
 BuildRequires:  libnl3-devel
 %endif
@@ -89,7 +91,7 @@
 %prep
 %{?gpg_verify: %gpg_verify %{S:4}}
 %setup -q
-%patch0
+%patch0 -p1
 %patch1
 %patch2
 %patch3

++ libpcap-1.0.0-filter-fix.patch -> libpcap-1.5.2-filter-fix.patch ++
--- /work/SRC/openSUSE:Factory/libpcap/libpcap-1.0.0-filter-fix.patch   
2012-01-11 15:38:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap-1.5.2-filter-fix.patch  
2013-12-17 10:02:08.0 +0100
@@ -1,8 +1,13 @@
-Index: pcap-bpf.c
+---
+ pcap-bpf.c   |2 +-
+ pcap-linux.c |   22 ++
+ 2 files changed, 23 insertions(+), 1 deletion(-)
+
+Index: libpcap-1.5.2/pcap-bpf.c
 ===
 pcap-bpf.c.orig
-+++ pcap-bpf.c
-@@ -483,7 +483,7 @@ bpf_open(pcap_t *p)
+--- libpcap-1.5.2.orig/pcap-bpf.c  2013-11-07 23:23:22.0 +
 libpcap-1.5.2/pcap-bpf.c   2013-12-14 11:28:40.0 +
+@@ -494,7 +494,7 @@ bpf_open(pcap_t *p)
fd = open(device, O_RDWR);
if (fd == -1 && errno == EACCES)
fd = open(device, O_RDONLY);
@@ -11,11 +16,11 @@
  
/*
 * XXX better message for all minors used
-Index: pcap-linux.c
+Index: libpcap-1.5.2/pcap-linux.c
 ===
 pcap-linux.c.orig
-+++ pcap-linux.c
-@@ -2421,8 +2421,30 @@ pcap_setfilter_linux_common(pcap_t *hand
+--- libpcap-1.5.2.orig/pcap-linux.c2013-12-03 15:11:24.0 +
 libpcap-1.5.2/pcap-linux.c 2013-12-14 11:30:29.0 +
+@@ -2475,8 +2475,30 @@ pcap_setfilter_linux_common(pcap_t *hand
if (can_filter_in_kernel) {
if ((err = set_kernel_filter(handle, &fcode)) == 0)
{
@@ -25,7 +30,7 @@
 +  unsigned int received = 0, rec_len = 0;
 +  socklen_t optlen = sizeof(rec_len);
/* Installation succeded - using kernel filter. */
-   handle->md.use_bpf = 1;
+  

commit libpcap for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2013-09-23 09:53:15

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2012-08-31 
09:37:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2013-09-23 
09:53:17.0 +0200
@@ -1,0 +2,37 @@
+Fri Sep 13 19:35:02 UTC 2013 - andreas.stie...@gmx.de
+
+- update to 1.4.0:
+  * add netfilter/nfqueue interface
+  * support IPv6 filter expressions when no IPv6 address resolution
+availavle
+  * Fix pcap-config to include -lpthread if canusb support is
+present
+  * Try to fix "pcap_parse not defined" problems when --without-flex
+and --without-bison are used when you have Flex and Bison
+  * Fix some issues with the pcap_loop man page.
+  * Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
+supplied error message buffer
+  * Fix typo that, it appeared, would cause pcap-libdlpi.c not to
+compile (perhaps systems with libdlpi also have BPF and use
+that instead)
+  * Catch attempts to call pcap_compile() on a non-activated pcap_t
+  * Fix crash on Linux with CAN-USB support without usbfs
+  * Fix addition of VLAN tags for Linux cooked captures
+  * Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
+that the driver can report either one if it doesn't support
+SIOCETHTOOL
+  * Add DLT_INFINIBAND and DLT_SCTP
+  * Describe "proto XXX" and "protochain XXX" in the pcap-filter man
+page
+  * Handle either directories, or symlinks to directories, that
+correspond to interfaces in /sys/class/net
+  * Fix handling of VLAN tag insertion to check, on Linux 3.x
+kernels, for VLAN tag valid flag
+  * Clean up some man pages
+  * Support libnl3 as well as libnl1 and libnl2 on Linux
+- packaging changes:
+  * build with libnl
+  * refresh libpcap-ocloexec.patch for upstream changes
+  * verify source signatures
+
+---

Old:

  libpcap-1.3.0.tar.gz

New:

  libpcap-1.4.0.tar.gz
  libpcap-1.4.0.tar.gz.sig
  libpcap.keyring



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.Eo6k7w/_old  2013-09-23 09:53:18.0 +0200
+++ /var/tmp/diff_new_pack.Eo6k7w/_new  2013-09-23 09:53:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -17,7 +17,7 @@
 
 
 Name:   libpcap
-Version:1.3.0
+Version:1.4.0
 Release:0
 Summary:A Library for Network Sniffers
 License:BSD-3-Clause
@@ -25,6 +25,8 @@
 Url:http://www.tcpdump.org/
 Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
 Source2:baselibs.conf
+Source3:http://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
+Source4:http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
 Patch0: libpcap-1.0.0-filter-fix.patch
 Patch1: libpcap-1.0.0-pcap-bpf.patch
 Patch2: libpcap-1.0.0-ppp.patch
@@ -35,6 +37,12 @@
 BuildRequires:  bluez-devel
 BuildRequires:  flex
 BuildRequires:  libusb-devel
+%if %{?suse_version} >= 1210
+BuildRequires:  libnl3-devel
+%endif
+%if 0%{?suse_version} >= 1230
+BuildRequires:  gpg-offline
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -65,7 +73,12 @@
 %package devel
 Summary:A Library for Network Sniffers
 Group:  Development/Libraries/C and C++
+Requires:   bluez-devel
 Requires:   libpcap1 = %{version}
+Requires:   libusb-devel
+%if %{?suse_version} >= 1210
+Requires:   libnl3-devel
+%endif
 
 %description devel
 libpcap is a library used by packet sniffer programs. It provides an
@@ -74,12 +87,13 @@
 program yourself.
 
 %prep
+%{?gpg_verify: %gpg_verify %{S:4}}
 %setup -q
 %patch0
 %patch1
 %patch2
 %patch3
-%patch4
+%patch4 -p1
 %build
 %ifarch %sparc
 pic="PIC"

++ libpcap-1.3.0.tar.gz -> libpcap-1.4.0.tar.gz ++
 18708 lines of diff (skipped)

++ libpcap-ocloexec.patch ++
 602 lines (skipped)
 between /work/SRC/openSUSE:Factory/libpcap/libpcap-ocloexec.patch
 and /work/SRC/openSUSE:Factory/.libpcap.new/libpcap-ocloexec.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@o

commit libpcap for openSUSE:Factory

2012-03-02 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2012-03-02 13:48:48

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap", Maintainer is "vci...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2012-01-11 
15:38:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2012-03-02 
13:48:53.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 28 14:43:12 CET 2012 - jsl...@suse.de
+
+- make it work also on kernels without netfilter (bnc#746356)
+
+---

New:

  libpcap-1.2.1-netfilter-dont-fail-on-EPROTONOSUPPORT.patch



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.66I2Ar/_old  2012-03-02 13:48:54.0 +0100
+++ /var/tmp/diff_new_pack.66I2Ar/_new  2012-03-02 13:48:54.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   libpcap
 Version:1.2.1
 Release:0
@@ -32,6 +33,7 @@
 Patch5: libpcap-1.0.0-man.patch
 Patch6: libpcap-1.0.0-mac_syntax.patch
 Patch7: libpcap-1.1.1-scanif.patch
+Patch8: libpcap-1.2.1-netfilter-dont-fail-on-EPROTONOSUPPORT.patch
 BuildRequires:  bison
 BuildRequires:  bluez-devel
 BuildRequires:  flex
@@ -83,6 +85,7 @@
 %patch5
 %patch6
 %patch7
+%patch8 -p1
 
 %build
 %ifarch %sparc

++ libpcap-1.2.1-netfilter-dont-fail-on-EPROTONOSUPPORT.patch ++
>From 5fad270aaa970512fc2aaf8f2ea361b247bb7477 Mon Sep 17 00:00:00 2001
From: Jiri Slaby 
Date: Tue, 28 Feb 2012 14:36:43 +0100
Subject: [PATCH] netfilter: don't fail on EPROTONOSUPPORT

EPROTONOSUPPORT is what I get from the kernel if I don't have netfilter enabled.

This bug prevents tcpdump/wireshark to work properly:
tcpdump: Can't open netlink socket 93:Protocol not supported
---
 pcap-netfilter-linux.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pcap-netfilter-linux.c b/pcap-netfilter-linux.c
index 225e49f..86235d1 100644
--- a/pcap-netfilter-linux.c
+++ b/pcap-netfilter-linux.c
@@ -452,8 +452,8 @@ struct my_nfattr {

sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_NETFILTER);
if (sock < 0) {
-   /* if netlink is not supported this this is not fatal */
-   if (errno == EAFNOSUPPORT)
+   /* if netlink is not supported, this is not fatal */
+   if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT)
return 0;
snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't open netlink socket 
%d:%s",
errno, pcap_strerror(errno));
-- 
1.7.5.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpcap for openSUSE:Factory

2012-01-11 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2012-01-11 15:37:11

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap", Maintainer is "vci...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes  2011-09-23 
02:09:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2012-01-11 
15:38:10.0 +0100
@@ -1,0 +2,21 @@
+Tue Jan  3 14:35:47 UTC 2012 - pu...@suse.com
+
+- update to libpcap-1.2.1 
+  - Support 802.1 QinQ as a form of VLAN in filters.
+  - Treat "carp" as equivalent to "vrrp" in filters.
+  - Fix code generated for "ip6 protochain".
+  - Add some new link-layer header types.
+  - Support capturing NetFilter log messages on Linux.
+  - Turn off monitor mode on exit for mac80211 interfaces on Linux.
+  - Fix problems turning monitor mode on for non-mac80211 interfaces
+  -  on Linux.
+  - Properly fail if /sys/class/net or /proc/net/dev exist but can't
+  -  be opened.
+  - Fail if pcap_activate() is called on an already-activated
+  -  pcap_t, and add a test program for that.
+  - Fix filtering in pcap-ng files.
+  - Simplify handling of new DLT_/LINKTYPE_ values.
+  - Expand pcap(3PCAP) man page.
+- drop libpcap-fix-calculation-of-frame-size.patch (upstream)
+
+---

Old:

  libpcap-1.1.1.tar.bz2
  libpcap-fix-calculation-of-frame-size.patch

New:

  libpcap-1.2.1.tar.gz



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.8uBxj4/_old  2012-01-11 15:38:13.0 +0100
+++ /var/tmp/diff_new_pack.8uBxj4/_new  2012-01-11 15:38:13.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcap
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,16 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   libpcap
-Version:1.1.1
-Release:9
-License:BSD-3-Clause
+Version:1.2.1
+Release:0
 Summary:A Library for Network Sniffers
-Url:http://www.tcpdump.org/
+License:BSD-3-Clause
 Group:  System/Libraries
-Source: %{name}-%{version}.tar.bz2
+Url:http://www.tcpdump.org/
+Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
 Source2:baselibs.conf
 Patch0: libpcap-1.0.0-filter-fix.patch
 Patch1: libpcap-1.0.0-fcode.patch
@@ -34,7 +32,6 @@
 Patch5: libpcap-1.0.0-man.patch
 Patch6: libpcap-1.0.0-mac_syntax.patch
 Patch7: libpcap-1.1.1-scanif.patch
-Patch8: libpcap-fix-calculation-of-frame-size.patch
 BuildRequires:  bison
 BuildRequires:  bluez-devel
 BuildRequires:  flex
@@ -47,7 +44,6 @@
 program yourself.
 
 %package -n libpcap1
-License:BSD-3-Clause
 Summary:A Library for Network Sniffers
 Group:  System/Libraries
 # bug437293
@@ -67,7 +63,6 @@
 program yourself.
 
 %package devel
-License:BSD-3-Clause
 Summary:A Library for Network Sniffers
 Group:  Development/Libraries/C and C++
 Requires:   libpcap1 = %{version}
@@ -88,7 +83,6 @@
 %patch5
 %patch6
 %patch7
-%patch8 -p1
 
 %build
 %ifarch %sparc

++ libpcap-1.0.0-fcode.patch ++
--- /var/tmp/diff_new_pack.8uBxj4/_old  2012-01-11 15:38:13.0 +0100
+++ /var/tmp/diff_new_pack.8uBxj4/_new  2012-01-11 15:38:13.0 +0100
@@ -1,6 +1,8 @@
 pcap-linux.c
+Index: pcap-linux.c
+===
+--- pcap-linux.c.orig
 +++ pcap-linux.c
-@@ -1060,6 +1060,9 @@
+@@ -2313,6 +2313,9 @@ pcap_setfilter_linux_common(pcap_t *hand
struct sock_fprog   fcode;
int can_filter_in_kernel;
int err = 0;
@@ -10,7 +12,7 @@
  #endif
  
if (!handle)
-@@ -1094,8 +1097,6 @@
+@@ -2347,8 +2350,6 @@ pcap_setfilter_linux_common(pcap_t *hand
 * sake of correctness I added this check.
 */
fprintf(stderr, "Warning: Filter too complex for kernel\n");

++ libpcap-1.0.0-filter-fix.patch ++
--- /var/tmp/diff_new_pack.8uBxj4/_old  2012-01-11 15:38:13.0 +0100
+++ /var/tmp/diff_new_pack.8uBxj4/_new  2012-01-11 15:38:13.0 +0100
@@ -1,6 +1,8 @@
 pcap-bpf.c
+Index: pcap-bpf.c
+===
+--- pc

commit libpcap for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory checked 
in at 2011-12-06 18:25:08

Comparing /work/SRC/openSUSE:Factory/libpcap (Old)
 and  /work/SRC/openSUSE:Factory/.libpcap.new (New)


Package is "libpcap", Maintainer is "vci...@suse.com"

Changes:




Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.StLme3/_old  2011-12-06 18:43:53.0 +0100
+++ /var/tmp/diff_new_pack.StLme3/_new  2011-12-06 18:43:53.0 +0100
@@ -20,7 +20,7 @@
 Name:   libpcap
 Version:1.1.1
 Release:9
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:A Library for Network Sniffers
 Url:http://www.tcpdump.org/
 Group:  System/Libraries
@@ -47,7 +47,7 @@
 program yourself.
 
 %package -n libpcap1
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:A Library for Network Sniffers
 Group:  System/Libraries
 # bug437293
@@ -67,7 +67,7 @@
 program yourself.
 
 %package devel
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:A Library for Network Sniffers
 Group:  Development/Libraries/C and C++
 Requires:   libpcap1 = %{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpcap for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory
checked in at Mon Sep 19 21:12:46 CEST 2011.




--- libpcap/libpcap.changes 2011-05-19 16:13:33.0 +0200
+++ /mounts/work_src_done/STABLE/libpcap/libpcap.changes2011-09-17 
00:24:15.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 16 17:25:31 UTC 2011 - jeng...@medozas.de
+
+- Add libpcap-devel to baselibs
+- Remove redundant tags/sections
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.45YpvH/_old  2011-09-19 21:12:43.0 +0200
+++ /var/tmp/diff_new_pack.45YpvH/_new  2011-09-19 21:12:43.0 +0200
@@ -105,9 +105,6 @@
 mkdir -p %{buildroot}%{_bindir}
 make DESTDIR=%{buildroot} install install-shared
 
-%clean
-rm -rf %{buildroot}
-
 %post -n libpcap1 -p /sbin/ldconfig
 
 %postun -n libpcap1 -p /sbin/ldconfig

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.45YpvH/_old  2011-09-19 21:12:43.0 +0200
+++ /var/tmp/diff_new_pack.45YpvH/_new  2011-09-19 21:12:43.0 +0200
@@ -1 +1,4 @@
 libpcap1
+libpcap-devel
+   requires -libpcap-
+   requires "libpcap1- = "






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpcap for openSUSE:Factory

2011-05-20 Thread h_root

Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory
checked in at Fri May 20 14:47:01 CEST 2011.




--- libpcap/libpcap.changes 2011-05-12 09:08:16.0 +0200
+++ /mounts/work_src_done/STABLE/libpcap/libpcap.changes2011-05-19 
16:13:33.0 +0200
@@ -1,0 +2,6 @@
+Thu May 19 14:12:36 UTC 2011 - pu...@novell.com
+
+- add libpcap-fix-calculation-of-frame-size.patch (bnc#694779)
+- clean up specfile
+
+---

calling whatdependson for head-i586


New:

  libpcap-fix-calculation-of-frame-size.patch



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.h2lAIY/_old  2011-05-20 14:46:26.0 +0200
+++ /var/tmp/diff_new_pack.h2lAIY/_new  2011-05-20 14:46:26.0 +0200
@@ -15,16 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   libpcap
 Version:1.1.1
-Release:7
-Group:  System/Libraries
+Release:9
 License:BSD3c(or similar)
-Url:http://www.tcpdump.org/
 Summary:A Library for Network Sniffers
+Url:http://www.tcpdump.org/
+Group:  System/Libraries
 Source: %{name}-%{version}.tar.bz2
 Source2:baselibs.conf
 Patch0: libpcap-1.0.0-filter-fix.patch
@@ -35,10 +34,11 @@
 Patch5: libpcap-1.0.0-man.patch
 Patch6: libpcap-1.0.0-mac_syntax.patch
 Patch7: libpcap-1.1.1-scanif.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Patch8: libpcap-fix-calculation-of-frame-size.patch
 BuildRequires:  bison
 BuildRequires:  bluez-devel
 BuildRequires:  flex
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 libpcap is a library used by packet sniffer programs. It provides an
@@ -46,21 +46,6 @@
 This package is only needed if you plan to compile or write such a
 program yourself.
 
-
-
-Authors:
-
-Bill Fenner 
-Assar Westerlund 
-Alexei 
-Jun-ichiro itojun Hagino 
-Guy Harris 
-Torsten Landschoff 
-Michael Richardson 
-Steve McCanne
-Craig Leres
-Van Jacobson
-
 %package -n libpcap1
 License:BSD3c(or similar)
 Summary:A Library for Network Sniffers
@@ -81,21 +66,6 @@
 This package is only needed if you plan to compile or write such a
 program yourself.
 
-
-
-Authors:
-
-Bill Fenner 
-Assar Westerlund 
-Alexei 
-Jun-ichiro itojun Hagino 
-Guy Harris 
-Torsten Landschoff 
-Michael Richardson 
-Steve McCanne
-Craig Leres
-Van Jacobson
-
 %package devel
 License:BSD3c(or similar)
 Summary:A Library for Network Sniffers
@@ -108,21 +78,6 @@
 This package is only needed if you plan to compile or write such a
 program yourself.
 
-
-
-Authors:
-
-Bill Fenner 
-Assar Westerlund 
-Alexei 
-Jun-ichiro itojun Hagino 
-Guy Harris 
-Torsten Landschoff 
-Michael Richardson 
-Steve McCanne
-Craig Leres
-Van Jacobson
-
 %prep
 %setup -q
 %patch0
@@ -133,6 +88,7 @@
 %patch5
 %patch6
 %patch7
+%patch8 -p1
 
 %build
 %ifarch %sparc
@@ -140,17 +96,17 @@
 %else
 pic="pic"
 %endif
-export CFLAGS="$RPM_OPT_FLAGS -f$pic" CXXFLAGS="$RPM_OPT_FLAGS -f$pic"
+export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
 %configure \
   --enable-ipv6
 make %{?_smp_mflags} all shared
 
 %install
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-make DESTDIR=$RPM_BUILD_ROOT install install-shared
+mkdir -p %{buildroot}%{_bindir}
+make DESTDIR=%{buildroot} install install-shared
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post -n libpcap1 -p /sbin/ldconfig
 

++ libpcap-fix-calculation-of-frame-size.patch ++
>From ea9432fabdf4b33cbc76d9437200e028f1c47c93 Mon Sep 17 00:00:00 2001
From: Julien Moutinho 
Date: Tue, 22 Mar 2011 23:53:15 -0700
Subject: [PATCH] Fix the calculation of the frame size in memory-mapped 
captures.

The old calculation truncated packets to a smaller value than the
snapshot length.
---
 pcap-linux.c |   51 ---
 1 files changed, 48 insertions(+), 3 deletions(-)

Index: libpcap-1.1.1/pcap-linux.c
===
--- libpcap-1.1.1.orig/pcap-linux.c
+++ libpcap-1.1.1/pcap-linux.c
@@ -3083,15 +3083,58 @@ create_ring(pcap_t *handle)
 {
unsigned i, j, frames_per_block;
struct tpacket_req req;
+   socklen_t len;
+   unsigned int sk_type, tp_reserve, maclen, tp_hdrlen, netoff, macoff;
 
/* Note that with large snapshot (say 64K) only a few frames 
 * will be available in the ring even with pretty large ring size
 * (and a lot of memory will be unused). 
 * The snap len should be carefully chosen to achive best
 * performan

commit libpcap for openSUSE:Factory

2011-05-16 Thread h_root

Hello community,

here is the log from the commit of package libpcap for openSUSE:Factory
checked in at Mon May 16 09:39:34 CEST 2011.




--- libpcap/libpcap.changes 2010-04-06 11:03:48.0 +0200
+++ /mounts/work_src_done/STABLE/libpcap/libpcap.changes2011-05-12 
09:08:16.0 +0200
@@ -1,0 +2,5 @@
+Mon Mar 14 14:19:41 CST 2011 - cy...@novell.com
+- fix bug#674278: pcap_findalldevs error with bonding device
+  libpcap-1.1.1-scanif.patch
+
+---

calling whatdependson for head-i586


New:

  libpcap-1.1.1-scanif.patch



Other differences:
--
++ libpcap.spec ++
--- /var/tmp/diff_new_pack.PbGk9A/_old  2011-05-16 09:31:23.0 +0200
+++ /var/tmp/diff_new_pack.PbGk9A/_new  2011-05-16 09:31:23.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libpcap (Version 1.1.1)
+# spec file for package libpcap
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -20,7 +20,7 @@
 
 Name:   libpcap
 Version:1.1.1
-Release:1
+Release:7
 Group:  System/Libraries
 License:BSD3c(or similar)
 Url:http://www.tcpdump.org/
@@ -34,6 +34,7 @@
 Patch4: libpcap-1.0.0-s390.patch
 Patch5: libpcap-1.0.0-man.patch
 Patch6: libpcap-1.0.0-mac_syntax.patch
+Patch7: libpcap-1.1.1-scanif.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  bluez-devel
@@ -131,6 +132,7 @@
 %patch4
 %patch5
 %patch6
+%patch7
 
 %build
 %ifarch %sparc

++ libpcap-1.1.1-scanif.patch ++
pcap_findalldevs was failing when use bonding device.

In /sys/class/net, there are these for bonding:
drwxr-xr-x 4 root root 0 Apr 27 16:12 bond0
-rw-r--r-- 1 root root 4096 Apr 27 16:11 bonding_masters

When scan_sys_class_net encounters the bonding_masters file, the ioctl below 
fails with "no device".

This patch fixes it.
Index: pcap-linux.c
===
--- pcap-linux.c
+++ pcap-linux.c
@@ -1883,7 +1883,7 @@ scan_sys_class_net(pcap_if_t **devlistp,
 */
strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name));
if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) {
-   if (errno == ENXIO)
+   if (errno == ENXIO || errno == ENODEV)
continue;
(void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
"SIOCGIFFLAGS: %.*s: %s",





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org