1 |
commit: f333efdba59536618fae9646acb2120e251ee6e5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 1 17:40:34 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 17:40:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f333efdb |
7 |
|
8 |
net-misc/vde: Remove old (py2) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/705936 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
net-misc/vde/vde-2.3.2-r4.ebuild | 72 ---------------------------------------- |
14 |
1 file changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild |
17 |
deleted file mode 100644 |
18 |
index 868a1ad7cdb..00000000000 |
19 |
--- a/net-misc/vde/vde-2.3.2-r4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,72 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit python-single-r1 flag-o-matic |
30 |
- |
31 |
-MY_P="${PN}2-${PV}" |
32 |
- |
33 |
-DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, bochs, and uml" |
34 |
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2" |
35 |
-HOMEPAGE="http://vde.sourceforge.net/" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86" |
40 |
-IUSE="pcap python selinux ssl libressl static-libs" |
41 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
42 |
- |
43 |
-COMMON_DEPS="pcap? ( net-libs/libpcap ) |
44 |
- python? ( ${PYTHON_DEPS} ) |
45 |
- ssl? ( |
46 |
- !libressl? ( dev-libs/openssl:0= ) |
47 |
- libressl? ( dev-libs/libressl:0= ) |
48 |
- )" |
49 |
-DEPEND="${COMMON_DEPS}" |
50 |
-RDEPEND="${COMMON_DEPS} |
51 |
- acct-group/qemu |
52 |
- selinux? ( sec-policy/selinux-vde )" |
53 |
- |
54 |
-S="${WORKDIR}/${MY_P}" |
55 |
- |
56 |
-PATCHES=( "${FILESDIR}/${P}-format-security.patch" ) |
57 |
- |
58 |
-pkg_setup() { |
59 |
- use python && python-single-r1_pkg_setup |
60 |
-} |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- has_version ">=dev-libs/openssl-1.1.0" && eapply "${FILESDIR}/${P}-openssl-1.1.patch" |
65 |
-} |
66 |
- |
67 |
-src_configure() { |
68 |
- filter-flags -O0 -Os |
69 |
- econf \ |
70 |
- $(use_enable pcap) \ |
71 |
- $(use_enable python) \ |
72 |
- $(use_enable ssl cryptcab) \ |
73 |
- $(use_enable static-libs static) |
74 |
-} |
75 |
- |
76 |
-src_compile() { |
77 |
- emake -j1 |
78 |
-} |
79 |
- |
80 |
-src_install() { |
81 |
- default |
82 |
- find "${D}" -name '*.la' -type f -delete || die |
83 |
- |
84 |
- newinitd "${FILESDIR}"/vde.init-r1 vde |
85 |
- newconfd "${FILESDIR}"/vde.conf-r1 vde |
86 |
-} |
87 |
- |
88 |
-pkg_postinst() { |
89 |
- einfo "To start vde automatically add it to the default runlevel:" |
90 |
- einfo "# rc-update add vde default" |
91 |
- einfo "You need to setup tap0 in /etc/conf.d/net" |
92 |
- einfo "To use it as an user be sure to set a group in /etc/conf.d/vde" |
93 |
-} |