From mohacsi@norfolk.ki.iif.hu  Mon Jul 26 08:19:42 2004
Return-Path: <mohacsi@norfolk.ki.iif.hu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DEB2816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jul 2004 08:19:42 +0000 (GMT)
Received: from norfolk.ki.iif.hu (norfolk.ki.iif.hu [193.6.222.32])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 15FB343D39
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jul 2004 08:19:42 +0000 (GMT)
	(envelope-from mohacsi@norfolk.ki.iif.hu)
Received: (from mohacsi@localhost)
	by norfolk.ki.iif.hu (8.12.11/8.12.11) id i6Q8JZoo008385;
	Mon, 26 Jul 2004 10:19:35 +0200 (CEST)
	(envelope-from mohacsi)
Message-Id: <200407260819.i6Q8JZoo008385@norfolk.ki.iif.hu>
Date: Mon, 26 Jul 2004 10:19:35 +0200 (CEST)
From: Janos Mohacsi <mohacsi@niif.hu>
Reply-To: Janos Mohacsi <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: net/netwib version 5.20.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69608
>Category:       ports
>Synopsis:       New port: net/netwib version 5.20.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 08:30:18 GMT 2004
>Closed-Date:    Sun Aug 01 09:05:26 GMT 2004
>Last-Modified:  Sun Aug 01 09:05:26 GMT 2004
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Thu Jul 8 14:37:25 CEST 2004 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386


>Description:
New port: net/netwib version 5.20.0
Netwib is a network library providing :
  - network features :
    + address conversion
    + udp/tcp clients/servers
    + packet encoding/decoding/displaying
    + spoofing
    + sniffing
    + etc.
  - and general features :
    + data conversion
    + linked list, hash
    + portable threads
    + etc.
Using all these functions, a network program can be quickly created.

>How-To-Repeat:
	Apply this shar.
>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:
#
#	netwib/
#	netwib/pkg-descr
#	netwib/distinfo
#	netwib/Makefile
#	netwib/files
#	netwib/files/patch-config.dat
#	netwib/pkg-plist
#
echo c - netwib/
mkdir -p netwib/ > /dev/null 2>&1
echo x - netwib/pkg-descr
sed 's/^X//' >netwib/pkg-descr << 'END-of-netwib/pkg-descr'
XNetwib is a network library providing :
X  - network features :
X    + address conversion
X    + udp/tcp clients/servers
X    + packet encoding/decoding/displaying
X    + spoofing
X    + sniffing
X    + etc.
X  - and general features :
X    + data conversion
X    + linked list, hash
X    + portable threads
X    + etc.
XUsing all these functions, a network program can be quickly created.
X
XWWW: http://www.laurentconstantin.com/en/netw/netwib/
END-of-netwib/pkg-descr
echo x - netwib/distinfo
sed 's/^X//' >netwib/distinfo << 'END-of-netwib/distinfo'
XMD5 (netwib-5.20.0-src.tgz) = 5641b2aaf1360cbd36bb5be511c200d0
XSIZE (netwib-5.20.0-src.tgz) = 592049
XMD5 (netwib-5.20.0-doc_html.tgz) = 91f286427b4abd2d44f028c72b85fed4
XSIZE (netwib-5.20.0-doc_html.tgz) = 130409
END-of-netwib/distinfo
echo x - netwib/Makefile
sed 's/^X//' >netwib/Makefile << 'END-of-netwib/Makefile'
X# New ports collection makefile for:	netwox
X# Date created:				23.07.2004
X# Whom:					janos.mohacsi@bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netwib
XPORTVERSION=	5.20.0
XCATEGORIES=	net devel ipv6
XMASTER_SITES=	http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \
X		http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \
X		http://laurentconstantin.free.fr/common/netw/netwib/download/v5/
XDISTFILES=	${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	Netwib network programming library
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
XUSE_REINPLACE=	yes
XMAN3=		netwib.3 netwib_dat.3 netwib_err.3 netwib_net.3 \
X		netwib_pkt.3 netwib_shw.3 netwib_sys.3
X
Xdo-configure:
X		@${REINPLACE_CMD} \
X		-e 's|%%PREFIX%%|${PREFIX}|' \
X		${WRKSRC}/config.dat
X		(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
X
X.include <bsd.port.mk>
END-of-netwib/Makefile
echo c - netwib/files
mkdir -p netwib/files > /dev/null 2>&1
echo x - netwib/files/patch-config.dat
sed 's/^X//' >netwib/files/patch-config.dat << 'END-of-netwib/files/patch-config.dat'
X
X$FreeBSD$
X
X--- config.dat.orig	Fri Jul 23 14:25:20 2004
X+++ config.dat	Fri Jul 23 14:26:07 2004
X@@ -15,12 +15,12 @@
X 
X ##########################################################################
X ### directories
X-NETWIBDEF_INSTPREFIX=/usr/local
X+NETWIBDEF_INSTPREFIX=%%PREFIX%%
X NETWIBDEF_INSTINCLUDE=${NETWIBDEF_INSTPREFIX}/include
X NETWIBDEF_INSTLIB=${NETWIBDEF_INSTPREFIX}/lib
X NETWIBDEF_INSTBIN=${NETWIBDEF_INSTPREFIX}/bin
X NETWIBDEF_INSTMAN=${NETWIBDEF_INSTPREFIX}/man
X NETWIBDEF_INSTMAN1=${NETWIBDEF_INSTMAN}/man1
X NETWIBDEF_INSTMAN3=${NETWIBDEF_INSTMAN}/man3
X-NETWIBDEF_INSTDOC=${NETWIBDEF_INSTPREFIX}/doc
X+NETWIBDEF_INSTDOC=${NETWIBDEF_INSTPREFIX}/share/doc/netwib
X 
END-of-netwib/files/patch-config.dat
echo x - netwib/pkg-plist
sed 's/^X//' >netwib/pkg-plist << 'END-of-netwib/pkg-plist'
Xbin/netwib520-config
Xbin/netwib-config
Xinclude/netwib.h
Xinclude/netwib520.h
Xinclude/netwib520/dat.h
Xinclude/netwib520/dat/array.h
Xinclude/netwib520/dat/buf.h
Xinclude/netwib520/dat/bufdec.h
Xinclude/netwib520/dat/bufenc.h
Xinclude/netwib520/dat/bufpool.h
Xinclude/netwib520/dat/c.h
Xinclude/netwib520/dat/c2.h
Xinclude/netwib520/dat/checksum.h
Xinclude/netwib520/dat/fmt.h
Xinclude/netwib520/dat/hash.h
Xinclude/netwib520/dat/hashi.h
Xinclude/netwib520/dat/ptr.h
Xinclude/netwib520/dat/regexp.h
Xinclude/netwib520/dat/ring.h
Xinclude/netwib520/dat/ringi.h
Xinclude/netwib520/dat/tlv.h
Xinclude/netwib520/dat/types.h
Xinclude/netwib520/dat/uint64.h
Xinclude/netwib520/def.h
Xinclude/netwib520/err.h
Xinclude/netwib520/net.h
Xinclude/netwib520/net/conf.h
Xinclude/netwib520/net/confarp.h
Xinclude/netwib520/net/confdev.h
Xinclude/netwib520/net/confip.h
Xinclude/netwib520/net/confrout.h
Xinclude/netwib520/net/device.h
Xinclude/netwib520/net/eth.h
Xinclude/netwib520/net/eths.h
Xinclude/netwib520/net/ethsi.h
Xinclude/netwib520/net/ip.h
Xinclude/netwib520/net/ips.h
Xinclude/netwib520/net/ipsi.h
Xinclude/netwib520/net/port.h
Xinclude/netwib520/net/ports.h
Xinclude/netwib520/net/portsi.h
Xinclude/netwib520/net/sniff.h
Xinclude/netwib520/net/sock.h
Xinclude/netwib520/net/spoof.h
Xinclude/netwib520/net/types.h
Xinclude/netwib520/pkt.h
Xinclude/netwib520/pkt/arphdr.h
Xinclude/netwib520/pkt/conv.h
Xinclude/netwib520/pkt/icmp4.h
Xinclude/netwib520/pkt/icmp6.h
Xinclude/netwib520/pkt/icmp6nd.h
Xinclude/netwib520/pkt/ip4opt.h
Xinclude/netwib520/pkt/ip4opts.h
Xinclude/netwib520/pkt/ip64bits.h
Xinclude/netwib520/pkt/ip6ext.h
Xinclude/netwib520/pkt/ip6exts.h
Xinclude/netwib520/pkt/ipfrag.h
Xinclude/netwib520/pkt/iphdr.h
Xinclude/netwib520/pkt/layer.h
Xinclude/netwib520/pkt/linkhdr.h
Xinclude/netwib520/pkt/packet.h
Xinclude/netwib520/pkt/tcphdr.h
Xinclude/netwib520/pkt/tcpopt.h
Xinclude/netwib520/pkt/tcpopts.h
Xinclude/netwib520/pkt/types.h
Xinclude/netwib520/pkt/udphdr.h
Xinclude/netwib520/shw.h
Xinclude/netwib520/shw/arphdr.h
Xinclude/netwib520/shw/array.h
Xinclude/netwib520/shw/icmp4.h
Xinclude/netwib520/shw/icmp6.h
Xinclude/netwib520/shw/icmp6nd.h
Xinclude/netwib520/shw/ip4opt.h
Xinclude/netwib520/shw/ip4opts.h
Xinclude/netwib520/shw/ip6ext.h
Xinclude/netwib520/shw/ip6exts.h
Xinclude/netwib520/shw/iphdr.h
Xinclude/netwib520/shw/linkhdr.h
Xinclude/netwib520/shw/packet.h
Xinclude/netwib520/shw/tcphdr.h
Xinclude/netwib520/shw/tcpopt.h
Xinclude/netwib520/shw/tcpopts.h
Xinclude/netwib520/shw/types.h
Xinclude/netwib520/shw/udphdr.h
Xinclude/netwib520/sys.h
Xinclude/netwib520/sys/beep.h
Xinclude/netwib520/sys/bufdec.h
Xinclude/netwib520/sys/bufenc.h
Xinclude/netwib520/sys/dir.h
Xinclude/netwib520/sys/dirname.h
Xinclude/netwib520/sys/disp.h
Xinclude/netwib520/sys/error.h
Xinclude/netwib520/sys/fd.h
Xinclude/netwib520/sys/file.h
Xinclude/netwib520/sys/filename.h
Xinclude/netwib520/sys/global.h
Xinclude/netwib520/sys/init.h
Xinclude/netwib520/sys/internal.h
Xinclude/netwib520/sys/io.h
Xinclude/netwib520/sys/ionew.h
Xinclude/netwib520/sys/iousual.h
Xinclude/netwib520/sys/kbd.h
Xinclude/netwib520/sys/kbdbuf.h
Xinclude/netwib520/sys/kbdchar.h
Xinclude/netwib520/sys/kbdint.h
Xinclude/netwib520/sys/kbdpress.h
Xinclude/netwib520/sys/path.h
Xinclude/netwib520/sys/pathname.h
Xinclude/netwib520/sys/pathstat.h
Xinclude/netwib520/sys/rand.h
Xinclude/netwib520/sys/record.h
Xinclude/netwib520/sys/screen.h
Xinclude/netwib520/sys/stream.h
Xinclude/netwib520/sys/thread.h
Xinclude/netwib520/sys/threadcond.h
Xinclude/netwib520/sys/threadlist.h
Xinclude/netwib520/sys/threadmut.h
Xinclude/netwib520/sys/threadrwl.h
Xinclude/netwib520/sys/threadtsd.h
Xinclude/netwib520/sys/time.h
Xinclude/netwib520/sys/types.h
Xinclude/netwib520/sys/unix.h
Xinclude/netwib520/sys/wait.h
Xinclude/netwib520/sys/waitlist.h
Xinclude/netwib520/sys/windows.h
Xlib/libnetwib520.a
Xlib/libnetwib.a
X@dirrm include/netwib520/dat
X@dirrm include/netwib520/net
X@dirrm include/netwib520/pkt
X@dirrm include/netwib520/shw
X@dirrm include/netwib520/sys
X@dirrm include/netwib520
END-of-netwib/pkg-plist
exit


>Release-Note:
>Audit-Trail:

From: Sergey Matveychuk <sem@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, janos.mohacsi@bsd.hu,
	king@v2project.com
Cc:  
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 13:43:30 +0400

 This is just renamed new version of security/lcrzo.
 Is there a reason to make the new port?
 
 -- 
 Sem.

From: Mohacsi Janos <mohacsi@niif.hu>
To: Sergey Matveychuk <sem@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org, king@v2project.com
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 12:31:23 +0200 (CEST)

 Hello,
  	I did not know about lcrzo, when I created the port. However I 
 have some comments:
 - lcrzo should be updated to have the latest version. - version 4 is no 
 longer supported by the author.
 
 - it may be renamed to the have new name, since the author uses this name 
 now.
 
 - for lcrzoex -> netwox the documenation is essential. Without it it is 
 painful to use the tool, since no real manual page created.
 
 - the ports should follow the ${PREFIX} scheme. With my patch this is the 
 case.
 
 Regards,
 
 Janos Mohacsi
 Network Engineer, Research Associate
 NIIF/HUNGARNET, HUNGARY
 Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98
 
 On Mon, 26 Jul 2004, Sergey Matveychuk wrote:
 
 > This is just renamed new version of security/lcrzo.
 > Is there a reason to make the new port?
 >
 > -- 
 > Sem.
 >
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: sem 
Responsible-Changed-When: Mon Jul 26 11:42:32 GMT 2004 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69608 
State-Changed-From-To: open->feedback 
State-Changed-By: sem 
State-Changed-When: Mon Jul 26 11:43:51 GMT 2004 
State-Changed-Why:  
Waiting for maintainer approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69608 

From: Sergey Matveychuk <sem@FreeBSD.org>
To: Mohacsi Janos <mohacsi@niif.hu>
Cc: freebsd-gnats-submit@FreeBSD.org, king@v2project.com
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 15:41:49 +0400

 Mohacsi Janos wrote:
 > Hello,
 >     I did not know about lcrzo, when I created the port. However I have 
 > some comments:
 > - lcrzo should be updated to have the latest version. - version 4 is no 
 > longer supported by the author.
 > 
 
 OK. I agree. Let's wait for maintainer opinion. If he will not answer 
 for two weeks we'll make a repocopy.
 
 -- 
 Sem.

From: Jose Rodriguez <king@v2project.com>
To: Sergey Matveychuk <sem@FreeBSD.org>
Cc: Mohacsi Janos <mohacsi@niif.hu>, freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 17:36:44 +0200

 Salute
 
 I agree with the repo, the project has changed and lcrzo has been 
 substituted with netwib version.
 
 Best regards
 
 > Mohacsi Janos wrote:
 > 
 >> Hello,
 >>     I did not know about lcrzo, when I created the port. However I 
 >> have some comments:
 >> - lcrzo should be updated to have the latest version. - version 4 is 
 >> no longer supported by the author.
 >>
 > 
 > OK. I agree. Let's wait for maintainer opinion. If he will not answer 
 > for two weeks we'll make a repocopy.
 > 
 

From: Sergey Matveychuk <sem@FreeBSD.org>
To: Jose Rodriguez <king@v2project.com>
Cc: Mohacsi Janos <mohacsi@niif.hu>, freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 20:07:10 +0400

 Jose Rodriguez wrote:
 
 > Salute
 > 
 > I agree with the repo, the project has changed and lcrzo has been 
 > substituted with netwib version.
 
 Don't you mind if the PR submitor will be the new port maintainer or you 
 prefer to stay the maintainer?
 
 -- 
 Sem.

From: Mohacsi Janos <mohacsi@niif.hu>
To: Sergey Matveychuk <sem@FreeBSD.org>
Cc: Jose Rodriguez <king@v2project.com>,
	freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 18:12:51 +0200 (CEST)

 Hello,
  	I don't mind if the original port maintainer keep the 
 maintainership.
  	Regards,
 
 Janos Mohacsi
 Network Engineer, Research Associate
 NIIF/HUNGARNET, HUNGARY
 Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98
 
 On Mon, 26 Jul 2004, Sergey Matveychuk wrote:
 
 > Jose Rodriguez wrote:
 >
 >> Salute
 >> 
 >> I agree with the repo, the project has changed and lcrzo has been 
 >> substituted with netwib version.
 >
 > Don't you mind if the PR submitor will be the new port maintainer or you 
 > prefer to stay the maintainer?
 >
 > -- 
 > Sem.
 >

From: Jose Rodriguez <king@v2project.com>
To: Sergey Matveychuk <sem@FreeBSD.org>
Cc: Mohacsi Janos <mohacsi@niif.hu>, freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Mon, 26 Jul 2004 18:33:23 +0200

 Salute
 
 unfortunately i have no time to maintain this port, ill be ok to  give 
 the maintainer rights to the person that submited the netwib port.
 
 Best regards
 
 > Jose Rodriguez wrote:
 > 
 >> Salute
 >>
 >> I agree with the repo, the project has changed and lcrzo has been 
 >> substituted with netwib version.
 > 
 > 
 > Don't you mind if the PR submitor will be the new port maintainer or you 
 > prefer to stay the maintainer?
 > 
 
State-Changed-From-To: feedback->repocopy 
State-Changed-By: sem 
State-Changed-When: Mon Jul 26 17:39:12 GMT 2004 
State-Changed-Why:  
Repocopy request: 
security/lcrzo -> net/netwib 


Responsible-Changed-From-To: sem->portmgr 
Responsible-Changed-By: sem 
Responsible-Changed-When: Mon Jul 26 17:39:12 GMT 2004 
Responsible-Changed-Why:  
Repocopy request: 
security/lcrzo -> net/netwib 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69608 

From: Mohacsi Janos <mohacsi@niif.hu>
To: Jose Rodriguez <king@v2project.com>
Cc: Sergey Matveychuk <sem@FreeBSD.org>,
	freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Tue, 27 Jul 2004 09:04:48 +0200 (CEST)

 Hello Jose and Sergey,
   	OK. I can maintain these two ports, since I am using them for 
 firewall testing.
   	Regards,
 
 Janos Mohacsi
 Network Engineer, Research Associate
 NIIF/HUNGARNET, HUNGARY
 Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98
 
 On Mon, 26 Jul 2004, Jose Rodriguez wrote:
 
 > Salute
 >
 > unfortunately i have no time to maintain this port, ill be ok to  give the 
 > maintainer rights to the person that submited the netwib port.
 >
 > Best regards
 >
 >> Jose Rodriguez wrote:
 >> 
 >>> Salute
 >>> 
 >>> I agree with the repo, the project has changed and lcrzo has been 
 >>> substituted with netwib version.
 >> 
 >> 
 >> Don't you mind if the PR submitor will be the new port maintainer or you 
 >> prefer to stay the maintainer?
 >> 
 >
 >

From: Mohacsi Janos <mohacsi@niif.hu>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Sergey Matveychuk <sem@FreeBSD.org>
Subject: Re: ports/69608: New port: net/netwib version 5.20.0
Date: Wed, 28 Jul 2004 16:23:02 +0200 (CEST)

 Here is the requested follow-up. The unified diff to new version.
 
 
 
 
 
 diff -ruN netwib.bak/Makefile netwib/Makefile
 --- netwib.bak/Makefile	Thu May 27 13:28:09 2004
 +++ netwib/Makefile	Wed Jul 28 16:13:05 2004
 @@ -1,32 +1,32 @@
 -# New ports collection makefile for:	lcrzo
 -# Date created:		Wed Apr 10 02:42:20 CEST 2002
 -# Whom:			king@v2project.com
 +# New ports collection makefile for:	netwox
 +# Date created:				23.07.2004
 +# Whom:					janos.mohacsi@bsd.hu
   #
 -# $FreeBSD: ports/security/lcrzo/Makefile,v 1.7 2004/05/25 15:18:23 pav Exp $
 +# $FreeBSD$
   #
 
 -PORTNAME=	lcrzo
 -PORTVERSION=	4.17.0
 -CATEGORIES=	security
 -MASTER_SITES=	http://www.laurentconstantin.com/common/netw/netwib/download/v4/ \
 -		http://fresh.t-systems-sfr.com/unix/src/privat2/
 -EXTRACT_SUFX=	-src.tgz
 +PORTNAME=	netwib
 +PORTVERSION=	5.20.0
 +CATEGORIES=	net devel ipv6
 +MASTER_SITES=	http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \
 +		http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \
 +		http://laurentconstantin.free.fr/common/netw/netwib/download/v5/
 +DISTFILES=	${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
 
 -MAINTAINER=	king@v2project.com
 -COMMENT=	Lcrzo is a network library (used by Lcrzoex, network testing toolbox)
 +MAINTAINER=	janos.mohacsi@bsd.hu
 +COMMENT=	Netwib network programming library
 
 -WRKSRC=		${WRKDIR}/${PKGNAME}-src/src
 -ONLY_FOR_ARCHS=	i386 alpha
 +BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
 
 -MAN3=	lcrzo.3 lcrzo_address.3 lcrzo_conf.3 lcrzo_data.3 lcrzo_device.3 \
 -	lcrzo_error.3 lcrzo_file.3 lcrzo_global.3 lcrzo_header.3 \
 -	lcrzo_icmp.3 lcrzo_ipc.3 lcrzo_ipopt.3 lcrzo_list.3 lcrzo_misc.3 \
 -	lcrzo_obso.3 lcrzo_packet.3 lcrzo_print.3 lcrzo_process.3 \
 -	lcrzo_record.3 lcrzo_sniff.3 lcrzo_sock.3 lcrzo_spoof.3 \
 -	lcrzo_string.3 lcrzo_tcpopt.3 lcrzo_time.3 lcrzo_types.3 lcrzo_wait.3 \
 -	lcrzo_fd2.3 lcrzo_winhandle.3 lcrzo_kbd.3
 +WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
 +USE_REINPLACE=	yes
 +MAN3=		netwib.3 netwib_dat.3 netwib_err.3 netwib_net.3 \
 +		netwib_pkt.3 netwib_shw.3 netwib_sys.3
 
 -post-patch:
 -	cd ${WRKSRC} && ${SH} ${WRKSRC}/genemake
 +do-configure:
 +		@${REINPLACE_CMD} \
 +		-e 's|%%PREFIX%%|${PREFIX}|' \
 +		${WRKSRC}/config.dat
 +		(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
 
   .include <bsd.port.mk>
 diff -ruN netwib.bak/distinfo netwib/distinfo
 --- netwib.bak/distinfo	Thu Apr  1 09:23:11 2004
 +++ netwib/distinfo	Wed Jul 28 16:13:05 2004
 @@ -1,2 +1,4 @@
 -MD5 (lcrzo-4.17.0-src.tgz) = 042fcf6ee956b871e607d2686655ba29
 -SIZE (lcrzo-4.17.0-src.tgz) = 765067
 +MD5 (netwib-5.20.0-src.tgz) = 5641b2aaf1360cbd36bb5be511c200d0
 +SIZE (netwib-5.20.0-src.tgz) = 592049
 +MD5 (netwib-5.20.0-doc_html.tgz) = 91f286427b4abd2d44f028c72b85fed4
 +SIZE (netwib-5.20.0-doc_html.tgz) = 130409
 diff -ruN netwib.bak/files/patch-config.dat netwib/files/patch-config.dat
 --- netwib.bak/files/patch-config.dat	Tue Jun 25 12:54:14 2002
 +++ netwib/files/patch-config.dat	Wed Jul 28 16:13:05 2004
 @@ -1,14 +1,20 @@
 ---- config.dat.orig	Wed Apr 10 03:06:53 2002
 -+++ config.dat	Wed Apr 10 03:07:04 2002
 -@@ -41,9 +41,9 @@
 - ###  - MacOS_10_ppc : MacOS X under PowerPC
 - ###  - Etc.
 - #LCRZODEF_SYS=FreeBSD_3_i386
 --#LCRZODEF_SYS=FreeBSD_4_i386
 -+LCRZODEF_SYS=FreeBSD_4_i386
 - #LCRZODEF_SYS=FreeBSD_4_alpha
 --LCRZODEF_SYS=Linux_X_i386
 -+#LCRZODEF_SYS=Linux_X_i386
 - #LCRZODEF_SYS=Linux_X_ia64
 - #LCRZODEF_SYS=Linux_X_alpha
 - #LCRZODEF_SYS=MacOS_10_ppc
 +
 +$FreeBSD$
 +
 +--- config.dat.orig	Fri Jul 23 14:25:20 2004
 ++++ config.dat	Fri Jul 23 14:26:07 2004
 +@@ -15,12 +15,12 @@
 + 
 + ##########################################################################
 + ### directories
 +-NETWIBDEF_INSTPREFIX=/usr/local
 ++NETWIBDEF_INSTPREFIX=%%PREFIX%%
 + NETWIBDEF_INSTINCLUDE=${NETWIBDEF_INSTPREFIX}/include
 + NETWIBDEF_INSTLIB=${NETWIBDEF_INSTPREFIX}/lib
 + NETWIBDEF_INSTBIN=${NETWIBDEF_INSTPREFIX}/bin
 + NETWIBDEF_INSTMAN=${NETWIBDEF_INSTPREFIX}/man
 + NETWIBDEF_INSTMAN1=${NETWIBDEF_INSTMAN}/man1
 + NETWIBDEF_INSTMAN3=${NETWIBDEF_INSTMAN}/man3
 +-NETWIBDEF_INSTDOC=${NETWIBDEF_INSTPREFIX}/doc
 ++NETWIBDEF_INSTDOC=${NETWIBDEF_INSTPREFIX}/share/doc/netwib
 + 
 diff -ruN netwib.bak/pkg-descr netwib/pkg-descr
 --- netwib.bak/pkg-descr	Tue Jun 25 12:54:13 2002
 +++ netwib/pkg-descr	Wed Jul 28 16:13:05 2004
 @@ -1,9 +1,16 @@
 -Lcrzo is a network library, for network administrators 
 -and network hackers. Its objective is to easily create network programs.
 -This library provides network functionnalities for Ethernet, IP, UDP, TCP, 
 -ICMP, ARP and RARP protocols. It supports spoofing, sniffing, client and 
 -server creation. Furthermore, lcrzo contains high level functions dealing 
 -with data storage and handling. Using all these functions, you can quickly 
 -create a network test program.
 +Netwib is a network library providing :
 +  - network features :
 +    + address conversion
 +    + udp/tcp clients/servers
 +    + packet encoding/decoding/displaying
 +    + spoofing
 +    + sniffing
 +    + etc.
 +  - and general features :
 +    + data conversion
 +    + linked list, hash
 +    + portable threads
 +    + etc.
 +Using all these functions, a network program can be quickly created.
 
 -WWW: http://www.laurentconstantin.com/en/lcrzo/
 +WWW: http://www.laurentconstantin.com/en/netw/netwib/
 diff -ruN netwib.bak/pkg-plist netwib/pkg-plist
 --- netwib.bak/pkg-plist	Sat Feb 22 04:10:26 2003
 +++ netwib/pkg-plist	Wed Jul 28 16:13:05 2004
 @@ -1,34 +1,133 @@
 -bin/lcrzo-config
 -include/lcrzo.h
 -include/lcrzo_address.h
 -include/lcrzo_conf.h
 -include/lcrzo_data.h
 -include/lcrzo_debugdefs.h
 -include/lcrzo_defs.h
 -include/lcrzo_device.h
 -include/lcrzo_error.h
 -include/lcrzo_fd2.h
 -include/lcrzo_file.h
 -include/lcrzo_global.h
 -include/lcrzo_header.h
 -include/lcrzo_icmp.h
 -include/lcrzo_ipc.h
 -include/lcrzo_ipopt.h
 -include/lcrzo_kbd.h
 -include/lcrzo_list.h
 -include/lcrzo_misc.h
 -include/lcrzo_obso.h
 -include/lcrzo_packet.h
 -include/lcrzo_print.h
 -include/lcrzo_process.h
 -include/lcrzo_record.h
 -include/lcrzo_sniff.h
 -include/lcrzo_sock.h
 -include/lcrzo_spoof.h
 -include/lcrzo_string.h
 -include/lcrzo_tcpopt.h
 -include/lcrzo_time.h
 -include/lcrzo_types.h
 -include/lcrzo_wait.h
 -include/lcrzo_winhandle.h
 -lib/liblcrzo.a
 +bin/netwib520-config
 +bin/netwib-config
 +include/netwib.h
 +include/netwib520.h
 +include/netwib520/dat.h
 +include/netwib520/dat/array.h
 +include/netwib520/dat/buf.h
 +include/netwib520/dat/bufdec.h
 +include/netwib520/dat/bufenc.h
 +include/netwib520/dat/bufpool.h
 +include/netwib520/dat/c.h
 +include/netwib520/dat/c2.h
 +include/netwib520/dat/checksum.h
 +include/netwib520/dat/fmt.h
 +include/netwib520/dat/hash.h
 +include/netwib520/dat/hashi.h
 +include/netwib520/dat/ptr.h
 +include/netwib520/dat/regexp.h
 +include/netwib520/dat/ring.h
 +include/netwib520/dat/ringi.h
 +include/netwib520/dat/tlv.h
 +include/netwib520/dat/types.h
 +include/netwib520/dat/uint64.h
 +include/netwib520/def.h
 +include/netwib520/err.h
 +include/netwib520/net.h
 +include/netwib520/net/conf.h
 +include/netwib520/net/confarp.h
 +include/netwib520/net/confdev.h
 +include/netwib520/net/confip.h
 +include/netwib520/net/confrout.h
 +include/netwib520/net/device.h
 +include/netwib520/net/eth.h
 +include/netwib520/net/eths.h
 +include/netwib520/net/ethsi.h
 +include/netwib520/net/ip.h
 +include/netwib520/net/ips.h
 +include/netwib520/net/ipsi.h
 +include/netwib520/net/port.h
 +include/netwib520/net/ports.h
 +include/netwib520/net/portsi.h
 +include/netwib520/net/sniff.h
 +include/netwib520/net/sock.h
 +include/netwib520/net/spoof.h
 +include/netwib520/net/types.h
 +include/netwib520/pkt.h
 +include/netwib520/pkt/arphdr.h
 +include/netwib520/pkt/conv.h
 +include/netwib520/pkt/icmp4.h
 +include/netwib520/pkt/icmp6.h
 +include/netwib520/pkt/icmp6nd.h
 +include/netwib520/pkt/ip4opt.h
 +include/netwib520/pkt/ip4opts.h
 +include/netwib520/pkt/ip64bits.h
 +include/netwib520/pkt/ip6ext.h
 +include/netwib520/pkt/ip6exts.h
 +include/netwib520/pkt/ipfrag.h
 +include/netwib520/pkt/iphdr.h
 +include/netwib520/pkt/layer.h
 +include/netwib520/pkt/linkhdr.h
 +include/netwib520/pkt/packet.h
 +include/netwib520/pkt/tcphdr.h
 +include/netwib520/pkt/tcpopt.h
 +include/netwib520/pkt/tcpopts.h
 +include/netwib520/pkt/types.h
 +include/netwib520/pkt/udphdr.h
 +include/netwib520/shw.h
 +include/netwib520/shw/arphdr.h
 +include/netwib520/shw/array.h
 +include/netwib520/shw/icmp4.h
 +include/netwib520/shw/icmp6.h
 +include/netwib520/shw/icmp6nd.h
 +include/netwib520/shw/ip4opt.h
 +include/netwib520/shw/ip4opts.h
 +include/netwib520/shw/ip6ext.h
 +include/netwib520/shw/ip6exts.h
 +include/netwib520/shw/iphdr.h
 +include/netwib520/shw/linkhdr.h
 +include/netwib520/shw/packet.h
 +include/netwib520/shw/tcphdr.h
 +include/netwib520/shw/tcpopt.h
 +include/netwib520/shw/tcpopts.h
 +include/netwib520/shw/types.h
 +include/netwib520/shw/udphdr.h
 +include/netwib520/sys.h
 +include/netwib520/sys/beep.h
 +include/netwib520/sys/bufdec.h
 +include/netwib520/sys/bufenc.h
 +include/netwib520/sys/dir.h
 +include/netwib520/sys/dirname.h
 +include/netwib520/sys/disp.h
 +include/netwib520/sys/error.h
 +include/netwib520/sys/fd.h
 +include/netwib520/sys/file.h
 +include/netwib520/sys/filename.h
 +include/netwib520/sys/global.h
 +include/netwib520/sys/init.h
 +include/netwib520/sys/internal.h
 +include/netwib520/sys/io.h
 +include/netwib520/sys/ionew.h
 +include/netwib520/sys/iousual.h
 +include/netwib520/sys/kbd.h
 +include/netwib520/sys/kbdbuf.h
 +include/netwib520/sys/kbdchar.h
 +include/netwib520/sys/kbdint.h
 +include/netwib520/sys/kbdpress.h
 +include/netwib520/sys/path.h
 +include/netwib520/sys/pathname.h
 +include/netwib520/sys/pathstat.h
 +include/netwib520/sys/rand.h
 +include/netwib520/sys/record.h
 +include/netwib520/sys/screen.h
 +include/netwib520/sys/stream.h
 +include/netwib520/sys/thread.h
 +include/netwib520/sys/threadcond.h
 +include/netwib520/sys/threadlist.h
 +include/netwib520/sys/threadmut.h
 +include/netwib520/sys/threadrwl.h
 +include/netwib520/sys/threadtsd.h
 +include/netwib520/sys/time.h
 +include/netwib520/sys/types.h
 +include/netwib520/sys/unix.h
 +include/netwib520/sys/wait.h
 +include/netwib520/sys/waitlist.h
 +include/netwib520/sys/windows.h
 +lib/libnetwib520.a
 +lib/libnetwib.a
 +@dirrm include/netwib520/dat
 +@dirrm include/netwib520/net
 +@dirrm include/netwib520/pkt
 +@dirrm include/netwib520/shw
 +@dirrm include/netwib520/sys
 +@dirrm include/netwib520
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Fri Jul 30 17:08:02 GMT 2004 
State-Changed-Why:  
Repo-copy completed. 


Responsible-Changed-From-To: portmgr->sem 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Fri Jul 30 17:08:02 GMT 2004 
Responsible-Changed-Why:  
Repo-copy completed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69608 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sun Aug 1 09:05:17 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69608 
>Unformatted:
