diff options
author | Juergen Lock <nox@FreeBSD.org> | 2008-03-11 23:34:14 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2008-03-11 23:34:14 +0000 |
commit | cf1bcdae1c1c5616cbea6ab4e3569cbbaeff4bf7 (patch) | |
tree | 4008eebb14731e300053ac880e1c21209ad9f51b /emulators/qemu-devel/Makefile | |
parent | - Fix typo (unclosed double-quote) (diff) |
- Update to 2008-03-02 snapshot [1]
- Fix unchecked block read/write vulnerability [2]
Submitted by: nox [1]
Obtained from: qemu cvs [2]
Security: http://www.vuxml.org/freebsd/9cfbca7f-efb7-11dc-be01-0211060005df.html
Diffstat (limited to 'emulators/qemu-devel/Makefile')
-rw-r--r-- | emulators/qemu-devel/Makefile | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 1d7b1e516788..3ef8855a029d 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070802 -PORTREVISION= 1 +PORTVERSION= 0.9.1s.20080302 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -16,7 +15,7 @@ MASTER_SITES= http://qemu.org/:release \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}-snapshot-2007-08-02_05 +DISTNAME= ${PORTNAME}-snapshot-2008-03-02_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -30,23 +29,29 @@ USE_GMAKE= yes USE_GETOPT_LONG= yes USE_PERL5= yes USE_GCC= 3.4 -PATCH_STRIP= -p1 +PATCH_STRIP= -lp1 MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 CONFLICTS= qemu-[0-9]* OPTIONS= KQEMU "Build with (alpha!) accelerator module" Off \ - HACKS_CIRRUS "Large display speedup (buggy!)" Off \ RTL8139_TIMER "allow use of re(4) nic with FreeBSD guests" Off \ SAMBA "samba dependency (for -smb)" Off \ SDL "SDL/X dependency (graphical output)" On \ + GNUTLS "gnutls dependency (vnc encryption)" On \ CDROM_DMA "IDE CDROM DMA" On .include <bsd.port.pre.mk> +.if ${OSVERSION} < 600000 +# 5.x base gcc segfaults in target-mips/op_mem.c +BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 +CC= gcc34 +.endif + WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation -CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} +CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} .if defined(WITHOUT_SDL) @@ -55,6 +60,12 @@ CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check USE_SDL= sdl .endif +.if defined(WITHOUT_GNUTLS) +CONFIGURE_ARGS+= --disable-vnc-tls +.else +LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls +.endif + .if defined (WITH_HACKS_CIRRUS) || defined (WITH_HACKS) DISTFILES+= patch3_cirrus:misc .endif @@ -65,7 +76,6 @@ RUN_DEPENDS+= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba3 .if defined(WITH_KQEMU) BUILD_DEPENDS+= kqemu-kmod>=1.3.0pre5:${PORTSDIR}/emulators/kqemu-kmod -CONFIGURE_ARGS+= --enable-kqemu .else CONFIGURE_ARGS+= --disable-kqemu .endif @@ -91,9 +101,6 @@ pre-patch: done post-patch: -.if defined(WITH_HACKS_CIRRUS) || defined (WITH_HACKS) - @cd ${WRKSRC} ; ${PATCH} --quiet < ${DISTDIR}/${DIST_SUBDIR}/patch3_cirrus -.endif .if defined(WITH_RTL8139_TIMER) @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/rtl8139-re-patch .endif |