ports/61262: [NEW PORT] net/gnetcat:

Liam Foy liamfoy at sepulcrum.org
Mon Jan 12 20:41:40 UTC 2004


Jason Harris wrote:

>The following reply was made to PR ports/61262; it has been noted by GNATS.
>
>From: Jason Harris <jharris at widomaker.com>
>To: Liam Foy <liamfoy at sepulcrum.org>,
>	freebsd-gnats-submit at FreeBSD.org
>Cc: Jason Harris <jharris at widomaker.com>
>Subject: Re: ports/61262: [NEW PORT] net/gnetcat
>Date: Mon, 12 Jan 2004 15:06:42 -0500
>
> --AqsLC8rIMeq19msA
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> In gmane.os.freebsd.devel.ports.bugs, you wrote:
> =20
> >>Number:         61262
> >>Category:       ports
> >>Synopsis:       [NEW PORT] net/gnetcat
> 
> > XMD5 (netcat-0.7.1.tar.gz) =3D 088def25efe04dcdd1f8369d8926ab34
> 
> An equivalent .bz2 is available and saves a few kB:
> 
> %md5 netcat-0.7.1.tar.* ; wc -c netcat-0.7.1.tar.* ; \
>  gzip -cd netcat-0.7.1.tar.gz | md5; \
>  bzip2 -cd netcat-0.7.1.tar.bz2 | md5
> MD5 (netcat-0.7.1.tar.bz2) =3D 0a29eff1736ddb5effd0b1ec1f6fe0ef
> MD5 (netcat-0.7.1.tar.gz) =3D 088def25efe04dcdd1f8369d8926ab34
>   325687 netcat-0.7.1.tar.bz2
>   398872 netcat-0.7.1.tar.gz
>   724559 total
> 36d21ee70dc1cc7cbc98174472059898
> 36d21ee70dc1cc7cbc98174472059898
> 
> --=20
> Jason Harris          | NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
> jharris at widomaker.com | web:  http://keyserver.kjsl.com/~jharris/
> 
> --AqsLC8rIMeq19msA
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (FreeBSD)
> 
> iD8DBQFAAv5QSypIl9OdoOMRAh1eAJ44vj0p6quG+SsfBb7k44yMZD0C7ACePcDC
> 0Gz3vrbCC2vuexdSncnJYss=
> =Ot0O
> -----END PGP SIGNATURE-----
> 
> --AqsLC8rIMeq19msA--
>_______________________________________________
>freebsd-ports-bugs at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
>To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
>
>  
>
Thanks for pointing this out. New shar file for commiting:

# 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.bz2) = 0a29eff1736ddb5effd0b1ec1f6fe0ef
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 at 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
XEXTRACT_SUFX=	.tar.bz2
X
XMAINTAINER=	liamfoy at sepulcrum.org
XCOMMENT=	GPL'ed re-write of the well known networking tool netcat
X
XGNU_CONFIGURE=	yes
XUSE_BZIP2=	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 at 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



Thanks again,

-- 
Liam Foy <liamfoy at sepulcrum.org>
http://liamfoy.ath.cx




More information about the freebsd-ports-bugs mailing list