diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-23 01:36:23 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-28 21:36:02 -0500 |
commit | 09a82044254041b64f258c8c39ece6e66e1ab7d0 (patch) | |
tree | 3085b528c43915102a19e924b23f1552e299d7a8 | |
parent | 9e5ab9cdd6cd71ee3042ff33f51e72aab4357e63 (diff) | |
download | slackbuilds-09a82044254041b64f258c8c39ece6e66e1ab7d0.tar.gz |
system/kqemu: Removed (build failure)
Perhaps it's time to let this die with dignity...
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | system/kqemu/README | 9 | ||||
-rw-r--r-- | system/kqemu/doinst.sh | 1 | ||||
-rw-r--r-- | system/kqemu/kqemu.SlackBuild | 98 | ||||
-rw-r--r-- | system/kqemu/kqemu.info | 10 | ||||
-rw-r--r-- | system/kqemu/kqemu_initMUTEX.patch | 13 | ||||
-rw-r--r-- | system/kqemu/linux-sched.diff | 11 | ||||
-rw-r--r-- | system/kqemu/slack-desc | 19 |
7 files changed, 0 insertions, 161 deletions
diff --git a/system/kqemu/README b/system/kqemu/README deleted file mode 100644 index 167ffff798..0000000000 --- a/system/kqemu/README +++ /dev/null @@ -1,9 +0,0 @@ -kqemu: The kermel module for qemu - -The QEMU Accelerator (KQEMU) is a driver allowing a user application to -run x86 code in a Virtual Machine (VM). The code can be either user or -kernel code, in 64, 32 or 16 bit protected mode. KQEMU is very similar -in essence to the VM86 Linux syscall call, but it adds some new concepts -to improve memory handling. - -NOTE: This is not needed (or used) by qemu-0.12.x or later. diff --git a/system/kqemu/doinst.sh b/system/kqemu/doinst.sh deleted file mode 100644 index 6834286878..0000000000 --- a/system/kqemu/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -/sbin/depmod -a diff --git a/system/kqemu/kqemu.SlackBuild b/system/kqemu/kqemu.SlackBuild deleted file mode 100644 index ac2f9e5b13..0000000000 --- a/system/kqemu/kqemu.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# Slackware build script for kqemu - -# Copyright 2009 David Woodfall <dave@unrealize.co.uk> -# All rights reserved. -# -# Thanks to Marco Pessotto for pointing out the useless depmod line -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Modified by the SlackBuilds.org team - -PRGNAM=kqemu -VERSION=${VERSION:-1.4.0pre1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/linux-sched.diff - -# Patch for kernels >= 2.6.37.x, thanks to the folks from Gentoo -patch -p1 < $CWD/kqemu_initMUTEX.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --prefix=/usr -make -sed -i "s#/lib#$PKG/lib#" install.sh -sed -i "/^\/sbin\/depmod -a/d" install.sh -make install - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp Changelog README LICENSE COPYING $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/kqemu/kqemu.info b/system/kqemu/kqemu.info deleted file mode 100644 index 7cb2a0d276..0000000000 --- a/system/kqemu/kqemu.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="kqemu" -VERSION="1.4.0pre1" -HOMEPAGE="http://www.nongnu.org/qemu" -DOWNLOAD="http://www.nongnu.org/qemu/kqemu-1.4.0pre1.tar.gz" -MD5SUM="d738d8ca7332211ab716ec3213d82ee1" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="David Woodfall" -EMAIL="dave@unrealize.co.uk" diff --git a/system/kqemu/kqemu_initMUTEX.patch b/system/kqemu/kqemu_initMUTEX.patch deleted file mode 100644 index 6d7bd0392f..0000000000 --- a/system/kqemu/kqemu_initMUTEX.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- kqemu-1.4.0pre1-orig/kqemu-linux.c 2008-05-30 16:33:34.000000000 -0400 -+++ kqemu-1.4.0pre1-orig/kqemu-linux.c 2011-01-05 16:51:45.407394748 -0500 -@@ -53,6 +53,10 @@ - #define PAGE_KERNEL_EXEC PAGE_KERNEL - #endif - -+/* init_MUTEX macro was removed in 2.6.37 */ -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 36) && !defined(init_MUTEX) -+#define init_MUTEX(sem) sema_init(sem, 1) -+#endif - //#define DEBUG - - #ifdef DEBUG diff --git a/system/kqemu/linux-sched.diff b/system/kqemu/linux-sched.diff deleted file mode 100644 index a1e8d75f39..0000000000 --- a/system/kqemu/linux-sched.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur kqemu-1.4.0pre1-orig/kqemu-linux.c kqemu-1.4.0pre1/kqemu-linux.c ---- kqemu-1.4.0pre1-orig/kqemu-linux.c 2008-05-30 21:33:34.000000000 +0100 -+++ kqemu-1.4.0pre1/kqemu-linux.c 2010-07-27 19:16:58.000000000 +0100 -@@ -30,6 +30,7 @@ - #include <asm/processor.h> - #include <asm/uaccess.h> - #include <asm/io.h> -+#include <linux/sched.h> - - #include "kqemu-kernel.h" - diff --git a/system/kqemu/slack-desc b/system/kqemu/slack-desc deleted file mode 100644 index dfe7bea7c9..0000000000 --- a/system/kqemu/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kqemu: kqemu (QEMU Accelerator kermel module) -kqemu: -kqemu: The QEMU Accelerator (KQEMU) is a driver allowing a user application -kqemu: to run x86 code in a Virtual Machine (VM). The code can be either -kqemu: user or kernel code, in 64, 32 or 16 bit protected mode. KQEMU is -kqemu: very similar in essence to the VM86 Linux syscall call, but it adds -kqemu: some new concepts to improve memory handling. -kqemu: -kqemu: Homepage: http://www.nongnu.org/qemu -kqemu: -kqemu: |