summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-26 09:10:46 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-26 09:10:46 +0000
commit8939c38a3ce15b27d5f97fbbaa7961be012eba50 (patch)
treef6c3cbebf65e090b727ce50f8e91da6b11816c4a /net-misc
parentAdd patch to fix vbi decoding with kernels 2.6.16 and greater. Thanks to Sir ... (diff)
downloadhistorical-8939c38a3ce15b27d5f97fbbaa7961be012eba50.tar.gz
historical-8939c38a3ce15b27d5f97fbbaa7961be012eba50.tar.bz2
historical-8939c38a3ce15b27d5f97fbbaa7961be012eba50.zip
Take over maintainer and version bump thanks to Lorenzo Grandi <popposoft@gmail.com> in bug 113554 also allows to set a group in the init script, thanks to Jean-François Richard <jean-francois@richard.name> in bug 113482 and works with qemu 0.8, thanks to Tim Redman <tredman1@tampabay.rr.com> and Nico Baggus <mlspamcb@noci.xs4all.nl> in bug 116840, big thanks to Rob M. (Adamant) <thehandoftyr@gmail.com> to notify me of this one in IRC #gentoo-dev-help.
Package-Manager: portage-2.1.1_pre1-r2
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/vde/ChangeLog14
-rw-r--r--net-misc/vde/Manifest48
-rw-r--r--net-misc/vde/files/digest-vde-2.0.23
-rw-r--r--net-misc/vde/files/vde.conf7
-rw-r--r--net-misc/vde/files/vde.init26
-rw-r--r--net-misc/vde/metadata.xml2
-rw-r--r--net-misc/vde/vde-2.0.2.ebuild30
7 files changed, 124 insertions, 6 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog
index 62740d4ed08a..c03613bb6845 100644
--- a/net-misc/vde/ChangeLog
+++ b/net-misc/vde/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for net-misc/vde
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.4 2006/04/04 02:03:11 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.5 2006/06/26 09:10:46 genstef Exp $
+
+*vde-2.0.2 (26 Jun 2006)
+
+ 26 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +files/vde.conf,
+ +files/vde.init, metadata.xml, +vde-2.0.2.ebuild:
+ Take over maintainer and version bump thanks to Lorenzo Grandi
+ <popposoft@gmail.com> in bug 113554 also allows to set a group in the init
+ script, thanks to Jean-François Richard <jean-francois@richard.name> in bug
+ 113482 and works with qemu 0.8, thanks to Tim Redman
+ <tredman1@tampabay.rr.com> and Nico Baggus <mlspamcb@noci.xs4all.nl> in bug
+ 116840, big thanks to Rob M. (Adamant) <thehandoftyr@gmail.com> to notify me
+ of this one in IRC #gentoo-dev-help.
04 Apr 2006; <rphillips@gentoo.org> +files/vde-1.5.8-makefile.patch:
Committed halycon's patches from bug #125135
diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
index 36475fc8ec25..91a0805ab274 100644
--- a/net-misc/vde/Manifest
+++ b/net-misc/vde/Manifest
@@ -1,8 +1,48 @@
-MD5 5673c6447ef74886b37208fcb6bf4ff4 ChangeLog 728
-MD5 1f08cfb4e6c7ac2cdf36de3515171dfb files/digest-vde-1.5.7 58
-MD5 1bb099a717f163a56a1ec18919e4e93a files/digest-vde-1.5.8 58
+AUX vde-1.5.8-makefile.patch 834 RMD160 6b9df99d6684163325200ea89c38fd9c741059fc SHA1 ea8db75123707f34f1b3e6b3eddf3c40d00f6050 SHA256 1f3cbddfa49f606f3fca2cb3b984bdcc77532776a80cfbe6a9a9978c4d53d27b
MD5 7a1ae0586a500372b80888f754feff60 files/vde-1.5.8-makefile.patch 834
+RMD160 6b9df99d6684163325200ea89c38fd9c741059fc files/vde-1.5.8-makefile.patch 834
+SHA256 1f3cbddfa49f606f3fca2cb3b984bdcc77532776a80cfbe6a9a9978c4d53d27b files/vde-1.5.8-makefile.patch 834
+AUX vde.conf 187 RMD160 7d3a650dba0d33401095d444cda3230c5fa8f963 SHA1 0ad41e477982d4eba8afa07d183eb6ed55116eab SHA256 00ff15f4850f8afda12dacfe548a29d70a3d504513066e66a6570b88851c858f
+MD5 e9f5534679cda97e64134dd6429582cc files/vde.conf 187
+RMD160 7d3a650dba0d33401095d444cda3230c5fa8f963 files/vde.conf 187
+SHA256 00ff15f4850f8afda12dacfe548a29d70a3d504513066e66a6570b88851c858f files/vde.conf 187
+AUX vde.init 749 RMD160 96dba76a8383b025bde44d10634b9fd25a5e4d54 SHA1 e533a4d78c4e06810b4fb75601cc68f931390177 SHA256 afd03a4720bc2c2b7f5db4eca36ff6ae217de75356be7e2a2ed2f17aee27b6de
+MD5 9080fdabdecc667a85fa294ba758797f files/vde.init 749
+RMD160 96dba76a8383b025bde44d10634b9fd25a5e4d54 files/vde.init 749
+SHA256 afd03a4720bc2c2b7f5db4eca36ff6ae217de75356be7e2a2ed2f17aee27b6de files/vde.init 749
+AUX vde.init.d 564 RMD160 25bc7b8549af831b9ae8280dd626fa233b4cd648 SHA1 f7d9e626d37fe38a923f3bb36e7e3794244df60f SHA256 ce65bde899b18ac971a24f463e46a769f9953ae8f7168545ae3a5288747d40e4
MD5 9f6d117cccae4215334a4485ba469e96 files/vde.init.d 564
-MD5 98727198655490ad4bf4b8a2bcc8d5db metadata.xml 293
+RMD160 25bc7b8549af831b9ae8280dd626fa233b4cd648 files/vde.init.d 564
+SHA256 ce65bde899b18ac971a24f463e46a769f9953ae8f7168545ae3a5288747d40e4 files/vde.init.d 564
+DIST vde-1.5.7.tgz 139314
+DIST vde-1.5.8.tgz 815194
+DIST vde-2.0.2.tar.bz2 382162 RMD160 c15ef9f3743538c2dd1bd0ba99c8078741302100 SHA1 8cdbd63e3214dd24f0fe987c0d9ccde57ae9db6a SHA256 05b473815f9706387a3c5eaeb4da2e492f624e0b7783432179454f9d69bb973c
+EBUILD vde-1.5.7.ebuild 1071 RMD160 14899d9d97fd620d1c862e926a7149d09e94a9ba SHA1 31f55b4cefce0fcf2d90a2a274deea702f007eb6 SHA256 8220d177d0fe2036ca660f46ee62ef1a1ebe3ef83089543e5dac3febc701b969
MD5 7983b29b84f31064b69cfe3115c628af vde-1.5.7.ebuild 1071
+RMD160 14899d9d97fd620d1c862e926a7149d09e94a9ba vde-1.5.7.ebuild 1071
+SHA256 8220d177d0fe2036ca660f46ee62ef1a1ebe3ef83089543e5dac3febc701b969 vde-1.5.7.ebuild 1071
+EBUILD vde-1.5.8.ebuild 760 RMD160 32a46ef910fc78f00f6362b95fdcb8736cddad19 SHA1 647c9fda5c0143bbd0ca51df7bf34c08e4ade83f SHA256 6fe6f930395eb89ba19367217ec42af906658d5ba83da397860a470c4db35ac7
MD5 04a348a33b88773037437fc416db8005 vde-1.5.8.ebuild 760
+RMD160 32a46ef910fc78f00f6362b95fdcb8736cddad19 vde-1.5.8.ebuild 760
+SHA256 6fe6f930395eb89ba19367217ec42af906658d5ba83da397860a470c4db35ac7 vde-1.5.8.ebuild 760
+EBUILD vde-2.0.2.ebuild 1031 RMD160 fdc06b0eea83961afc14fc1f6b6a0d1f2c86c018 SHA1 7d22b94512acf95001bfb64bf94a369544ca62a8 SHA256 861f536b0e259f1f45d3ce368e9f42d2fe8686e943d1fd3715cd212c6c32fa7a
+MD5 3a99fa4cceae6823b3ad86f4356fea7d vde-2.0.2.ebuild 1031
+RMD160 fdc06b0eea83961afc14fc1f6b6a0d1f2c86c018 vde-2.0.2.ebuild 1031
+SHA256 861f536b0e259f1f45d3ce368e9f42d2fe8686e943d1fd3715cd212c6c32fa7a vde-2.0.2.ebuild 1031
+MISC ChangeLog 1347 RMD160 5775b0be141bc6e9b0fd97e161cb935f400efc14 SHA1 b778099833ed638ef63dcfab76925a0b6f69820b SHA256 b1269546bfb269792ef89d53d53adac39c42692deadfc932c10e84dffffd731b
+MD5 1929c270e5df5a4b9dd58292b910507f ChangeLog 1347
+RMD160 5775b0be141bc6e9b0fd97e161cb935f400efc14 ChangeLog 1347
+SHA256 b1269546bfb269792ef89d53d53adac39c42692deadfc932c10e84dffffd731b ChangeLog 1347
+MISC metadata.xml 291 RMD160 f134ca695b605c125c3a8e317126398add351bfa SHA1 850bb9320f9809aebd4b8e3cd6c14b17e162112f SHA256 a8fe4b8510e66b25e88c52a68c7c6482e0fc787d585b673becec195e9e4d3c4f
+MD5 dd14a01e3370ff0cd441858d7dc257b9 metadata.xml 291
+RMD160 f134ca695b605c125c3a8e317126398add351bfa metadata.xml 291
+SHA256 a8fe4b8510e66b25e88c52a68c7c6482e0fc787d585b673becec195e9e4d3c4f metadata.xml 291
+MD5 1f08cfb4e6c7ac2cdf36de3515171dfb files/digest-vde-1.5.7 58
+RMD160 4fad08e53cf5ec6bcb77225550e72b2aa6076a5a files/digest-vde-1.5.7 58
+SHA256 6454cb8c4be1ebd5d3b9962ad1df2c4a9acf74c068fd3d3be09a058fdfdebd51 files/digest-vde-1.5.7 58
+MD5 1bb099a717f163a56a1ec18919e4e93a files/digest-vde-1.5.8 58
+RMD160 545c10509db46e2b379babd22d60df62287a374a files/digest-vde-1.5.8 58
+SHA256 d3878d1efc1a78ad186b79045e44464581631c4db8bc01cdf9d561105895049f files/digest-vde-1.5.8 58
+MD5 8fbf36d9e39ee390e8581dfb4539e0d5 files/digest-vde-2.0.2 232
+RMD160 cac75fa6e08e01481983d2be3b42b51a81b9774a files/digest-vde-2.0.2 232
+SHA256 55d4a4ba199d884fed8fa99450988957333c67562f09e5bda90fd841fbeb862d files/digest-vde-2.0.2 232
diff --git a/net-misc/vde/files/digest-vde-2.0.2 b/net-misc/vde/files/digest-vde-2.0.2
new file mode 100644
index 000000000000..8e11ac9563ab
--- /dev/null
+++ b/net-misc/vde/files/digest-vde-2.0.2
@@ -0,0 +1,3 @@
+MD5 d97a8dbc72942c57542f50322b538a48 vde-2.0.2.tar.bz2 382162
+RMD160 c15ef9f3743538c2dd1bd0ba99c8078741302100 vde-2.0.2.tar.bz2 382162
+SHA256 05b473815f9706387a3c5eaeb4da2e492f624e0b7783432179454f9d69bb973c vde-2.0.2.tar.bz2 382162
diff --git a/net-misc/vde/files/vde.conf b/net-misc/vde/files/vde.conf
new file mode 100644
index 000000000000..5dd3cde90b0b
--- /dev/null
+++ b/net-misc/vde/files/vde.conf
@@ -0,0 +1,7 @@
+# load the tun module
+VDE_MODPROBE_TUN="yes"
+# virtual tap networking device to be used for vde
+VDE_TAP="tap0"
+# mode and group for the socket
+VDE_SOCK_CHMOD="770"
+VDE_SOCK_CHOWN=":qemu"
diff --git a/net-misc/vde/files/vde.init b/net-misc/vde/files/vde.init
new file mode 100644
index 000000000000..0f55d5805c29
--- /dev/null
+++ b/net-misc/vde/files/vde.init
@@ -0,0 +1,26 @@
+#!/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,v 1.1 2006/06/26 09:10:46 genstef Exp $
+
+depend() {
+ before net.${VDE_TAP}
+}
+
+
+start() {
+ ebegin "Starting vde"
+ [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe tun
+ start-stop-daemon --start --quiet \
+ --exec /usr/bin/vde_switch -- -tap ${VDE_TAP} -daemon
+ chmod -R ${VDE_SOCK_CHMOD} /var/run/vde.ctl
+ chown -R ${VDE_SOCK_CHOWN} /var/run/vde.ctl
+ eend $? "Failed to start vde"
+}
+
+stop() {
+ ebegin "Stopping vde"
+ start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch
+ [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe -r tun
+ eend $? "Failed to stop vde"
+}
diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
index a52f23beba33..c26e4a9d9165 100644
--- a/net-misc/vde/metadata.xml
+++ b/net-misc/vde/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>rphillips@gentoo.org</email>
+ <email>genstef@gentoo.org</email>
</maintainer>
<maintainer>
<email>mlspamcb@noci.xs4all.nl</email>
diff --git a/net-misc/vde/vde-2.0.2.ebuild b/net-misc/vde/vde-2.0.2.ebuild
new file mode 100644
index 000000000000..4e1f007364de
--- /dev/null
+++ b/net-misc/vde/vde-2.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-2.0.2.ebuild,v 1.1 2006/06/26 09:10:46 genstef Exp $
+
+DESCRIPTION="vde2 is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml."
+SRC_URI="mirror://sourceforge/vde/${P}.tar.bz2"
+HOMEPAGE="http://vde.sourceforge.net/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+
+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"
+}