Date: Wed, 19 May 2004 11:57:23 +0200 (CEST) From: Nicolas Jombart <ecu@ipv42.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66869: [MAINTAINER] security/hping: update to 2.0.0r3 Message-ID: <20040519095723.9C5DA1523A@shiva.ipv42.net> Resent-Message-ID: <200405191000.i4JA0Yji005946@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66869 >Category: ports >Synopsis: [MAINTAINER] security/hping: update to 2.0.0r3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 19 03:00:33 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Nicolas Jombart >Release: FreeBSD 4.10-PRERELEASE i386 >Organization: >Environment: System: FreeBSD shiva.int.ipv42.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #4: Fri May 7 13:33:13 CEST >Description: - Update to 2.0.0r3 Deleted files : files/patch-warnings files/patch-memunlockall files/patch-memlockall Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- hping-2.0.0r3,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/hping/Makefile /usr/home/ecu/ports/ports/security/hping/Makefile --- /usr/ports/security/hping/Makefile Thu Apr 29 20:52:27 2004 +++ /usr/home/ecu/ports/ports/security/hping/Makefile Wed May 19 11:43:36 2004 @@ -6,24 +6,23 @@ # PORTNAME= hping -PORTVERSION= 2.0.0r2 -PORTREVISION= 3 +PORTVERSION= 2.0.0r3 PORTEPOCH= 1 CATEGORIES= security net MASTER_SITES= http://www.hping.org/ -DISTNAME= hping2.0.0-rc2 +DISTNAME= hping2.0.0-rc3 MAINTAINER= ecu@ipv42.net COMMENT= Network auditing tool -WRKSRC= ${WRKDIR}/hping2-rc2 +WRKSRC= ${WRKDIR}/hping2-rc3 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --force-libpcap USE_GMAKE= yes PLIST_FILES= sbin/hping PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \ - MORE-FUN-WITH-IPID SPOOFED_SCAN.txt + MORE-FUN-WITH-IPID SPOOFED_SCAN.txt APD.txt MAN8= hping.8 diff -ruN --exclude=CVS /usr/ports/security/hping/distinfo /usr/home/ecu/ports/ports/security/hping/distinfo --- /usr/ports/security/hping/distinfo Sat Mar 27 12:36:50 2004 +++ /usr/home/ecu/ports/ports/security/hping/distinfo Wed May 19 11:18:49 2004 @@ -1,2 +1,2 @@ -MD5 (hping2.0.0-rc2.tar.gz) = f9ab1f84ec89f2a1c428988231d554b0 -SIZE (hping2.0.0-rc2.tar.gz) = 100501 +MD5 (hping2.0.0-rc3.tar.gz) = 029bf240f2e0545b664b2f8b9118d9e8 +SIZE (hping2.0.0-rc3.tar.gz) = 124573 diff -ruN --exclude=CVS /usr/ports/security/hping/files/patch-Makefile.in /usr/home/ecu/ports/ports/security/hping/files/patch-Makefile.in --- /usr/ports/security/hping/files/patch-Makefile.in Sun Nov 17 23:13:12 2002 +++ /usr/home/ecu/ports/ports/security/hping/files/patch-Makefile.in Wed May 19 11:23:53 2004 @@ -1,13 +1,33 @@ ---- Makefile.in.orig Wed Aug 15 04:02:53 2001 -+++ Makefile.in Mon Nov 18 09:10:12 2002 -@@ -6,8 +6,8 @@ +--- Makefile.in.orig Mon May 3 11:29:39 2004 ++++ Makefile.in Wed May 19 11:23:43 2004 +@@ -6,10 +6,10 @@ # $date: Sun Jul 25 17:56:15 MET DST 1999$ # $rev: 3$ -CC= gcc --CCOPT= -O2 -Wall @PCAP_INCLUDE@ +CC?= gcc + AR=/usr/bin/ar + RANLIB=/usr/bin/ranlib +-CCOPT= -O2 -Wall @PCAP_INCLUDE@ +CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@ DEBUG= -g #uncomment the following if you need libpcap based build under linux #(not raccomanded) +@@ -43,7 +43,7 @@ + $(RANLIB) $@ + + hping2: byteorder.h $(OBJ) +- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@ ++ $(CC) -o hping2 $(CCOPT) $(OBJ) $(PCAP) @SOLARISLIB@ + @echo + ./hping2 -v + @echo "use \`make strip' to strip hping2 binary" +@@ -53,7 +53,7 @@ + ./configure + + .c.o: +- $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $< ++ $(CC) -c $(CCOPT) $(COMPILE_TIME) $< + + clean: + rm -rf hping2 *.o *.a diff -ruN --exclude=CVS /usr/ports/security/hping/files/patch-memlockall /usr/home/ecu/ports/ports/security/hping/files/patch-memlockall --- /usr/ports/security/hping/files/patch-memlockall Sun Nov 17 23:13:12 2002 +++ /usr/home/ecu/ports/ports/security/hping/files/patch-memlockall Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- memlockall.c.orig Sun Nov 17 18:04:44 2002 -+++ memlockall.c Sun Nov 17 18:04:43 2002 -@@ -13,7 +13,7 @@ - - int memlockall(void) - { --#ifdef _POSIX_MEMLOCK -+#if _POSIX_MEMLOCK == 1 - return ( mlockall(MCL_CURRENT|MCL_FUTURE) ); - #endif - return (-1); diff -ruN --exclude=CVS /usr/ports/security/hping/files/patch-memunlockall /usr/home/ecu/ports/ports/security/hping/files/patch-memunlockall --- /usr/ports/security/hping/files/patch-memunlockall Sun Nov 17 23:13:12 2002 +++ /usr/home/ecu/ports/ports/security/hping/files/patch-memunlockall Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- memunlockall.c.orig Sun Nov 17 18:04:44 2002 -+++ memunlockall.c Sun Nov 17 18:04:43 2002 -@@ -13,7 +13,7 @@ - - int memunlockall(void) - { --#ifdef _POSIX_MEMLOCK -+#if _POSIX_MEMLOCK == 1 - return ( munlockall() ); - #endif - return(-1); diff -ruN --exclude=CVS /usr/ports/security/hping/files/patch-warnings /usr/home/ecu/ports/ports/security/hping/files/patch-warnings --- /usr/ports/security/hping/files/patch-warnings Mon Aug 25 11:46:59 2003 +++ /usr/home/ecu/ports/ports/security/hping/files/patch-warnings Thu Jan 1 01:00:00 1970 @@ -1,145 +0,0 @@ -*** datafiller.c.org Sun Mar 30 13:18:24 2003 ---- datafiller.c Sun Mar 30 13:20:22 2003 -*************** -*** 14,19 **** ---- 14,20 ---- - #include <sys/stat.h> - #include <fcntl.h> - #include <string.h> /* memset */ -+ #include <stdlib.h> - - #include "hping2.h" - #include "globals.h" - - -*** libpcap_stuff.c.org Sun Mar 30 13:19:42 2003 ---- libpcap_stuff.c Sun Mar 30 13:25:51 2003 -*************** -*** 17,22 **** ---- 17,23 ---- - #include <sys/ioctl.h> - #include <pcap.h> - #include <net/bpf.h> -+ #include <string.h> - - #include "globals.h" - - -*** listen.c.org Sun Mar 30 13:19:24 2003 ---- listen.c Sun Mar 30 13:24:31 2003 -*************** -*** 14,19 **** ---- 14,20 ---- - #include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> -+ #include <stdlib.h> - - #include "hping2.h" /* hping2.h includes hcmp.h */ - #include "globals.h" - - -*** resolve.c.org Sun Mar 30 13:18:51 2003 ---- resolve.c Sun Mar 30 13:22:02 2003 -*************** -*** 15,20 **** ---- 15,21 ---- - #include <sys/socket.h> - #include <netinet/in.h> - #include <arpa/inet.h> -+ #include <stdlib.h> - - void resolve (struct sockaddr * addr, char *hostname) - { - - -*** rtt.c.org Sun Mar 30 13:19:33 2003 ---- rtt.c Mon Mar 31 17:32:40 2003 -*************** -*** 72,82 **** - printf("\n\nSANITY CHECK in rtt.c FAILED!\n"); - printf("- seqnum = %d\n", *seqp); - printf("- status = %d\n", status); -! printf("- get_usec() = %ld\n", get_usec()); -! printf("- delaytable.usec = %ld\n", delaytable[tablepos].usec); -! printf("- usec_delay = %ld\n", usec_delay); -! printf("- time(NULL) = %ld\n", time(NULL)); -! printf("- delaytable.sec = %ld\n", delaytable[tablepos].sec); - printf("- sec_delay = %ld\n", sec_delay); - printf("- ms_delay = %f\n", *ms_delay); - printf("END SANITY CHECK REPORT\n\n"); ---- 72,83 ---- - printf("\n\nSANITY CHECK in rtt.c FAILED!\n"); - printf("- seqnum = %d\n", *seqp); - printf("- status = %d\n", status); -! /* time_t is __int32_t on i386 FreeBSD */ -! printf("- get_usec() = %ld\n", (long)get_usec()); -! printf("- delaytable.usec = %ld\n", (long)delaytable[tablepos].usec); -! printf("- usec_delay = %ld\n", (long)usec_delay); -! printf("- time(NULL) = %ld\n", (long)time(NULL)); -! printf("- delaytable.sec = %ld\n", (long)delaytable[tablepos].sec); - printf("- sec_delay = %ld\n", sec_delay); - printf("- ms_delay = %f\n", *ms_delay); - printf("END SANITY CHECK REPORT\n\n"); - - -*** statistics.c.org Sun Mar 30 13:19:02 2003 ---- statistics.c Sun Mar 30 13:22:18 2003 -*************** -*** 9,14 **** ---- 9,15 ---- - */ - - #include <stdio.h> -+ #include <stdlib.h> - - #include "hping2.h" - #include "globals.h" - - -*** version.c.org Sun Mar 30 13:19:17 2003 ---- version.c Sun Mar 30 13:23:17 2003 -*************** -*** 9,14 **** ---- 9,15 ---- - */ - - #include <stdio.h> -+ #include <stdlib.h> - - #include "release.h" - #include "hping2.h" - - -*** waitpacket.c.org Sun Mar 30 13:18:32 2003 ---- waitpacket.c Sun Mar 30 20:28:13 2003 -*************** -*** 13,18 **** ---- 13,19 ---- - #include <time.h> - #include <ctype.h> - #include <unistd.h> -+ #include <stdlib.h> - - #include "hping2.h" - #include "globals.h" - -*** waitpacket.c.org Sun Mar 30 13:18:32 2003 ---- waitpacket.c Sun Mar 30 20:28:13 2003 -*************** -*** 179,185 **** - (unsigned int) ntohl(icmp_tstamp.orig), - (unsigned int) ntohl(icmp_tstamp.recv), - (unsigned int) ntohl(icmp_tstamp.tran)); -! printf("ICMP timestamp RTT tsrtt=%lu\n\n", - (get_midnight_ut_ms() - ntohl(icmp_tstamp.orig))); - } - ---- 180,186 ---- - (unsigned int) ntohl(icmp_tstamp.orig), - (unsigned int) ntohl(icmp_tstamp.recv), - (unsigned int) ntohl(icmp_tstamp.tran)); -! printf("ICMP timestamp RTT tsrtt=%u\n\n", - (get_midnight_ut_ms() - ntohl(icmp_tstamp.orig))); - } - --- hping-2.0.0r3,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519095723.9C5DA1523A>