Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24108 Details for
Bug 38769
New ebuild for snort_inline-2.1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
snort_inline libnet patch
snort_inline-2.1.0-libnet-1.0.patch (text/plain), 6.58 KB, created by
Patrick McCarty
on 2004-01-19 19:47:19 UTC
(
hide
)
Description:
snort_inline libnet patch
Filename:
MIME Type:
Creator:
Patrick McCarty
Created:
2004-01-19 19:47:19 UTC
Size:
6.58 KB
patch
obsolete
>diff -ruN snort_inline-2.1.0.dist/configure snort_inline-2.1.0/configure >--- snort_inline-2.1.0.dist/configure 2003-12-30 18:17:12.000000000 -0800 >+++ snort_inline-2.1.0/configure 2004-01-19 22:25:48.000000000 -0800 >@@ -7426,22 +7426,22 @@ > fi > > LIBNET_INC_DIR="" >- echo "$as_me:$LINENO: checking \"for libnet.h version 1.0.x\"" >&5 >-echo $ECHO_N "checking \"for libnet.h version 1.0.x\"... $ECHO_C" >&6 >+ echo "$as_me:$LINENO: checking \"for libnet-1.0.h version 1.0.x\"" >&5 >+echo $ECHO_N "checking \"for libnet-1.0.h version 1.0.x\"... $ECHO_C" >&6 > libnet_dir="/usr/include /usr/local/include" > for i in $libnet_dir; do >- if test -r $i/libnet.h; then >+ if test -r $i/libnet-1.0.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 >/dev/null"; then >+ if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet-1.0.h | grep -v 1.0 >/dev/null"; then > > echo > echo > echo "**********************************************" >- echo " ERROR: unable to find" "libnet 1.0.x (libnet.h)" >+ echo " ERROR: unable to find" "libnet 1.0.x (libnet-1.0.h)" > echo " checked in the following places" > for i in `echo $tmp`; do > echo " $i" >@@ -7451,8 +7451,8 @@ > exit > > fi >- CFLAGS="${CFLAGS} `libnet-config --defines` `libnet-config --cflags`" >- LIBS="${LIBS} `libnet-config --libs`" >+ CFLAGS="${CFLAGS} `libnet-1.0-config --defines` `libnet-1.0-config --cflags`" >+ LIBS="${LIBS} `libnet-1.0-config --libs`" > CPPFLAGS="${CPPFLAGS} -I${LIBNET_INC_DIR}" > echo "$as_me:$LINENO: result: $i" >&5 > echo "${ECHO_T}$i" >&6 >@@ -7469,31 +7469,31 @@ > # Check whether --enable-flexresp or --disable-flexresp was given. > if test "${enable_flexresp+set}" = set; then > enableval="$enable_flexresp" >- CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`" >+ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-1.0-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-1.0-config --libs`" > fi; > > > if test "$enable_flexresp" != "no" -a "$enable_flexresp" = "yes"; then > >- if test `libnet-config --cflags | wc -c` = "1"; then >+ if test `libnet-1.0-config --cflags | wc -c` = "1"; then > CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include" > LIBNET_CONFIG_BROKEN_CFLAGS=yes > fi > >- if test `libnet-config --libs | wc -c` = "1"; then >- { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5 >-echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;} >+ if test `libnet-1.0-config --libs | wc -c` = "1"; then >+ { echo "$as_me:$LINENO: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&5 >+echo "$as_me: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&2;} > { echo "$as_me:$LINENO: WARNING: are using a precompiled package please notify the" >&5 > echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;} > { echo "$as_me:$LINENO: WARNING: maintainer." >&5 > echo "$as_me: WARNING: maintainer." >&2;} > LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/sw/lib" >- LIBS="${LIBS} -lnet" >+ LIBS="${LIBS} -lnet-1.0" > fi > > LNET="" > >-for ac_header in libnet.h >+for ac_header in libnet-1.0.h > do > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` > if eval "test \"\${$as_ac_Header+set}\" = set"; then >@@ -7654,18 +7654,18 @@ > libnet_dir="/usr/include /usr/local/include /sw/include" > fi > else >- libnet_dir=`libnet-config --cflags | cut -dI -f2` >+ libnet_dir=`libnet-1.0-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/libnet-1.0.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/libnet-1.0.h | grep -v 1.0.2a >/dev/null"; then > echo "$as_me:$LINENO: result: no" >&5 > echo "${ECHO_T}no" >&6 > echo >@@ -7676,7 +7676,7 @@ > echo > echo > echo "**********************************************" >- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" >+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" > echo " checked in the following places" > for i in `echo $LIBNET_INC_DIR`; do > echo " $i" >@@ -7695,7 +7695,7 @@ > echo > echo > echo "**********************************************" >- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" >+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" > echo " checked in the following places" > for i in `echo $libnet_dir`; do > echo " $i" >@@ -7708,8 +7708,8 @@ > > LNET="" > >-echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet" >&5 >-echo $ECHO_N "checking for libnet_build_ip in -lnet... $ECHO_C" >&6 >+echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet-1.0" >&5 >+echo $ECHO_N "checking for libnet_build_ip in -lnet-1.0... $ECHO_C" >&6 > if test "${ac_cv_lib_net_libnet_build_ip+set}" = set; then > echo $ECHO_N "(cached) $ECHO_C" >&6 > else >diff -ruN snort_inline-2.1.0.dist/src/detection-plugins/sp_react.c snort_inline-2.1.0/src/detection-plugins/sp_react.c >--- snort_inline-2.1.0.dist/src/detection-plugins/sp_react.c 2003-12-30 17:50:03.000000000 -0800 >+++ snort_inline-2.1.0/src/detection-plugins/sp_react.c 2004-01-19 22:26:31.000000000 -0800 >@@ -57,7 +57,7 @@ > #include <stdlib.h> > #include <string.h> > #include <ctype.h> >-#include <libnet.h> >+#include <libnet-1.0.h> > > #include "rules.h" > #include "decode.h" >diff -ruN snort_inline-2.1.0.dist/src/detection-plugins/sp_respond.c snort_inline-2.1.0/src/detection-plugins/sp_respond.c >--- snort_inline-2.1.0.dist/src/detection-plugins/sp_respond.c 2003-12-30 17:50:03.000000000 -0800 >+++ snort_inline-2.1.0/src/detection-plugins/sp_respond.c 2004-01-19 22:26:25.000000000 -0800 >@@ -34,7 +34,7 @@ > > > #ifdef ENABLE_RESPONSE >-#include <libnet.h> >+#include <libnet-1.0.h> > > #include "decode.h" > #include "rules.h" >diff -ruN snort_inline-2.1.0.dist/src/inline.c snort_inline-2.1.0/src/inline.c >--- snort_inline-2.1.0.dist/src/inline.c 2003-12-30 17:50:25.000000000 -0800 >+++ snort_inline-2.1.0/src/inline.c 2004-01-19 22:26:10.000000000 -0800 >@@ -5,7 +5,7 @@ > #include <pcap.h> > #include <string.h> > #include <stdlib.h> >-#include <libnet.h> >+#include <libnet-1.0.h> > > #define PKT_BUFSIZE 65536 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38769
:
24107
| 24108 |
24109
|
24111
|
24112
|
24113
|
24114
|
27735
|
27736