From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 14 17:00:22 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B978B16A41F for ; Wed, 14 Dec 2005 17:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC40E43D68 for ; Wed, 14 Dec 2005 17:00:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBEH0G3x077509 for ; Wed, 14 Dec 2005 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBEH0Gkt077508; Wed, 14 Dec 2005 17:00:16 GMT (envelope-from gnats) Resent-Date: Wed, 14 Dec 2005 17:00:16 GMT Resent-Message-Id: <200512141700.jBEH0Gkt077508@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, VANHULLEBUS Yvan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C58616A41F for ; Wed, 14 Dec 2005 16:54:03 +0000 (GMT) (envelope-from vanhu@zeninc.net) Received: from smtp4.mail.easynet.fr (smarthost170.mail.easynet.fr [212.180.1.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id B506043DA1 for ; Wed, 14 Dec 2005 16:53:45 +0000 (GMT) (envelope-from vanhu@zeninc.net) Received: from easyconnect2121135-233.clients.easynet.fr ([212.11.35.233] helo=smtp.zeninc.net) by smtp4.mail.easynet.fr with esmtp (Exim 4.50) id 1EmZst-0005P1-U8 for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Dec 2005 17:53:44 +0100 Received: from sangoku.zen.inc (sangoku.zen.inc [192.168.1.10]) by smtp.zeninc.net (smtpd) with ESMTP id 80D443F17 for ; Wed, 14 Dec 2005 17:53:28 +0100 (CET) Received: by sangoku.zen.inc (Postfix, from userid 1001) id 48CA822837; Wed, 14 Dec 2005 17:53:28 +0100 (CET) Message-Id: <20051214165328.48CA822837@sangoku.zen.inc> Date: Wed, 14 Dec 2005 17:53:28 +0100 (CET) From: VANHULLEBUS Yvan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/90393: new port: net/scapy an interactive packet manipulation program in Python X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VANHULLEBUS Yvan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 17:00:22 -0000 >Number: 90393 >Category: ports >Synopsis: new port: net/scapy an interactive packet manipulation program in Python >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Dec 14 17:00:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: VANHULLEBUS Yvan >Release: FreeBSD 6.0 i386 >Organization: NETASQ >Environment: System: FreeBSD sangoku.zen.inc 6.0-RC1 FreeBSD 6.0-RC1 #1: Wed Oct 12 12:00:30 CEST 2005 root@sangoku.zen.inc:/usr/src/sys/i386/compile/sangoku i386 >Description: Scapy is a powerful interactive packet manipulation program written in Python. This is a FreeBSD port for the latest stable release of scapy. Note: as scapy's tarball does not contain a Makefile, I had to do some hacks on the port's Makefile. I also had some problems when trying to install scapy's man page, and finally disabled it for now (if someone can find a solution for that problem....). >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: # # scapy # scapy/Makefile # scapy/distinfo # scapy/pkg-descr # scapy/pkg-plist # echo c - scapy mkdir -p scapy > /dev/null 2>&1 echo x - scapy/Makefile sed 's/^X//' >scapy/Makefile << 'END-of-scapy/Makefile' X# New ports collection makefile for: scapy X# Date created: 08 dec 2005 X# Whom: vanhu X# X# $FreeBSD: X X# TODO: - configurable --enable-xxx for various additional dependancies X XPORTNAME= scapy XPORTVERSION= 1.0.2 XCATEGORIES= net XMASTER_SITES= http://secdev.org/projects/scapy/files/ X XMAINTAINER= vanhu@netasq.com XCOMMENT= powerful interactive packet manipulation program in python X XWRKSRC= ${WRKDIR}/${DISTNAME} X X#MANCOMPRESSED=yes X#MAN1=scapy.1.gz XNO_MAN=1 X XUSE_PYTHON=yes X XRUN_DEPENDS= py-libdnet:${PORTSDIR}/net/py-libdnet py-pcap:${PORTSDIR}/net/py-pcap X X# Scapy package has no Makefile, so we have to do the install manyally X# XXX man page install doesn't seems to work.... X XNO_BUILD=1 Xdo-install: X @${INSTALL_SCRIPT} ${WRKSRC}/scapy.py ${PREFIX}/bin/scapy X# @${INSTALL_MAN} ${WRKSRC}/scapy.1.gz ${MAN1PREFIX}/scapy.1.gz X X X.include END-of-scapy/Makefile echo x - scapy/distinfo sed 's/^X//' >scapy/distinfo << 'END-of-scapy/distinfo' XMD5 (scapy-1.0.2.tar.gz) = c4cac0a657079492710b31a6aed0672a XSHA256 (scapy-1.0.2.tar.gz) = e71c6917f00ed0269144680029ea3270650ee1a6200f32e1ffe1c8b958da0293 XSIZE (scapy-1.0.2.tar.gz) = 104563 END-of-scapy/distinfo echo x - scapy/pkg-descr sed 's/^X//' >scapy/pkg-descr << 'END-of-scapy/pkg-descr' XScapy is a powerful interactive packet manipulation program. It is Xable to forge or decode packets of a wide number of protocols, send Xthem on the wire, capture them, match requests and replies, and much Xmore. It can easily handle most classical tasks like scanning, Xtracerouting, probing, unit tests, attacks or network discovery (it Xcan replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, Xtethereal, p0f, etc.). It also performs very well at a lot of other Xspecific tasks that most other tools can't handle, like sending Xinvalid frames, injecting your own 802.11 frames, combining technics X(VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted Xchannel, ...), etc. X X X XWWW: http://secdev.org/projects/scapy END-of-scapy/pkg-descr echo x - scapy/pkg-plist sed 's/^X//' >scapy/pkg-plist << 'END-of-scapy/pkg-plist' Xbin/scapy END-of-scapy/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: