From 531ceebec63e9ee60a85a4682925f152c788105d Mon Sep 17 00:00:00 2001 From: suvari Date: Fri, 17 Feb 2017 21:20:22 +0300 Subject: [PATCH] libpcap: ver. bump to 1.8.1 --- .../libpcap/files/disable-remote.diff | 29 +++++++++++++++++++ network/analyzer/libpcap/pspec.xml | 12 ++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 network/analyzer/libpcap/files/disable-remote.diff diff --git a/network/analyzer/libpcap/files/disable-remote.diff b/network/analyzer/libpcap/files/disable-remote.diff new file mode 100644 index 0000000000..982542ec4f --- /dev/null +++ b/network/analyzer/libpcap/files/disable-remote.diff @@ -0,0 +1,29 @@ +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 diff --git a/network/analyzer/libpcap/pspec.xml b/network/analyzer/libpcap/pspec.xml index b40a4baff2..634f512337 100644 --- a/network/analyzer/libpcap/pspec.xml +++ b/network/analyzer/libpcap/pspec.xml @@ -12,7 +12,7 @@ library A system-independent library for user-level network packet capture libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc. - http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz + http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz bluez-libs-devel libnl-devel @@ -23,6 +23,7 @@ libpcap-1.7.4-enable_bluetooth-1.patch + disable-remote.diff @@ -55,6 +56,13 @@ + + 2016-06-09 + 1.8.1 + Version Bump + Kamil Atlı + suvari@pisilinux.org + 2016-06-09 1.7.4 @@ -70,4 +78,4 @@ ertugrulerata@gmail.com - + \ No newline at end of file