mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 00:03:39 +08:00
54eeb08d64
- Switch site from sourceforge to github as there is no new releases on sourceforge and http://ngrep.sourceforge.net/ is redirected to https://github.com/jpr5/ngrep/ - Remove first patch, not needed since version 1.46 and997c9d81d3
as this commit added the support for system pcre - Remove second patch, not needed since version 1.46 and2d8fd9ac7e
- Remove third patch and LIBS=-lpcap -lpcre, not needed since 1.46 andcca6e3121f
- LICENSE.txt has been renamed to LICENSE since version 1.47 and3cb4c580a9
- Add an upstream patch to fix --enable-pcre: keep pcre as a mandatory dependency as this is the current behavior in version 1.45. PCRE will made optional in an other patch - Remove --with-pcre which is not recognized anymore - Add two other patches to fix --disable-tcpkill - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From e8522284ef326bd9f222e04c4a970ffafa56fba6 Mon Sep 17 00:00:00 2001
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Date: Sat, 3 Nov 2018 23:23:36 +0100
|
|
Subject: [PATCH] fix --disable-tcpkill
|
|
|
|
If the user uses --disable-tcpkill, build can fail if libnet is not
|
|
found on the system.
|
|
|
|
To fix this, move AC_CHECK_LIB to found libnet outside AC_ARG_ENABLE
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
[Upstream status: https://github.com/jpr5/ngrep/pull/15]
|
|
---
|
|
configure.in | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index dbef39b..7c3dd43 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -173,13 +173,11 @@ dnl
|
|
|
|
AC_ARG_ENABLE(tcpkill,
|
|
[ --enable-tcpkill enable connection killing support (default off)],
|
|
-[
|
|
- AC_CHECK_LIB(net, libnet_init,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
|
|
- use_tcpkill="$enableval"
|
|
-],
|
|
+[ use_tcpkill="$enableval" ],
|
|
[ use_tcpkill="no" ])
|
|
|
|
if test $use_tcpkill = yes; then
|
|
+ AC_CHECK_LIB(net, libnet_init,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
|
|
USE_TCPKILL="1"
|
|
EXTRA_OBJS="$EXTRA_OBJS tcpkill.o"
|
|
EXTRA_DEFINES="$EXTRA_DEFINES $(libnet-config --defines)"
|
|
--
|
|
2.17.1
|
|
|