1 |
commit: 7d4fc6f94c43910bcf50559b2c27aac4e2402430 |
2 |
Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 24 01:07:45 2020 +0000 |
4 |
Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 24 01:07:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4fc6f9 |
7 |
|
8 |
net-misc/vde: Bump to latest source in git |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.21 |
11 |
Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org> |
12 |
|
13 |
net-misc/vde/Manifest | 1 + |
14 |
net-misc/vde/vde-2.3.2_p20191011.ebuild | 87 +++++++++++++++++++++++++++++++++ |
15 |
net-misc/vde/vde-9999.ebuild | 87 +++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 175 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest |
19 |
index 3893bb286a5..8c5ef64fd5d 100644 |
20 |
--- a/net-misc/vde/Manifest |
21 |
+++ b/net-misc/vde/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST vde-2.3.2_p20191011.tar.gz 381468 BLAKE2B 6d25df2a4cf89a0159875eac1c2c3a27e6b6856f24494ee2e181ab8d8a2fa9c3350b9c7b9b9474cbcbd8afd50fc61fd167a5cc18398b771d05178c5c3a402f73 SHA512 0e9f9f28a8ef0acd765307908dfd9ab9462f67df21b06be5b48ed1795900be546e28e1869528ee8e5a6d7eb6e6fa91ded116b826a501e13ec7f1562f1b84f971 |
24 |
DIST vde2-2.3.2.tar.bz2 600527 BLAKE2B 6c4900578b992eff914136f29395a822bc52945906d291eee78b3bf7cb806bbf4d8ebeec2080daa10923e98b648d071ce1f846214143e4dce749da9be8b48990 SHA512 51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6 |
25 |
|
26 |
diff --git a/net-misc/vde/vde-2.3.2_p20191011.ebuild b/net-misc/vde/vde-2.3.2_p20191011.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b8bb5681a36 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/vde/vde-2.3.2_p20191011.ebuild |
31 |
@@ -0,0 +1,87 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit flag-o-matic |
38 |
+ |
39 |
+if [[ ${PV} == 9999 ]]; then |
40 |
+ inherit autotools git-r3 |
41 |
+ EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN" |
42 |
+ KEYWORDS="" |
43 |
+elif [[ ${PV} = *_p* ]]; then |
44 |
+ inherit autotools |
45 |
+ MY_PN="vde-2" |
46 |
+ COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb" |
47 |
+ SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
49 |
+ |
50 |
+ S="${WORKDIR}/${MY_PN}-${COMMIT}" |
51 |
+else |
52 |
+ MY_P="${PN}2-${PV}" |
53 |
+ SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2" |
54 |
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
55 |
+ S="${WORKDIR}/${MY_P}" |
56 |
+fi |
57 |
+ |
58 |
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, bochs, and uml" |
59 |
+HOMEPAGE="https://virtualsquare.org" |
60 |
+ |
61 |
+LICENSE="GPL-2" |
62 |
+SLOT="0" |
63 |
+#IUSE="pcap selinux ssl libressl static-libs" |
64 |
+# upstream switched to wolfssl |
65 |
+IUSE="pcap selinux static-libs" |
66 |
+ |
67 |
+COMMON_DEPS="pcap? ( net-libs/libpcap )" |
68 |
+# upstream switched to wolfssl |
69 |
+# ssl? ( |
70 |
+# !libressl? ( dev-libs/openssl:0= ) |
71 |
+# libressl? ( dev-libs/libressl:0= ) |
72 |
+# )" |
73 |
+DEPEND="${COMMON_DEPS}" |
74 |
+RDEPEND="${COMMON_DEPS} |
75 |
+ acct-group/qemu |
76 |
+ selinux? ( sec-policy/selinux-vde )" |
77 |
+ |
78 |
+# upstream switched to wolfssl |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ if [[ ${PV} == 9999 ]] || [[ ${PV} == *_p* ]]; then |
82 |
+ eautoreconf |
83 |
+ fi |
84 |
+# upstream switched to wolfssl |
85 |
+# has_version ">=dev-libs/openssl-1.1.0" && \ |
86 |
+# eapply "${FILESDIR}/${PN}-2.3.2-openssl-1.1.patch" |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ filter-flags -O0 -Os |
91 |
+# upstream switched to wolfssl |
92 |
+# $(use_enable ssl cryptcab) \ |
93 |
+ econf \ |
94 |
+ --disable-python \ |
95 |
+ --disable-cryptcab \ |
96 |
+ $(use_enable pcap) \ |
97 |
+ $(use_enable static-libs static) |
98 |
+} |
99 |
+ |
100 |
+src_compile() { |
101 |
+ # https://github.com/virtualsquare/vde-2/issues/6 |
102 |
+ emake -j1 |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ default |
107 |
+ find "${D}" -name '*.la' -type f -delete || die |
108 |
+ |
109 |
+ newinitd "${FILESDIR}"/vde.init-r1 vde |
110 |
+ newconfd "${FILESDIR}"/vde.conf-r1 vde |
111 |
+} |
112 |
+ |
113 |
+pkg_postinst() { |
114 |
+ einfo "To start vde automatically add it to the default runlevel:" |
115 |
+ einfo "# rc-update add vde default" |
116 |
+ einfo "You need to setup tap0 in /etc/conf.d/net" |
117 |
+ einfo "To use it as an user be sure to set a group in /etc/conf.d/vde" |
118 |
+} |
119 |
|
120 |
diff --git a/net-misc/vde/vde-9999.ebuild b/net-misc/vde/vde-9999.ebuild |
121 |
new file mode 100644 |
122 |
index 00000000000..b8bb5681a36 |
123 |
--- /dev/null |
124 |
+++ b/net-misc/vde/vde-9999.ebuild |
125 |
@@ -0,0 +1,87 @@ |
126 |
+# Copyright 1999-2020 Gentoo Authors |
127 |
+# Distributed under the terms of the GNU General Public License v2 |
128 |
+ |
129 |
+EAPI=6 |
130 |
+ |
131 |
+inherit flag-o-matic |
132 |
+ |
133 |
+if [[ ${PV} == 9999 ]]; then |
134 |
+ inherit autotools git-r3 |
135 |
+ EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN" |
136 |
+ KEYWORDS="" |
137 |
+elif [[ ${PV} = *_p* ]]; then |
138 |
+ inherit autotools |
139 |
+ MY_PN="vde-2" |
140 |
+ COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb" |
141 |
+ SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
142 |
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
143 |
+ |
144 |
+ S="${WORKDIR}/${MY_PN}-${COMMIT}" |
145 |
+else |
146 |
+ MY_P="${PN}2-${PV}" |
147 |
+ SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2" |
148 |
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
149 |
+ S="${WORKDIR}/${MY_P}" |
150 |
+fi |
151 |
+ |
152 |
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, bochs, and uml" |
153 |
+HOMEPAGE="https://virtualsquare.org" |
154 |
+ |
155 |
+LICENSE="GPL-2" |
156 |
+SLOT="0" |
157 |
+#IUSE="pcap selinux ssl libressl static-libs" |
158 |
+# upstream switched to wolfssl |
159 |
+IUSE="pcap selinux static-libs" |
160 |
+ |
161 |
+COMMON_DEPS="pcap? ( net-libs/libpcap )" |
162 |
+# upstream switched to wolfssl |
163 |
+# ssl? ( |
164 |
+# !libressl? ( dev-libs/openssl:0= ) |
165 |
+# libressl? ( dev-libs/libressl:0= ) |
166 |
+# )" |
167 |
+DEPEND="${COMMON_DEPS}" |
168 |
+RDEPEND="${COMMON_DEPS} |
169 |
+ acct-group/qemu |
170 |
+ selinux? ( sec-policy/selinux-vde )" |
171 |
+ |
172 |
+# upstream switched to wolfssl |
173 |
+src_prepare() { |
174 |
+ default |
175 |
+ if [[ ${PV} == 9999 ]] || [[ ${PV} == *_p* ]]; then |
176 |
+ eautoreconf |
177 |
+ fi |
178 |
+# upstream switched to wolfssl |
179 |
+# has_version ">=dev-libs/openssl-1.1.0" && \ |
180 |
+# eapply "${FILESDIR}/${PN}-2.3.2-openssl-1.1.patch" |
181 |
+} |
182 |
+ |
183 |
+src_configure() { |
184 |
+ filter-flags -O0 -Os |
185 |
+# upstream switched to wolfssl |
186 |
+# $(use_enable ssl cryptcab) \ |
187 |
+ econf \ |
188 |
+ --disable-python \ |
189 |
+ --disable-cryptcab \ |
190 |
+ $(use_enable pcap) \ |
191 |
+ $(use_enable static-libs static) |
192 |
+} |
193 |
+ |
194 |
+src_compile() { |
195 |
+ # https://github.com/virtualsquare/vde-2/issues/6 |
196 |
+ emake -j1 |
197 |
+} |
198 |
+ |
199 |
+src_install() { |
200 |
+ default |
201 |
+ find "${D}" -name '*.la' -type f -delete || die |
202 |
+ |
203 |
+ newinitd "${FILESDIR}"/vde.init-r1 vde |
204 |
+ newconfd "${FILESDIR}"/vde.conf-r1 vde |
205 |
+} |
206 |
+ |
207 |
+pkg_postinst() { |
208 |
+ einfo "To start vde automatically add it to the default runlevel:" |
209 |
+ einfo "# rc-update add vde default" |
210 |
+ einfo "You need to setup tap0 in /etc/conf.d/net" |
211 |
+ einfo "To use it as an user be sure to set a group in /etc/conf.d/vde" |
212 |
+} |