ports/108844: [PATCH] upgrade emulators/kqemu-kmod to 1.3.0pre10
Stefan Sperling
stsp at stsp.in-berlin.de
Tue Feb 6 19:50:18 UTC 2007
>Number: 108844
>Category: ports
>Synopsis: [PATCH] upgrade emulators/kqemu-kmod to 1.3.0pre10
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 06 19:50:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Stefan Sperling
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ted.stsp.lan 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Sun Jan 14 13:28:22 CET 2007 stsp at ted.stsp.lan:/usr/local/obj/usr/src/sys/TED i386
>Description:
This patch updates the emulators/kqemu-kmod port to
version 1.3.0pre10.
The special thing about this release is that the module
is now released under the GPL, so it can be built from
source and does not constitute a binary blob anymore.
This is what motivated me to update this port.
Since the modules is GPL licensed, FreeBSD kernels
linked with this module may not be distributed.
-- NOTE: --
After making this patch, I've briefly tested the module by
booting a Linux and a FreeBSD guest, but sadly qemu segfaults
fairly quickly after start up while booting either of them.
I've decided to submit this anyway in case it is of any use.
The segfault problem should be looked into before comitting
this patch though. If you have trouble reproducing this,
I will gladly provide backtraces.
>How-To-Repeat:
>Fix:
diff -urN kqemu-kmod.orig/Makefile kqemu-kmod/Makefile
--- kqemu-kmod.orig/Makefile Tue Feb 6 19:26:39 2007
+++ kqemu-kmod/Makefile Tue Feb 6 20:04:01 2007
@@ -6,7 +6,7 @@
#
PORTNAME= kqemu
-PORTVERSION= 1.3.0.p9
+PORTVERSION= 1.3.0.p10
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://qemu.org/
@@ -18,7 +18,6 @@
COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version)
ONLY_FOR_ARCHS= i386 amd64
-RESTRICTED= Module not redistributable
USE_RC_SUBR= kqemu
@@ -32,6 +31,7 @@
PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
.endif
+HAS_CONFIGURE= yes
MAKEFILE= Makefile.freebsd
# install where x11/nvidia-driver does also:
@@ -44,6 +44,15 @@
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= kqemu requires kernel source to be installed
.endif
+
+post-configure:
+ ${REINPLACE_CMD} -e 's|make |$$(MAKE) |g' ${WRKSRC}/Makefile
+
+# The common part needs GNU make to build, everything else is
+# done with BSD make.
+do-build:
+ (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} -C common; \
+ ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE})
post-install:
@${MKDIR} ${PREFIX}/include/kqemu
diff -urN kqemu-kmod.orig/distinfo kqemu-kmod/distinfo
--- kqemu-kmod.orig/distinfo Tue Feb 6 19:26:39 2007
+++ kqemu-kmod/distinfo Tue Feb 6 19:30:29 2007
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list