diff -Nur snort-2.0.0.org/configure.in snort-2.0.0/configure.in --- snort-2.0.0.org/configure.in 2003-04-09 16:01:26.000000000 +0000 +++ snort-2.0.0/configure.in 2003-07-03 22:28:27.000000000 +0000 @@ -569,25 +569,25 @@ AC_ARG_ENABLE(flexresp, [ --enable-flexresp Flexible Responses on hostile connection attempts], -[ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`"],) +[ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet1-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet1-config --libs`"],) if test "$enable_flexresp" != "no" -a "$enable_flexresp" = "yes"; then - if test `libnet-config --cflags | wc -c` = "1"; then + if test `libnet1-config --cflags | wc -c` = "1"; then CFLAGS="${CFLAGS} -I/usr/local/include" LIBNET_CONFIG_BROKEN_CFLAGS=yes fi - if test `libnet-config --libs | wc -c` = "1"; then - AC_MSG_WARN(libnet-config --libs is broken on your system. If you) + if test `libnet1-config --libs | wc -c` = "1"; then + AC_MSG_WARN(libnet1-config --libs is broken on your system. If you) AC_MSG_WARN(are using a precompiled package please notify the) AC_MSG_WARN(maintainer.) LDFLAGS="${LDFLAGS} -L/usr/local/lib" fi LNET="" - AC_CHECK_HEADERS(libnet.h,, LNET="no") + AC_CHECK_HEADERS(libnet1.h,, LNET="no") if test "$LNET" = "no"; then echo echo " ERROR! Libnet header not found, go get it from" @@ -605,29 +605,29 @@ libnet_dir="/usr/include /usr/local/include" fi else - libnet_dir=`libnet-config --cflags | cut -dI -f2` + libnet_dir=`libnet1-config --cflags | cut -dI -f2` fi LIBNET_INC_DIR="" for i in $libnet_dir; do - if test -r $i/libnet.h; then + if test -r $i/libnet1.h; then LIBNET_INC_DIR=$i fi done if test "$LIBNET_INC_DIR" != ""; then - if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0.2a >/dev/null"; then + if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet1.h | grep -v 1.0.2a >/dev/null"; then AC_MSG_RESULT(no) echo echo " ERROR! Snort with --enable-flexresp will *only* work with" echo " libnet version 1.0.2a, go get it from" echo " http://www.packetfactory.net/projects/libnet/" - FAIL_MESSAGE("libnet 1.0.2a (libnet.h)", $LIBNET_INC_DIR) + FAIL_MESSAGE("libnet 1.0.2a (libnet1.h)", $LIBNET_INC_DIR) fi AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) - FAIL_MESSAGE("libnet 1.0.2a (libnet.h)", $libnet_dir) + FAIL_MESSAGE("libnet 1.0.2a (libnet1.h)", $libnet_dir) fi LNET="" diff -Nur snort-2.0.0.org/src/detection-plugins/sp_react.c snort-2.0.0/src/detection-plugins/sp_react.c --- snort-2.0.0.org/src/detection-plugins/sp_react.c 2003-04-03 21:10:52.000000000 +0000 +++ snort-2.0.0/src/detection-plugins/sp_react.c 2003-07-03 22:31:13.000000000 +0000 @@ -53,7 +53,7 @@ #include #include #include -#include +#include #include "rules.h" #include "decode.h" diff -Nur snort-2.0.0.org/src/detection-plugins/sp_respond.c snort-2.0.0/src/detection-plugins/sp_respond.c --- snort-2.0.0.org/src/detection-plugins/sp_respond.c 2003-04-03 21:10:52.000000000 +0000 +++ snort-2.0.0/src/detection-plugins/sp_respond.c 2003-07-03 22:30:57.000000000 +0000 @@ -30,7 +30,7 @@ #ifdef ENABLE_RESPONSE -#include +#include #include "decode.h" #include "rules.h"