scapy: v2.4.0 bump

This commit is contained in:
blshkv 2018-03-28 09:15:49 +08:00
parent 65fe996f36
commit 6ed2a62f9f
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 56 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST scapy-2.3.3.tar.gz 1459132 BLAKE2B 442e13853cfd4bac4984571367990ce03a2fc1a634564ed7e05641130d435818f161687c530f17280a20f1063aafeeeea35cb867fc2f7d78a4f3ae257dbb6f90 SHA512 47ca2eceafe7b693c569a92c106782037d869c323aaaec41cace07dfdeb3c6a7e9f7bc8ca1150b3c0daea54e6665f93eb1dfc3c511419cfa28eb2e0753bf9ba4
DIST scapy-2.4.0.tar.gz 3182125 BLAKE2B 6f33ef3cdb590f5b69fb41169f6c47ed4b318bb07247d22011b01d8994e413c4fb771660094f56655341acb8e1f3c7106b8fc84a3646388b84c9fc718c8217e6 SHA512 102351841597ae76b64091de99a35a70bf290e4f4e9d217b984fd3c219f732691809765148b1dec1c3d59f7a9544d63c2bf759d8512f4c72ea93490e3de79d74
DIST scapy-2.4.0_rc5.tar.gz 3170853 BLAKE2B 2e3d699f5495146d43add4fbeec42bf518d3a1131fb17abcb143168c0e925e09d339f035f119d33bf3b2c72602a54d16aa30f6690dc1bd480e36be72b83a6efb SHA512 943604feb25a682b1ef68e42ecdbe7abc2e95d062a812628bd3fda8d644b4a53376aef8da69fd82ef1aad9031b7b6b768052e10e9b54f345088dede366718f48

View file

@ -0,0 +1,55 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
inherit distutils-r1 readme.gentoo-r1
DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
HOMEPAGE="http://www.secdev.org/projects/scapy/ https://github.com/secdev/scapy"
SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
RDEPEND="
net-analyzer/tcpdump
gnuplot? ( dev-python/gnuplot-py )
pyx? ( dev-python/pyx )
crypt? ( dev-python/cryptography )
graphviz? ( media-gfx/graphviz )
imagemagick? ( virtual/imagemagick-tools )
visual? ( dev-python/visual )
tcpreplay? ( net-analyzer/tcpreplay )
!<net-analyzer/scapy-2.3.3-r1
!dev-python/scapy-python3
!virtual/python-scapy"
S="${WORKDIR}/${P}"
DOC_CONTENTS="
Scapy has optional support for the following packages:
dev-python/cryptography
dev-python/gnuplot-py
dev-python/ipython
dev-python/pyx
dev-python/visual
media-gfx/graphviz
net-analyzer/tcpreplay
virtual/imagemagick-tools
See also ${EPREFIX}/usr/share/doc/${PF}/installation.rst
"
src_prepare() {
echo ${PV} > ${PN}/VERSION
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
dodoc -r doc/${PN}/*
DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
}