summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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..b7e2a18724b4
--- /dev/null
+++ b/net-analyzer/scapy/Manifest
@@ -0,0 +1,5 @@
+MD5 dd50fab30f5dd0e66c42e79c8bcc0d95 scapy-1.0.2.ebuild 1299
+MD5 c0cf59a965bb4c8fb3fba2080d854821 metadata.xml 355
+MD5 7581817d3aab478b4e56d3df525b2960 ChangeLog 354
+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 ""
+}