diff options
author | 2008-09-04 19:37:09 +0000 | |
---|---|---|
committer | 2008-09-04 19:37:09 +0000 | |
commit | d3fa4422ccd19f84fcc9b604c2a3b3699b5a08c3 (patch) | |
tree | 8f1c4044b5eda27f4ffb218ef71ca1583c09a2ef /net-misc/vde | |
parent | Stable on sparc, bug #236618 (diff) | |
download | gentoo-2-d3fa4422ccd19f84fcc9b604c2a3b3699b5a08c3.tar.gz gentoo-2-d3fa4422ccd19f84fcc9b604c2a3b3699b5a08c3.tar.bz2 gentoo-2-d3fa4422ccd19f84fcc9b604c2a3b3699b5a08c3.zip |
Bump, thx to jbergstroem for the nudge.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'net-misc/vde')
-rw-r--r-- | net-misc/vde/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/vde/files/vde-2.2.2-gcc43.patch | 60 | ||||
-rw-r--r-- | net-misc/vde/vde-2.2.2.ebuild | 37 |
3 files changed, 104 insertions, 1 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog index 4d53166ec817..b417612f7d10 100644 --- a/net-misc/vde/ChangeLog +++ b/net-misc/vde/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/vde # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.14 2008/07/20 14:38:55 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.15 2008/09/04 19:37:08 loki_val Exp $ + +*vde-2.2.2 (04 Sep 2008) + + 04 Sep 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/vde-2.2.2-gcc43.patch, +vde-2.2.2.ebuild: + Bump, thx to jbergstroem for the nudge. 20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> +files/vde-2.1.6-gcc43.patch, vde-2.1.6-r1.ebuild: diff --git a/net-misc/vde/files/vde-2.2.2-gcc43.patch b/net-misc/vde/files/vde-2.2.2-gcc43.patch new file mode 100644 index 000000000000..3b6e7b003850 --- /dev/null +++ b/net-misc/vde/files/vde-2.2.2-gcc43.patch @@ -0,0 +1,60 @@ +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.000000000 +0200 ++++ vde2-2.2.2/src/kvde_switch/consmgmt.c 2008-09-04 21:16:26.000000000 +0200 +@@ -22,10 +22,11 @@ + #include <net/if.h> + #include <stdarg.h> + #include <getopt.h> + #include <dlfcn.h> + #include <time.h> ++#include <linux/limits.h> + + #include <config.h> + #include <vde.h> + #include <vdecommon.h> + +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.000000000 +0200 ++++ vde2-2.2.2/src/kvde_switch/datasock.c 2008-09-04 21:19:59.000000000 +0200 +@@ -24,10 +24,11 @@ + #include <net/if.h> + #include <stdarg.h> + #include <grp.h> + #define _GNU_SOURCE + #include <getopt.h> ++#include <linux/limits.h> + + #include <config.h> + #include <vde.h> + #include <vdecommon.h> + +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.000000000 +0200 ++++ vde2-2.2.2/src/vde_plug2tap.c 2008-09-04 21:22:23.000000000 +0200 +@@ -16,10 +16,11 @@ + #include <stdarg.h> + #include <syslog.h> + #include <libgen.h> + #define _GNU_SOURCE + #include <getopt.h> ++#include <linux/limits.h> + + #include <config.h> + #include <vde.h> + #include <vdecommon.h> + #include <libvdeplug.h> +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.000000000 +0200 ++++ vde2-2.2.2/src/wirefilter.c 2008-09-04 21:25:21.000000000 +0200 +@@ -29,10 +29,11 @@ + #include <sys/time.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/socket.h> + #include <sys/un.h> ++#include <linux/limits.h> + + #include <config.h> + #include <vde.h> + #include <vdecommon.h> + #include <libvdeplug.h> diff --git a/net-misc/vde/vde-2.2.2.ebuild b/net-misc/vde/vde-2.2.2.ebuild new file mode 100644 index 000000000000..4e4739ce9447 --- /dev/null +++ b/net-misc/vde/vde-2.2.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-2.2.2.ebuild,v 1.1 2008/09/04 19:37:08 loki_val Exp $ + +inherit base 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 ~x86" +IUSE="" +DEPEND="" + +PATCHES=( "${FILESDIR}/${P}-gcc43.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 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" +} |