summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Barisani <lcars@gentoo.org>2005-12-18 11:25:50 +0000
committerAndrea Barisani <lcars@gentoo.org>2005-12-18 11:25:50 +0000
commit58fe4516e45534d0a2a4d2cd7426f857b1d2292b (patch)
tree4dfc13555664965235a378b64d67acd59506246d /net-analyzer/scapy
parentDon't use digilander, use Gentoo's mirror instead. (diff)
downloadhistorical-58fe4516e45534d0a2a4d2cd7426f857b1d2292b.tar.gz
historical-58fe4516e45534d0a2a4d2cd7426f857b1d2292b.tar.bz2
historical-58fe4516e45534d0a2a4d2cd7426f857b1d2292b.zip
new revision, install scapy as a python module
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-analyzer/scapy')
-rw-r--r--net-analyzer/scapy/ChangeLog7
-rw-r--r--net-analyzer/scapy/Manifest4
-rw-r--r--net-analyzer/scapy/files/digest-scapy-1.0.2-r11
-rw-r--r--net-analyzer/scapy/scapy-1.0.2-r1.ebuild54
4 files changed, 64 insertions, 2 deletions
diff --git a/net-analyzer/scapy/ChangeLog b/net-analyzer/scapy/ChangeLog
index cd8889dcb502..37fb57e5c3c9 100644
--- a/net-analyzer/scapy/ChangeLog
+++ b/net-analyzer/scapy/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2005/11/21 08:19:09 lcars Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/ChangeLog,v 1.4 2005/12/18 11:25:50 lcars Exp $
+
+*scapy-1.0.2-r1 (18 Dec 2005)
+
+ 18 Dec 2005; Andrea Barisani <lcars@gentoo.org> +scapy-1.0.2-r1.ebuild:
+ New revision, fixes bug #113004. Credit goes to <kloeri@gentoo.org>.
21 Nov 2005; Andrea Barisani <lcars@gentoo.org> scapy-1.0.2.ebuild:
Fixed IUSE.
diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 25b3bce6e60c..eb30bddb3643 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1,5 +1,7 @@
MD5 f7b6d1d2a9053cba45e52341a0a4d424 scapy-1.0.2.ebuild 1359
MD5 c0cf59a965bb4c8fb3fba2080d854821 metadata.xml 355
-MD5 7b850ee97282dc9432cef39bace9fc5a ChangeLog 576
+MD5 1724b00615eeefff03cbc1379b1ddf45 ChangeLog 753
+MD5 25ccc0be5ff2d7c0539def982c72e1d5 scapy-1.0.2-r1.ebuild 1580
MD5 94bffde8f75a1b8f891fb780bfe15ca2 files/ethertypes 1317
MD5 6f8758347738221ce306b4af0fccdc64 files/digest-scapy-1.0.2 63
+MD5 6f8758347738221ce306b4af0fccdc64 files/digest-scapy-1.0.2-r1 63
diff --git a/net-analyzer/scapy/files/digest-scapy-1.0.2-r1 b/net-analyzer/scapy/files/digest-scapy-1.0.2-r1
new file mode 100644
index 000000000000..5a6fd694c316
--- /dev/null
+++ b/net-analyzer/scapy/files/digest-scapy-1.0.2-r1
@@ -0,0 +1 @@
+MD5 c4cac0a657079492710b31a6aed0672a scapy-1.0.2.tar.gz 104563
diff --git a/net-analyzer/scapy/scapy-1.0.2-r1.ebuild b/net-analyzer/scapy/scapy-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..4ec471bcf7ef
--- /dev/null
+++ b/net-analyzer/scapy/scapy-1.0.2-r1.ebuild
@@ -0,0 +1,54 @@
+# 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-r1.ebuild,v 1.1 2005/12/18 11:25:50 lcars Exp $
+
+inherit python
+
+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"
+
+DEPEND="virtual/python
+ net-analyzer/tcpdump
+ gnuplot? ( dev-python/gnuplot-py )
+ pyx? ( dev-python/pyx )
+ crypt? ( dev-python/pycrypto )
+ graphviz? ( media-gfx/graphviz )
+ imagemagick? ( media-gfx/imagemagick )"
+
+src_install() {
+ exeinto /usr/bin
+ newexe scapy.py scapy
+
+ # also install scapy as a importable python module
+ python_version
+ insinto /usr/$(get_libdir)/python${PYVER}/site-packages
+ doins scapy.py
+
+ insinto /etc
+ doins ${FILESDIR}/ethertypes
+ dodoc AUTHORS COPYING README changelog.txt
+ doman scapy.1.*
+ }
+
+pkg_postinst() {
+ python_mod_optimize
+
+ einfo ""
+ einfo "- Check http://www.secdev.org/projects/scapy/ for additional info"
+ 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 ""
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}