libpcap: bump to version 1.7.2
Drop upstream patch (uclinux), adapt libnl patch to new version. And add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2bad1aba2f
commit
7b99794de1
@ -1,16 +1,19 @@
|
||||
Remove hardcoded path to libnl3 include directory
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
[Gustavo: update for 1.7.2]
|
||||
|
||||
Index: b/configure.in
|
||||
===================================================================
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -445,7 +445,6 @@
|
||||
diff -Nura libpcap-1.7.2.orig/configure.in libpcap-1.7.2/configure.in
|
||||
--- libpcap-1.7.2.orig/configure.in 2015-03-11 10:02:44.416189921 -0300
|
||||
+++ libpcap-1.7.2/configure.in 2015-03-11 10:03:03.967633673 -0300
|
||||
@@ -466,9 +466,8 @@
|
||||
AC_DEFINE(HAVE_LIBNL_3_x,1,[if libnl exists and is version 3.x])
|
||||
AC_DEFINE(HAVE_LIBNL_NLE,1,[libnl has NLE_FAILURE])
|
||||
AC_DEFINE(HAVE_LIBNL_SOCKETS,1,[libnl has new-style socket api])
|
||||
- V_INCLS="$V_INCLS -I/usr/include/libnl3"
|
||||
- V_INCLS="$V_INCLS ${incdir}"
|
||||
have_any_nl="yes"
|
||||
])
|
||||
- ],[], ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 )
|
||||
+ ],[], ${libnldir} -lnl-genl-3 -lnl-3 )
|
||||
|
||||
if test x$have_any_nl = xno ; then
|
||||
#
|
||||
|
@ -1,39 +0,0 @@
|
||||
From a904d1e35be72d0821a6680a75060815bce86642 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <a904d1e35be72d0821a6680a75060815bce86642.1406266983.git.baruch@tkos.co.il>
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Fri, 25 Jul 2014 07:28:47 +0300
|
||||
Subject: [PATCH] configure.in: uclinux is also linux
|
||||
|
||||
Also we need -lpthread for the test to build for noMMU targets.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
configure.in | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 4530aed3a7d0..63f708b9b855 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -1539,7 +1539,7 @@ AC_ARG_ENABLE([canusb],
|
||||
if test "x$enable_canusb" != "xno" ; then
|
||||
dnl check for canusb support
|
||||
case "$host_os" in
|
||||
- linux*)
|
||||
+ linux*|uclinux*)
|
||||
AC_CHECK_HEADER(libusb-1.0/libusb.h,
|
||||
[
|
||||
AC_CHECK_LIB(usb-1.0, libusb_init,
|
||||
@@ -1549,7 +1549,8 @@ if test "x$enable_canusb" != "xno" ; then
|
||||
LIBS="-lusb-1.0 -lpthread $LIBS"
|
||||
ac_lbl_has_libusb=yes
|
||||
],
|
||||
- ac_lbl_has_libusb=no
|
||||
+ ac_lbl_has_libusb=no,
|
||||
+ -lpthread
|
||||
)
|
||||
],
|
||||
ac_lbl_has_libusb=no
|
||||
--
|
||||
2.0.1
|
||||
|
2
package/libpcap/libpcap.hash
Normal file
2
package/libpcap/libpcap.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 1a4abc1f268b68f97e69a497f53695c9acc7a13f1d522a4d940dea276e6698ae libpcap-1.7.2.tar.gz
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPCAP_VERSION = 1.6.2
|
||||
LIBPCAP_VERSION = 1.7.2
|
||||
LIBPCAP_SITE = http://www.tcpdump.org/release
|
||||
LIBPCAP_LICENSE = BSD-3c
|
||||
LIBPCAP_LICENSE_FILES = LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user