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>
29 lines
1017 B
Diff
29 lines
1017 B
Diff
From 0a51c8bc62c7b49b8d67a360daa6b1957256f4f5 Mon Sep 17 00:00:00 2001
|
|
From: Romain Francoise <romain@rfr.io>
|
|
Date: Mon, 1 Jan 2018 18:01:13 +0100
|
|
Subject: [PATCH] Check for libnet_init in configure.in
|
|
|
|
libnet_init_packet was the old libnet 1.0 function which is now long
|
|
deprecated.
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
[Retrieved from:
|
|
https://github.com/jpr5/ngrep/commit/0a51c8bc62c7b49b8d67a360daa6b1957256f4f5]
|
|
---
|
|
configure.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index 06c050a..dbef39b 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -174,7 +174,7 @@ dnl
|
|
AC_ARG_ENABLE(tcpkill,
|
|
[ --enable-tcpkill enable connection killing support (default off)],
|
|
[
|
|
- AC_CHECK_LIB(net, libnet_init_packet,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
|
|
+ AC_CHECK_LIB(net, libnet_init,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
|
|
use_tcpkill="$enableval"
|
|
],
|
|
[ use_tcpkill="no" ])
|