1 |
commit: d8082a9447fdaec814b6df449e75daa7cc95d2f1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 1 09:27:23 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 1 09:38:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8082a94 |
7 |
|
8 |
net-analyzer/scapy: drop 2.4.4-r1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/scapy/Manifest | 1 - |
13 |
net-analyzer/scapy/files/scapy-2.4.4-libc.patch | 13 ------- |
14 |
net-analyzer/scapy/scapy-2.4.4-r1.ebuild | 48 ------------------------- |
15 |
3 files changed, 62 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest |
18 |
index 271529673f52..0eaf45391ac4 100644 |
19 |
--- a/net-analyzer/scapy/Manifest |
20 |
+++ b/net-analyzer/scapy/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST scapy-2.4.4.tar.gz 3240890 BLAKE2B 38b4fc0c34f229bb33f4d488ae9ba20905db572e3dd3caa15a92e8a33ba7305ba86a2b32a2664779c5085e53d44b4c55336d7afa8d65b90ffa3babcdc94bff25 SHA512 b8ad138ae2563967af07d123339ac73468fadb8f7687123aed364ad6d45198e9039314e17a155c37d01ef084e25571c587330dfd21777527110342c01821a389 |
23 |
DIST scapy-2.4.5.tar.gz 3323309 BLAKE2B af94b3ec6324c4544aca25f63bcca8aa60a3b1cbbf132d3ed07b5bc73b95e4298bf250e65157bdb7851226fd0ac039367892a9a14d844e5815832ad4ab556819 SHA512 b5ccd689f7bd4fbbb86921a35360b94ec7a738b494f16e4764828689835296016bc476825add798406e4d32761d8df90b41ce7e38049afdabf98397b1bf5982a |
24 |
|
25 |
diff --git a/net-analyzer/scapy/files/scapy-2.4.4-libc.patch b/net-analyzer/scapy/files/scapy-2.4.4-libc.patch |
26 |
deleted file mode 100644 |
27 |
index dd27896b5658..000000000000 |
28 |
--- a/net-analyzer/scapy/files/scapy-2.4.4-libc.patch |
29 |
+++ /dev/null |
30 |
@@ -1,13 +0,0 @@ |
31 |
-diff --git a/scapy/arch/bpf/core.py b/scapy/arch/bpf/core.py |
32 |
-index 0ebdb53..c74902a 100644 |
33 |
---- a/scapy/arch/bpf/core.py |
34 |
-+++ b/scapy/arch/bpf/core.py |
35 |
-@@ -27,7 +27,7 @@ from scapy.modules.six.moves import range |
36 |
- |
37 |
- # ctypes definitions |
38 |
- |
39 |
--LIBC = cdll.LoadLibrary(find_library("libc")) |
40 |
-+LIBC = cdll.LoadLibrary(find_library("c")) |
41 |
- LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p] |
42 |
- LIBC.ioctl.restype = c_int |
43 |
- |
44 |
|
45 |
diff --git a/net-analyzer/scapy/scapy-2.4.4-r1.ebuild b/net-analyzer/scapy/scapy-2.4.4-r1.ebuild |
46 |
deleted file mode 100644 |
47 |
index ebda6205e3bf..000000000000 |
48 |
--- a/net-analyzer/scapy/scapy-2.4.4-r1.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,48 +0,0 @@ |
51 |
-# Copyright 1999-2021 Gentoo Authors |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=7 |
55 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
56 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
57 |
-inherit distutils-r1 readme.gentoo-r1 |
58 |
- |
59 |
-DESCRIPTION="A Python interactive packet manipulation program for mastering the network" |
60 |
-HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy" |
61 |
-SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
- |
63 |
-LICENSE="GPL-2" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="amd64 ~arm ~arm64 x86" |
66 |
-DOC_CONTENTS=" |
67 |
-Scapy has optional support for the following packages: |
68 |
- |
69 |
- dev-python/cryptography |
70 |
- dev-python/ipython |
71 |
- dev-python/matplotlib |
72 |
- dev-python/pyx |
73 |
- media-gfx/graphviz |
74 |
- net-analyzer/tcpdump |
75 |
- net-analyzer/tcpreplay |
76 |
- net-libs/libpcap |
77 |
- virtual/imagemagick-tools |
78 |
- |
79 |
- See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst"" |
80 |
-" |
81 |
- |
82 |
-PATCHES=("${FILESDIR}/${P}-libc.patch") |
83 |
- |
84 |
-src_prepare() { |
85 |
- if ! [[ -f ${PN}/VERSION ]]; then |
86 |
- echo ${PV} > ${PN}/VERSION || die |
87 |
- else |
88 |
- die |
89 |
- fi |
90 |
- |
91 |
- distutils-r1_src_prepare |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- distutils-r1_src_install |
96 |
- dodoc -r doc/${PN}/* |
97 |
- DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc |
98 |
-} |