summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2010-08-26 01:28:02 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2010-08-26 01:28:02 +0000
commite4f233fec56105347969da39c1fab256c37f4201 (patch)
treecc69108deecb77f2ab5c39d555862dacb5e4aa52 /net-misc/vde
parentVersion bump (diff)
downloadgentoo-2-e4f233fec56105347969da39c1fab256c37f4201.tar.gz
gentoo-2-e4f233fec56105347969da39c1fab256c37f4201.tar.bz2
gentoo-2-e4f233fec56105347969da39c1fab256c37f4201.zip
Bump to vde-2.3.1
(Portage version: 2.2_rc69/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/vde')
-rw-r--r--net-misc/vde/ChangeLog8
-rw-r--r--net-misc/vde/vde-2.3.1.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog
index 4c2fdaa512ba..264d3abe749d 100644
--- a/net-misc/vde/ChangeLog
+++ b/net-misc/vde/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/vde
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.22 2010/01/12 12:58:37 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.23 2010/08/26 01:28:02 dang Exp $
+
+*vde-2.3.1 (26 Aug 2010)
+
+ 26 Aug 2010; Daniel Gryniewicz <dang@gentoo.org> +vde-2.3.1.ebuild:
+ Bump to vde-2.3.1
+
12 Jan 2010; Daniel Gryniewicz <dang@gentoo.org> files/vde.conf,
files/vde.init:
diff --git a/net-misc/vde/vde-2.3.1.ebuild b/net-misc/vde/vde-2.3.1.ebuild
new file mode 100644
index 000000000000..07f1e956955d
--- /dev/null
+++ b/net-misc/vde/vde-2.3.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-2.3.1.ebuild,v 1.1 2010/08/26 01:28:02 dang 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"
+}