Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2001 10:00:00 +1000 (EST)
From:      edwin@mavetju.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29030: [PATCH] net/netcat: support for IPv6
Message-ID:  <20010717000000.15A93392@k7.mavetju.org>

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

>Number:         29030
>Category:       ports
>Synopsis:       [PATCH] net/netcat: support for IPv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 17:00:11 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>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?20010717000000.15A93392>