Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 11:24:13 -0800 (PST)
From:      Liam Foy <liamfoy@sepulcrum.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/61262: [NEW PORT] net/gnetcat
Message-ID:  <200401121924.i0CJODQ5058405@www.freebsd.org>
Resent-Message-ID: <200401121930.i0CJUMvM033555@freefall.freebsd.org>

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

>Number:         61262
>Category:       ports
>Synopsis:       [NEW PORT] net/gnetcat
>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:   Mon Jan 12 11:30:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Liam Foy
>Release:        
>Organization:
Sepulcrum
>Environment:
FreeBSD liamfoy.ath.cx 4.9-STABLE FreeBSD 4.9-STABLE #5: Sat Dec 13 15:24:43 GMT 2003     liamfoy@ecthelion:/usr/src/sys/compile/Ecthelion  i386

>Description:
-GPL'ed re-write of the well known networking tool netcat.
-New features.
>How-To-Repeat:

>Fix:
# 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:
#
#	gnetcat
#	gnetcat/distinfo
#	gnetcat/Makefile
#	gnetcat/files
#	gnetcat/files/patch-aa
#	gnetcat/pkg-descr
#	gnetcat/pkg-plist
#
echo c - gnetcat
mkdir -p gnetcat > /dev/null 2>&1
echo x - gnetcat/distinfo
sed 's/^X//' >gnetcat/distinfo << 'END-of-gnetcat/distinfo'
XMD5 (netcat-0.7.1.tar.gz) = 088def25efe04dcdd1f8369d8926ab34
END-of-gnetcat/distinfo
echo x - gnetcat/Makefile
sed 's/^X//' >gnetcat/Makefile << 'END-of-gnetcat/Makefile'
X# New ports collection makefile for:	gnetcat
X# Date created:		10 January 2004
X# Whom:			liamfoy@sepulcrum.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnetcat
XPORTVERSION=	0.7.1
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	netcat
XDISTNAME=	netcat-0.7.1
X
XMAINTAINER=	liamfoy@sepulcrum.org
XCOMMENT=	GPL'ed re-write of the well known networking tool netcat
X
XGNU_CONFIGURE=	yes
X
XMAN1=		gnetcat.1
XMANCOMPRESSED=	no
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/netcat ${PREFIX}/bin/gnetcat
X	${INSTALL_MAN} ${WRKSRC}/doc/netcat.1 ${PREFIX}/man/man1/gnetcat.1
X.if !defined(NOPORTDOCS)
X	${INSTALL_DATA} ${WRKSRC}/doc/netcat.info ${PREFIX}/info/gnetcat.info
X.endif
X
X.include <bsd.port.mk>
END-of-gnetcat/Makefile
echo c - gnetcat/files
mkdir -p gnetcat/files > /dev/null 2>&1
echo x - gnetcat/files/patch-aa
sed 's/^X//' >gnetcat/files/patch-aa << 'END-of-gnetcat/files/patch-aa'
X--- src/udphelper.c.orig	Mon Jan 12 19:18:26 2004
X+++ src/udphelper.c	Mon Jan 12 19:19:22 2004
X@@ -45,10 +45,10 @@
X #endif
X 
X #if !defined(SIOCGLIFADDR) || !defined(SIOCGLIFFLAGS)
X-/* FIXME The following warning occurs on FreeBSD:
X-    udphelper.c:48: warning: `SIOCGLIFADDR' redefined
X-    /usr/include/sys/sockio.h:78: warning: this is the location of the previous definition
X- */
X+/* Temp fix - suggested by author */
X+#if defined(SIOCGLIFADDR)
X+#undef SIOCGLIFADDR
X+#endif
X # define SIOCGLIFADDR SIOCGIFADDR
X # define SIOCGLIFFLAGS SIOCGIFFLAGS
X # define SIOCGLIFDSTADDR SIOCGIFDSTADDR
END-of-gnetcat/files/patch-aa
echo x - gnetcat/pkg-descr
sed 's/^X//' >gnetcat/pkg-descr << 'END-of-gnetcat/pkg-descr'
XNetcat is a featured networking utility which reads and writes data across
Xnetwork connections, using the TCP/IP protocol. It is designed to be a reliable
X"back-end" tool that can be used directly or easily driven by other programs and
Xscripts. At the same time, it is a feature-rich network debugging and
Xexploration tool, since it can create almost any kind of connection you 
Xwould need and has several interesting built-in capabilities.
X
XWWW: http://netcat.sourceforge.net
X
X-Liam Foy
Xliamfoy@sepulcrum.org
END-of-gnetcat/pkg-descr
echo x - gnetcat/pkg-plist
sed 's/^X//' >gnetcat/pkg-plist << 'END-of-gnetcat/pkg-plist'
Xbin/gnetcat
END-of-gnetcat/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



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