summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Barisani <lcars@gentoo.org>2005-11-19 14:27:31 +0000
committerAndrea Barisani <lcars@gentoo.org>2005-11-19 14:27:31 +0000
commitf503192c24a6d97678375c91b8b244c828cb2af4 (patch)
treef546726c73e1e3d01f29dd5837924357662610a3 /net-analyzer/scapy
parentRename the patch to a more understandable name (diff)
downloadgentoo-2-f503192c24a6d97678375c91b8b244c828cb2af4.tar.gz
gentoo-2-f503192c24a6d97678375c91b8b244c828cb2af4.tar.bz2
gentoo-2-f503192c24a6d97678375c91b8b244c828cb2af4.zip
initial import
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-analyzer/scapy')
-rw-r--r--net-analyzer/scapy/ChangeLog8
-rw-r--r--net-analyzer/scapy/Manifest5
-rw-r--r--net-analyzer/scapy/files/digest-scapy-1.0.21
-rw-r--r--net-analyzer/scapy/files/ethertypes37
-rw-r--r--net-analyzer/scapy/metadata.xml12
-rw-r--r--net-analyzer/scapy/scapy-1.0.2.ebuild39
6 files changed, 102 insertions, 0 deletions
diff --git a/net-analyzer/scapy/ChangeLog b/net-analyzer/scapy/ChangeLog
new file mode 100644
index 000000000000..1c8aae5706b6
--- /dev/null
+++ b/net-analyzer/scapy/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-analyzer/scapy
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/ChangeLog,v 1.1 2005/11/19 14:27:31 lcars Exp $
+
+ 19 Nov 2005; Andrea Barisani <lcars@gentoo.org> :
+ Initial import, slightly modified version of <marc@noctambuls.net> ebuild,
+ bug #112727.
+
diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
new file mode 100644
index 000000000000..f3223331dfa9
--- /dev/null
+++ b/net-analyzer/scapy/Manifest
@@ -0,0 +1,5 @@
+MD5 289b7dc1c075bad4eb2213750143c3b6 scapy-1.0.2.ebuild 1203
+MD5 c0cf59a965bb4c8fb3fba2080d854821 metadata.xml 355
+MD5 d2acaa9d112bcba6496dba1676081a8a ChangeLog 265
+MD5 94bffde8f75a1b8f891fb780bfe15ca2 files/ethertypes 1317
+MD5 6f8758347738221ce306b4af0fccdc64 files/digest-scapy-1.0.2 63
diff --git a/net-analyzer/scapy/files/digest-scapy-1.0.2 b/net-analyzer/scapy/files/digest-scapy-1.0.2
new file mode 100644
index 000000000000..5a6fd694c316
--- /dev/null
+++ b/net-analyzer/scapy/files/digest-scapy-1.0.2
@@ -0,0 +1 @@
+MD5 c4cac0a657079492710b31a6aed0672a scapy-1.0.2.tar.gz 104563
diff --git a/net-analyzer/scapy/files/ethertypes b/net-analyzer/scapy/files/ethertypes
new file mode 100644
index 000000000000..5e700f663987
--- /dev/null
+++ b/net-analyzer/scapy/files/ethertypes
@@ -0,0 +1,37 @@
+#
+# Ethernet frame types
+# This file describes some of the various Ethernet
+# protocol types that are used on Ethernet networks.
+#
+# This list could be found on:
+# http://www.iana.org/assignments/ethernet-numbers
+#
+# <name> <hexnumber> <alias1>...<alias35> #Comment
+#
+IPv4 0800 ip ip4 # Internet IP (IPv4)
+X25 0805
+ARP 0806 ether-arp #
+FR_ARP 0808 # Frame Relay ARP [RFC1701]
+BPQ 08FF # G8BPQ AX.25 Ethernet Packet
+DEC 6000 # DEC Assigned proto
+DNA_DL 6001 # DEC DNA Dump/Load
+DNA_RC 6002 # DEC DNA Remote Console
+DNA_RT 6003 # DEC DNA Routing
+LAT 6004 # DEC LAT
+DIAG 6005 # DEC Diagnostics
+CUST 6006 # DEC Customer use
+SCA 6007 # DEC Systems Comms Arch
+TEB 6558 # Trans Ether Bridging [RFC1701]
+RAW_FR 6559 # Raw Frame Relay [RFC1701]
+AARP 80F3 # Appletalk AARP
+ATALK 809B # Appletalk
+802_1Q 8100 8021q 1q 802.1q dot1q # 802.1Q Virtual LAN tagged frame
+IPX 8137 # Novell IPX
+NetBEUI 8191 # NetBEUI
+IPv6 86DD ip6 # IP version 6
+PPP 880B # PPP
+ATMMPOA 884C # MultiProtocol over ATM
+PPP_DISC 8863 # PPPoE discovery messages
+PPP_SES 8864 # PPPoE session messages
+ATMFATE 8884 # Frame-based ATM Transport over Ethernet
+LOOP 9000 loopback # loop proto
diff --git a/net-analyzer/scapy/metadata.xml b/net-analyzer/scapy/metadata.xml
new file mode 100644
index 000000000000..af9dff5d2e9c
--- /dev/null
+++ b/net-analyzer/scapy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+<email>lcars@gentoo.org</email>
+<name>Andrea Barisani</name>
+</maintainer>
+<longdescription lang="en">
+Scapy is a powerful interactive packet manipulation program.
+</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/scapy/scapy-1.0.2.ebuild b/net-analyzer/scapy/scapy-1.0.2.ebuild
new file mode 100644
index 000000000000..bb5d16bd3b0b
--- /dev/null
+++ b/net-analyzer/scapy/scapy-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/scapy-1.0.2.ebuild,v 1.1 2005/11/19 14:27:31 lcars Exp $
+
+DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
+HOMEPAGE="http://www.secdev.org/projects/scapy/"
+SRC_URI="http://www.secdev.org/projects/scapy/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="gnuplot pyx crypt graphviz imagemagick hostap"
+
+DEPEND="virtual/python
+ gnuplot? ( dev-python/gnuplot-py )
+ pyx? ( dev-python/pyx )
+ crypt? ( dev-python/pycrypto )
+ graphviz? ( media-gfx/graphviz )
+ imagemagick? ( media-gfx/imagemagick )
+ hostap? ( net-wireless/hostap-driver )"
+
+src_install() {
+ exeinto /usr/bin
+ newexe scapy.py scapy
+
+ insinto /etc
+ doins ${FILESDIR}/ethertypes
+ dodoc AUTHORS COPYING README changelog.txt
+ doman scapy.1.*
+ }
+
+pkg_postinst() {
+ einfo ""
+ einfo "- To subscribe to the mailing-list, send a mail to scapy.ml-subscribe(at)secdev.org"
+ einfo "- To send a mail to the mailing-list: scapy.ml(at)secdev.org"
+ einfo "- Web archive : http://news.gmane.org/gmane.comp.security.scapy.general"
+ einfo "- NNTP, RSS, etc : http://gmane.org/info.php?group=gmane.comp.security.scapy.general"
+ einfo ""
+}