summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-10-21 09:43:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-10-21 09:43:46 +0000
commit4c253a8b0ce7af18aa4f8b9012918aaff13f0b30 (patch)
treee1c042ec18eaf342505ca648ddeb029ab8533de2 /net-misc
parentStable for HPPA (bug #285525). (diff)
downloadgentoo-2-4c253a8b0ce7af18aa4f8b9012918aaff13f0b30.tar.gz
gentoo-2-4c253a8b0ce7af18aa4f8b9012918aaff13f0b30.tar.bz2
gentoo-2-4c253a8b0ce7af18aa4f8b9012918aaff13f0b30.zip
Version bump (with dang's permission); add USE flags for pcap and ssl, fix installed documentation. Patches were all merged upstream.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/vde/ChangeLog9
-rw-r--r--net-misc/vde/metadata.xml10
-rw-r--r--net-misc/vde/vde-2.2.3.ebuild47
3 files changed, 65 insertions, 1 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog
index db14340df26e..97e371ac31c4 100644
--- a/net-misc/vde/ChangeLog
+++ b/net-misc/vde/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/vde
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.20 2009/04/06 19:02:06 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.21 2009/10/21 09:43:46 flameeyes Exp $
+
+*vde-2.2.3 (21 Oct 2009)
+
+ 21 Oct 2009; Diego E. Pettenò <flameeyes@gentoo.org> +vde-2.2.3.ebuild,
+ metadata.xml:
+ Version bump (with dang's permission); add USE flags for pcap and ssl, fix
+ installed documentation. Patches were all merged upstream.
06 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+files/vde-2.2.2-slirpvde-buffer-overflow.patch, vde-2.2.2.ebuild:
diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index 37fde6eb3b57..f3375b8f27a8 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -11,4 +11,14 @@
<maintainer>
<email>jmbsvicetto@gentoo.org</email>
</maintainer>
+<use>
+ <flag name="pcap">
+ Enable the pcap-based plugin that allows creating a switch against
+ a real interface.
+ </flag>
+ <flag name="ssl">
+ Enable the cryptcab plugin that allows creating an encrypted
+ virtual cable.
+ </flag>
+</use>
</pkgmetadata>
diff --git a/net-misc/vde/vde-2.2.3.ebuild b/net-misc/vde/vde-2.2.3.ebuild
new file mode 100644
index 000000000000..4c89c31504e8
--- /dev/null
+++ b/net-misc/vde/vde-2.2.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-2.2.3.ebuild,v 1.1 2009/10/21 09:43:46 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils
+
+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"
+
+RDEPEND="pcap? ( net-libs/libpcap )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable pcap) \
+ $(use_enable ssl cryptcab)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newinitd "${FILESDIR}"/vde.init vde || die
+ newconfd "${FILESDIR}"/vde.conf vde || die
+
+ dodoc README Changelog || die
+}
+
+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 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"
+}