openbsd-ports/net/yersinia/patches/patch-configure
steven c93cdceef5 import yersinia 0.7.1
Yersinia is a network tool designed to take advantage of some weaknesses
in different network protocols. It pretends to be a solid framework for
analyzing and testing the deployed networks and systems.

Attacks for the following network protocols are implemented:

   * Spanning Tree Protocol (STP)
   * Cisco Discovery Protocol (CDP)
   * Dynamic Trunking Protocol (DTP)
   * Dynamic Host Configuration Protocol (DHCP)
   * Hot Standby Router Protocol (HSRP)
   * IEEE 802.1Q
   * IEEE 802.1X
   * Inter-Switch Link Protocol (ISL)
   * VLAN Trunking Protocol (VTP)

ok landry@
2010-10-25 23:12:02 +00:00

40 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2010/10/25 23:12:02 steven Exp $
--- configure.orig Fri Jan 26 20:22:30 2007
+++ configure Tue Sep 23 14:13:54 2008
@@ -3470,7 +3470,7 @@ fi
if test -n "$GCC"; then
- CFLAGS="-O3 -Wall -g"
+ CFLAGS="$CFLAGS -Wall -g"
else
{ echo "$as_me:$LINENO: WARNING: Ouch!! Only gcc is supported..." >&5
echo "$as_me: WARNING: Ouch!! Only gcc is supported..." >&2;}
@@ -4687,7 +4687,7 @@ else
LIBNET_INCLUDE="-I$libnet_dir"
LIBNET_LINK="-L`dirname $libnet_dir`/lib"
- LIBNET_CONFIG="$libnet_config_dir/libnet-config"
+# LIBNET_CONFIG="$libnet_config_dir/libnet-config"
@@ -6676,7 +6676,7 @@ if test "${ac_cv_lib_pthread_pthread_create+set}" = se
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6736,7 +6736,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
else