diff options
Diffstat (limited to 'net-misc/vde')
-rw-r--r-- | net-misc/vde/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/vde/Manifest | 3 | ||||
-rw-r--r-- | net-misc/vde/files/vde.init.d | 24 | ||||
-rw-r--r-- | net-misc/vde/vde-1.5.8.ebuild | 7 |
4 files changed, 36 insertions, 3 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog index 1b787a11ecfa..edc7829dba4e 100644 --- a/net-misc/vde/ChangeLog +++ b/net-misc/vde/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/vde # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.2 2005/06/09 22:21:11 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.3 2005/06/09 22:34:46 rphillips Exp $ + + 09 Jun 2005; <rphillips@gentoo.org> +files/vde.init.d, vde-1.5.8.ebuild: + Added init script from Nico Baggus *vde-1.5.8 (09 Jun 2005) diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest index 8f3106c1402d..26fb87ed2570 100644 --- a/net-misc/vde/Manifest +++ b/net-misc/vde/Manifest @@ -1,7 +1,8 @@ -MD5 c972ef009667ffa5371c14639cd44f79 vde-1.5.8.ebuild 639 +MD5 265951505a87a579bf6878076f2dc749 vde-1.5.8.ebuild 739 MD5 02eeae6d05076c460f02c0d4ddb4d0f2 vde-1.5.7.ebuild 1074 MD5 4847767b0ffc3c87177ef8c79a8163e9 ChangeLog 496 MD5 98727198655490ad4bf4b8a2bcc8d5db metadata.xml 293 MD5 be0314f824da3e7ae0ca64c4c791b600 files/vde-qemu-Makefile.in.diff 362 MD5 1f08cfb4e6c7ac2cdf36de3515171dfb files/digest-vde-1.5.7 58 MD5 1bb099a717f163a56a1ec18919e4e93a files/digest-vde-1.5.8 58 +MD5 beee4ce1188b23db8ec9cfba9d234429 files/vde.init.d 575 diff --git a/net-misc/vde/files/vde.init.d b/net-misc/vde/files/vde.init.d new file mode 100644 index 000000000000..a1f4118406df --- /dev/null +++ b/net-misc/vde/files/vde.init.d @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init.d,v 1.1 2005/06/09 22:34:46 rphillips Exp $ + +depend() { + before net +} + + +start() { + ebegin "Starting vde" + modprobe tun + start-stop-daemon --start --quiet \ + --exec /usr/bin/vde_switch -- -tap tap0 -daemon + eend $? "Failed to start vde" +} + +stop() { + ebegin "Stopping vde" + start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch + rmmod tun + eend $? "Failed to stop vde" +} diff --git a/net-misc/vde/vde-1.5.8.ebuild b/net-misc/vde/vde-1.5.8.ebuild index 80d9ea3d1080..9fd6fb0404ce 100644 --- a/net-misc/vde/vde-1.5.8.ebuild +++ b/net-misc/vde/vde-1.5.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-1.5.8.ebuild,v 1.1 2005/06/09 22:21:11 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-1.5.8.ebuild,v 1.2 2005/06/09 22:34:46 rphillips Exp $ DESCRIPTION="vde is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml." SRC_URI="mirror://sourceforge/vde/${P}.tgz" @@ -23,6 +23,11 @@ src_compile() { src_install() { einstall + + dodir /etc/init.d + cp ${FILESDIR}/vde.init.d ${D}/etc/init.d/vde + fperms a+x ${D}/etc/init.d/vde + dodoc COPYING INSTALL PORTS README } |