Update to 1.3.0pre10:

- Changed license to GPL version 2
- x86_64 full virtualization support

Approved by:	miwi (mentor, implicit)
This commit is contained in:
Juergen Lock 2007-02-06 20:46:29 +00:00
parent e75ff3b34b
commit c8369be915
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184415
6 changed files with 36 additions and 30 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
PORTREVISION= 3
PORTVERSION= 1.3.0.p10
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
@ -18,7 +17,10 @@ MAINTAINER= nox@FreeBSD.org
COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version)
ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= Module not redistributable
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_GCC= 3.4
CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}
USE_RC_SUBR= kqemu
@ -34,6 +36,10 @@ PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
MAKEFILE= Makefile.freebsd
.if ${ARCH} == "amd64"
MAKE_ARGS+= ARCH=x86_64
.endif
# install where x11/nvidia-driver does also:
.if ${OSVERSION} >= 500000
KMODDIR= /boot/modules
@ -45,7 +51,12 @@ MAKE_ENV+= KMODDIR="${KMODDIR}"
IGNORE= kqemu requires kernel source to be installed
.endif
post-install:
do-build:
@(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET})
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
@${MKDIR} ${PREFIX}/include/kqemu
@${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
.if ${OSVERSION} < 500000

View File

@ -1,3 +1,3 @@
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
MD5 (kqemu/kqemu-1.3.0pre10.tar.gz) = f4cb84be802f4b1eaa22ca8b73c69504
SHA256 (kqemu/kqemu-1.3.0pre10.tar.gz) = 27fb1da3ba0f951cca04c12a41c977ddc142a8a9ff091fa597114fdcef466207
SIZE (kqemu/kqemu-1.3.0pre10.tar.gz) = 136272

View File

@ -1,12 +1,4 @@
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;

View File

@ -6,8 +6,7 @@
#
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
PORTREVISION= 3
PORTVERSION= 1.3.0.p10
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
@ -18,7 +17,10 @@ MAINTAINER= nox@FreeBSD.org
COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version)
ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= Module not redistributable
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_GCC= 3.4
CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}
USE_RC_SUBR= kqemu
@ -34,6 +36,10 @@ PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
MAKEFILE= Makefile.freebsd
.if ${ARCH} == "amd64"
MAKE_ARGS+= ARCH=x86_64
.endif
# install where x11/nvidia-driver does also:
.if ${OSVERSION} >= 500000
KMODDIR= /boot/modules
@ -45,7 +51,12 @@ MAKE_ENV+= KMODDIR="${KMODDIR}"
IGNORE= kqemu requires kernel source to be installed
.endif
post-install:
do-build:
@(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET})
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
@${MKDIR} ${PREFIX}/include/kqemu
@${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
.if ${OSVERSION} < 500000

View File

@ -1,3 +1,3 @@
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
MD5 (kqemu/kqemu-1.3.0pre10.tar.gz) = f4cb84be802f4b1eaa22ca8b73c69504
SHA256 (kqemu/kqemu-1.3.0pre10.tar.gz) = 27fb1da3ba0f951cca04c12a41c977ddc142a8a9ff091fa597114fdcef466207
SIZE (kqemu/kqemu-1.3.0pre10.tar.gz) = 136272

View File

@ -1,12 +1,4 @@
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;