d898109ed6
Changes: - don't install hping suid root by default, add "hping-suid" option. - add bunch on patches from Pavel Kankovsky <peak at argo.troja.mff.cuni.cz> namely: add --flood and --tcp-mss options (self-explanatory), some checksum and interface binding fixes and warning fixes 2.0.0rc3: ======= FIX: Fix for interface guessing with aliases on BSD Thanks <michel.gravey(@)orange.fr> and <cognet(@)freebsd.org> FIX: fixed cksum.c. Bad outgoing packet checksum with some packet. Thanks to Brett Eldridge <beldridg@pobox.com>. ADD: scan mode (--scan) ADD: A rc4-based PRNG to use with --rand-source and --rand-dest FIX: Fix -I option for BSD/Apple ADD: Add support for BSDI and MacOSX (thanks Dennis Opacki <dopacki@adotout.com> and Jan-Hinrich Fessel <Jan-Hinrich.Fessel@T-Mobile.de>) ADD: A few useful ICMP options ADD: Add support for : WLAN (Fabian Melzow <biop0b@web.de>) ATM (Debian bug #193436, thanks to Domenico Andreoli) Token Ring (jim.r.halfpenny@britishairways.com) ADD: MacOSX patches (Hans-Joachim Knobloch <knobloch@secorvo.de>) FIX: --rand-source patches from Quentin Garnier <hping@quatriemek.com> . ensure randomness . do not stop on errors when using a E or D class address (BSD only?)
50 lines
1.1 KiB
Text
50 lines
1.1 KiB
Text
$NetBSD: patch-ab,v 1.2 2006/03/30 13:51:29 salo Exp $
|
|
|
|
--- Makefile.in.orig 2004-05-03 11:29:39.000000000 +0200
|
|
+++ Makefile.in 2005-11-05 21:07:50.000000000 +0100
|
|
@@ -6,14 +6,14 @@
|
|
# $date: Sun Jul 25 17:56:15 MET DST 1999$
|
|
# $rev: 3$
|
|
|
|
-CC= gcc
|
|
-AR=/usr/bin/ar
|
|
-RANLIB=/usr/bin/ranlib
|
|
-CCOPT= -O2 -Wall @PCAP_INCLUDE@
|
|
-DEBUG= -g
|
|
+#CC= gcc
|
|
+#AR=/usr/bin/ar
|
|
+#RANLIB=/usr/bin/ranlib
|
|
+#CCOPT= -O2 -Wall @PCAP_INCLUDE@
|
|
+#DEBUG= -g
|
|
#uncomment the following if you need libpcap based build under linux
|
|
#(not raccomanded)
|
|
-COMPILE_TIME= @FORCE_LIBPCAP@
|
|
+#COMPILE_TIME= @FORCE_LIBPCAP@
|
|
INSTALL_MANPATH=@MANPATH@
|
|
@PCAP@
|
|
|
|
@@ -39,21 +39,17 @@
|
|
all: hping2
|
|
|
|
libars.a: $(ARSOBJ)
|
|
- $(AR) rc $@ $^
|
|
+ $(AR) rc $@ $>
|
|
$(RANLIB) $@
|
|
|
|
hping2: byteorder.h $(OBJ)
|
|
- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@
|
|
- @echo
|
|
- ./hping2 -v
|
|
- @echo "use \`make strip' to strip hping2 binary"
|
|
- @echo "use \`make install' to install hping2"
|
|
+ $(CC) -o hping2 $(LDFLAGS) $(OBJ) $(PCAP) @SOLARISLIB@
|
|
|
|
byteorder.h:
|
|
./configure
|
|
|
|
.c.o:
|
|
- $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $<
|
|
+ $(CC) -c $(CFLAGS) $<
|
|
|
|
clean:
|
|
rm -rf hping2 *.o *.a
|