[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2023-07-06 Thread Sam James
commit: 69d096a7c7e05803bdddccf91d058898c486f287
Author: Matoro Mahri  users  noreply  github  
com>
AuthorDate: Thu Jul  6 22:14:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  7 00:44:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d096a7

net-misc/vde: Keyword 2.3.3 mips, #902737

Signed-off-by: Matoro Mahri  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/vde/vde-2.3.3.ebuild b/net-misc/vde/vde-2.3.3.ebuild
index 947387d53224..3b9c43da2dd5 100644
--- a/net-misc/vde/vde-2.3.3.ebuild
+++ b/net-misc/vde/vde-2.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,7 +24,7 @@ HOMEPAGE="https://virtualsquare.org/;
 LICENSE="GPL-2"
 SLOT="0"
 if [[ ${PV} !=  ]] ; then
-   KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv x86"
+   KEYWORDS="amd64 arm64 ~loong ~mips ~ppc ppc64 ~riscv x86"
 fi
 IUSE="pcap selinux static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/, net-misc/vde/

2022-11-23 Thread Andreas Sturmlechner
commit: 5b86639e912dd3a6456d83dffafa3350082c0737
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 23 20:58:34 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 23 21:00:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b86639e

net-misc/vde: drop 2.3.2-r6, 2.3.2_p20191011-r1

Closes: https://bugs.gentoo.org/879805
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/vde/Manifest  |   2 -
 .../vde/files/vde-2.3.2-fix-inline-funcs-r1.patch  |  21 -
 net-misc/vde/files/vde-2.3.2-format-security.patch |  18 
 net-misc/vde/files/vde-2.3.2-openssl-1.1.patch | 104 -
 .../vde/files/vde-2.3.2-slibtool-support.patch |  49 --
 net-misc/vde/metadata.xml  |  23 ++---
 net-misc/vde/vde-2.3.2-r6.ebuild   |  62 
 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild |  83 
 8 files changed, 8 insertions(+), 354 deletions(-)

diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index 471d0f18b7d1..60ab1dec5697 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1,3 +1 @@
-DIST vde-2.3.2_p20191011.tar.gz 381468 BLAKE2B 
6d25df2a4cf89a0159875eac1c2c3a27e6b6856f24494ee2e181ab8d8a2fa9c3350b9c7b9b9474cbcbd8afd50fc61fd167a5cc18398b771d05178c5c3a402f73
 SHA512 
0e9f9f28a8ef0acd765307908dfd9ab9462f67df21b06be5b48ed1795900be546e28e1869528ee8e5a6d7eb6e6fa91ded116b826a501e13ec7f1562f1b84f971
 DIST vde-2.3.3.tar.gz 234790 BLAKE2B 
e3ed7423edc03a6af09967484613c0e2a701f74a4323eeab720cabe9a899120023425527054662ee1dbd207327b7e6dd375bceb4999fd708666df13c08acf348
 SHA512 
d0495aa700984dcc82f85cf7c8125cc10505a8a077fceec45b7fd2bec9c389966381682842e886469fa49239badd9442403d091c2ae5282685085e8262396387
-DIST vde2-2.3.2.tar.bz2 600527 BLAKE2B 
6c4900578b992eff914136f29395a822bc52945906d291eee78b3bf7cb806bbf4d8ebeec2080daa10923e98b648d071ce1f846214143e4dce749da9be8b48990
 SHA512 
51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6

diff --git a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs-r1.patch 
b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs-r1.patch
deleted file mode 100644
index c1329d0f7207..
--- a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs-r1.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-# Sourced from 
https://raw.githubusercontent.com/OpenMandrivaAssociation/vde2/master/vd2-2.3.2-clang.patch
-
 a/src/vde_switch/fstp.c2014-10-29 22:54:18.659988435 +
-+++ b/src/vde_switch/fstp.c2014-10-29 22:54:44.912986501 +
-@@ -30,14 +30,14 @@
- #ifdef FSTP
- #include 
- /*** sending macro used by FSTP & Core **/
--void inline ltonstring(unsigned long l,unsigned char *s) {
-+void ltonstring(unsigned long l,unsigned char *s) {
-   s[3]=l; l>>=8;
-   s[2]=l; l>>=8;
-   s[1]=l; l>>=8;
-   s[0]=l;
- }
- 
--unsigned long inline nstringtol(unsigned char *s) {
-+unsigned long nstringtol(unsigned char *s) {
-   return (s[0]<<24)+(s[1]<<16)+(s[2]<<8)+s[3];
- }
- 

diff --git a/net-misc/vde/files/vde-2.3.2-format-security.patch 
b/net-misc/vde/files/vde-2.3.2-format-security.patch
deleted file mode 100644
index d1cfaa58cb2f..
--- a/net-misc/vde/files/vde-2.3.2-format-security.patch
+++ /dev/null
@@ -1,18 +0,0 @@
 a/src/common/cmdparse.c2017-09-20 18:47:31.662856695 -0400
-+++ b/src/common/cmdparse.c2017-09-20 18:48:54.008852141 -0400
-@@ -284,13 +284,13 @@
-   int i;
-   for 
(i=0;i='0' 
&& *t <= '9') t++;
-   if (num < argc) 
--  
fprintf(mf,argv[num]);
-+  
fprintf(mf,"%s",argv[num]);
-   }
-   } else
-   fprintf(mf,"%c",*t);

diff --git a/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch 
b/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch
deleted file mode 100644
index b490b93350f4..
--- a/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From 5f2c4c7b67617991af65798a4d177ada90f7e463 Mon Sep 17 00:00:00 2001
-From: Sebastian Andrzej Siewior 
-Date: Fri, 2 Sep 2016 19:52:49 +
-Subject: [PATCH] vde_cryptcab: compile against openssl 1.1.0
-
-Signed-off-by: Sebastian Andrzej Siewior 

- src/vde_cryptcab/cryptcab.c | 30 +++---
- 1 file changed, 19 insertions(+), 11 deletions(-)
-
-diff --git a/src/vde_cryptcab/cryptcab.c b/src/vde_cryptcab/cryptcab.c
-index c5b4474..a2780f1 100644
 a/src/vde_cryptcab/cryptcab.c 

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-22 Thread Sam James
commit: ded6cb1a2c4cafab59a7b4744a4a54784315f614
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:04:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:04:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded6cb1a

net-misc/vde: Stabilize 2.3.3 ppc64, #879805

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.3.ebuild b/net-misc/vde/vde-2.3.3.ebuild
index ad9028d1d3f4..bcd39e12ee35 100644
--- a/net-misc/vde/vde-2.3.3.ebuild
+++ b/net-misc/vde/vde-2.3.3.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="https://virtualsquare.org/;
 LICENSE="GPL-2"
 SLOT="0"
 if [[ ${PV} !=  ]] ; then
-   KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 fi
 IUSE="pcap selinux static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-22 Thread Sam James
commit: 89d57bcecba8cd9397577ec917d1c0d62fd137d1
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:04:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:04:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d57bce

net-misc/vde: Stabilize 2.3.3 arm64, #879805

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.3.ebuild b/net-misc/vde/vde-2.3.3.ebuild
index bcd39e12ee35..ee3f170144aa 100644
--- a/net-misc/vde/vde-2.3.3.ebuild
+++ b/net-misc/vde/vde-2.3.3.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="https://virtualsquare.org/;
 LICENSE="GPL-2"
 SLOT="0"
 if [[ ${PV} !=  ]] ; then
-   KEYWORDS="amd64 ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 fi
 IUSE="pcap selinux static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-22 Thread Sam James
commit: 6a01dbc5b4e37dd3d911c2e572d0fc135ad34810
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:04:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:04:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a01dbc5

net-misc/vde: Stabilize 2.3.3 amd64, #879805

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.3.ebuild b/net-misc/vde/vde-2.3.3.ebuild
index 4cacbb0f887b..ad9028d1d3f4 100644
--- a/net-misc/vde/vde-2.3.3.ebuild
+++ b/net-misc/vde/vde-2.3.3.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="https://virtualsquare.org/;
 LICENSE="GPL-2"
 SLOT="0"
 if [[ ${PV} !=  ]] ; then
-   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 fi
 IUSE="pcap selinux static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-05 Thread Agostino Sarubbo
commit: e640467d1ec55d3289d3cf04e3f7ab2ffa1d12ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov  5 17:10:55 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov  5 17:10:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e640467d

net-misc/vde: Stabilize 2.3.2_p20191011-r1 x86, #879803

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index 7d2b3d4ca431..f541ec750c2d 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -13,7 +13,7 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-05 Thread Sam James
commit: cd7d0044432112428f3d9d61c2995e2570211bd9
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  5 06:27:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  5 06:27:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7d0044

net-misc/vde: Stabilize 2.3.2_p20191011-r1 amd64, #879803

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index f4a05ba486c8..7d2b3d4ca431 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -13,7 +13,7 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm64 ~loong ~ppc ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-04 Thread Arthur Zamarin
commit: 725d8337d0a50c3bf48ba6c6cac746e3aa4ccac9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov  5 05:07:04 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov  5 05:07:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725d8337

net-misc/vde: Stabilize 2.3.2_p20191011-r1 arm64, #879803

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index 56570977898c..f4a05ba486c8 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -13,7 +13,7 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-04 Thread Sam James
commit: 82a64a8f1012442f81cd2fb12f45f947c1e9
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  5 04:42:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  5 04:42:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a64a8f

net-misc/vde: Stabilize 2.3.2_p20191011-r1 ppc64, #879803

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index b8cab1c90092..56570977898c 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -13,7 +13,7 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-04 Thread Sam James
commit: 6df02680ccd23e1442c85af151e06f817e6f3f13
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  5 03:36:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  5 04:41:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df02680

net-misc/vde: drop 2.3.2_p20191011

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011.ebuild | 79 -
 1 file changed, 79 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011.ebuild
deleted file mode 100644
index abd8c9c4d9f3..
--- a/net-misc/vde/vde-2.3.2_p20191011.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-if [[ ${PV} ==  ]]; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
-elif [[ ${PV} = *_p* ]]; then
-   inherit autotools
-   MY_PN="vde-2"
-   COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
-   
SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-
-   S="${WORKDIR}/${MY_PN}-${COMMIT}"
-else
-   MY_P="${PN}2-${PV}"
-   SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   S="${WORKDIR}/${MY_P}"
-fi
-
-DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
-HOMEPAGE="https://virtualsquare.org;
-
-LICENSE="GPL-2"
-SLOT="0"
-# upstream switched to wolfssl
-IUSE="pcap selinux static-libs"
-
-COMMON_DEPS="pcap? ( net-libs/libpcap )"
-DEPEND="${COMMON_DEPS}"
-RDEPEND="${COMMON_DEPS}
-   acct-group/qemu
-   selinux? ( sec-policy/selinux-vde )"
-
-# upstream switched to wolfssl
-src_prepare() {
-   default
-   if [[ ${PV} ==  ]] || [[ ${PV} == *_p* ]]; then
-   eautoreconf
-   fi
-# upstream switched to wolfssl
-#  has_version ">=dev-libs/openssl-1.1.0" && \
-#  eapply "${FILESDIR}/${PN}-2.3.2-openssl-1.1.patch"
-}
-
-src_configure() {
-   filter-flags -O0 -Os
-# upstream switched to wolfssl
-#  $(use_enable ssl cryptcab) \
-   econf \
-   --disable-python \
-   --disable-cryptcab \
-   $(use_enable pcap) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   # https://github.com/virtualsquare/vde-2/issues/6
-   emake -j1
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -type f -delete || die
-
-   newinitd "${FILESDIR}"/vde.init-r1 vde
-   newconfd "${FILESDIR}"/vde.conf-r1 vde
-}
-
-pkg_postinst() {
-   einfo "To start vde automatically add it to the default runlevel:"
-   einfo "# rc-update add vde default"
-   einfo "You need to setup tap0 in /etc/conf.d/net"
-   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-04 Thread Sam James
commit: 98470fc56fafa3b7906b0944c00ba56c85649d66
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  5 03:14:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  5 03:34:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98470fc5

net-misc/vde: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index bf886246ff69..8284456aa7c7 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -14,5 +14,6 @@
   
   
 vde
+virtualsquare/vde-2
   
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-11-04 Thread Sam James
commit: ec4ca3875c8798c0de8ddd6aa88978a4f5bfe939
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  5 03:33:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  5 03:34:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4ca387

net-misc/vde: add 2.3.3

Closes: https://bugs.gentoo.org/776982
Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/Manifest |  1 +
 net-misc/vde/vde-2.3.3.ebuild | 71 
 net-misc/vde/vde-.ebuild  | 75 ---
 3 files changed, 106 insertions(+), 41 deletions(-)

diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index 8c5ef64fd5de..471d0f18b7d1 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1,2 +1,3 @@
 DIST vde-2.3.2_p20191011.tar.gz 381468 BLAKE2B 
6d25df2a4cf89a0159875eac1c2c3a27e6b6856f24494ee2e181ab8d8a2fa9c3350b9c7b9b9474cbcbd8afd50fc61fd167a5cc18398b771d05178c5c3a402f73
 SHA512 
0e9f9f28a8ef0acd765307908dfd9ab9462f67df21b06be5b48ed1795900be546e28e1869528ee8e5a6d7eb6e6fa91ded116b826a501e13ec7f1562f1b84f971
+DIST vde-2.3.3.tar.gz 234790 BLAKE2B 
e3ed7423edc03a6af09967484613c0e2a701f74a4323eeab720cabe9a899120023425527054662ee1dbd207327b7e6dd375bceb4999fd708666df13c08acf348
 SHA512 
d0495aa700984dcc82f85cf7c8125cc10505a8a077fceec45b7fd2bec9c389966381682842e886469fa49239badd9442403d091c2ae5282685085e8262396387
 DIST vde2-2.3.2.tar.bz2 600527 BLAKE2B 
6c4900578b992eff914136f29395a822bc52945906d291eee78b3bf7cb806bbf4d8ebeec2080daa10923e98b648d071ce1f846214143e4dce749da9be8b48990
 SHA512 
51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6

diff --git a/net-misc/vde/vde-2.3.3.ebuild b/net-misc/vde/vde-2.3.3.ebuild
new file mode 100644
index ..4cacbb0f887b
--- /dev/null
+++ b/net-misc/vde/vde-2.3.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/virtualsquare/vde-2;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]]; then
+   MY_COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
+   
SRC_URI="https://github.com/virtualsquare/vde-2/archive/${MY_COMMIT}.tar.gz -> 
${P}.tar.gz"
+   S="${WORKDIR}/vde-2-${COMMIT}"
+else
+   MY_P="${PN}2-${PV}"
+   
SRC_URI="https://github.com/virtualsquare/vde-2/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   S="${WORKDIR}/vde-2-${PV}"
+fi
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+HOMEPAGE="https://virtualsquare.org/;
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} !=  ]] ; then
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+IUSE="pcap selinux static-libs"
+
+DEPEND="pcap? ( net-libs/libpcap )"
+RDEPEND="
+   ${DEPEND}
+   acct-group/qemu
+   selinux? ( sec-policy/selinux-vde )
+"
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   filter-flags -O0 -Os
+
+   local myeconfargs=(
+   # Upstream switched to wolfssl, so no SSL support for now
+   --disable-cryptcab
+   $(use_enable pcap)
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -type f -delete || die
+
+   newinitd "${FILESDIR}"/vde.init-r1 vde
+   newconfd "${FILESDIR}"/vde.conf-r1 vde
+}
+
+pkg_postinst() {
+   einfo "To start vde automatically, add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in ${EROOT}/etc/conf.d/net"
+   einfo "To use it as an user, be sure to set a group in 
${EROOT}/etc/conf.d/vde"
+}

diff --git a/net-misc/vde/vde-.ebuild b/net-misc/vde/vde-.ebuild
index 32de524f78b9..4cacbb0f887b 100644
--- a/net-misc/vde/vde-.ebuild
+++ b/net-misc/vde/vde-.ebuild
@@ -1,78 +1,71 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit flag-o-matic
+inherit autotools flag-o-matic
 
 if [[ ${PV} ==  ]]; then
-   inherit autotools git-r3
-   EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
-elif [[ ${PV} = *_p* ]]; then
-   inherit autotools
-   MY_PN="vde-2"
-   COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
-   
SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-
-   S="${WORKDIR}/${MY_PN}-${COMMIT}"
+   EGIT_REPO_URI="https://github.com/virtualsquare/vde-2;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]]; then
+   MY_COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/, net-misc/anydesk/, dev-db/phpmyadmin/, net-nds/phpldapadmin/, ...

2022-07-24 Thread Sam James
commit: 84c201b3878bae49bec264f05f2aa212fb115cc6
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 24 16:34:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 24 16:36:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c201b3

*/*: reassign jmbsvicetto's packages

Bug: https://bugs.gentoo.org/137051
Signed-off-by: Sam James  gentoo.org>

 dev-db/phpmyadmin/metadata.xml| 4 
 net-misc/anydesk/metadata.xml | 5 +
 net-misc/vde/metadata.xml | 5 +
 net-nds/phpldapadmin/metadata.xml | 4 
 www-apps/dokuwiki/metadata.xml| 4 
 5 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/dev-db/phpmyadmin/metadata.xml b/dev-db/phpmyadmin/metadata.xml
index 8e983045834c..83eef45855b0 100644
--- a/dev-db/phpmyadmin/metadata.xml
+++ b/dev-db/phpmyadmin/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jmbsvice...@gentoo.org
-   Jorge Manuel B. S. Vicetto
-   

web-a...@gentoo.org
Gentoo Webapps

diff --git a/net-misc/anydesk/metadata.xml b/net-misc/anydesk/metadata.xml
index f5bf7cbcdb2e..6dad389402eb 100644
--- a/net-misc/anydesk/metadata.xml
+++ b/net-misc/anydesk/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jmbsvice...@gentoo.org
-   Jorge Manuel B. S. Vicetto
-   
+   


https://download.anydesk.com/changelog.txt
mailto:supp...@anydesk.com

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 514dbdb362f2..bf886246ff69 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-jmbsvice...@gentoo.org
-Jorge Manuel B. S. Vicetto
-  
+  
   
 
 Enable the pcap-based plugin that allows creating a switch against

diff --git a/net-nds/phpldapadmin/metadata.xml 
b/net-nds/phpldapadmin/metadata.xml
index 102a94f8876a..072d8a766584 100644
--- a/net-nds/phpldapadmin/metadata.xml
+++ b/net-nds/phpldapadmin/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-jmbsvice...@gentoo.org
-Jorge Manuel B. S. Vicetto
-  
   
 web-a...@gentoo.org
 Gentoo Webapps

diff --git a/www-apps/dokuwiki/metadata.xml b/www-apps/dokuwiki/metadata.xml
index ac28bd09a385..0ebf9ea835d1 100644
--- a/www-apps/dokuwiki/metadata.xml
+++ b/www-apps/dokuwiki/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jmbsvice...@gentoo.org
-   Jorge Manuel B. S. Vicetto
-   

web-a...@gentoo.org
Gentoo Webapps



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-07-24 Thread Sam James
commit: 8518ae7bb2f6afc34f6a79f63e10073630885a10
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 24 16:31:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 24 16:31:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8518ae7b

net-misc/vde: retire inactive proxied maintainer

I don't see any commits at all.

Bug: https://bugs.gentoo.org/633394
Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 66ccb2acd1f3..514dbdb362f2 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -1,18 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-mlspa...@noci.work
-Nico Baggus
-  
   
 jmbsvice...@gentoo.org
 Jorge Manuel B. S. Vicetto
   
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
   
 
 Enable the pcap-based plugin that allows creating a switch against



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2022-05-05 Thread WANG Xuerui
commit: 4a10a961bc1dca611a162639a4745049f3d14333
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 10:01:35 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 10:05:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a10a961

net-misc/vde: keyword 2.3.2_p20191011-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index 69fb8a181891..b8cab1c90092 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2021-09-21 Thread Michał Górny
commit: 64416ac3323992af5dfa9acac7b208a5317b37a4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 21 08:07:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 21 08:09:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64416ac3

net-misc/vde: Remove duplicate KEYWORDS

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 2 --
 net-misc/vde/vde-2.3.2_p20191011.ebuild| 1 -
 net-misc/vde/vde-.ebuild   | 2 --
 3 files changed, 5 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index 48c1a5d22c1..69fb8a18189 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -8,7 +8,6 @@ inherit flag-o-matic
 if [[ ${PV} ==  ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
-   KEYWORDS=""
 elif [[ ${PV} = *_p* ]]; then
inherit autotools
MY_PN="vde-2"
@@ -20,7 +19,6 @@ elif [[ ${PV} = *_p* ]]; then
 else
MY_P="${PN}2-${PV}"
SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}/${MY_P}"
 fi
 

diff --git a/net-misc/vde/vde-2.3.2_p20191011.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011.ebuild
index 0d3dd7100e2..abd8c9c4d9f 100644
--- a/net-misc/vde/vde-2.3.2_p20191011.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011.ebuild
@@ -19,7 +19,6 @@ elif [[ ${PV} = *_p* ]]; then
 else
MY_P="${PN}2-${PV}"
SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
S="${WORKDIR}/${MY_P}"
 fi
 

diff --git a/net-misc/vde/vde-.ebuild b/net-misc/vde/vde-.ebuild
index 97b492902bf..32de524f78b 100644
--- a/net-misc/vde/vde-.ebuild
+++ b/net-misc/vde/vde-.ebuild
@@ -13,13 +13,11 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else
MY_P="${PN}2-${PV}"
SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}/${MY_P}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2021-09-02 Thread Yixun Lan
commit: c70fc2cc044e3e4d3cd2bf676121810a05d2d574
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep  2 05:52:01 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Sep  2 06:24:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70fc2cc

net-misc/vde: keyword ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 4 ++--
 net-misc/vde/vde-.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
index 3cdfaa0d67a..48c1a5d22c1 100644
--- a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -14,13 +14,13 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else
MY_P="${PN}2-${PV}"
SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}/${MY_P}"
 fi
 

diff --git a/net-misc/vde/vde-.ebuild b/net-misc/vde/vde-.ebuild
index 0d3dd7100e2..97b492902bf 100644
--- a/net-misc/vde/vde-.ebuild
+++ b/net-misc/vde/vde-.ebuild
@@ -13,13 +13,13 @@ elif [[ ${PV} = *_p* ]]; then
MY_PN="vde-2"
COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"

SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 
S="${WORKDIR}/${MY_PN}-${COMMIT}"
 else
MY_P="${PN}2-${PV}"
SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}/${MY_P}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/

2021-06-30 Thread Adam Feldman
commit: a977b7b6ae0ce88c391460a0dd0b8e7ec93bb0b7
Author: Adam Feldman  gentoo  org>
AuthorDate: Thu Mar 18 16:09:30 2021 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Wed Jun 30 14:35:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a977b7b6

net-misc/vde: Fix typo in initscript

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Adam Feldman  gentoo.org>

 net-misc/vde/files/vde.init-r1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/vde/files/vde.init-r1 b/net-misc/vde/files/vde.init-r1
index 0934c51f8f4..b1583c338f4 100644
--- a/net-misc/vde/files/vde.init-r1
+++ b/net-misc/vde/files/vde.init-r1
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 command="/usr/bin/vde_switch"
@@ -19,7 +19,7 @@ start_pre() {
 start() {
VDE_SOCKET="${VDE_SOCKET:-/run/${RC_SVCNAME}.ctl}"
 
-   ebegin "Starting ${SVC_NAME}"
+   ebegin "Starting ${RC_SVCNAME}"
 
start-stop-daemon --start --exec ${command} -- \
--pidfile=${pidfile} \



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2021-04-30 Thread Mikle Kolyada
commit: 98cc831ba6bf52e1a974888fc319878a6c108380
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 16:42:33 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 16:43:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cc831b

net-misc/vde: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index c7517cd9168..3e9c368a8f5 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -12,13 +12,11 @@ HOMEPAGE="https://virtualsquare.org;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
-IUSE="pcap selinux ssl libressl static-libs"
+IUSE="pcap selinux ssl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )"
+   ssl? ( dev-libs/openssl:0= )
+   "
 DEPEND="${COMMON_DEPS}"
 RDEPEND="${COMMON_DEPS}
acct-group/qemu



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/, net-misc/vde/files/

2021-03-18 Thread Adam Feldman
commit: 8b77fed6ae4f0145da7fe9f8ece1544e168a0b61
Author: Adam Feldman  gentoo  org>
AuthorDate: Thu Mar 18 15:54:26 2021 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Thu Mar 18 15:59:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b77fed6

net-misc/vde: Fix compilation with slibtool

Closes: https://bugs.gentoo.org/775272
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Adam Feldman  gentoo.org>

 .../vde/files/vde-2.3.2-slibtool-support.patch | 49 
 net-misc/vde/vde-2.3.2_p20191011-r1.ebuild | 91 ++
 2 files changed, 140 insertions(+)

diff --git a/net-misc/vde/files/vde-2.3.2-slibtool-support.patch 
b/net-misc/vde/files/vde-2.3.2-slibtool-support.patch
new file mode 100644
index 000..5eeb3a5c902
--- /dev/null
+++ b/net-misc/vde/files/vde-2.3.2-slibtool-support.patch
@@ -0,0 +1,49 @@
+From d11d9dd8b370016a2d10ffd35c450c9f68e578a5 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Wed, 17 Mar 2021 15:14:45 -0700
+Subject: [PATCH] build: Only use -module for libraries.
+
+---
+ src/vde_l3/Makefile.am | 9 +++--
+ src/vde_router/Makefile.am | 2 +-
+ 2 files changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/src/vde_l3/Makefile.am b/src/vde_l3/Makefile.am
+index 748cb78..855081c 100644
+--- a/src/vde_l3/Makefile.am
 b/src/vde_l3/Makefile.am
+@@ -1,7 +1,6 @@
+-
+ moddir = $(pkglibdir)/vde_l3
+ 
+-AM_LDFLAGS = -module -avoid-version -export-dynamic
++AM_LDFLAGS = -avoid-version -export-dynamic
+ AM_LIBTOOLFLAGS = --tag=disable-static
+ AM_CPPFLAGS = -I$(top_srcdir)/include
+ 
+@@ -15,6 +14,12 @@ pfifo_la_SOURCES = pfifo.c  vde_buff.h
+ tbf_la_SOURCES = tbf.c  vde_buff.h
+ bfifo_la_SOURCES = bfifo.c  vde_buff.h
+ 
++vde_l3_lib_LDFLAGS = -module
++
++pfifo_la_LDFLAGS = $(vde_l3_lib_LDFLAGS)
++bfifo_la_LDFLAGS = $(vde_l3_lib_LDFLAGS)
++tbf_la_LDFLAGS = $(vde_l3_lib_LDFLAGS)
++
+ pfifo_la_LIBADD = $(top_builddir)/src/common/libvdecommon.la
+ bfifo_la_LIBADD = $(top_builddir)/src/common/libvdecommon.la
+ tbf_la_LIBADD = $(top_builddir)/src/common/libvdecommon.la
+diff --git a/src/vde_router/Makefile.am b/src/vde_router/Makefile.am
+index d872388..d055259 100644
+--- a/src/vde_router/Makefile.am
 b/src/vde_router/Makefile.am
+@@ -1,7 +1,7 @@
+ 
+ moddir = $(pkglibdir)/vde_router
+ 
+-AM_LDFLAGS = -module -avoid-version -export-dynamic
++AM_LDFLAGS = -avoid-version -export-dynamic
+ AM_LIBTOOLFLAGS = --tag=disable-static
+ AM_CPPFLAGS = -I$(top_srcdir)/include
+ 

diff --git a/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
new file mode 100644
index 000..142f3837ed9
--- /dev/null
+++ b/net-misc/vde/vde-2.3.2_p20191011-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+if [[ ${PV} ==  ]]; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
+   KEYWORDS=""
+elif [[ ${PV} = *_p* ]]; then
+   inherit autotools
+   MY_PN="vde-2"
+   COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
+   
SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+   S="${WORKDIR}/${MY_PN}-${COMMIT}"
+else
+   MY_P="${PN}2-${PV}"
+   SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+HOMEPAGE="https://virtualsquare.org;
+
+LICENSE="GPL-2"
+SLOT="0"
+#IUSE="pcap selinux ssl libressl static-libs"
+# upstream switched to wolfssl
+IUSE="pcap selinux static-libs"
+
+COMMON_DEPS="pcap? ( net-libs/libpcap )"
+# upstream switched to wolfssl
+#  ssl? (
+#  !libressl? ( dev-libs/openssl:0= )
+#  libressl? ( dev-libs/libressl:0= )
+#  )"
+DEPEND="${COMMON_DEPS}"
+RDEPEND="${COMMON_DEPS}
+   acct-group/qemu
+   selinux? ( sec-policy/selinux-vde )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.3.2-slibtool-support.patch"
+)
+
+# upstream switched to wolfssl
+src_prepare() {
+   default
+   if [[ ${PV} ==  ]] || [[ ${PV} == *_p* ]]; then
+   eautoreconf
+   fi
+# upstream switched to wolfssl
+#  has_version ">=dev-libs/openssl-1.1.0" && \
+#  eapply "${FILESDIR}/${PN}-2.3.2-openssl-1.1.patch"
+}
+
+src_configure() {
+   filter-flags -O0 -Os
+# upstream switched to wolfssl
+#  $(use_enable ssl cryptcab) \
+   econf \
+   --disable-python \
+   --disable-cryptcab \
+   $(use_enable pcap) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   # https://github.com/virtualsquare/vde-2/issues/6
+   emake -j1
+}
+
+src_install() {
+   default
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-11-06 Thread Georgy Yakovlev
commit: 35b31288acfcaa5e3336301dd56f623611399ed2
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Nov  7 01:47:35 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Nov  7 02:09:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35b31288

net-misc/vde: 2.3.2-r6 ppc64 stable, bug #750047

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index dd3ab5980fe..e260adf4ed8 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://virtualsquare.org;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
 IUSE="pcap selinux ssl libressl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-09-01 Thread Michał Górny
commit: f333efdba59536618fae9646acb2120e251ee6e5
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  1 17:40:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  1 17:40:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f333efdb

net-misc/vde: Remove old (py2)

Closes: https://bugs.gentoo.org/705936
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/vde/vde-2.3.2-r4.ebuild | 72 
 1 file changed, 72 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
deleted file mode 100644
index 868a1ad7cdb..000
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 flag-o-matic
-
-MY_P="${PN}2-${PV}"
-
-DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-HOMEPAGE="http://vde.sourceforge.net/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
-IUSE="pcap python selinux ssl libressl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-COMMON_DEPS="pcap? ( net-libs/libpcap )
-   python? ( ${PYTHON_DEPS} )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )"
-DEPEND="${COMMON_DEPS}"
-RDEPEND="${COMMON_DEPS}
-   acct-group/qemu
-   selinux? ( sec-policy/selinux-vde )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/${P}-format-security.patch" )
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-   has_version ">=dev-libs/openssl-1.1.0" && eapply 
"${FILESDIR}/${P}-openssl-1.1.patch"
-}
-
-src_configure() {
-   filter-flags -O0 -Os
-   econf \
-   $(use_enable pcap) \
-   $(use_enable python) \
-   $(use_enable ssl cryptcab) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake -j1
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -type f -delete || die
-
-   newinitd "${FILESDIR}"/vde.init-r1 vde
-   newconfd "${FILESDIR}"/vde.conf-r1 vde
-}
-
-pkg_postinst() {
-   einfo "To start vde automatically add it to the default runlevel:"
-   einfo "# rc-update add vde default"
-   einfo "You need to setup tap0 in /etc/conf.d/net"
-   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-08-21 Thread Agostino Sarubbo
commit: 666329eb05f26ea78bb1cab97e808403f3cc6a5e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Aug 22 05:43:05 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Aug 22 05:43:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666329eb

net-misc/vde: amd64 stable wrt bug #737426

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index 9270e567a60..dd3ab5980fe 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://virtualsquare.org;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86"
 IUSE="pcap selinux ssl libressl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-08-19 Thread Sam James
commit: ab8a6f648605c554fd60fb160b3da5847cdf139f
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 19 22:34:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 19 22:34:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab8a6f64

net-misc/vde: arm64 stable (bug #738056)

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Sam James  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index 139b3afb24d..9270e567a60 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://virtualsquare.org;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="~amd64 arm64 ~ppc ~ppc64 x86"
 IUSE="pcap selinux ssl libressl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-08-17 Thread Agostino Sarubbo
commit: 873b9881e58afd78131a408513a2033b234b019d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 17 13:47:52 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 17 13:47:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873b9881

net-misc/vde: add missing backslash

Closes: https://bugs.gentoo.org/737654
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index aaa96c7d86d..139b3afb24d 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -40,7 +40,7 @@ src_prepare() {
 
 src_configure() {
econf \
-   --disable-python
+   --disable-python \
$(use_enable pcap) \
$(use_enable ssl cryptcab) \
$(use_enable static-libs static)



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-08-17 Thread Agostino Sarubbo
commit: 9a30e783377df8b14acb98f3ff4dffbe103c6c5b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 17 10:01:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 17 10:01:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a30e783

net-misc/vde: x86 stable wrt bug #737426

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index 3d99e238fb2..aaa96c7d86d 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://virtualsquare.org;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86"
 IUSE="pcap selinux ssl libressl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-04-23 Thread Adam Feldman
commit: 56de7a5da9ac20c1de8a6f5b17b8555344d2ea8f
Author: Adam Feldman  gentoo  org>
AuthorDate: Fri Apr 24 01:35:26 2020 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Fri Apr 24 01:35:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56de7a5d

net-misc/vde: drop python leftover

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman  gentoo.org>

 net-misc/vde/vde-2.3.2-r6.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r6.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
index c872dce076b..3d99e238fb2 100644
--- a/net-misc/vde/vde-2.3.2-r6.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -14,8 +14,7 @@ HOMEPAGE="https://virtualsquare.org;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="pcap python selinux ssl libressl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="pcap selinux ssl libressl static-libs"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )
ssl? (



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/, net-misc/vde/

2020-04-23 Thread Adam Feldman
commit: 8edc61b33e6167b8db41aff4f649150ba98f3763
Author: Adam Feldman  gentoo  org>
AuthorDate: Fri Apr 24 01:06:25 2020 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Fri Apr 24 01:06:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edc61b3

net-misc/vde: Swap out Mandriva patch for upstream backport

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman  gentoo.org>

 ...2.3.2-fix-inline-funcs.patch => vde-2.3.2-fix-inline-funcs-r1.patch} | 0
 net-misc/vde/{vde-2.3.2-r5.ebuild => vde-2.3.2-r6.ebuild}   | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch 
b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs-r1.patch
similarity index 100%
rename from net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
rename to net-misc/vde/files/vde-2.3.2-fix-inline-funcs-r1.patch

diff --git a/net-misc/vde/vde-2.3.2-r5.ebuild b/net-misc/vde/vde-2.3.2-r6.ebuild
similarity index 97%
rename from net-misc/vde/vde-2.3.2-r5.ebuild
rename to net-misc/vde/vde-2.3.2-r6.ebuild
index 227cf9a7d28..c872dce076b 100644
--- a/net-misc/vde/vde-2.3.2-r5.ebuild
+++ b/net-misc/vde/vde-2.3.2-r6.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
"${FILESDIR}/${P}-format-security.patch"
-   "${FILESDIR}/${P}-fix-inline-funcs.patch"
+   "${FILESDIR}/${P}-fix-inline-funcs-r1.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2020-04-23 Thread Adam Feldman
commit: 7d4fc6f94c43910bcf50559b2c27aac4e2402430
Author: Adam Feldman  gentoo  org>
AuthorDate: Fri Apr 24 01:07:45 2020 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Fri Apr 24 01:07:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4fc6f9

net-misc/vde: Bump to latest source in git

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman  gentoo.org>

 net-misc/vde/Manifest   |  1 +
 net-misc/vde/vde-2.3.2_p20191011.ebuild | 87 +
 net-misc/vde/vde-.ebuild| 87 +
 3 files changed, 175 insertions(+)

diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index 3893bb286a5..8c5ef64fd5d 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1 +1,2 @@
+DIST vde-2.3.2_p20191011.tar.gz 381468 BLAKE2B 
6d25df2a4cf89a0159875eac1c2c3a27e6b6856f24494ee2e181ab8d8a2fa9c3350b9c7b9b9474cbcbd8afd50fc61fd167a5cc18398b771d05178c5c3a402f73
 SHA512 
0e9f9f28a8ef0acd765307908dfd9ab9462f67df21b06be5b48ed1795900be546e28e1869528ee8e5a6d7eb6e6fa91ded116b826a501e13ec7f1562f1b84f971
 DIST vde2-2.3.2.tar.bz2 600527 BLAKE2B 
6c4900578b992eff914136f29395a822bc52945906d291eee78b3bf7cb806bbf4d8ebeec2080daa10923e98b648d071ce1f846214143e4dce749da9be8b48990
 SHA512 
51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6

diff --git a/net-misc/vde/vde-2.3.2_p20191011.ebuild 
b/net-misc/vde/vde-2.3.2_p20191011.ebuild
new file mode 100644
index 000..b8bb5681a36
--- /dev/null
+++ b/net-misc/vde/vde-2.3.2_p20191011.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+if [[ ${PV} ==  ]]; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
+   KEYWORDS=""
+elif [[ ${PV} = *_p* ]]; then
+   inherit autotools
+   MY_PN="vde-2"
+   COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
+   
SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+   S="${WORKDIR}/${MY_PN}-${COMMIT}"
+else
+   MY_P="${PN}2-${PV}"
+   SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+HOMEPAGE="https://virtualsquare.org;
+
+LICENSE="GPL-2"
+SLOT="0"
+#IUSE="pcap selinux ssl libressl static-libs"
+# upstream switched to wolfssl
+IUSE="pcap selinux static-libs"
+
+COMMON_DEPS="pcap? ( net-libs/libpcap )"
+# upstream switched to wolfssl
+#  ssl? (
+#  !libressl? ( dev-libs/openssl:0= )
+#  libressl? ( dev-libs/libressl:0= )
+#  )"
+DEPEND="${COMMON_DEPS}"
+RDEPEND="${COMMON_DEPS}
+   acct-group/qemu
+   selinux? ( sec-policy/selinux-vde )"
+
+# upstream switched to wolfssl
+src_prepare() {
+   default
+   if [[ ${PV} ==  ]] || [[ ${PV} == *_p* ]]; then
+   eautoreconf
+   fi
+# upstream switched to wolfssl
+#  has_version ">=dev-libs/openssl-1.1.0" && \
+#  eapply "${FILESDIR}/${PN}-2.3.2-openssl-1.1.patch"
+}
+
+src_configure() {
+   filter-flags -O0 -Os
+# upstream switched to wolfssl
+#  $(use_enable ssl cryptcab) \
+   econf \
+   --disable-python \
+   --disable-cryptcab \
+   $(use_enable pcap) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   # https://github.com/virtualsquare/vde-2/issues/6
+   emake -j1
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -type f -delete || die
+
+   newinitd "${FILESDIR}"/vde.init-r1 vde
+   newconfd "${FILESDIR}"/vde.conf-r1 vde
+}
+
+pkg_postinst() {
+   einfo "To start vde automatically add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in /etc/conf.d/net"
+   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
+}

diff --git a/net-misc/vde/vde-.ebuild b/net-misc/vde/vde-.ebuild
new file mode 100644
index 000..b8bb5681a36
--- /dev/null
+++ b/net-misc/vde/vde-.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+if [[ ${PV} ==  ]]; then
+   inherit autotools git-r3
+   EGIT_REPO_URI="https://github.com/virtualsqaure/MY_PN;
+   KEYWORDS=""
+elif [[ ${PV} = *_p* ]]; then
+   inherit autotools
+   MY_PN="vde-2"
+   COMMIT="c7b36a57831a9067c8619c3e17a03e595623b3eb"
+   
SRC_URI="https://github.com/virtualsquare/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/, net-misc/vde/files/

2020-04-23 Thread Adam Feldman
commit: 0e66ab37e438f1538495ee7d3049a55c04e95fd9
Author: Adam Feldman  gentoo  org>
AuthorDate: Fri Apr 24 00:56:55 2020 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Fri Apr 24 00:57:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e66ab37

net-misc/vde: Fix typos

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman  gentoo.org>

 net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch | 4 ++--
 net-misc/vde/vde-2.3.2-r5.ebuild| 7 +++
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch 
b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
index 5e2102617ca..c1329d0f720 100644
--- a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
+++ b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
@@ -1,7 +1,7 @@
 # Sourced from 
https://raw.githubusercontent.com/OpenMandrivaAssociation/vde2/master/vd2-2.3.2-clang.patch
 
 a/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:18.659988435 +
-+++ b/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:44.912986501 +
+--- a/src/vde_switch/fstp.c2014-10-29 22:54:18.659988435 +
 b/src/vde_switch/fstp.c2014-10-29 22:54:44.912986501 +
 @@ -30,14 +30,14 @@
  #ifdef FSTP
  #include 

diff --git a/net-misc/vde/vde-2.3.2-r5.ebuild b/net-misc/vde/vde-2.3.2-r5.ebuild
index 54380de4455..227cf9a7d28 100644
--- a/net-misc/vde/vde-2.3.2-r5.ebuild
+++ b/net-misc/vde/vde-2.3.2-r5.ebuild
@@ -29,15 +29,14 @@ RDEPEND="${COMMON_DEPS}
 
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=( 
+PATCHES=(
"${FILESDIR}/${P}-format-security.patch"
-   "${FILESDIR}/${P}-fix-inline-funcs.patch
+   "${FILESDIR}/${P}-fix-inline-funcs.patch"
 )
 
 src_prepare() {
default
-   has_version ">=dev-libs/openssl-1.1.0" && \
-   eapply "${FILESDIR}/${P}-openssl-1.1.patch"
+   has_version ">=dev-libs/openssl-1.1.0" && eapply 
"${FILESDIR}/${P}-openssl-1.1.patch"
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/, net-misc/vde/files/

2020-04-23 Thread Adam Feldman
commit: 831d1cc65c3c86a50cfd3a695394d44288e3e494
Author: Adam Feldman  gentoo  org>
AuthorDate: Fri Apr 24 00:19:47 2020 +
Commit: Adam Feldman  gentoo  org>
CommitDate: Fri Apr 24 00:51:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831d1cc6

net-misc/vde: Drop python bindings and multiple bugfixes

Bug: https://bugs.gentoo.org/705936
Closes: https://bugs.gentoo.org/661818
Closes: https://bugs.gentoo.org/705934
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman  gentoo.org>

 .../vde/files/vde-2.3.2-fix-inline-funcs.patch | 21 +++
 net-misc/vde/vde-2.3.2-r5.ebuild   | 68 ++
 2 files changed, 89 insertions(+)

diff --git a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch 
b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
new file mode 100644
index 000..5e2102617ca
--- /dev/null
+++ b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch
@@ -0,0 +1,21 @@
+# Sourced from 
https://raw.githubusercontent.com/OpenMandrivaAssociation/vde2/master/vd2-2.3.2-clang.patch
+
+--- a/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:18.659988435 +
 b/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:44.912986501 +
+@@ -30,14 +30,14 @@
+ #ifdef FSTP
+ #include 
+ /*** sending macro used by FSTP & Core **/
+-void inline ltonstring(unsigned long l,unsigned char *s) {
++void ltonstring(unsigned long l,unsigned char *s) {
+   s[3]=l; l>>=8;
+   s[2]=l; l>>=8;
+   s[1]=l; l>>=8;
+   s[0]=l;
+ }
+ 
+-unsigned long inline nstringtol(unsigned char *s) {
++unsigned long nstringtol(unsigned char *s) {
+   return (s[0]<<24)+(s[1]<<16)+(s[2]<<8)+s[3];
+ }
+ 

diff --git a/net-misc/vde/vde-2.3.2-r5.ebuild b/net-misc/vde/vde-2.3.2-r5.ebuild
new file mode 100644
index 000..54380de4455
--- /dev/null
+++ b/net-misc/vde/vde-2.3.2-r5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+MY_P="${PN}2-${PV}"
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+HOMEPAGE="https://virtualsquare.org;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="pcap python selinux ssl libressl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPS="pcap? ( net-libs/libpcap )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${COMMON_DEPS}"
+RDEPEND="${COMMON_DEPS}
+   acct-group/qemu
+   selinux? ( sec-policy/selinux-vde )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( 
+   "${FILESDIR}/${P}-format-security.patch"
+   "${FILESDIR}/${P}-fix-inline-funcs.patch
+)
+
+src_prepare() {
+   default
+   has_version ">=dev-libs/openssl-1.1.0" && \
+   eapply "${FILESDIR}/${P}-openssl-1.1.patch"
+}
+
+src_configure() {
+   econf \
+   --disable-python
+   $(use_enable pcap) \
+   $(use_enable ssl cryptcab) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake -j1
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -type f -delete || die
+
+   newinitd "${FILESDIR}"/vde.init-r1 vde
+   newconfd "${FILESDIR}"/vde.conf-r1 vde
+}
+
+pkg_postinst() {
+   einfo "To start vde automatically add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in /etc/conf.d/net"
+   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2019-07-30 Thread Mike Gilbert
commit: c2bf09e6bb0503a58db72519b9298efb4796ece2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jul 29 18:22:43 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Jul 30 13:44:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bf09e6

net-misc/vde: depend on acct-group/qemu

Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12
Signed-off-by: Mike Gilbert  gentoo.org>

 net-misc/vde/vde-2.3.2-r4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index 45c90ec179d..868a1ad7cdb 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1 user flag-o-matic
+inherit python-single-r1 flag-o-matic
 
 MY_P="${PN}2-${PV}"
 
@@ -27,6 +27,7 @@ COMMON_DEPS="pcap? ( net-libs/libpcap )
)"
 DEPEND="${COMMON_DEPS}"
 RDEPEND="${COMMON_DEPS}
+   acct-group/qemu
selinux? ( sec-policy/selinux-vde )"
 
 S="${WORKDIR}/${MY_P}"
@@ -34,8 +35,6 @@ S="${WORKDIR}/${MY_P}"
 PATCHES=( "${FILESDIR}/${P}-format-security.patch" )
 
 pkg_setup() {
-   # default group already used in kqemu
-   enewgroup qemu
use python && python-single-r1_pkg_setup
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2019-05-08 Thread Andreas Sturmlechner
commit: 8274b2f7639ba6e3097c484bf385ecd2a9b00f81
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May  6 19:29:31 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May  8 17:03:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8274b2f7

net-misc/vde: Fix USE -python

Closes: https://bugs.gentoo.org/681900
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/vde/vde-2.3.2-r4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index 117e2965131..f5df46fa334 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -36,8 +36,7 @@ PATCHES=( "${FILESDIR}/${P}-format-security.patch" )
 pkg_setup() {
# default group already used in kqemu
enewgroup qemu
-
-   python-single-r1_pkg_setup
+   use python && python-single-r1_pkg_setup
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/, net-misc/vde/

2019-05-08 Thread Andreas Sturmlechner
commit: a0bae155d65b5fd1ed4be98f52ec47012d39156a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May  6 19:49:16 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May  8 17:03:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bae155

net-misc/vde: Fix build with >=dev-libs/openssl-1.1

Closes: https://bugs.gentoo.org/673928
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/vde/files/vde-2.3.2-openssl-1.1.patch | 104 +
 net-misc/vde/vde-2.3.2-r4.ebuild   |   5 ++
 2 files changed, 109 insertions(+)

diff --git a/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch 
b/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch
new file mode 100644
index 000..b490b93350f
--- /dev/null
+++ b/net-misc/vde/files/vde-2.3.2-openssl-1.1.patch
@@ -0,0 +1,104 @@
+From 5f2c4c7b67617991af65798a4d177ada90f7e463 Mon Sep 17 00:00:00 2001
+From: Sebastian Andrzej Siewior 
+Date: Fri, 2 Sep 2016 19:52:49 +
+Subject: [PATCH] vde_cryptcab: compile against openssl 1.1.0
+
+Signed-off-by: Sebastian Andrzej Siewior 
+---
+ src/vde_cryptcab/cryptcab.c | 30 +++---
+ 1 file changed, 19 insertions(+), 11 deletions(-)
+
+diff --git a/src/vde_cryptcab/cryptcab.c b/src/vde_cryptcab/cryptcab.c
+index c5b4474..a2780f1 100644
+--- a/src/vde_cryptcab/cryptcab.c  2011-11-23 16:41:17.0 +
 b/src/vde_cryptcab/cryptcab.c  2017-03-20 22:54:20.452975075 +
+@@ -22,7 +22,7 @@
+   exit(1);
+ }
+   
+-static EVP_CIPHER_CTX ctx;
++static EVP_CIPHER_CTX *ctx;
+ static int ctx_initialized = 0;
+ static int encryption_disabled = 0;
+ static int nfd;
+@@ -30,6 +30,10 @@
+ static struct vde_open_args open_args={.port=0,.group=NULL,.mode=0700};
+ static int verbose = 0;
+ 
++#if OPENSSL_VERSION_NUMBER < 0x1010
++#define EVP_CIPHER_CTX_reset(x)   EVP_CIPHER_CTX_cleanup(x)
++#endif
++
+ void vc_printlog(int priority, const char *format, ...)
+ {
+   va_list arg;
+@@ -103,19 +107,21 @@
+   }
+ 
+   if (!ctx_initialized) {
+-  EVP_CIPHER_CTX_init ();
++  ctx = EVP_CIPHER_CTX_new ();
++  if (!ctx)
++  return -1;
+   ctx_initialized = 1;
+   }
+   
+-  EVP_EncryptInit (, EVP_bf_cbc (), p->key, p->iv);
+-  if (EVP_EncryptUpdate (, dst, , src, len) != 1)
++  EVP_EncryptInit (ctx, EVP_bf_cbc (), p->key, p->iv);
++  if (EVP_EncryptUpdate (ctx, dst, , src, len) != 1)
+   {
+   fprintf (stderr,"error in encrypt update\n");
+   olen = -1;
+   goto cleanup;
+   }
+ 
+-  if (EVP_EncryptFinal (, dst + olen, ) != 1)
++  if (EVP_EncryptFinal (ctx, dst + olen, ) != 1)
+   {
+   fprintf (stderr,"error in encrypt final\n");
+   olen = -1;
+@@ -124,7 +130,7 @@
+   olen += tlen;
+ 
+ cleanup:
+-  EVP_CIPHER_CTX_cleanup();   
++  EVP_CIPHER_CTX_reset(ctx);
+   return olen;
+ }
+ 
+@@ -138,19 +144,21 @@
+   }
+   
+   if (!ctx_initialized) {
+-  EVP_CIPHER_CTX_init ();
++  ctx = EVP_CIPHER_CTX_new ();
++  if (!ctx)
++  return -1;
+   ctx_initialized = 1;
+   }
+ 
+-  EVP_DecryptInit (, EVP_bf_cbc (), p->key, p->iv);
+-  if (EVP_DecryptUpdate (, dst, , src, len) != 1)
++  EVP_DecryptInit (ctx, EVP_bf_cbc (), p->key, p->iv);
++  if (EVP_DecryptUpdate (ctx, dst, , src, len) != 1)
+   {
+   fprintf (stderr,"error in decrypt update\n");
+   olen = -1;
+   goto cleanup;
+   }
+ 
+-  if (EVP_DecryptFinal (, dst + olen, ) != 1)
++  if (EVP_DecryptFinal (ctx, dst + olen, ) != 1)
+   {
+   fprintf (stderr,"error in decrypt final\n");
+   olen = -1;
+@@ -159,7 +167,7 @@
+   olen += tlen;
+ 
+ cleanup:
+-  EVP_CIPHER_CTX_cleanup();   
++  EVP_CIPHER_CTX_reset (ctx);
+   return olen;
+ }
+ 

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index f5df46fa334..93a75bf2b54 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -39,6 +39,11 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
 }
 
+src_prepare() {
+   default
+   has_version ">=dev-libs/openssl-1.1.0" && eapply 
"${FILESDIR}/${P}-openssl-1.1.patch"
+}
+
 src_configure() {
filter-flags -O0 -Os
econf \



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2019-05-08 Thread Andreas Sturmlechner
commit: b540abdbca30ce0d57c4cb832268a93fdd5711aa
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May  6 19:49:52 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May  8 17:03:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b540abdb

net-misc/vde: No more ltprune

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/vde/vde-2.3.2-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index 93a75bf2b54..45c90ec179d 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit ltprune python-single-r1 user flag-o-matic
+inherit python-single-r1 user flag-o-matic
 
 MY_P="${PN}2-${PV}"
 
@@ -59,7 +59,7 @@ src_compile() {
 
 src_install() {
default
-   prune_libtool_files
+   find "${D}" -name '*.la' -type f -delete || die
 
newinitd "${FILESDIR}"/vde.init-r1 vde
newconfd "${FILESDIR}"/vde.conf-r1 vde



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2018-07-23 Thread Richard Farina
commit: 297acca8de0afffe414d687f2d801297947a6a44
Author: Zero_Chaos  gentoo  org>
AuthorDate: Mon Jul 23 19:34:26 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Mon Jul 23 19:34:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297acca8

net-misc/vde: bug #661818

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 net-misc/vde/vde-2.3.2-r4.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index fe1cc671c9a..117e2965131 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit ltprune python-single-r1 user
+inherit ltprune python-single-r1 user flag-o-matic
 
 MY_P="${PN}2-${PV}"
 
@@ -41,6 +41,7 @@ pkg_setup() {
 }
 
 src_configure() {
+   filter-flags -O0 -Os
econf \
$(use_enable pcap) \
$(use_enable python) \



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2017-10-03 Thread Jonas Stein
commit: c22b1ba5d6e8131a6880817bc452d4f7bee50402
Author: Jonas Stein  gentoo  org>
AuthorDate: Tue Oct  3 07:39:40 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Tue Oct  3 07:39:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22b1ba5

net-misc/vde: Updated contact

Proxied maintainer changed mail in bugzilla.
Use public name and mail from bugzilla here.

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 net-misc/vde/metadata.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 69e2d456469..f74a15637a8 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -6,7 +6,8 @@
 NP-Hardass
   
   
-mlspa...@noci.xs4all.nl
+mlspa...@noci.work
+Nico Baggus
   
   
 jmbsvice...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/

2017-09-20 Thread NP Hardass
commit: acf00ba6dd6a4f9374896d6e30b965f9aa2b85b2
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 23:35:44 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 23:36:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf00ba6

net-misc/vde: Tweak verbosity of init script

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/files/vde.init-r1 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-misc/vde/files/vde.init-r1 b/net-misc/vde/files/vde.init-r1
index b2ad548f372..0934c51f8f4 100644
--- a/net-misc/vde/files/vde.init-r1
+++ b/net-misc/vde/files/vde.init-r1
@@ -19,6 +19,8 @@ start_pre() {
 start() {
VDE_SOCKET="${VDE_SOCKET:-/run/${RC_SVCNAME}.ctl}"
 
+   ebegin "Starting ${SVC_NAME}"
+
start-stop-daemon --start --exec ${command} -- \
--pidfile=${pidfile} \
--tap=${VDE_TAP} \



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/

2017-09-20 Thread NP Hardass
commit: cf0f407148dc9a70837610f98359dedb993b1b80
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 22:54:58 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 23:36:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0f4071

net-misc/vde: Drop orphaned files

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/files/vde-2.2.2-gcc43.patch   | 60 
 net-misc/vde/files/vde-2.2.2-gcc53.patch   | 66 --
 .../files/vde-2.2.2-slirpvde-buffer-overflow.patch | 49 
 net-misc/vde/files/vde.conf| 10 
 net-misc/vde/files/vde.init| 25 
 5 files changed, 210 deletions(-)

diff --git a/net-misc/vde/files/vde-2.2.2-gcc43.patch 
b/net-misc/vde/files/vde-2.2.2-gcc43.patch
deleted file mode 100644
index 3b6e7b00385..000
--- a/net-misc/vde/files/vde-2.2.2-gcc43.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -NrU5 vde2-2.2.2.orig/src/kvde_switch/consmgmt.c 
vde2-2.2.2/src/kvde_switch/consmgmt.c
 vde2-2.2.2.orig/src/kvde_switch/consmgmt.c 2008-09-04 21:14:55.0 
+0200
-+++ vde2-2.2.2/src/kvde_switch/consmgmt.c  2008-09-04 21:16:26.0 
+0200
-@@ -22,10 +22,11 @@
- #include 
- #include 
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- #include 
- #include 
- 
-diff -NrU5 vde2-2.2.2.orig/src/kvde_switch/datasock.c 
vde2-2.2.2/src/kvde_switch/datasock.c
 vde2-2.2.2.orig/src/kvde_switch/datasock.c 2008-09-04 21:14:55.0 
+0200
-+++ vde2-2.2.2/src/kvde_switch/datasock.c  2008-09-04 21:19:59.0 
+0200
-@@ -24,10 +24,11 @@
- #include 
- #include 
- #include 
- #define _GNU_SOURCE
- #include 
-+#include 
- 
- #include 
- #include 
- #include 
- 
-diff -NrU5 vde2-2.2.2.orig/src/vde_plug2tap.c vde2-2.2.2/src/vde_plug2tap.c
 vde2-2.2.2.orig/src/vde_plug2tap.c 2008-09-04 21:14:55.0 +0200
-+++ vde2-2.2.2/src/vde_plug2tap.c  2008-09-04 21:22:23.0 +0200
-@@ -16,10 +16,11 @@
- #include 
- #include 
- #include 
- #define _GNU_SOURCE
- #include 
-+#include 
- 
- #include 
- #include 
- #include 
- #include 
-diff -NrU5 vde2-2.2.2.orig/src/wirefilter.c vde2-2.2.2/src/wirefilter.c
 vde2-2.2.2.orig/src/wirefilter.c   2008-09-04 21:14:55.0 +0200
-+++ vde2-2.2.2/src/wirefilter.c2008-09-04 21:25:21.0 +0200
-@@ -29,10 +29,11 @@
- #include 
- #include 
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- #include 
- #include 
- #include 

diff --git a/net-misc/vde/files/vde-2.2.2-gcc53.patch 
b/net-misc/vde/files/vde-2.2.2-gcc53.patch
deleted file mode 100644
index 60fb98cc9a8..000
--- a/net-misc/vde/files/vde-2.2.2-gcc53.patch
+++ /dev/null
@@ -1,66 +0,0 @@
 src/slirpvde/misc.c2016-01-02 22:54:35.746094904 -0500
-+++ src/slirpvde/misc.c.old2016-01-02 22:54:33.152132668 -0500
-@@ -120,11 +120,15 @@ getouraddr()
- struct quehead_32 {
-   u_int32_t qh_link;
-   u_int32_t qh_rlink;
- };
-
-+#ifdef __GNUC_GNU_INLINE__
- inline void
-+#else
-+extern inline void
-+#endif
- insque_32(a, b)
-   void *a;
-   void *b;
- {
-   register struct quehead_32 *element = (struct quehead_32 *) a;
-@@ -134,11 +134,15 @@ insque_32(a, b)
-   element->qh_rlink = (u_int32_t)head;
-   ((struct quehead_32 *)(element->qh_link))->qh_rlink
-   = (u_int32_t)element;
- }
- 
-+#ifdef __GNUC_GNU_INLINE__
- inline void
-+#else
-+extern inline void
-+#endif
- remque_32(void *a)
- {
-   register struct quehead_32 *element = (struct quehead_32 *) a;
-   ((struct quehead_32 *)(element->qh_link))->qh_rlink = element->qh_rlink;
-   ((struct quehead_32 *)(element->qh_rlink))->qh_link = element->qh_link;
-@@ -150,11 +150,15 @@ remque_32(void *a)
- struct quehead {
-   struct quehead *qh_link;
-   struct quehead *qh_rlink;
- };
- 
-+#ifdef __GNUC_GNU_INLINE__
- inline void
-+#else
-+extern inline void
-+#endif
- insque(a, b)
-   void *a, *b;
- {
-   register struct quehead *element = (struct quehead *) a;
-   register struct quehead *head = (struct quehead *) b;
-@@ -163,11 +163,15 @@ insque(a, b)
-   element->qh_rlink = (struct quehead *)head;
-   ((struct quehead *)(element->qh_link))->qh_rlink
-   = (struct quehead *)element;
- }
- 
-+#ifdef __GNUC_GNU_INLINE__
- inline void
-+#else
-+extern inline void
-+#endif
- remque(a)
-  void *a;
- {
-   register struct quehead *element = (struct quehead *) a;
-   ((struct quehead *)(element->qh_link))->qh_rlink = element->qh_rlink;

diff --git a/net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch 
b/net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch
deleted file mode 100644
index cc494e16ac4..000
--- a/net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From d466d77be6ec40d8d7d96050fbee5e17e7c61af9 Mon Sep 17 00:00:00 2001
-From: Ludwig Nussel 

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/, net-misc/vde/files/

2017-09-20 Thread NP Hardass
commit: 5a8034fff6a4ef923daf2076fa0112108774c9a7
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 22:54:30 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 23:36:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8034ff

net-misc/vde: Fix compilation with format-security

Closes: https://bugs.gentoo.org/520306
Bug: https://bugs.gentoo.org/520306
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/files/vde-2.3.2-format-security.patch | 18 ++
 net-misc/vde/vde-2.3.2-r4.ebuild   |  2 ++
 2 files changed, 20 insertions(+)

diff --git a/net-misc/vde/files/vde-2.3.2-format-security.patch 
b/net-misc/vde/files/vde-2.3.2-format-security.patch
new file mode 100644
index 000..d1cfaa58cb2
--- /dev/null
+++ b/net-misc/vde/files/vde-2.3.2-format-security.patch
@@ -0,0 +1,18 @@
+--- a/src/common/cmdparse.c2017-09-20 18:47:31.662856695 -0400
 b/src/common/cmdparse.c2017-09-20 18:48:54.008852141 -0400
+@@ -284,13 +284,13 @@
+   int i;
+   for 
(i=0;i='0' 
&& *t <= '9') t++;
+   if (num < argc) 
+-  
fprintf(mf,argv[num]);
++  
fprintf(mf,"%s",argv[num]);
+   }
+   } else
+   fprintf(mf,"%c",*t);

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index f0872a509c6..fe1cc671c9a 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -31,6 +31,8 @@ RDEPEND="${COMMON_DEPS}
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}/${P}-format-security.patch" )
+
 pkg_setup() {
# default group already used in kqemu
enewgroup qemu



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2017-09-20 Thread NP Hardass
commit: 26fdd489e493639d3ecc5bfb58175cb04828c15b
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 21:57:57 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 22:20:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26fdd489

net-misc/vde: Drop vulnerable versions

Bug: https://bugs.gentoo.org/603382
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/Manifest|  1 -
 net-misc/vde/vde-2.2.2-r1.ebuild | 52 -
 net-misc/vde/vde-2.2.2.ebuild| 39 --
 net-misc/vde/vde-2.3.2-r2.ebuild | 68 --
 net-misc/vde/vde-2.3.2-r3.ebuild | 71 
 5 files changed, 231 deletions(-)

diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index e9f3b6de390..748442a7808 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1,2 +1 @@
-DIST vde2-2.2.2.tar.bz2 472059 SHA256 
7d4b68c1ba1b661db05ff3674abff4d2ad5da31bb3471699bbec3f2f360b483a SHA512 
47dab6f266fa9bb9e581fc3339719d7ee26b2b293ebdd9dca500d1c08e05fe90299fb2962ca4e6efc8528f1291ec0eb3f429cf3a4bbfb1cd0539d68fa39aeab0
 WHIRLPOOL 
fa2ff0d8d2b2fab6c76e84fe1c63fe32c649dc972cc4735d5d4f0b4fa2b0dba4cce6a3101fabdace1c05f441c4ec679554b1d9e078540910bd9fa559fed5e0a9
 DIST vde2-2.3.2.tar.bz2 600527 SHA256 
cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542 SHA512 
51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6
 WHIRLPOOL 
dde513400eb725fe683c01110628ec9d2c3e415f0907d4f62d9bf09e2ec8ad14c4ad6437e428680a680118eb4297132f938b5cf71123480bf59c8f37eb0fee53

diff --git a/net-misc/vde/vde-2.2.2-r1.ebuild b/net-misc/vde/vde-2.2.2-r1.ebuild
deleted file mode 100644
index 45a0b83ac86..000
--- a/net-misc/vde/vde-2.2.2-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic user
-
-MY_P="${PN}2-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-HOMEPAGE="http://vde.sourceforge.net/;
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-# The slirpvde-buffer-overflow patch was made by Ludwig Nussel and submitted 
upstream at
-# 
https://sourceforge.net/tracker/?func=detail=2138410_id=95403=611248
-PATCHES=(
-   "${FILESDIR}/${P}-gcc43.patch"
-   "${FILESDIR}/${P}-slirpvde-buffer-overflow.patch"
-   "${FILESDIR}/${P}-gcc53.patch"
-)
-
-src_prepare() {
-   epatch "${PATCHES[@]}"
-   epatch_user
-}
-
-src_configure() {
-   append-cflags $(test-flags-CC -fno-strict-aliasing)
-   econf
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed"
-   newinitd "${FILESDIR}"/vde.init vde
-   newconfd "${FILESDIR}"/vde.conf vde
-
-   dodoc INSTALL README
-}
-
-pkg_postinst() {
-   # default group already used in kqemu
-   enewgroup qemu
-   einfo "To start vde automatically add it to the default runlevel:"
-   einfo "# rc-update add vde default"
-   einfo "You need to setup tap0 in /etc/conf.d/net"
-   einfo "To use it as a user be sure to set a group in /etc/conf.d/vde"
-   einfo "Users of the group can then run: $ vdeq qemu -sock 
/var/run/vde.ctl ..other opts"
-}

diff --git a/net-misc/vde/vde-2.2.2.ebuild b/net-misc/vde/vde-2.2.2.ebuild
deleted file mode 100644
index 477d98928e6..000
--- a/net-misc/vde/vde-2.2.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit base eutils user
-
-MY_P="${PN}2-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="vde2 is a virtual distributed ethernet emulator for emulators 
like qemu, bochs, and uml"
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-HOMEPAGE="http://vde.sourceforge.net/;
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE=""
-DEPEND=""
-RDEPEND=""
-
-# The slirpvde-buffer-overflow patch was made by Ludwig Nussel and submitted 
upstream at
-# 
https://sourceforge.net/tracker/?func=detail=2138410_id=95403=611248
-PATCHES=( "${FILESDIR}/${P}-gcc43.patch" 
"${FILESDIR}/${P}-slirpvde-buffer-overflow.patch" )
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed"
-   newinitd "${FILESDIR}"/vde.init vde
-   newconfd "${FILESDIR}"/vde.conf vde
-
-   dodoc INSTALL README
-}
-
-pkg_postinst() {
-   # default group already used in kqemu
-   enewgroup qemu
-   einfo "To start vde automatically add it to the default runlevel:"
-   einfo "# rc-update add vde default"
-   einfo "You need to setup tap0 in /etc/conf.d/net"
-   einfo "To use it as a user be sure to set a group in /etc/conf.d/vde"
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2017-09-20 Thread NP Hardass
commit: b7e0445d109fd67667b6fae1421de7ecefbabb70
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 22:00:13 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 22:20:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e0445d

net-misc/vde: Update metadata.xml

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 05cde3601cb..69e2d456469 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -2,6 +2,10 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
+np-hard...@gentoo.org
+NP-Hardass
+  
+  
 mlspa...@noci.xs4all.nl
   
   



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2017-09-20 Thread NP Hardass
commit: bd4f1fb99926525dd935c37f4ec35fd963d43e4a
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 21:57:05 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 22:20:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4f1fb9

net-misc/vde: 2.3.2-r4 stable for amd64, x86

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/vde-2.3.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
index 105d24c63bf..f0872a509c6 100644
--- a/net-misc/vde/vde-2.3.2-r4.ebuild
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://vde.sourceforge.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
 IUSE="pcap python selinux ssl libressl static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/, net-misc/vde/

2017-09-20 Thread NP Hardass
commit: 487449d882b95ff9d88657746ee835553e461a27
Author: NP-Hardass  gentoo  org>
AuthorDate: Wed Sep 20 21:48:21 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Sep 20 22:20:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487449d8

net-misc/vde: Revbump to 2.3.2-r4, EAPI bump

Acked-By: mjo  gentoo.org
Bug: https://bugs.gentoo.org/603382
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/vde/files/vde.conf-r1   | 15 +
 net-misc/vde/files/vde.init-r1   | 42 +
 net-misc/vde/vde-2.3.2-r4.ebuild | 66 
 3 files changed, 123 insertions(+)

diff --git a/net-misc/vde/files/vde.conf-r1 b/net-misc/vde/files/vde.conf-r1
new file mode 100644
index 000..856bde8ea2b
--- /dev/null
+++ b/net-misc/vde/files/vde.conf-r1
@@ -0,0 +1,15 @@
+# load the tun module
+VDE_MODPROBE_TUN="yes"
+
+# virtual tap networking device to be used for vde
+VDE_TAP="tap0"
+
+# The group that will have access to the VDE control socket.
+VDE_GROUP="qemu"
+
+# VDE socket location (default: /run/${RC_SVCNAME}.ctl)
+VDE_SOCKET=""
+
+# Additional options passed to the vde_switch daemon.
+#VDE_OPTS=""
+VDE_OPTS=""
\ No newline at end of file

diff --git a/net-misc/vde/files/vde.init-r1 b/net-misc/vde/files/vde.init-r1
new file mode 100644
index 000..b2ad548f372
--- /dev/null
+++ b/net-misc/vde/files/vde.init-r1
@@ -0,0 +1,42 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/vde_switch"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+   after net.${VDE_TAP}
+}
+
+start_pre() {
+   [ "${VDE_MODPROBE_TUN}" = "yes" ] || return 0
+   modprobe tun
+}
+
+# We have to use start() because the shortform uses --pidfile for s-s-d --start
+# which causes s-s-d to check the pid file before it exists
+start() {
+   VDE_SOCKET="${VDE_SOCKET:-/run/${RC_SVCNAME}.ctl}"
+
+   start-stop-daemon --start --exec ${command} -- \
+   --pidfile=${pidfile} \
+   --tap=${VDE_TAP} \
+   --group=${VDE_GROUP} \
+   --mode=660 \
+   --dirmode=770 \
+   --sock=${VDE_SOCKET} \
+   --daemon \
+   ${VDE_OPTS}
+   ewaitfile 10 "${VDE_SOCKET}"
+
+   eend $? "Failed to start ${RC_SVCNAME}"
+}
+
+stop_post() {
+   [ "${VDE_MODPROBE_TUN}" = "yes" ] && modprobe --quiet --remove tun
+
+   # Don't fail to stop the service if the "tun" module in use
+   # and the above "modprobe -r" command fails.
+   return 0
+}

diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild
new file mode 100644
index 000..105d24c63bf
--- /dev/null
+++ b/net-misc/vde/vde-2.3.2-r4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit ltprune python-single-r1 user
+
+MY_P="${PN}2-${PV}"
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+HOMEPAGE="http://vde.sourceforge.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="pcap python selinux ssl libressl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPS="pcap? ( net-libs/libpcap )
+   python? ( ${PYTHON_DEPS} )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${COMMON_DEPS}"
+RDEPEND="${COMMON_DEPS}
+   selinux? ( sec-policy/selinux-vde )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   # default group already used in kqemu
+   enewgroup qemu
+
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   econf \
+   $(use_enable pcap) \
+   $(use_enable python) \
+   $(use_enable ssl cryptcab) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake -j1
+}
+
+src_install() {
+   default
+   prune_libtool_files
+
+   newinitd "${FILESDIR}"/vde.init-r1 vde
+   newconfd "${FILESDIR}"/vde.conf-r1 vde
+}
+
+pkg_postinst() {
+   einfo "To start vde automatically add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in /etc/conf.d/net"
+   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2017-04-23 Thread David Seifert
commit: e432f1dba89cc7cfecf7bfcfd5aaf948ba1bf9f6
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 23 20:23:55 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 23 20:59:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e432f1db

net-misc/vde: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-misc/vde/vde-2.3.2-r2.ebuild | 5 +++--
 net-misc/vde/vde-2.3.2-r3.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-misc/vde/vde-2.3.2-r2.ebuild b/net-misc/vde/vde-2.3.2-r2.ebuild
index bd9e4ea321f..762afa688bb 100644
--- a/net-misc/vde/vde-2.3.2-r2.ebuild
+++ b/net-misc/vde/vde-2.3.2-r2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
+
 inherit eutils python-single-r1 user
 
 MY_P="${PN}2-${PV}"
@@ -15,8 +16,8 @@ HOMEPAGE="http://vde.sourceforge.net/;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 x86"
-
 IUSE="pcap python selinux ssl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )
python? ( ${PYTHON_DEPS} )

diff --git a/net-misc/vde/vde-2.3.2-r3.ebuild b/net-misc/vde/vde-2.3.2-r3.ebuild
index f2ebc5ecea5..ad94a85abaf 100644
--- a/net-misc/vde/vde-2.3.2-r3.ebuild
+++ b/net-misc/vde/vde-2.3.2-r3.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
+
 inherit eutils python-single-r1 user
 
 MY_P="${PN}2-${PV}"
@@ -15,8 +16,8 @@ HOMEPAGE="http://vde.sourceforge.net/;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
 IUSE="pcap python selinux ssl libressl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 COMMON_DEPS="pcap? ( net-libs/libpcap )
python? ( ${PYTHON_DEPS} )



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-10-17 Thread Anthony G. Basile
commit: 4e3b908add13f4dbff4b5f028f40c9aca17b58c6
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Oct 17 23:13:56 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct 17 23:13:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3b908a

net-misc/vde: add libressl support

Package-Manager: portage-2.2.28

 net-misc/vde/vde-2.3.2-r3.ebuild | 71 
 1 file changed, 71 insertions(+)

diff --git a/net-misc/vde/vde-2.3.2-r3.ebuild b/net-misc/vde/vde-2.3.2-r3.ebuild
new file mode 100644
index ..f3f39f1
--- /dev/null
+++ b/net-misc/vde/vde-2.3.2-r3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 user
+
+MY_P="${PN}2-${PV}"
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+HOMEPAGE="http://vde.sourceforge.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="pcap python selinux ssl libressl static-libs"
+
+COMMON_DEPS="pcap? ( net-libs/libpcap )
+   python? ( ${PYTHON_DEPS} )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${COMMON_DEPS}"
+RDEPEND="${COMMON_DEPS}
+   selinux? ( sec-policy/selinux-vde )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   # default group already used in kqemu
+   enewgroup qemu
+
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   epatch_user
+}
+
+src_configure() {
+   econf \
+   $(use_enable pcap) \
+   $(use_enable python) \
+   $(use_enable ssl cryptcab) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake -j1
+}
+
+src_install() {
+   default
+   prune_libtool_files
+
+   newinitd "${FILESDIR}"/vde.init vde
+   newconfd "${FILESDIR}"/vde.conf vde
+}
+
+pkg_postinst() {
+   einfo "To start vde automatically add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in /etc/conf.d/net"
+   einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
+   einfo "Users of the group can then run: $ vdeq qemu -sock 
/var/run/vde.ctl ..other opts"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-06-18 Thread Göktürk Yüksek
commit: f736eaeda38d6c9ee5c9d2b7d7e04094bf74d638
Author: Nicholas Vinson  gmail  com>
AuthorDate: Wed Jun 15 14:01:24 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Sun Jun 19 02:15:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f736eaed

net-misc/vde: Update maintainer description in metadata

Metadata incorrectly lists nvinson234  gmail.com as a proxy maintainer
in the description. This commit corrects the description for
nvinson234  gmail.com.

Package-Manager: portage-2.3.0_rc1

 net-misc/vde/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 09f686b..1191644 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -4,7 +4,7 @@
   
 nvinson...@gmail.com
 Nicholas Vinson
-Proxy maintainer to be assigned bugs
+Proxied maintainer
   
   
 mlspa...@noci.xs4all.nl



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-01-17 Thread Agostino Sarubbo
commit: 680971c6131919d975f37cd01ba3e000b15a5850
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 17 17:00:26 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 17 17:00:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680971c6

net-misc/vde: ppc stable wrt bug #552926

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r2.ebuild b/net-misc/vde/vde-2.3.2-r2.ebuild
index f796dca..bb97357 100644
--- a/net-misc/vde/vde-2.3.2-r2.ebuild
+++ b/net-misc/vde/vde-2.3.2-r2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://vde.sourceforge.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ~ppc64 x86"
 
 IUSE="pcap python selinux ssl static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-01-06 Thread Agostino Sarubbo
commit: 5db4409c70cceb3e7048478c98b2340edff12293
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan  6 13:32:35 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan  6 13:32:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db4409c

net-misc/vde: x86 stable wrt bug #552926

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r2.ebuild b/net-misc/vde/vde-2.3.2-r2.ebuild
index 2db2a6a..f796dca 100644
--- a/net-misc/vde/vde-2.3.2-r2.ebuild
+++ b/net-misc/vde/vde-2.3.2-r2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://vde.sourceforge.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 
 IUSE="pcap python selinux ssl static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-01-03 Thread Ian Delaney
commit: c5778bdbfb01745cb5067003d71e9e2f47a892ba
Author: Ian Delaney  gentoo  org>
AuthorDate: Sun Jan  3 09:15:33 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Jan  3 11:00:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5778bdb

net-misc/vde:  rm old vns. 2.3.1, 2.3.2, and 2.3.2-r1

nominated by new proxy maintainer is direct discussion

Package-Manager: portage-2.2.26

 net-misc/vde/Manifest|  1 -
 net-misc/vde/vde-2.3.1.ebuild| 48 -
 net-misc/vde/vde-2.3.2-r1.ebuild | 66 
 net-misc/vde/vde-2.3.2.ebuild| 57 --
 4 files changed, 172 deletions(-)

diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index 62417ad..e9f3b6d 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1,3 +1,2 @@
 DIST vde2-2.2.2.tar.bz2 472059 SHA256 
7d4b68c1ba1b661db05ff3674abff4d2ad5da31bb3471699bbec3f2f360b483a SHA512 
47dab6f266fa9bb9e581fc3339719d7ee26b2b293ebdd9dca500d1c08e05fe90299fb2962ca4e6efc8528f1291ec0eb3f429cf3a4bbfb1cd0539d68fa39aeab0
 WHIRLPOOL 
fa2ff0d8d2b2fab6c76e84fe1c63fe32c649dc972cc4735d5d4f0b4fa2b0dba4cce6a3101fabdace1c05f441c4ec679554b1d9e078540910bd9fa559fed5e0a9
-DIST vde2-2.3.1.tar.bz2 510947 SHA256 
0baa6d429e022eb4069252c0f58636c4b5e0dd2e3a495bdb14b32ecc363d147f SHA512 
0484b8e09039263f3050acc4985b6250f025c12bb03c2a4e4f5a78252d8c220e4297e8bafff93949b1c6807982847fc81200b9ba4bb54abaa05cbfe67efcdbe1
 WHIRLPOOL 
46726e93531608dee3162cf32a8344b6d3ece433195d0ae15502610a2cfaf6397e2a3dd5fe19ba1fc2844e9b861620ee3710b688f4f0c84dd6246699a31b10c3
 DIST vde2-2.3.2.tar.bz2 600527 SHA256 
cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542 SHA512 
51be75fde5a526b988060f25322a8b20289b1677db2e3aa6dbee55875c1d7af564f9d8d201a0a4a1a842471cce06f29fcd83e55a5ff7acfdc36a8349cb2f3cc6
 WHIRLPOOL 
dde513400eb725fe683c01110628ec9d2c3e415f0907d4f62d9bf09e2ec8ad14c4ad6437e428680a680118eb4297132f938b5cf71123480bf59c8f37eb0fee53

diff --git a/net-misc/vde/vde-2.3.1.ebuild b/net-misc/vde/vde-2.3.1.ebuild
deleted file mode 100644
index 8a5d528..000
--- a/net-misc/vde/vde-2.3.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils user
-
-MY_P="${PN}2-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="vde2 is a virtual distributed ethernet emulator for emulators 
like qemu, bochs, and uml"
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-HOMEPAGE="http://vde.sourceforge.net/;
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-IUSE="pcap ssl static-libs"
-
-RDEPEND="pcap? ( net-libs/libpcap )
-   ssl? ( dev-libs/openssl )"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   econf \
-   $(use_enable pcap) \
-   $(use_enable ssl cryptcab) \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-   use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
-
-   newinitd "${FILESDIR}"/vde.init vde
-   newconfd "${FILESDIR}"/vde.conf vde
-}
-
-pkg_postinst() {
-   # default group already used in kqemu
-   enewgroup qemu
-   einfo "To start vde automatically add it to the default runlevel:"
-   einfo "# rc-update add vde default"
-   einfo "You need to setup tap0 in /etc/conf.d/net"
-   einfo "To use it as a user be sure to set a group in /etc/conf.d/vde"
-   einfo "Users of the group can then run: $ vdeq qemu -sock 
/var/run/vde.ctl ..other opts"
-}

diff --git a/net-misc/vde/vde-2.3.2-r1.ebuild b/net-misc/vde/vde-2.3.2-r1.ebuild
deleted file mode 100644
index fa69802..000
--- a/net-misc/vde/vde-2.3.2-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-single-r1 user
-
-MY_P="${PN}2-${PV}"
-
-DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
-SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
-HOMEPAGE="http://vde.sourceforge.net/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-IUSE="pcap python ssl static-libs"
-
-RDEPEND="pcap? ( net-libs/libpcap )
-   python? ( ${PYTHON_DEPS} )
-   ssl? ( dev-libs/openssl )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   # default group already used in kqemu
-   enewgroup qemu
-
-   python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   epatch_user
-}
-
-src_configure() {
-   econf \
-   $(use_enable pcap) \
-   $(use_enable python) \
-   $(use_enable ssl cryptcab) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake -j1
-}
-
-src_install() {
-   default
-   prune_libtool_files
-
-   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2016-01-03 Thread Ian Delaney
commit: 04a42d1c2d7ca53a1f51bd4e08e085725ac4d134
Author: Nicholas Vinson  gmail  com>
AuthorDate: Sun Jan  3 05:24:05 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Jan  3 08:39:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a42d1c

net-misc/vde: Added myself as co-maintainer

Added myself as co-maintainer due to prolonged inactivity of designated proxy
maintainer.

Package-Manager: portage-2.2.26

 net-misc/vde/metadata.xml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 8ea7011..ac0f4c2 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -3,6 +3,11 @@
 
   proxy-maintainers
   
+nvinson...@gmail.com
+Nicholas Vinson
+Proxy maintainer to be assigned bugs
+  
+  
 mlspa...@noci.xs4all.nl
   
   



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/files/, net-misc/vde/

2016-01-03 Thread Ian Delaney
commit: 8efc88270606d78f64045fff6c70583e5052230e
Author: Nicholas Vinson  gmail  com>
AuthorDate: Sun Jan  3 04:15:50 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Jan  3 08:39:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8efc8827

net-misc/vde: Fix for bug #543006

Added vde-2.2.2-gcc53.patch.  Starting with GCC 5, GCC uses Std. C semantics for
inline kewords instead of non-compliant GNU C semantics.  This patch corrects
the source with respect to the semantic difference.

Package-Manager: portage-2.2.26

 net-misc/vde/files/vde-2.2.2-gcc53.patch | 66 
 net-misc/vde/vde-2.2.2-r1.ebuild | 53 +
 2 files changed, 119 insertions(+)

diff --git a/net-misc/vde/files/vde-2.2.2-gcc53.patch 
b/net-misc/vde/files/vde-2.2.2-gcc53.patch
new file mode 100644
index 000..60fb98c
--- /dev/null
+++ b/net-misc/vde/files/vde-2.2.2-gcc53.patch
@@ -0,0 +1,66 @@
+--- src/slirpvde/misc.c2016-01-02 22:54:35.746094904 -0500
 src/slirpvde/misc.c.old2016-01-02 22:54:33.152132668 -0500
+@@ -120,11 +120,15 @@ getouraddr()
+ struct quehead_32 {
+   u_int32_t qh_link;
+   u_int32_t qh_rlink;
+ };
+
++#ifdef __GNUC_GNU_INLINE__
+ inline void
++#else
++extern inline void
++#endif
+ insque_32(a, b)
+   void *a;
+   void *b;
+ {
+   register struct quehead_32 *element = (struct quehead_32 *) a;
+@@ -134,11 +134,15 @@ insque_32(a, b)
+   element->qh_rlink = (u_int32_t)head;
+   ((struct quehead_32 *)(element->qh_link))->qh_rlink
+   = (u_int32_t)element;
+ }
+ 
++#ifdef __GNUC_GNU_INLINE__
+ inline void
++#else
++extern inline void
++#endif
+ remque_32(void *a)
+ {
+   register struct quehead_32 *element = (struct quehead_32 *) a;
+   ((struct quehead_32 *)(element->qh_link))->qh_rlink = element->qh_rlink;
+   ((struct quehead_32 *)(element->qh_rlink))->qh_link = element->qh_link;
+@@ -150,11 +150,15 @@ remque_32(void *a)
+ struct quehead {
+   struct quehead *qh_link;
+   struct quehead *qh_rlink;
+ };
+ 
++#ifdef __GNUC_GNU_INLINE__
+ inline void
++#else
++extern inline void
++#endif
+ insque(a, b)
+   void *a, *b;
+ {
+   register struct quehead *element = (struct quehead *) a;
+   register struct quehead *head = (struct quehead *) b;
+@@ -163,11 +163,15 @@ insque(a, b)
+   element->qh_rlink = (struct quehead *)head;
+   ((struct quehead *)(element->qh_link))->qh_rlink
+   = (struct quehead *)element;
+ }
+ 
++#ifdef __GNUC_GNU_INLINE__
+ inline void
++#else
++extern inline void
++#endif
+ remque(a)
+  void *a;
+ {
+   register struct quehead *element = (struct quehead *) a;
+   ((struct quehead *)(element->qh_link))->qh_rlink = element->qh_rlink;

diff --git a/net-misc/vde/vde-2.2.2-r1.ebuild b/net-misc/vde/vde-2.2.2-r1.ebuild
new file mode 100644
index 000..242951d
--- /dev/null
+++ b/net-misc/vde/vde-2.2.2-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic user
+
+MY_P="${PN}2-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, 
bochs, and uml"
+SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
+HOMEPAGE="http://vde.sourceforge.net/;
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# The slirpvde-buffer-overflow patch was made by Ludwig Nussel and submitted 
upstream at
+# 
http://sourceforge.net/tracker/?func=detail=2138410_id=95403=611248
+PATCHES=(
+   "${FILESDIR}/${P}-gcc43.patch"
+   "${FILESDIR}/${P}-slirpvde-buffer-overflow.patch"
+   "${FILESDIR}/${P}-gcc53.patch"
+)
+
+src_prepare() {
+   epatch "${PATCHES[@]}"
+   epatch_user
+}
+
+src_configure() {
+   append-cflags $(test-flags-CC -fno-strict-aliasing)
+   econf
+}
+
+src_install() {
+   emake DESTDIR="${D}" install || die "emake install failed"
+   newinitd "${FILESDIR}"/vde.init vde
+   newconfd "${FILESDIR}"/vde.conf vde
+
+   dodoc INSTALL README
+}
+
+pkg_postinst() {
+   # default group already used in kqemu
+   enewgroup qemu
+   einfo "To start vde automatically add it to the default runlevel:"
+   einfo "# rc-update add vde default"
+   einfo "You need to setup tap0 in /etc/conf.d/net"
+   einfo "To use it as a user be sure to set a group in /etc/conf.d/vde"
+   einfo "Users of the group can then run: $ vdeq qemu -sock 
/var/run/vde.ctl ..other opts"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/vde/

2015-12-27 Thread Agostino Sarubbo
commit: 493b4b5f42a39014496a6734d72d76b1cb09088d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 27 12:28:02 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 27 12:28:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493b4b5f

net-misc/vde: amd64 stable wrt bug #552926

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/vde/vde-2.3.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/vde/vde-2.3.2-r2.ebuild b/net-misc/vde/vde-2.3.2-r2.ebuild
index d78c5e4..2db2a6a 100644
--- a/net-misc/vde/vde-2.3.2-r2.ebuild
+++ b/net-misc/vde/vde-2.3.2-r2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://vde.sourceforge.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 
 IUSE="pcap python selinux ssl static-libs"