Bug 69608 - New port: net/netwib version 5.20.0
Summary: New port: net/netwib version 5.20.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 09:30 UTC by Mohacsi Janos
Modified: 2004-08-01 10:05 UTC (History)
0 users

See Also:


Attachments
file.shar (7.37 KB, text/plain)
2004-07-26 09:30 UTC, Mohacsi Janos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohacsi Janos 2004-07-26 09:30:18 UTC
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.
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 10:43:30 UTC
This is just renamed new version of security/lcrzo.
Is there a reason to make the new port?

-- 
Sem.
Comment 2 Mohacsi Janos 2004-07-26 11:31:23 UTC
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.
>
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 12:41:49 UTC
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.
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 12:42:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 5 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 12:43:51 UTC
State Changed
From-To: open->feedback

Waiting for maintainer approval.
Comment 6 Joseph King 2004-07-26 16:36:44 UTC
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.
>
Comment 7 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 17:07:10 UTC
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.
Comment 8 Mohacsi Janos 2004-07-26 17:12:51 UTC
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.
>
Comment 9 Joseph King 2004-07-26 17:33:23 UTC
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?
>
Comment 10 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 18:39:12 UTC
State Changed
From-To: feedback->repocopy

Repocopy request: 
security/lcrzo -> net/netwib 


Comment 11 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-26 18:39:12 UTC
Responsible Changed
From-To: sem->portmgr

Repocopy request: 
security/lcrzo -> net/netwib
Comment 12 Mohacsi Janos 2004-07-27 08:04:48 UTC
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?
>> 
>
>
Comment 13 Mohacsi Janos 2004-07-28 15:23:02 UTC
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
Comment 14 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-07-30 18:08:02 UTC
State Changed
From-To: repocopy->open

Repo-copy completed. 


Comment 15 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-07-30 18:08:02 UTC
Responsible Changed
From-To: portmgr->sem

Repo-copy completed.
Comment 16 Sergey Matveychuk freebsd_committer freebsd_triage 2004-08-01 10:05:17 UTC
State Changed
From-To: open->closed

Committed, thanks!