From edwin@mavetju.org  Thu Jan 24 03:32:32 2002
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 B1B6537B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Jan 2002 03:32:31 -0800 (PST)
Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP id F16902B711
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Jan 2002 12:32:24 +0100 (CET)
Received: by k7.mavetju.org (Postfix, from userid 1001)
	id CE5125AF; Thu, 24 Jan 2002 22:32:20 +1100 (EST)
Message-Id: <20020124113220.CE5125AF@k7.mavetju.org>
Date: Thu, 24 Jan 2002 22:32:20 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: net/netcat+ipv6
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34226
>Category:       ports
>Synopsis:       new port: net/netcat+ipv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sumikawa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 03:40:01 PST 2002
>Closed-Date:    Sun Feb 3 03:00:17 JST 2002
>Last-Modified:  Sun Feb 03 03:01:28 JST 2002
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Dec 25 02:20:13 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

n/a

>Description:

It's the IPv6 enabled version of Netcat (net/netcat)

>How-To-Repeat:

n/a

>Fix:

Please close PR ports/29030, it's related to this one.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/netcat+ipv6
#	net/netcat+ipv6/files
#	net/netcat+ipv6/files/patch-ab
#	net/netcat+ipv6/pkg-plist
#	net/netcat+ipv6/pkg-descr
#	net/netcat+ipv6/pkg-comment
#	net/netcat+ipv6/distinfo
#	net/netcat+ipv6/Makefile
#
echo c - net/netcat+ipv6
mkdir -p net/netcat+ipv6 > /dev/null 2>&1
echo c - net/netcat+ipv6/files
mkdir -p net/netcat+ipv6/files > /dev/null 2>&1
echo x - net/netcat+ipv6/files/patch-ab
sed 's/^X//' >net/netcat+ipv6/files/patch-ab << 'END-of-net/netcat+ipv6/files/patch-ab'
X--- Makefile.orig	Tue Mar 19 19:16:06 1996
X+++ Makefile	Sat Jul 24 13:30:04 1999
X@@ -9,12 +9,12 @@
X # pick gcc if you'd rather , and/or do -g instead of -O if debugging
X # debugging
X # DFLAGS = -DTEST -DDEBUG
X-CFLAGS = -O
X+CFLAGS ?= -O
X XFLAGS = 	# xtra cflags, set by systype targets
X XLIBS =		# xtra libs if necessary?
X # -Bstatic for sunos,  -static for gcc, etc.  You want this, trust me.
X STATIC =
X-CC = cc $(CFLAGS)
X+CC ?= cc
X LD = $(CC) -s	# linker; defaults to stripped executables
X o = o		# object extension
X 
X@@ -28,7 +28,7 @@
X ### HARD TARGETS
X 
X nc:	netcat.c
X-	$(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS)
X+	$(LD) $(CFLAGS) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS)
X 
X nc-dos:
X 	@echo "DOS?!  Maybe someday, but not now"
X@@ -81,7 +81,7 @@
X 
X # virtually the same as netbsd/bsd44lite/whatever
X freebsd:
X-	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' STATIC=-static
X+	make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD -DGAPING_SECURITY_HOLE -DTELNET -DINET6' STATIC=-static
X 
X bsdi:
X 	make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic
END-of-net/netcat+ipv6/files/patch-ab
echo x - net/netcat+ipv6/pkg-plist
sed 's/^X//' >net/netcat+ipv6/pkg-plist << 'END-of-net/netcat+ipv6/pkg-plist'
X@comment $FreeBSD$
Xbin/nc
Xshare/doc/netcat/README
X@dirrm share/doc/netcat
END-of-net/netcat+ipv6/pkg-plist
echo x - net/netcat+ipv6/pkg-descr
sed 's/^X//' >net/netcat+ipv6/pkg-descr << 'END-of-net/netcat+ipv6/pkg-descr'
XNetcat is a simple Unix utility which reads and writes data across
Xnetwork connections using TCP or UDP protocol.  It is designed to be a
Xreliable "back-end" tool that can be used directly or easily driven by
Xother programs and scripts.  At the same time it is a feature-rich
Xnetwork debugging and exploration tool, since it can create almost any
Xkind of connection you would need and has several interesting built-in
Xcapabilities.
X
XSome of netcat's major features are:
X
X	Outbound or inbound connections, IPv4 or IPv6, TCP or UDP,
X		to or from any ports
X	Full DNS forward/reverse checking, with appropriate warnings
X	Ability to use any local source port
X	Ability to use any locally-configured network source address
X	Built-in port-scanning capabilities, with randomizer
X	Built-in loose source-routing capability
X	Can read command line arguments from standard input
X	Slow-send mode, one line every N seconds
X	Hex dump of transmitted and received data
X	Optional ability to let another program service established connections
X	Optional telnet-options responder
X
XA very short list of potential uses:
X
X	Script backends
X	Scanning ports and inventorying services, automated probes
X	Backup handlers
X	File transfers
X	Server testing, simulation, debugging, and hijacking
X	Firewall testing
X	Proxy gatewaying
X	Network performance testing
X	Address spoofing tests
X	Protecting X servers
X	1001 other uses you'll likely come up with
X
X_H* 960320
END-of-net/netcat+ipv6/pkg-descr
echo x - net/netcat+ipv6/pkg-comment
sed 's/^X//' >net/netcat+ipv6/pkg-comment << 'END-of-net/netcat+ipv6/pkg-comment'
XSimple utility which reads and writes data across network connections
END-of-net/netcat+ipv6/pkg-comment
echo x - net/netcat+ipv6/distinfo
sed 's/^X//' >net/netcat+ipv6/distinfo << 'END-of-net/netcat+ipv6/distinfo'
XMD5 (nc110.tgz) = 402632f2fe01c169ff19a0ad6e9d608c
XMD5 (nc-v6-20000918.patch.gz) = 84d850745dd860aedce64b518e0e3330
END-of-net/netcat+ipv6/distinfo
echo x - net/netcat+ipv6/Makefile
sed 's/^X//' >net/netcat+ipv6/Makefile << 'END-of-net/netcat+ipv6/Makefile'
X#
X# Ports collection makefile for:  netcat+ipv6
X# Date created:			  24 January 2002
X# Whom:				  Edwin Groothuis (edwin@mavetju.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netcat+ipv6
XPORTVERSION=	1.10
XCATEGORIES=	net ipv6
XMASTER_SITES=	ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/  \
X		ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/  \
X		http://www.planetmirror.com/pub/lprng/TOOLS/
XDISTNAME=	nc110
XEXTRACT_SUFX=	.tgz
X
XPATCH_SITES=	ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/
XPATCHFILES=	nc-v6-20000918.patch.gz
XPATCH_DIST_STRIP=	-p1
X
XMAINTAINER=	edwin@mavetju.org
X
XNO_WRKSUBDIR=	yes
XALL_TARGET=	freebsd
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/netcat \
X		&& ${CHMOD} a+rx ${PREFIX}/share/doc/netcat
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/netcat
X.endif
X
X.include <bsd.port.mk>
END-of-net/netcat+ipv6/Makefile
exit

>Release-Note:
>Audit-Trail:

From: sumikawa@freebsd.org
To: edwin@mavetju.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/34226: new port: net/netcat+ipv6
Date: Fri, 25 Jan 2002 03:29:30 +0900 (JST)

 Do you really need this port?
 Original netcat is not maintained anymore.
 I recommend to use net/obnc(OpenBSD netcat) instead of it.
 It's already support IPv6.
 
 --
 sumikawa @ kame project / freebsd.org
State-Changed-From-To: open->feedback 
State-Changed-By: sumikawa 
State-Changed-When: Fri Jan 25 20:17:18 JST 2002 
State-Changed-Why:  
I'll handle this. 


Responsible-Changed-From-To: freebsd-ports->sumikawa 
Responsible-Changed-By: sumikawa 
Responsible-Changed-When: Fri Jan 25 20:17:18 JST 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34226 
State-Changed-From-To: feedback->closed 
State-Changed-By: sumikawa 
State-Changed-When: Sun Feb 3 03:00:17 JST 2002 
State-Changed-Why:  
just closed this PR. we take ports/29030 instead of this. 

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