summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2016-05-08 18:32:09 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2016-05-08 18:32:09 +0000
commitaa940fe85ff9bfdb12a82ddc62e5f8b47c70d02b (patch)
tree2a05072c4b5731d8a0a71671c6804e3b3c91bd25 /net-misc
parentdev-db/phpmyadmin Maintenance version bump. (diff)
downloadjmbsvicetto-aa940fe85ff9bfdb12a82ddc62e5f8b47c70d02b.tar.gz
jmbsvicetto-aa940fe85ff9bfdb12a82ddc62e5f8b47c70d02b.tar.bz2
jmbsvicetto-aa940fe85ff9bfdb12a82ddc62e5f8b47c70d02b.zip
Drop old package.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/vde/ChangeLog16
-rw-r--r--net-misc/vde/Manifest1
-rw-r--r--net-misc/vde/files/vde-2.2.2-gcc43.patch60
-rw-r--r--net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch49
-rw-r--r--net-misc/vde/files/vde.conf18
-rw-r--r--net-misc/vde/files/vde.init39
-rw-r--r--net-misc/vde/metadata.xml8
-rw-r--r--net-misc/vde/vde-2.2.2.ebuild40
8 files changed, 0 insertions, 231 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog
deleted file mode 100644
index 19042a6..0000000
--- a/net-misc/vde/ChangeLog
+++ /dev/null
@@ -1,16 +0,0 @@
-# ChangeLog for net-misc/vde
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 06 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- net-misc/vde/vde-2.2.2.ebuild:
- Fixed the RDEPEND QA warning.
-
- 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- +net-misc/vde/files/vde-2.2.2-gcc43.patch,
- +net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch,
- +net-misc/vde/files/vde.conf, +net-misc/vde/files/vde.init,
- +net-misc/vde/metadata.xml, profiles/categories:
- Initial import of vde to apply my initscript changes and test slirpvde
- patch.
-
diff --git a/net-misc/vde/Manifest b/net-misc/vde/Manifest
deleted file mode 100644
index 80e5ce7..0000000
--- a/net-misc/vde/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST vde2-2.2.2.tar.bz2 472059 SHA256 7d4b68c1ba1b661db05ff3674abff4d2ad5da31bb3471699bbec3f2f360b483a
diff --git a/net-misc/vde/files/vde-2.2.2-gcc43.patch b/net-misc/vde/files/vde-2.2.2-gcc43.patch
deleted file mode 100644
index 3b6e7b0..0000000
--- a/net-misc/vde/files/vde-2.2.2-gcc43.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-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/files/vde-2.2.2-slirpvde-buffer-overflow.patch b/net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch
deleted file mode 100644
index cc494e1..0000000
--- a/net-misc/vde/files/vde-2.2.2-slirpvde-buffer-overflow.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From d466d77be6ec40d8d7d96050fbee5e17e7c61af9 Mon Sep 17 00:00:00 2001
-From: Ludwig Nussel <ludwig.nussel@suse.de>
-Date: Tue, 30 Sep 2008 16:59:01 +0200
-Subject: [PATCH] fix static buffer overflows
-
----
- src/slirpvde/slirpvde.c | 12 +++++++-----
- 1 files changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/src/slirpvde/slirpvde.c b/src/slirpvde/slirpvde.c
-index 47512ca..016aa45 100644
---- a/src/slirpvde/slirpvde.c
-+++ b/src/slirpvde/slirpvde.c
-@@ -53,7 +53,7 @@
- VDECONN *conn;
- int dhcpmgmt=0;
- static char *pidfile = NULL;
--static char pidfile_path[_POSIX_PATH_MAX];
-+static char pidfile_path[PATH_MAX];
- int logok=0;
- char *prog;
- extern FILE *lfd;
-@@ -78,9 +78,11 @@ void printlog(int priority, const char *format, ...)
- static void save_pidfile()
- {
- if(pidfile[0] != '/')
-- strncat(pidfile_path, pidfile, PATH_MAX - strlen(pidfile_path));
-- else
-- strcpy(pidfile_path, pidfile);
-+ strncat(pidfile_path, pidfile, sizeof(pidfile_path) - strlen(pidfile_path) -1);
-+ else {
-+ pidfile_path[0] = 0;
-+ strncat(pidfile_path, pidfile, sizeof(pidfile_path)-1);
-+ }
-
- int fd = open(pidfile_path,
- O_WRONLY | O_CREAT | O_EXCL,
-@@ -433,7 +435,7 @@ int main(int argc, char **argv)
- exit(1);
- }
-
-- strcat(pidfile_path, "/");
-+ strncat(pidfile_path, "/", sizeof(pidfile_path) - strlen(pidfile_path) -1);
- if (daemonize && daemon(0, 0)) {
- printlog(LOG_ERR,"daemon: %s",strerror(errno));
- exit(1);
---
-1.5.6
-
diff --git a/net-misc/vde/files/vde.conf b/net-misc/vde/files/vde.conf
deleted file mode 100644
index f724065..0000000
--- a/net-misc/vde/files/vde.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-# load the tun module
-#vde_modprobe_tun="yes"
-
-# virtual tap networking device to be used for each vde switch
-vde0_tap="vtap0"
-#vde1_tap="vtap1"
-
-# mode and group for the socket
-vde_sock_chmod="770"
-vde_sock_chown=":kvm"
-
-# virtual socket to be used for each vde switch
-vde0_sock_path="/var/run/ctl.vde0"
-#vde1_sock_path="/var/run/ctl.vde1"
-
-# mgmt port for each vde switch
-vde0_mgmt="/var/run/mgmt.vde0"
-#vde1_mgmt="/var/run/mgmt.vde1"
diff --git a/net-misc/vde/files/vde.init b/net-misc/vde/files/vde.init
deleted file mode 100644
index 11b388a..0000000
--- a/net-misc/vde/files/vde.init
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/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.3 2008/03/11 21:34:49 genstef Exp $
-
-depend() {
- local ifvar=${RC_SVCNAME#*.}
- eval iftap=\$${ifvar}_tap
-
- after "net.${iftap}"
-}
-
-start() {
- local ifvar=${RC_SVCNAME#*.}
-
- eval ifsockpath=\$${ifvar}_sock_path
- eval ifmgmt=\$${ifvar}_mgmt
- eval iftap=\$${ifvar}_tap
-
- ebegin "Starting ${ifvar}"
- [ "${vde_modprobe_tun}" == "yes" ] && modprobe tun
- start-stop-daemon --start --quiet \
- --exec /usr/bin/vde_switch -- -tap ${iftap} -daemon -s ${ifsockpath} -M ${ifmgmt}
- eend $? "Failed to start ${ifvar}"
- chmod -R ${vde_sock_chmod} ${ifsockpath}
- chown -R ${vde_sock_chown} ${ifsockpath}
-}
-
-stop() {
- local ifvar=${RC_SVCNAME#*.}
- eval ifsockpath=\$${ifvar}_SOCK_PATH
- eval iftap=\$${ifvar}_TAP
-
- ebegin "Stopping ${ifvar}"
- [ "${vde_modprobe_tun}" == "yes" ] && modprobe -r tun
- start-stop-daemon --stop --quiet \
- --exec "/usr/bin/vde_switch -s ${ifsockpath}" -- -tap ${iftap} -daemon
- eend $? "Failed to stop ${ifvar}"
-}
diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml
deleted file mode 100644
index 3653fc6..0000000
--- a/net-misc/vde/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>jmbsvicetto@gentoo.org</email>
- <name>Jorge Manuel B. S. Vicetto</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-misc/vde/vde-2.2.2.ebuild b/net-misc/vde/vde-2.2.2.ebuild
deleted file mode 100644
index 0c765f5..0000000
--- a/net-misc/vde/vde-2.2.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 ~ppc ~ppc64 x86"
-IUSE=""
-DEPEND=""
-RDEPEND=""
-
-# The slirpvde-buffer-overflow patch was made by Ludwig Nussel and submitted upstream at
-# http://sourceforge.net/tracker/?func=detail&aid=2138410&group_id=95403&atid=611248
-PATCHES=( "${FILESDIR}/${P}-gcc43.patch" "${FILESDIR}/${P}-slirpvde-buffer-overflow.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"
-}