Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
Remove hardcoded path to libnl3 include directory
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
[Gustavo: update for 1.7.2]
|
||||
|
||||
diff -Nura libpcap-1.7.2.orig/configure.in libpcap-1.7.2/configure.in
|
||||
--- libpcap-1.7.2.orig/configure.in 2015-03-14 08:02:05.538706347 -0300
|
||||
+++ libpcap-1.7.2/configure.in 2015-03-14 08:17:22.637519050 -0300
|
||||
@@ -461,14 +461,13 @@
|
||||
#
|
||||
# Yes, we have libnl 3.x.
|
||||
#
|
||||
- LIBS="${libnldir} -lnl-genl-3 -lnl-3 $LIBS"
|
||||
+ LIBS="-lnl-genl-3 -lnl-3 $LIBS"
|
||||
AC_DEFINE(HAVE_LIBNL,1,[if libnl exists])
|
||||
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 ${incdir}"
|
||||
have_any_nl="yes"
|
||||
- ],[], ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 )
|
||||
+ ],[], -lnl-genl-3 -lnl-3 )
|
||||
|
||||
if test x$have_any_nl = xno ; then
|
||||
#
|
||||
@@ -0,0 +1,30 @@
|
||||
From 5b8dc4eaeab60d5effc33055e5bce9ac0d98d339 Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Tue, 2 Jun 2015 21:39:15 +0300
|
||||
Subject: [PATCH] configure.in: fix detect of if_bonding.h on uclinux
|
||||
|
||||
noMMU Linux (uClinux) is also Linux
|
||||
|
||||
Upstream status: https://github.com/the-tcpdump-group/libpcap/pull/440
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index be4b29e2f8ba..31287d0dbe61 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -149,7 +149,7 @@ struct rtentry;
|
||||
fi
|
||||
|
||||
case "$host_os" in
|
||||
-linux*)
|
||||
+linux*|uclinux*)
|
||||
AC_CHECK_HEADERS(linux/sockios.h linux/if_bonding.h,,,
|
||||
[
|
||||
#include <sys/socket.h>
|
||||
--
|
||||
2.1.4
|
||||
|
||||
7
deprecated/firmware/buildroot/package/libpcap/Config.in
Normal file
7
deprecated/firmware/buildroot/package/libpcap/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBPCAP
|
||||
bool "libpcap"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
A system-independent library for user-level network packet capture.
|
||||
|
||||
http://www.tcpdump.org/
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0 libpcap-1.7.4.tar.gz
|
||||
63
deprecated/firmware/buildroot/package/libpcap/libpcap.mk
Normal file
63
deprecated/firmware/buildroot/package/libpcap/libpcap.mk
Normal file
@@ -0,0 +1,63 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpcap
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPCAP_VERSION = 1.7.4
|
||||
LIBPCAP_SITE = http://www.tcpdump.org/release
|
||||
LIBPCAP_LICENSE = BSD-3c
|
||||
LIBPCAP_LICENSE_FILES = LICENSE
|
||||
LIBPCAP_INSTALL_STAGING = YES
|
||||
LIBPCAP_DEPENDENCIES = zlib host-flex host-bison
|
||||
|
||||
# We're patching configure.in
|
||||
LIBPCAP_AUTORECONF = YES
|
||||
LIBPCAP_CONF_ENV = \
|
||||
ac_cv_linux_vers=2 \
|
||||
ac_cv_header_linux_wireless_h=yes \
|
||||
CFLAGS="$(LIBPCAP_CFLAGS)"
|
||||
LIBPCAP_CFLAGS = $(TARGET_CFLAGS)
|
||||
LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux
|
||||
LIBPCAP_CONFIG_SCRIPTS = pcap-config
|
||||
|
||||
# Omit -rpath from pcap-config output
|
||||
define LIBPCAP_CONFIG_REMOVE_RPATH
|
||||
$(SED) 's/^V_RPATH_OPT=.*/V_RPATH_OPT=""/g' $(@D)/pcap-config
|
||||
endef
|
||||
LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
|
||||
|
||||
# On purpose, not compatible with bluez5
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
||||
LIBPCAP_DEPENDENCIES += bluez_utils
|
||||
else
|
||||
LIBPCAP_CONF_OPTS += --disable-bluetooth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
LIBPCAP_CONF_OPTS += --enable-dbus
|
||||
LIBPCAP_DEPENDENCIES += dbus
|
||||
else
|
||||
LIBPCAP_CONF_OPTS += --disable-dbus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
LIBPCAP_CONF_OPTS += --enable-canusb
|
||||
LIBPCAP_DEPENDENCIES += libusb
|
||||
else
|
||||
LIBPCAP_CONF_OPTS += --disable-canusb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
||||
LIBPCAP_DEPENDENCIES += libnl
|
||||
LIBPCAP_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3"
|
||||
else
|
||||
LIBPCAP_CONF_OPTS += --without-libnl
|
||||
endif
|
||||
|
||||
# microblaze/sparc64 need -fPIC instead of -fpic
|
||||
ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
|
||||
LIBPCAP_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user