Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 10:19:35 +0200 (CEST)
From:      Janos Mohacsi <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69608: New port: net/netwib version 5.20.0
Message-ID:  <200407260819.i6Q8JZoo008385@norfolk.ki.iif.hu>
Resent-Message-ID: <200407260830.i6Q8UIoM008065@freefall.freebsd.org>

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

>Number:         69608
>Category:       ports
>Synopsis:       New port: net/netwib version 5.20.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 08:30:18 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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