Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2001 16:31:08 +0300 (IDT)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27874: [MAINTAINER UPDATE] security/hping
Message-ID:  <200106041331.f54DV8O57600@alchemy.oven.org>

next in thread | raw e-mail | index | archive | help

>Number:         27874
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] security/hping
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 04 06:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
>Environment:


>Description:

- Support PORTDOCS
- Provide a workaround for unknown ethernet interfaces. It should be done
in a more portable fashion, but ...

This closed PR ports/27649

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/hping/Makefile hping/Makefile
--- /usr/ports/security/hping/Makefile	Sat Oct 28 03:57:14 2000
+++ hping/Makefile	Mon Jun  4 16:24:01 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	hping
 PORTVERSION=	2b54
+PORTREVISION=	1
 CATEGORIES=	security net
 MASTER_SITES=	http://www.kyuzz.org/antirez/hping2-src/
 DISTNAME=	hping2-beta54
@@ -21,5 +22,11 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
 	${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${PREFIX}/share/doc/hping
+.for i in AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN MORE-FUN-WITH-IPID SPOOFED_SCAN.txt
+	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/hping/
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/security/hping/files/patch-ac hping/files/patch-ac
--- /usr/ports/security/hping/files/patch-ac	Sat Oct 28 03:57:17 2000
+++ hping/files/patch-ac	Mon Jun  4 16:18:07 2001
@@ -1,10 +1,28 @@
---- getlhs.c.orig	Thu Oct  5 15:26:31 2000
-+++ getlhs.c	Thu Oct  5 15:26:26 2000
+--- getlhs.c.orig	Mon Jun  4 16:17:30 2001
++++ getlhs.c	Mon Jun  4 16:17:32 2001
 @@ -73,6 +73,7 @@
  	else if ( strstr(ifname, "eth") /* ? */
  	     ||   strstr(ifname, "ed")
  	     ||   strstr(ifname, "ne")
-+	     ||   strstr(ifname, "xe")	/* Xircom */
++             ||   strstr(ifname, "xe")  /* Xircom */
  	     ||   strstr(ifname, "xl")	/* 3com */
  	     ||   strstr(ifname, "vx")	/* 3com (older model) */
  	     ||   strstr(ifname, "ep")  /* 3com 3c589 */
+@@ -85,6 +86,17 @@
+ 	     ||   strstr(ifname, "sk")	/* SysKonnect SK-984x */
+ 	     ||   strstr(ifname, "tl")	/* Compaq Netelligent 10/10+TNETE100 */
+ 	     ||   strstr(ifname, "tx")	/* SMC 9432TX */
++             ||   strstr(ifname, "an")  /* Aironet 4500/4800 */
++             ||   strstr(ifname, "awi") /* PRISM I IEEE 802.11b wireless NIC */
++             ||   strstr(ifname, "dc")  /* DEC/Intel 21143 and workalikes */
++             ||   strstr(ifname, "de")  /* Digital Equipment DC21040 */
++             ||   strstr(ifname, "pcn") /* AMD Am79C79x */\
++             ||   strstr(ifname, "sis") /* SiS 900/SiS 7016 */
++             ||   strstr(ifname, "ste") /* Sundance ST201 */
++             ||   strstr(ifname, "vr")  /* VIA Rhine, Rhine II */
++             ||   strstr(ifname, "vx")  /* 3com (older model) */
++             ||   strstr(ifname, "wi")  /* WaveLAN/IEEE 802.11 wireless NICs */
++             ||   strstr(ifname, "wx")  /* Intel Gigabit "Wiseman" */
+ 	     ||   strstr(ifname, "wb"))	/* Winbond W89C840F chip */
+ 	{
+ 		linkhdr_size = ETHHDR_SIZE;
diff -urN /usr/ports/security/hping/pkg-plist hping/pkg-plist
--- /usr/ports/security/hping/pkg-plist	Sat Oct 28 03:57:14 2000
+++ hping/pkg-plist	Mon Jun  4 16:27:23 2001
@@ -1 +1,7 @@
 sbin/hping
+%%PORTDOCS%%share/doc/hping/AS-BACKDOOR
+%%PORTDOCS%%share/doc/hping/HPING2-HOWTO.txt
+%%PORTDOCS%%share/doc/hping/HPING2-IS-OPEN
+%%PORTDOCS%%share/doc/hping/MORE-FUN-WITH-IPID
+%%PORTDOCS%%share/doc/hping/SPOOFED_SCAN.txt
+%%PORTDOCS%%@dirrm share/doc/hping
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106041331.f54DV8O57600>