Date: Thu, 3 Nov 2005 02:37:18 +0100 (CET) From: vaidab <vaidab@phenix.rootshell.be> To: FreeBSD-gnats-submit@FreeBSD.org Cc: vaida.bogdan@gmail.com Subject: ports/88424: New port: net-mgmt/netleak Tool to detect connectivity between network segments Message-ID: <Pine.LNX.4.62.0511030234110.3019@phenix.rootshell.be> Resent-Message-ID: <200511030140.jA31eF2p015658@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88424 >Category: ports >Synopsis: New port: net-mgmt/netleak Tool to detect connectivity between network segments >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 03 01:40:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vaida Bogdan >Release: FreeBSD 5.4-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD angelique.ro 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #22: Thu Oct 20 09:37:06 UTC 2005 root@angelique.ro:/usr/obj/usr/src/sys/ANGELIQUE i386 >Description: Network Leak Finder is a collection of small perlscripts that detects connectivity between network segments. It is mostly useful to detect "leaks" in large organizations that have private network segments physically separated from the Internet. WWW: http://netleak.sourceforge.net/ >How-To-Repeat: >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: # # netleak # netleak/pkg-plist # netleak/pkg-descr # netleak/distinfo # netleak/Makefile # netleak/pkg-message # netleak/files # netleak/files/patch-Makefile # echo c - netleak mkdir -p netleak > /dev/null 2>&1 echo x - netleak/pkg-plist sed 's/^X//' >netleak/pkg-plist << 'END-of-netleak/pkg-plist' Xsbin/netleak Xsbin/netleakd END-of-netleak/pkg-plist echo x - netleak/pkg-descr sed 's/^X//' >netleak/pkg-descr << 'END-of-netleak/pkg-descr' XNetwork Leak Finder is a collection of small perlscripts Xthat detects connectivity between network segments. It is Xmostly useful to detect "leaks" in large organizations Xthat have private network segments physically separated Xfrom the Internet. X XWWW: http://netleak.sourceforge.net/ X X- Vaida Bogdan Xvaida.bogdan@gmail.com END-of-netleak/pkg-descr echo x - netleak/distinfo sed 's/^X//' >netleak/distinfo << 'END-of-netleak/distinfo' XMD5 (netleak-0.1a.tgz) = d2a4a7535c0b76ed70a68cee293d558c XSIZE (netleak-0.1a.tgz) = 18808 END-of-netleak/distinfo echo x - netleak/Makefile sed 's/^X//' >netleak/Makefile << 'END-of-netleak/Makefile' X# New ports collection makefile for: netleak X# Date created: 1 Nov 2005 X# Whom: Vaida Bogdan X# X# $FreeBSD$ X# X XPORTNAME= netleak XPORTVERSION= 0.1a X XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= vaida.bogdan@gmail.com XCOMMENT= Tool to detect connectivity between network segments X XNO_BUILD= yes XEXTRACT_SUFX= .tgz XWRKSRC= ${WRKDIR}/netleak X XUSE_PERL5_RUN= yes XRUN_DEPENDS= ${SITE_PERL}/Net/PcapUtils.pm:${PORTSDIR}/net/p5-Net-PcapUtils \ X ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ X ${SITE_PERL}/NetPacket/Ethernet.pm:${PORTSDIR}/net/p5-NetPacket \ X ${SITE_PERL}/NetPacket/IP.pm:${PORTSDIR}/net/p5-NetPacket \ X ${SITE_PERL}/NetPacket/UDP.pm:${PORTSDIR}/net/p5-NetPacket \ X ${SITE_PERL}/NetPacket/ICMP.pm:${PORTSDIR}/net/p5-NetPacket \ X ${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \ X ${SITE_PERL}/${PERL_ARCH}/Net/RawIP.pm:${PORTSDIR}/net/p5-Net-RawIP \ X ${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface \ X ${SITE_PERL}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP X X#RUN_DEPENDS= ${BUILD_DEPENDS} X XMANCOMPRESSED= no XMAN8= netleak.8 netleakd.8 X XPORTDOCS= BUGS COPYING README TODO X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X.endif X @${SED} -e 's!PREFIX!${PREFIX}!g' ${.CURDIR}/pkg-message X X.include <bsd.port.mk> END-of-netleak/Makefile echo x - netleak/pkg-message sed 's/^X//' >netleak/pkg-message << 'END-of-netleak/pkg-message' X========================================================================== X XCheck netleak.conf and netleakd.conf in: PREFIX/etc X X========================================================================== END-of-netleak/pkg-message echo c - netleak/files mkdir -p netleak/files > /dev/null 2>&1 echo x - netleak/files/patch-Makefile sed 's/^X//' >netleak/files/patch-Makefile << 'END-of-netleak/files/patch-Makefile' X--- Makefile.old Thu Nov 3 03:24:56 2005 X+++ Makefile Thu Nov 3 03:25:22 2005 X@@ -10,15 +10,15 @@ X @echo "type 'make uninstall' to uninstall" X X install: X- @mkdir -p $(PREFIX)/sbin X- @mkdir -p $(PREFIX)/etc X- @mkdir -p $(PREFIX)/share/man/man8 X+# @mkdir -p $(PREFIX)/sbin X+# @mkdir -p $(PREFIX)/etc X+# @mkdir -p $(PREFIX)/man/man8 X install netleak $(PREFIX)/sbin X install netleakd $(PREFIX)/sbin X install netleak.conf $(PREFIX)/etc X install netleakd.conf $(PREFIX)/etc X- install netleak.8 $(PREFIX)/share/man/man8 X- install netleakd.8 $(PREFIX)/share/man/man8 X+ install netleak.8 $(PREFIX)/man/man8 X+ install netleakd.8 $(PREFIX)/man/man8 X X uninstall: X rm -f $(PREFIX)/sbin/netleak END-of-netleak/files/patch-Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0511030234110.3019>