ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit e29fc29f2caafe3aa3719920215300b9d007d24e
parent fbf948551a9cc2e63a2b87130b4df0914f909d42
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Sat, 25 Jun 2005 22:29:06 +0000

updated for new configure.in

Diffstat:
Mconfigure | 30++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/configure b/configure @@ -3006,7 +3006,8 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext OS=BSD - echo + if test "$USE_PCAP_RESTART" = "0"; then + { echo "$as_me:$LINENO: WARNING: Your OS ($target_os) may have an old libpcap installation. If the resulting ngrep binary segfaults when a BPF filter is specified without an ngrep match string then you should reconfigure ngrep with @@ -3019,6 +3020,8 @@ the option \`\`--disable-pcap-restart''. " >&2;} sleep 3 + fi + ;; *solaris*) @@ -3438,7 +3441,6 @@ _ACEOF - echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap" >&5 echo $ECHO_N "checking for pcap_open_live in -lpcap... $ECHO_C" >&6 if test "${ac_cv_lib_pcap_pcap_open_live+set}" = set; then @@ -3748,6 +3750,30 @@ _ACEOF echo +if test "$HAVE_DUMB_UDPHDR" = "1"; then + echo "CONFIG: support for broken redhat glibc udphdr enabled" +fi + +if test "$USE_PCAP_RESTART" = "0"; then + echo "CONFIG: pcap restart logic disabled" +fi + +if test "$USE_IPv6" = "1"; then + echo "CONFIG: ipv6 support enabled" +else + echo "CONFIG: ipv6 support disabled" +fi + +if test "$USE_DROPPRIVS" = "1"; then + echo "CONFIG: privilege dropping enabled, using \"$DROPPRIVS_USER\"" +else + echo "CONFIG: privilege dropping disabled" +fi + + + +echo + ac_config_headers="$ac_config_headers config.h" ac_config_files="$ac_config_files Makefile"