Commit graph

150 commits

Author SHA1 Message Date
Muhammad Moinur Rahman
156c97c588 emulators/qemu-devel: Fix build with lld 10.0.0
PR:		244769
Submitted by:	dim
2020-03-22 02:06:44 +00:00
Muhammad Moinur Rahman
9c244a58d9 emulators/qemu-devel: Update version 4.1.0=>4.2.0
Reported by:	lwhsu
2020-02-12 22:02:32 +00:00
Muhammad Moinur Rahman
20eee12e65 emulators/qemu-devel: Update version 3.1.0=>4.0.0
- USES=gl is not always needed [1]

PR:		238364 [1]
Submitted by:	pizzamig [1]
Reported by:	bz
2019-08-07 09:58:15 +00:00
Muhammad Moinur Rahman
00081d8d8e emulators/qemu-devel: Update version 2.6.0=>3.1.0
PR:		229324
Reported by:	bcran
Relnotes:	https://www.qemu.org/2018/12/12/qemu-3-1-0/
2019-02-28 01:52:17 +00:00
Jan Beich
7277ec6a16 Assume "pkg-config libusb*" works after 9.x EOL
FreeBSD appears to use different pkg-config name for 0.1.x API but it
doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
2017-01-05 22:58:02 +00:00
Sean Bruno
2872755c3d Fixup for macros that conflict with standard C++ function names.
PR:	209590
Submitted by:	dim@
2016-06-02 18:37:34 +00:00
Muhammad Moinur Rahman
cb9817cc61 emulators/qemu-devel: Update version 2.5.0=>2.6.1 2016-05-29 00:24:29 +00:00
Muhammad Moinur Rahman
ff9522b10e emulators/qemu-devel: fix with DOCS=off [1]
- Fix for GNUTLS_CONFIGURE_ON [2]
- Fix for PCAP_CONFIGURE_OFF [2]
- Bump PORT Revision

PR:		207719 [1], 205826 [2]
Submitted by:	novel [1], riggs [2]
2016-03-09 00:11:05 +00:00
Muhammad Moinur Rahman
ee0adc18e9 emulators/qemu-devel: Update version 2.4.0=>2.5.0
- Remove nox@ from MASTER_SITES (R.I.P. nox)
- Take MAINTAINERSHIP
- Add LICENSE (GPLv2)
- Convert to OPTIONSNG
- Fix patch files to be 'make makepatch' compatible
- Fix Multiple Security Vulnerabilities [1]

PR:		203112 [1]
Submitted by:	venture37@geeklan.co.uk [1]
Security:	CVE-2015-5165 [1]
		CVE-2015-5745 [1]
		CVE-2015-5154 [1]
		CVE-2015-5225 [1]
Differential Revision:	https://reviews.freebsd.org/D3691
2016-01-01 17:54:08 +00:00
Sean Bruno
8005224867 Build fixes for 2.4.0
- regenerate patch-pcap
- Escape --extra-ldflags as it looks like the qemu builder is eating spaces
  or lines making it frustrating to use.

PR:	202402 202536 202864
2015-09-03 17:39:41 +00:00
Sean Bruno
a1606ef670 QEMU update to 2.4.0
- remove patch files accepted and merge upstream
- Add new vgabios-virtio
2015-09-02 16:12:36 +00:00
Juergen Lock
f0e20e9950 - Apply fixes for pcnet guest to host escape vulnerability - CVE-2015-3209.
- Bump PORTREVISIONs.

PR:		201064
Submitted by:	koobs
Security:	https://vuxml.FreeBSD.org/freebsd/acd5d037-1c33-11e5-be9c-6805ca
1d3bb1.html
2015-06-26 19:14:41 +00:00
Juergen Lock
a5d6daade5 - Apply fixes for "BENOM" vulnerability - CVE-2015-3456 .
- Bump PORTREVISIONs.

PR:		200255
PR:		200256
PR:		200257
Submitted by:	venture37@geeklan.co.uk
Obtained from:	http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e907746266721f305d67bc0718795fedee2e824c
Security:	http://vuxml.FreeBSD.org/freebsd/2780e442-fc59-11e4-b18b-6805ca1d3bb1.html
2015-05-17 10:09:36 +00:00
Juergen Lock
88ee0db664 Update to 2.3.0 - announce message is here:
http://article.gmane.org/gmane.comp.emulators.qemu/332605
2015-04-28 18:53:13 +00:00
Juergen Lock
dbc8d4a8be - Update emulators/qemu-sbruno to latest github snapshot, fixing
the bsd-user targets on 8 and 9.
- Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno.
- Update emulators/qemu-devel to latest upstream release 2.2.0, now
  w/o bsd-user patches and knob again.  (Or at least until the
  patches are merged upstream...) [1]
- Add appropriate CONFLICTS to emulators/qemu too and bump its
  PORTREVISION.

Suggested by:	andrew [1] (for the benefit of testing aarch64 guests)
2015-01-06 19:47:28 +00:00
Juergen Lock
2b33b0e94d - More bsd-user updates:
- target-mips: Status.UX/SX/KX enable 32-bit address wrapping. [1]
  - target-mips: define ISA_MIPS64R6. [1]
  - Change UX/AWRAP to allow compile. Probably, this is part of the
    problem. [2]
  - Fix the pipe(2) and pipe2(2) syscalls so the file descriptors are
    returned correctly. [3]
  - Add sched_yield(2) and sched_get_priority_{max,min}(2) syscall
    handlers. [3]
  - Add missing setresgid(2) and setresuid(2) system call handlers. [3]
  - Eliminate "Qemu unsupported ioctl" warnings for cryptodev. [3]

- Bump PORTREVISION.

Submitted by:	Leon Alrae <leon.alrae@imgtec.com> [1], sbruno [2], sson [3]
Obtained from:	https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
2014-12-02 21:32:55 +00:00
Juergen Lock
479b4da944 - bsd-user: fix hw.machine and hw.machine_arch sysctls for a NULL buffer.
- Bump PORTREVISION.

Submitted by:	sson
Obtained from:	8267ad2cb9
2014-11-29 15:19:08 +00:00
Juergen Lock
63586a2af4 - bsd-user: Convert signal number for thr_kill() to host signum.
- Bump PORTREVISION.

Submitted by:	sson
Obtained from:	cab0d36ffd
2014-11-23 21:43:52 +00:00
Juergen Lock
6225aa5654 (Attempt to) fix build on head after faith(4) removal. (r274331)
Submitted by:	beefy1 via pkg-fallout
2014-11-14 18:52:32 +00:00
Juergen Lock
c126e97c4c - More bsd-user updates:
- Add support for the wait6(2) system call. [1]
  - Add stubs for the new cap_*() system calls. [1]
  - Add support for new socket system calls. [1]
  - Add support for pipe2(2) and chflagsat(2) system calls. [1]
  - Add stubs for the new aio_*() system calls. [1]
  - Add stub for the new procctl(2) system call. [1]
  - Add JHB's ioctl decoding to unknown ioctl message. [1]
  - Disable shebang script handling in qemu for head now that the
    the kernel image activators can be run independantly there;
    this allows /bin/sh to be used as a static amd64 binary on head
    poudriere jails. [2]
  - Some other small non-user-visible fixes.

- Bump PORTREVISION.

Submitted by:	sson [1], sbruno [2]
Obtained from:	https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
2014-11-08 11:48:13 +00:00
Juergen Lock
a97f5a8805 - bsd-user: deal with new sem_wait2 and sem_wake2 syscalls in head.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	2478a4e4a3
2014-11-03 19:25:57 +00:00
Juergen Lock
90a40bb73b - bsd-user: fix sendmsg(2) emulation w/o ancillary data.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	ad92220df3
2014-10-04 21:39:04 +00:00
Juergen Lock
83097b9388 - bsd-user: Increase MAX_ARG_PAGES to 64.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	200e09e4bf
2014-08-29 19:20:58 +00:00
Juergen Lock
cc89976501 Fix indentation. 2014-08-22 23:28:39 +00:00
Juergen Lock
4502405c48 - bsd-user: fix sysctl hw.physmem if host bitsize != target's.
- Bump PORTREVISION.

Reported by:	sbruno
2014-08-22 23:11:59 +00:00
Adam Weinberger
79d6017866 Rename emulators/ patch-xy patches to reflect the files they modify. 2014-07-28 18:39:29 +00:00
Juergen Lock
e45c9fdb5c Fix build on 8 and 9.
Submitted by:	beefy1 via pkg-fallout
2014-07-10 16:44:22 +00:00
Juergen Lock
c47e201eb2 - bsd-user: Follow exec_copyout_strings more closely when setting
up guest stack. [1]
- Bump PORTREVISION.

Submitted by:	kan [1]
Obtained from:	21927cffcc [1]
2014-07-06 18:14:57 +00:00
Juergen Lock
b3f3b52f4a Four more bsd-user fixes, poudriere now builds more armv6 packages
and sparc64 dynamic exectuables get a little further:

- Fix crashes with long argv invocations. [1]
- Fix ARMv6 stack alignment in a new thread. [1]
- sparc64: sync ccr before changing carry flag.
- Writing to readonly page can cause trap 0xc on FreeBSD too.
- Bump PORTREVISION.

Submitted by:	sson [1]
2014-07-06 16:11:28 +00:00
Juergen Lock
652731ab59 - bsd-user: Implement getvfsbyname(3) that popped up in ports builds
and used by tar. [1]
- bsd-user: Fix crashes in sysctl.kern.proc in 32bit envs on 64bit. [1]
- Bump PORTREVISION.

Submitted by:	sson [1]
2014-07-02 17:16:16 +00:00
Juergen Lock
bccbf3e27f - bsd-user: add posix-openpt syscall and TIOCPTMASTER/TIOCPKT ioctl
handling.  (this fixes sysutils/screen) [1]
- arm-bsd-user: fix sigreturn frame handling. [2]
- Bump PORTREVISION.

Submitted by:	kan [1], sson [2]
2014-06-27 18:31:19 +00:00
Juergen Lock
d0d1c5fea9 - Fix bsd-user default TARGET_SIGINFO handling.
- Bump PORTREVISION.

Reported by:	sbruno
2014-06-22 11:05:29 +00:00
Juergen Lock
5c9705912b Restore fbsd:nokeywords property on files/extra-patch-790d0ef625d22ff3f1a895d266a48e2bacd63776 lost by psvn ci. 2014-06-19 19:00:30 +00:00
Juergen Lock
543422a3dc - Fix FIODGNAME ioctl.
- Bump PORTREVISION.

Submitted by:	kan
2014-06-19 18:46:32 +00:00
Juergen Lock
3d81fef84c - Fix bsd-user x86_64 target failing with stk mmap: Invalid argument .
- Bump PORTREVISION.

Reported by:	sbruno
2014-06-12 19:34:06 +00:00
Juergen Lock
d4b92c1491 Pet check-plist. (I thought this was fixed by r354246 but looks like
that commit only handles the pkgng case not pkg_*...)

Submitted by:	jenkins via swills
2014-05-20 15:57:31 +00:00
Juergen Lock
d9f4f0718c Fix build on ppc. (base gcc + libc++?)
Submitted by:	jhibbits (via irc)
2014-05-07 18:41:52 +00:00
Juergen Lock
db7bde8a7e - bsd-user: Handle FreeBSD sysctl hw.pagesizes (by returning only
getpagesize() for now); this fixes rtld on head after r264346 that
  now uses the sysctl.
- Bump PORTREVISION.
2014-05-05 16:40:49 +00:00
Juergen Lock
02c40a40f5 Hm that still didn't work. Next try... 2014-04-18 18:37:12 +00:00
Juergen Lock
cf14e8bdd7 - Update to 2.0.0 - announce message is here:
http://article.gmane.org/gmane.comp.emulators.qemu/267615

- Take updated bsd-user patches from sbruno's github repo. [1]
- Add headers to my recent bsd-user patches. (they are applied as in
  the EXTRA_PATCHES order in the port Makefile)

Submitted by:	sbruno [1]
Obtained from:	https://github.com/seanbruno/qemu/commits/bsd-user [1]
2014-04-18 10:53:51 +00:00
Juergen Lock
48a18b5a84 - Add two more bsd-user patches, with these sbruno can now build 32bit
mips packages in poudriere (after adding 32bit qemu-mips support to it),
  tho he used his git repo that has the same patches: (and sson's binmisc
  code)

	https://github.com/seanbruno/qemu/tree/bsd-user/bsd-user

	https://wiki.freebsd.org/QemuUserModeHowTo

  - Fixup comment s/daddu/addu/g . [1]
  - Wrap mmap() allocation search to low memory to avoid another assert.

- Bump PORTREVISION.

Submitted by:	sbruno [1]
Obtained from:	6201cb17ad (diff-3ed994b5af908e5063b9d5724056d1b4) [1]
2014-04-06 15:56:23 +00:00
Juergen Lock
d7878e0e9d - Three more bsd-user fixes:
- Fix fchflags(). (typo) [1]
  - Fix hw.availpages sysctl. [1]
  - Fix sysctl kern.usrstack and kern.ps_strings invoked from sysctl(8).
- Bump PORTREVISION.

Reported by:	sbruno [1]
2014-04-05 21:54:49 +00:00
Juergen Lock
fed51a4bc9 - Add patch to fix 32bit mips sigreturn that caused mips bsd-user
to die with (target) SIGILL sometimes.
- Bump PORTREVISION.

Submitted by:	peter
Obtained from:	d62553b108
2014-04-04 23:16:43 +00:00
Juergen Lock
473ff02652 - Add two bvd-user fixes:
- Lower 32bit mips TARGET_USRSTACK to fix an assert starting mips
    processes on 64bit hosts. (like amd64) [1]
  - Pass down interp_prefix (-L arg) to target subprocesses so running
    shared target binaries as subprocesses works.
- Bump PORTREVISION.

Reported by:	sbruno [1]
2014-04-04 19:06:16 +00:00
Juergen Lock
adf8dede61 - Add patch to fix bigendian lseek for bsd-user mips.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	05ee849580
2014-03-23 20:29:25 +00:00
Juergen Lock
ed28389160 - Fix bsd-user targets running scripts with shebang args. [1]
- Bump PORTREVISION as per the new ruling. (fix only affecting
  non-default option BSD_USER)

PR:		ports/186490 [1]
Submitted by:	mat [1]
2014-02-06 17:48:25 +00:00
Juergen Lock
d792df7427 - Remove last mentions of SEABIOS_GIT. (which were nops already tho)
- Update LIB_DEPENDS.
- Rewrite NOPORTDOCS.
- Stagify.
- Fix plist. (empty dirs)
- Bump PORTREISION.

Submitted by:	rene (via private emai)
2014-01-19 22:27:14 +00:00
Juergen Lock
150b789f32 - Update to 1.7.0, announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2013-12/msg01770.html

- Bring back BSD_USER knob thanx to sson's latest patches. [1]

Submitted by:	sson [1]
2013-12-30 22:24:45 +00:00
Juergen Lock
8cf238d721 Update to 1.6.1 - announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2013-10/msg01207.html
2013-10-12 20:10:50 +00:00
Juergen Lock
fcc2b18cb3 - Add patch to fix mips-softmmu target crashes with clang. [1]
- Remove USE_GCC.
- Bump PORTREVISION.

Submitted by:	dim [1]
2013-10-03 13:10:13 +00:00