From c895ecbad3d2172b7c7cc8f5412c3a744dfd26f9 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sun, 1 Aug 2004 09:39:38 +0000 Subject: * lcrzoex tools was renamed to netwox * update to 5.20.0 and move to net-mgmt category * new maintainer PR: ports/69609 Submitted by: Janos Mohacsi --- net-mgmt/Makefile | 1 + net-mgmt/netwox/Makefile | 45 ++++++++++++++++++++-------------- net-mgmt/netwox/distinfo | 6 +++-- net-mgmt/netwox/files/patch-config.dat | 14 +++++++++++ net-mgmt/netwox/pkg-descr | 29 +++++----------------- net-mgmt/netwox/pkg-message | 4 --- 6 files changed, 51 insertions(+), 48 deletions(-) create mode 100644 net-mgmt/netwox/files/patch-config.dat delete mode 100644 net-mgmt/netwox/pkg-message (limited to 'net-mgmt') diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 43a07e269328..57582c4d7f5d 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -86,6 +86,7 @@ SUBDIR += netsaint-plugins SUBDIR += netspoc SUBDIR += netustad + SUBDIR += netwox SUBDIR += nitpicker SUBDIR += nocol SUBDIR += nrpe diff --git a/net-mgmt/netwox/Makefile b/net-mgmt/netwox/Makefile index c881d1b61b5a..b261fdced65c 100644 --- a/net-mgmt/netwox/Makefile +++ b/net-mgmt/netwox/Makefile @@ -1,31 +1,38 @@ -# New ports collection makefile for: lcrzoex -# Date created: Wed Apr 10 02:42:20 CEST 2002 -# Whom: king@v2project.com +# New ports collection makefile for: netwox +# Date created: 26.07.2004 +# Whom: janos.mohacsi@bsd.hu # # $FreeBSD$ # -PORTNAME= lcrzoex -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= netwox +PORTVERSION= 5.20.0 +CATEGORIES= net-mgmt ipv6 +MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwox/download/v5/ \ + http://membres.lycos.fr/lauconstantin/common/netw/netwox/download/v5/ \ + http://laurentconstantin.free.fr/common/netw/netwox/download/v5/ +DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz -MAINTAINER= king@v2project.com -COMMENT= Lcrzoex contains over 300 functionnalities using network library lcrzo +MAINTAINER= janos.mohacsi@bsd.hu +COMMENT= Netwox a network testing toolbox -BUILD_DEPENDS= ${LOCALBASE}/include/lcrzo_debugdefs.h:${PORTSDIR}/security/lcrzo +BUILD_DEPENDS= ${LOCALBASE}/bin/netwib-config:${PORTSDIR}/net/netwib -WRKSRC= ${WRKDIR}/${PKGNAME}-src/src +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src +USE_REINPLACE= yes +MAN1= netwox.1 netwox520.1 -MAN1= lcrzoex.1 -PLIST_FILES= bin/lcrzoex - -pre-configure: - cd ${WRKSRC} && ${SH} ${WRKSRC}/genemake +do-configure: + @${REINPLACE_CMD} \ + -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/config.dat + (cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake ) post-install: - @${CAT} ${PKGMESSAGE} + strip ${PREFIX}/bin/${PORTNAME} +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR} +.endif .include diff --git a/net-mgmt/netwox/distinfo b/net-mgmt/netwox/distinfo index d5102beb41d3..6132364eb720 100644 --- a/net-mgmt/netwox/distinfo +++ b/net-mgmt/netwox/distinfo @@ -1,2 +1,4 @@ -MD5 (lcrzoex-4.17.0-src.tgz) = ad9732adb9f1a02d1cb1fbb12112db53 -SIZE (lcrzoex-4.17.0-src.tgz) = 336521 +MD5 (netwox-5.20.0-src.tgz) = 4785cec8b11099e51f457ef9b2cbe915 +SIZE (netwox-5.20.0-src.tgz) = 341139 +MD5 (netwox-5.20.0-doc_html.tgz) = 6e776f08f7d4b59f8d44d84c4aece421 +SIZE (netwox-5.20.0-doc_html.tgz) = 60685 diff --git a/net-mgmt/netwox/files/patch-config.dat b/net-mgmt/netwox/files/patch-config.dat new file mode 100644 index 000000000000..130a91367b3b --- /dev/null +++ b/net-mgmt/netwox/files/patch-config.dat @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- config.dat.orig Mon Jul 26 09:22:03 2004 ++++ config.dat Mon Jul 26 09:22:36 2004 +@@ -4,7 +4,7 @@ + + ########################################################################## + ### installation prefix directory of netwib [should not need to be modified] +-NETWIBDEF_INSTPREFIX=/usr/local ++NETWIBDEF_INSTPREFIX=%%PREFIX%% + + ########################################################################## + ### installation destination directory [should not need to be modified] diff --git a/net-mgmt/netwox/pkg-descr b/net-mgmt/netwox/pkg-descr index 1747a627a6a5..097abd704eeb 100644 --- a/net-mgmt/netwox/pkg-descr +++ b/net-mgmt/netwox/pkg-descr @@ -1,24 +1,7 @@ -Lcrzoex contains over 300 functionalities using network library lcrzo. -Lcrzoex can be used in the following contexts : - - discover the Ethernet address of a computer (number 2, 3, 134, etc.) - - sniff your LAN to detect what's going on (number 7, 8, 9, etc.) - - check the checksums created by a network program which isn't working - (number 16, 17, 18, etc.) - - intercept a session and replay it as many times you want to strictly - test your application (number 10, 11, 12, 22, etc.) - - verify if a router is well configured even if the needed computers are - down (number 48, ..., 53, etc.) - - check if your router/firewall/computer blocks - - IP protocols (number 29, ..., 34, etc.) - - IP options (number 29, ..., 34, 73, ..., 79, etc.), source routing - (number 45, 56, 59, 62, etc.) - - IP fragments (number 44, 55, 58, 61, 72, etc.) - - TCP options (number 48, ..., 53, etc.) - - ICMP types (number 65, ..., 70, etc.) - - ARP poisoning (number 80, 81, 82, 83, etc.) - - create a tcp/udp client with a special local port (number 85, 89, 86, 93, - 97, etc.) - - convert between numbers (number 139, ..., 148, etc.) - - etc. +Toolbox netwox helps to find and solve network problems : + - sniff, spoof + - clients, servers + - DNS, FTP, HTTP, IRC, NNTP, SMTP, SNMP, SYSLOG, TELNET, TFTP + - scan, ping, traceroute -WWW: http://www.laurentconstantin.com/en/lcrzoex/ +WWW: http://www.laurentconstantin.com/en/netw/netwox/ diff --git a/net-mgmt/netwox/pkg-message b/net-mgmt/netwox/pkg-message deleted file mode 100644 index 7eedc3dccc97..000000000000 --- a/net-mgmt/netwox/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ --------- -Check the online documentation in : -http://www.laurentconstantin.com/common/lcrzoex/doc/en/index.html --------- -- cgit v1.2.3