Commit graph

135 commits

Author SHA1 Message Date
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
Juergen Lock
119a4c1a03 - Add patch to fix pcnet-pci NIC big endian guests like MIPS Malta: [1]
http://lists.nongnu.org/archive/html/qemu-stable/2013-08/msg00217.html

  See also gonzo's blog post:

	http://kernelnomicon.org/?p=401

- Bump PORTREVISION.

Submitted by:	gonzo (via irc) [1]
Obtained from:	qemu upstream [1]
2013-09-05 17:39:25 +00:00
Juergen Lock
f2f3e3e60a - Update to 1.6.0 - announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-08/msg02245.html

- Remove bsd-user support as sson's patches no longer apply, you can still
  use his (older) git tree or my port of it on redports as described here:

	https://wiki.freebsd.org/QemuUserModeHowTo
2013-08-20 22:03:10 +00:00
Juergen Lock
ec69b9504e - Update to 1.5.1, announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-06/msg04798.html

- Simplify bsd-user ld script handling. [1]
- Make STATIC_LINK work again.
- Add GTK knob.
- Neither graphical UI can be built static, set IGNORE in that case.
- Properly fix AES_* link errors by #defining those functions as
  QEMU_AES_* to avoid conflicts with AES_* in -lcrypto needed (at
  least) by -lcurl.
- Add back CURL knob in the process.
- Fix "Warning: vlan %d is not connected to host network" when using
  pcap.
- Switch to USES= gmake.
- Note: I did not backport sson's latest bsd-user patches which he has
  now in a github tree based on qemu git head, tho I have a seperate
  port of that tree on redports:

	svn co https://svn.redports.org/nox/emulators/qemu-devel-sson/

  See also:

	https://wiki.freebsd.org/QemuUserModeHowTo

Submitted by:	emaste [1]
2013-07-06 17:09:57 +00:00
Juergen Lock
b179b768b4 - Update to 1.5.0, announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg02557.html

  Full changelog:

	http://wiki.qemu.org/ChangeLog/1.5

  The new libusb host code needs recent 10-current; for older releases you
  can still try the net/usbredir support knob, see pkg-message for details.

- Update pkg-message a bit.

Thanx to:	emaste for some suggestions
2013-05-29 18:01:53 +00:00
Juergen Lock
56931a5c0c - Update to 1.4.1, announce posting is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg02956.html

- Update to sson's latest bsd-user patches.
- Add bugfix for mips64 target uncovered by --enable-debug. [1]

Obtained from:	qemu-devel mailinglist [1]
2013-05-05 20:27:15 +00:00
Juergen Lock
80750a345d - Update to sson's latest bsd-user patches.
- Turns out qemu 1.4.x now builds with clang (almost) as is, so remove
  CLANG_HACK. [1]
- Add workaround for clang/i386 that doesn't define bit_CMOV in <cpuid.h>.

Submitted by:	Brad Smith <brad@comstyle.com> [1]
2013-04-25 19:34:20 +00:00
Jung-uk Kim
6c85d3bc3f Correct Subversion properties to fix patch. 2013-03-29 23:58:11 +00:00
Juergen Lock
45aa9370f0 - Update net/usbredir to 0.6 .
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches.

Thanx to:	sson, cognet, and others for much improved bsd-user support -
		it now runs at least quite a few mips64 and single-threaded
		arm binaries, see:

	https://wiki.freebsd.org/QemuUserModeHowTo
2013-03-29 17:40:38 +00:00
Juergen Lock
22ed0bf0be - Update to 1.1.1, announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg01626.html

- Rename CLANG workaround knob to CLANG_HACK to avoid it being
  inadvertently triggered by WITH_CLANG in make.conf etc.

- Change USE_BZIP2=yes to EXTRACT_SUFX=.tar.bz2 because the
  1.1.1 distfile is in fact compressed with gzip not bzip2 despite
  the extension.

- Add preliminary arm-bsd-user support, this still will only run
  very simple executables like a static echo (the same as the rest
  of the bsd-user targets) due to lots of syscall handling still
  missing.  Help welcome there! :)
  This work was started by bapt and cognet, I fixed syscall arg
  passing (only the first four are passed in registers, the rest
  on the stack) as well as errno and carry handling at syscall
  return among other things and cleaned up cognet's version a bit.
  (The OpenBSD case is untested and probably wrong.) [1]
  Some notes in this post:

	http://lists.freebsd.org/pipermail/freebsd-emulation/2012-July/009901.html

Submitted by:	cognet [1] (initial version of the patch)
2012-07-19 20:15:43 +00:00
Juergen Lock
b4d7f46da9 - Update net/usbredir to 0.4.3 .
- Update emulators/qemu-devel to 1.1.0 - announce posting is here:

	http://lists.nongnu.org/archive/html/qemu-devel/2012-06/msg00072.html
2012-06-09 16:19:05 +00:00
Juergen Lock
9069234177 - Add patch to improve e1000 rx performance especially with netmap to
emulators/qemu-devel. [1]
- Convert both qemu ports to OPTIONng.

Submitted by:	luigi [1] (original version of the patch)
Optained from:	qemu-devel mailinglist [1] (improved version of the patch)
2012-06-01 20:49:50 +00:00
Juergen Lock
743f1c15fc Update to 1.0.1 - announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-02/msg02458.html
2012-02-17 22:31:17 +00:00
Juergen Lock
188ce96b32 Update to 1.0, announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2011-12/msg00121.html

Feature safe:	yes
2011-12-02 19:28:07 +00:00
Juergen Lock
f0a083fe05 Update to 0.15.1 - Changelog:
http://wiki.qemu.org/ChangeLog/0.15
2011-10-13 19:08:30 +00:00
Juergen Lock
78889e9c76 - Add ahci emulation fix for FreeBSD guests. [1]
- Add OPTION to build a seabios git snapshot that add ahci boot disk
  emulation. [2]
- Bump PORTREVISION.

Submitted by:	avg [1]
Suggested by:	avg [2]
2011-09-16 19:17:12 +00:00