[packages/libpcap] - updated to 1.8.1 - updated usb,libnl patches - removed obsolete bluetooth patch
qboosh
qboosh at pld-linux.org
Thu Jan 12 22:10:16 CET 2017
commit 7cbd509c58d68fb7714d24425a6321b2829443f3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jan 12 22:11:31 2017 +0100
- updated to 1.8.1
- updated usb,libnl patches
- removed obsolete bluetooth patch
libpcap-bluetooth.patch | 28 ----------------------------
libpcap-libnl.patch | 4 ++--
libpcap-usb.patch | 4 ++--
libpcap.spec | 16 +++++++---------
4 files changed, 11 insertions(+), 41 deletions(-)
---
diff --git a/libpcap.spec b/libpcap.spec
index efab2e8..24d319e 100644
--- a/libpcap.spec
+++ b/libpcap.spec
@@ -10,17 +10,16 @@ Summary(pt_BR.UTF-8): A libpcap fornece acesso ao modo promíscuo em interfaces
Summary(ru.UTF-8): Предоставляет доступ к сетевым интерфейсам в promiscuous-режиме
Summary(uk.UTF-8): Надає доступ до мережевих інтерфейсів в promiscuous-режимі
Name: libpcap
-Version: 1.7.4
+Version: 1.8.1
Release: 1
Epoch: 2
License: BSD
Group: Libraries
Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: b2e13142bbaba857ab1c6894aedaf547
-Patch0: %{name}-bluetooth.patch
-Patch1: %{name}-usb.patch
-Patch2: %{name}-pf_ring.patch
-Patch3: %{name}-libnl.patch
+# Source0-md5: 3d48f9cd171ff12b0efd9134b52f1447
+Patch0: %{name}-usb.patch
+Patch1: %{name}-pf_ring.patch
+Patch2: %{name}-libnl.patch
URL: http://www.tcpdump.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
@@ -156,9 +155,8 @@ Статична бібліотека, необхідна для програм
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%{?with_pfring:%patch2 -p0}
-%patch3 -p1
+%{?with_pfring:%patch1 -p0}
+%patch2 -p1
%build
cp -f /usr/share/automake/config.sub .
diff --git a/libpcap-bluetooth.patch b/libpcap-bluetooth.patch
deleted file mode 100644
index 6bb89fd..0000000
--- a/libpcap-bluetooth.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -urN libpcap-1.6.1.org/pcap-bt-monitor-linux.c libpcap-1.6.1/pcap-bt-monitor-linux.c
---- libpcap-1.6.1.org/pcap-bt-monitor-linux.c 2014-07-03 00:12:49.000000000 +0200
-+++ libpcap-1.6.1/pcap-bt-monitor-linux.c 2014-07-20 16:53:44.000000000 +0200
-@@ -39,7 +39,6 @@
-
- #include <bluetooth/bluetooth.h>
- #include <bluetooth/hci.h>
--#include <bluetooth/mgmt.h>
-
- #include "pcap/bluetooth.h"
- #include "pcap-int.h"
-@@ -47,6 +46,16 @@
- #define BT_CONTROL_SIZE 32
- #define INTERFACE_NAME "bluetooth-monitor"
-
-+#ifndef MGMT_HDR_SIZE
-+#define MGMT_HDR_SIZE 6
-+
-+struct mgmt_hdr {
-+ uint16_t opcode;
-+ uint16_t index;
-+ uint16_t len;
-+} __packed;
-+#endif
-+
- int
- bt_monitor_findalldevs(pcap_if_t **alldevsp, char *err_str)
- {
diff --git a/libpcap-libnl.patch b/libpcap-libnl.patch
index f47cb11..f025890 100644
--- a/libpcap-libnl.patch
+++ b/libpcap-libnl.patch
@@ -1,5 +1,5 @@
---- libpcap-1.7.4/configure.in.orig 2015-07-05 13:45:40.844741072 +0200
-+++ libpcap-1.7.4/configure.in 2015-07-05 14:14:49.988000998 +0200
+--- libpcap-1.8.1/configure.ac.orig 2015-07-05 13:45:40.844741072 +0200
++++ libpcap-1.8.1/configure.ac 2015-07-05 14:14:49.988000998 +0200
@@ -458,9 +458,9 @@
incdir=-I/usr/include/libnl3
diff --git a/libpcap-usb.patch b/libpcap-usb.patch
index 41b26bb..93dbd6e 100644
--- a/libpcap-usb.patch
+++ b/libpcap-usb.patch
@@ -1,5 +1,5 @@
---- libpcap-1.3.0/configure.in.orig 2012-03-29 15:42:04.000000000 +0200
-+++ libpcap-1.3.0/configure.in 2012-06-25 17:23:24.365976729 +0200
+--- libpcap-1.8.1/configure.ac.orig 2012-03-29 15:42:04.000000000 +0200
++++ libpcap-1.8.1/configure.ac 2012-06-25 17:23:24.365976729 +0200
@@ -1275,10 +1275,7 @@
AC_DEFINE(PCAP_SUPPORT_USB, 1, [target host supports USB sniffing])
USB_SRC=pcap-usb-linux.c
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libpcap.git/commitdiff/7cbd509c58d68fb7714d24425a6321b2829443f3
More information about the pld-cvs-commit
mailing list