diff options
Diffstat (limited to 'emulators/kqemu-kmod-devel')
-rw-r--r-- | emulators/kqemu-kmod-devel/Makefile | 58 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/distinfo | 3 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/files/kqemu.in | 53 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd | 10 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/files/patch-kqemu-freebsd.c | 20 | ||||
-rw-r--r-- | emulators/kqemu-kmod-devel/pkg-descr | 3 |
6 files changed, 0 insertions, 147 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile deleted file mode 100644 index 375f9d4efb70..000000000000 --- a/emulators/kqemu-kmod-devel/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# New ports collection makefile for: kqemu-kmod -# Date created: 2005/10/25 -# Whom: nork@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= kqemu -PORTVERSION= 1.3.0.p9 -PORTREVISION= 3 -CATEGORIES= emulators -MASTER_SITES= http://qemu.org/ -PKGNAMESUFFIX= -kmod -DISTNAME= ${PORTNAME}-${PORTVERSION:C/.p/pre/} -DIST_SUBDIR= kqemu - -MAINTAINER= nox@FreeBSD.org -COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version) - -ONLY_FOR_ARCHS= i386 amd64 -RESTRICTED= Module not redistributable - -USE_RC_SUBR= kqemu - -.include <bsd.port.pre.mk> - -PLIST_FILES= "include/kqemu/kqemu.h" -PLIST_FILES+= "@dirrm include/kqemu" -PLIST_FILES+= "@cwd /" -PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko -.if ${OSVERSION} >= 500000 -PLIST_FILES+= "@unexec kldxref ${KMODDIR}" -.endif - -MAKEFILE= Makefile.freebsd - -# install where x11/nvidia-driver does also: -.if ${OSVERSION} >= 500000 -KMODDIR= /boot/modules -.endif - -MAKE_ENV+= KMODDIR="${KMODDIR}" - -.if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= kqemu requires kernel source to be installed -.endif - -post-install: - @${MKDIR} ${PREFIX}/include/kqemu - @${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu -.if ${OSVERSION} < 500000 - if [ ! -e /dev/kqemu ]; then\ - mknod /dev/kqemu c 250 0 ; \ - fi - ${CHMOD} 666 /dev/kqemu -.endif - -.include <bsd.port.post.mk> diff --git a/emulators/kqemu-kmod-devel/distinfo b/emulators/kqemu-kmod-devel/distinfo deleted file mode 100644 index c1ed1398612f..000000000000 --- a/emulators/kqemu-kmod-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (kqemu/kqemu-1.3.0pre9.tar.gz) = 27888c3220844ad360a6a23345fa1bcb -SHA256 (kqemu/kqemu-1.3.0pre9.tar.gz) = c2759d43bc8bee458b802479b47796b21593ee617f5c4d14cb1bf842d4f4efdc -SIZE (kqemu/kqemu-1.3.0pre9.tar.gz) = 190070 diff --git a/emulators/kqemu-kmod-devel/files/kqemu.in b/emulators/kqemu-kmod-devel/files/kqemu.in deleted file mode 100644 index 7662ca3cccd1..000000000000 --- a/emulators/kqemu-kmod-devel/files/kqemu.in +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# -# PROVIDE: kqemu -# KEYWORD: nojail -# -# Add the following line to /etc/rc.conf[.local] to enable kqemu -# -# kqemu_enable="YES" -# - -. /etc/rc.subr - -name="kqemu" -rcvar=${name}_enable - -load_rc_config $name - -: ${kqemu_enable="NO"} - -start_cmd=kqemu_start -stop_cmd=kqemu_stop - -kqemu_start() -{ - # load aio if needed - if ! kldstat -qm aio; then - if kldload aio; then - info 'aio module loaded.' - else - warn 'aio module failed to load.' - return 1 - fi - fi - if ! kldstat -qm kqemu; then - if kldload kqemu; then - echo 'kqemu module loaded.' - else - warn 'kqemu module failed to load.' - return 1 - fi - fi - return 0 -} - -kqemu_stop() -{ - if kldstat -qm kqemu && kldunload kqemu; then - echo 'kqemu module unloaded.' - fi -} - -run_rc_command "$1" diff --git a/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd b/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd deleted file mode 100644 index b75420fa0cc7..000000000000 --- a/emulators/kqemu-kmod-devel/files/patch-Makefile.freebsd +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.freebsd.orig Fri Jul 29 06:37:06 2005 -+++ Makefile.freebsd Tue Oct 25 21:08:43 2005 -@@ -5,6 +5,7 @@ - .elif ${MACHINE_ARCH} == "amd64" - OBJS= kqemu-mod-x86_64.o - .endif -+CC= cc - WERROR= - - .include <bsd.kmod.mk> diff --git a/emulators/kqemu-kmod-devel/files/patch-kqemu-freebsd.c b/emulators/kqemu-kmod-devel/files/patch-kqemu-freebsd.c deleted file mode 100644 index e1f131452ad2..000000000000 --- a/emulators/kqemu-kmod-devel/files/patch-kqemu-freebsd.c +++ /dev/null @@ -1,20 +0,0 @@ -Index: kqemu-freebsd.c -@@ -236,6 +236,7 @@ - }; - - static int kqemu_ref_count = 0; -+static int max_locked_pages; - static struct kqemu_global_state *kqemu_gs = NULL; - - #if __FreeBSD_version < 500000 -@@ -321,6 +321,9 @@ - #if __FreeBSD_version >= 500000 - dev->si_drv1 = NULL; - TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); -+#if __FreeBSD_version >= 700024 -+ dev_relthread(dev); -+#endif - destroy_dev(dev); - #endif - free(ks, M_KQEMU); - diff --git a/emulators/kqemu-kmod-devel/pkg-descr b/emulators/kqemu-kmod-devel/pkg-descr deleted file mode 100644 index 4d41548f8f4b..000000000000 --- a/emulators/kqemu-kmod-devel/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -KQEMU is a qemu accelerator kernel module on x86/amd64. - -WWW: http://qemu.org/qemu-accel.html |