From edwin@mavetju.org  Mon Jul 16 17:00:10 2001
Return-Path: <edwin@mavetju.org>
Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141])
	by hub.freebsd.org (Postfix) with ESMTP id 6304137B408
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2001 17:00:10 -0700 (PDT)
	(envelope-from edwin@mavetju.org)
Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP id E24942B6A7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jul 2001 02:00:05 +0200 (CEST)
Received: by k7.mavetju.org (Postfix, from userid 1001)
	id 15A93392; Tue, 17 Jul 2001 10:00:00 +1000 (EST)
Message-Id: <20010717000000.15A93392@k7.mavetju.org>
Date: Tue, 17 Jul 2001 10:00:00 +1000 (EST)
From: edwin@mavetju.org
Reply-To: edwin@mavetju.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] net/netcat: support for IPv6
X-Send-Pr-Version: 3.2

>Number:         29030
>Category:       ports
>Synopsis:       [PATCH] net/netcat: support for IPv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 17:00:11 PDT 2001
>Closed-Date:    Sun Feb 3 02:58:35 JST 2002
>Last-Modified:  Sun Feb 03 02:59:38 JST 2002
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
-
>Environment:

$FreeBSD: ports/net/netcat/Makefile,v 1.12 2001/03/19 21:43:14 obrien Exp $

>Description:

This patch, coming from kame.net, allows netcat to support IPv6 connections

>How-To-Repeat:

n/a

>Fix:

diff -ru netcat-old/Makefile netcat/Makefile
--- netcat-old/Makefile	Tue Mar 20 08:43:14 2001
+++ netcat/Makefile	Tue Jul 17 09:38:32 2001
@@ -8,12 +8,17 @@
 
 PORTNAME=	netcat
 PORTVERSION=	1.10
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/  \
 		ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/  \
 		http://www.planetmirror.com/pub/lprng/TOOLS/
 DISTNAME=	nc110
 EXTRACT_SUFX=	.tgz
+
+PATCH_SITES=	ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/
+PATCHFILES=	nc-v6-20000918.patch.gz
+PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	obrien@FreeBSD.org
 
diff -ru netcat-old/distinfo netcat/distinfo
--- netcat-old/distinfo	Fri Nov 22 19:16:49 1996
+++ netcat/distinfo	Tue Jul 17 09:05:13 2001
@@ -1 +1,2 @@
 MD5 (nc110.tgz) = 402632f2fe01c169ff19a0ad6e9d608c
+MD5 (nc-v6-20000918.patch.gz) = 84d850745dd860aedce64b518e0e3330
diff -ru netcat-old/files/patch-ab netcat/files/patch-ab
--- netcat-old/files/patch-ab	Sun Aug 27 11:27:19 2000
+++ netcat/files/patch-ab	Tue Jul 17 09:08:19 2001
@@ -29,7 +29,7 @@
  # virtually the same as netbsd/bsd44lite/whatever
  freebsd:
 -	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' STATIC=-static
-+	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD -DGAPING_SECURITY_HOLE -DTELNET' STATIC=-static
++	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD -DGAPING_SECURITY_HOLE -DTELNET -DINET6' STATIC=-static
  
  bsdi:
  	make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic
diff -ru netcat-old/pkg-descr netcat/pkg-descr
--- netcat-old/pkg-descr	Fri Nov 22 19:16:51 1996
+++ netcat/pkg-descr	Tue Jul 17 09:39:09 2001
@@ -8,7 +8,8 @@
 
 Some of netcat's major features are:
 
-	Outbound or inbound connections, TCP or UDP, to or from any ports
+	Outbound or inbound connections, IPv4 or IPv6, TCP or UDP,
+		to or from any ports
 	Full DNS forward/reverse checking, with appropriate warnings
 	Ability to use any local source port
 	Ability to use any locally-configured network source address

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: roam 
Responsible-Changed-When: Tue Jul 17 05:34:39 PDT 2001 
Responsible-Changed-Why:  
Over to maintainer; this one seems useful, though it might 
be better wrapped in an WITH/WITHOUT knob.. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29030 
State-Changed-From-To: open->closed 
State-Changed-By: sumikawa 
State-Changed-When: Sun Feb 3 02:58:35 JST 2002 
State-Changed-Why:  
commited, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29030 
>Unformatted:
