openbsd-ports/net/sing/patches/patch-configure
danh db9a153ad9 import of sing 1.0
Sing is a little tool that sends ICMP packets fully customized from 
command line.  The main purpose is to replace/complement the niceful
ping command with certain enhancements as:

 o Send fragmented packets.
 o Send monster packets > 65534.
 o Send/read spoofed packets.
 o Send	many ICMP Information types in addition to the ECHO REQUEST
   type sent by default as Address Mask Request, Timestamp, Information
   Request, Router Solicitation and Router Advertisement.
 o Send many ICMP error types: Redirect, Source Quench, Time Exceeded, 
   Destination Unreach and Parameter Problem.
 o Send to host with Loose or Strict Source Routing.
 o Use little fingerprinting techniques to discover Window$ or Solaris
   boxes.
 o Send ICMP packets emulating certain OS: Cisco, Solaris, Linux, Shiva,
   Unix and Window$ at the moment.
2001-02-22 15:08:54 +00:00

29 lines
755 B
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2001/02/22 15:08:54 danh Exp $
--- configure.orig Sat Sep 16 06:03:44 2000
+++ configure Thu Feb 22 09:36:37 2001
@@ -1097,10 +1097,6 @@ else
fi
fi
-if test -n "$GCC"; then
- CFLAGS="-O3 -Wall"
-fi
-
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1104: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
@@ -1566,11 +1562,11 @@ fi
PCAP_CLEAN="pcap_clean"
PCAP_DISTCLEAN="pcap_distclean"
-CFLAGS="$CFLAGS -I$libpcapdir"
+CFLAGS="$CFLAGS"
if test $have_libpcap = yes; then
PCAP_COMPILE=""
- LIBS="-L/usr/local/lib $LIBS"
+ LIBS="$LIBS"
else
PCAP_COMPILE="pcap_compile"
LIBS="-L/usr/local/lib -L$libpcapdir $LIBS"