notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
non port: emulators/qemu-user-static/Makefile

Number of commits found: 35

Monday, 11 Sep 2023
21:15 Jan Beich (jbeich) search for other commits by this committer
emulators/qemu-user-static: unbreak with kern.elf64.allow_wx=0

$ qemu-aarch64-static /dev/null
qemu_mprotect__osdep: mprotect failed: Permission denied
mprotect of jit buffer: Permission denied
commit hash: 8bd17eb4fc9ff06ef48956ddd6299b5d4871b713 commit hash: 8bd17eb4fc9ff06ef48956ddd6299b5d4871b713 commit hash: 8bd17eb4fc9ff06ef48956ddd6299b5d4871b713 commit hash: 8bd17eb4fc9ff06ef48956ddd6299b5d4871b713 8bd17eb
Thursday, 10 Nov 2022
14:30 Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu*: Fix WWW

PR:		267686
Reported by:	grahamperrin
commit hash: ec290b80e0867a63d011fbf4db60fd9744e9deaf commit hash: ec290b80e0867a63d011fbf4db60fd9744e9deaf commit hash: ec290b80e0867a63d011fbf4db60fd9744e9deaf commit hash: ec290b80e0867a63d011fbf4db60fd9744e9deaf ec290b8
Wednesday, 7 Sep 2022
21:10 Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 b7f0544
Friday, 7 Jan 2022
22:46 Warner Losh (imp) search for other commits by this committer
emulators/qemu-user-static: Update for 13.x stable

swapoff was MFC'd Dec 20th to stable/13, pull in changes to fix that.

Sponsored by:		Netflix
commit hash: 4617d31a41ea3958798db6157b994c5cf666f0d4 commit hash: 4617d31a41ea3958798db6157b994c5cf666f0d4 commit hash: 4617d31a41ea3958798db6157b994c5cf666f0d4 commit hash: 4617d31a41ea3958798db6157b994c5cf666f0d4 4617d31
04:32 Colin Percival (cperciva) search for other commits by this committer
emulators/qemu-user-static: Fix build on recent FreeBSD

The swapoff(2) syscall recently changed from taking a single
argument to taking two (adding a field used for a "force" flag);
this broke qemu-user, since it translates system calls from
guest to host architecture.

Thanks to:	imp
With hat:	re@
Sponsored by:	https://www.patreon.com/cperciva
commit hash: 688bd028652dc3c6bfe606fd690359060bbd949d commit hash: 688bd028652dc3c6bfe606fd690359060bbd949d commit hash: 688bd028652dc3c6bfe606fd690359060bbd949d commit hash: 688bd028652dc3c6bfe606fd690359060bbd949d 688bd02
Tuesday, 23 Nov 2021
22:11 Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
commit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7af commit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7af commit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7af commit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7af 5933ac0
Sunday, 29 Aug 2021
19:27 Bernhard Froehlich (decke) search for other commits by this committer
emulators/qemu-user-static: Add CPE information

Approved by:	portmgr (blanket)
commit hash: 55ca89309d8925e5a559623e7b907fbafb88a85e commit hash: 55ca89309d8925e5a559623e7b907fbafb88a85e commit hash: 55ca89309d8925e5a559623e7b907fbafb88a85e commit hash: 55ca89309d8925e5a559623e7b907fbafb88a85e 55ca893
Saturday, 24 Jul 2021
02:03 Piotr Kubaj (pkubaj) search for other commits by this committer
emulators/qemu-user-static: fix build on powerpc

/wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-6ffee39fe2e4/tcg/ppc/tcg-target.inc.c:1922:3:
error: "Unhandled abi"
commit hash: 9620451f37c1a853d8d8d8cb9485baa3ab52112d commit hash: 9620451f37c1a853d8d8d8cb9485baa3ab52112d commit hash: 9620451f37c1a853d8d8d8cb9485baa3ab52112d commit hash: 9620451f37c1a853d8d8d8cb9485baa3ab52112d 9620451
Wednesday, 12 May 2021
00:44 Kyle Evans (kevans) search for other commits by this committer
emulators/qemu-user-static{,-devel}: fix build on recent FreeBSD

This updates both to 6ffee39fe2e4, which pulls in some patches to fix
the build after a recent commit to main that was MFC'd to stable/13.

While we're here, update qemu-user-static-devel to point to the current
upstream. qemu-user-static-devel will likely be updated in the near
future to point to imp's 6.0 rebase branch for Q/A.

MFH:	2021Q2
commit hash: f2b487a6e9c74a44c1a68595a442f65951d4007c commit hash: f2b487a6e9c74a44c1a68595a442f65951d4007c commit hash: f2b487a6e9c74a44c1a68595a442f65951d4007c commit hash: f2b487a6e9c74a44c1a68595a442f65951d4007c f2b487a
Wednesday, 7 Apr 2021
08:09 Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c cf118cc
Tuesday, 6 Apr 2021
14:31 Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb 305f148
Friday, 12 Mar 2021
13:59 kevans search for other commits by this committer
emulators/qemu-user-static: update to fix copy_file_range() bug

MFH:		2021Q1
Original commitRevision:568178 
Friday, 26 Feb 2021
04:53 kevans search for other commits by this committer
emulators/qemu-user-static: update to f7fd10d7677c

This features a number of fixes; highlights:
- Handle aarch64 YIELD instructions
- Bump ARG_MAX to match the FreeBSD default on LP64 platforms
- Implement __specialfd(2) and copy_file_range(2)
- Style fixes
- Fix an issue with binary execution[0]
- Fix page fault handling for self-modifying binaries[1]
- Suppress noise from CIOGSESSION usage and restore CRIOGET handling
- Patch _umtx_op(2) through to the kernel where possible[2]

[0] Attempting to execute a binary by name was broken when there was an
unrelated entry by the same name in PWD.  The report below observed it in the
cluster while building games/dobutsu, which tried to execute `xz` in a directory
that had an `xz` directory inside of it.

[1] From the fixing commit, qemu mprotect()s pages contained translated code
to PROT_READ | PROT_EXEC and upgrades protections as needed upon page fault.
This was broken in a previous commit that misidentified by the trap # that
should have been observed.  The observed issue a broken JIT compiler in
libpcre.

[2] _umtx_op can now be handled by the kernel in cases where the target long
size is not longer than the host, and the target and host are the same
endianness.  This is much more reliable than our previous emulation of these
operations, and should reduce hangs sometimes observed in threaded applications.
Note that this requires a recent stable/12 or 13.x/-CURRENT.

PR:		253375 [0]
PR:		253335 [1]
MFH:		2021Q1
Original commitRevision:566578 
Saturday, 19 Dec 2020
03:35 kevans search for other commits by this committer
emulators/qemu-user-static: update to 39244526c0af

Highlights:
- Various ppc target fixes (courtesy of bdragon@)
- Fix for hw.ncpu on mips (courtesy of Dan Nelson)
- Switch to the new qemu-bsd-user/qemu-bsd-user upstream
Original commitRevision:558422 
Friday, 4 Dec 2020
02:35 kevans search for other commits by this committer
emulators/qemu-user-static: fix the build after base r368005

r368005 removed CRIOGET, breaking the qemu-user-static build. We didn't
actually implement it anyways, so this update simply ripped it out rather
than trying to maintain it for old branches.

While here, bring qemu-user-static-devel up to parity with qemu-user-static.
We should be soon approaching the point where we can rebase the former
forward to a newer qemu.

Reported by:	gjb
Original commitRevision:556947 
Sunday, 22 Nov 2020
03:40 kevans search for other commits by this committer
emulators/qemu-user-static: update to 6f1319e1138c

Highlights:
- Fix stack allocation to behave more like FreeBSD really does[*].
- Raised the stack size on ARM, which should solve some limited cases of
  mysterious segfaults (e.g. lang/gcc9).
- Provide hw.ncpu and AT_NCPUS based on cpu affinity to more effectively
  limit cpu usage under qemu-user-static.

[*] We start out with a limited initial stack size, then login(1) raises
the stack size up to the maximum possible for the system (arch-based).
qemu-user-static will now calculate a maximum stack size based on the
host's configured rlimit and the qemu-bsd-user specified max for the arch
in question, then immediately raise the stack allocation size to the
maximum. This is especially important because we don't actually handle
stack growth.

post-patch is also dropped entirely, as these sed invocations have done
nothing since versions of qemu back in ~2007, AFAICT. CFLAGS/LDFLAGS get
sucked in during configure and qemu's built with -fno-strict-aliasing as
a default for even longer.
Original commitRevision:556027 
Friday, 13 Nov 2020
18:46 kevans search for other commits by this committer
emulators/qemu-bsd-user: update to 4ee077c

Highlight:
- Properly fixed consistent segfaults at runtime on processors w/o AVX{,2}
  support (previously worked around).
- Fixed RISC-V threading support; we can now build up to gdb at the very
  least.
- AT_HWCAP is now populated, ARM reflects VFP support properly
- Fixed more regressions in signal handling
- Fixed freebsd11_kevent emulation (used by lang/go)
- Handful of fixes for warnings in the bsd-user build
Original commitRevision:555038 
Monday, 9 Nov 2020
01:01 kevans search for other commits by this committer
emulators/qemu-user-static: update to d618de655

Primarily fixes qemu-user-static with the upstream switch to enabling
ARM_FEATURE_EL3 by default (I note that this actually eventually gets
reverted on its own just for CONFIG_USER in later revisions of qemu).

It also fixes some really fundamental breakage that was observed in, e.g.,
grep and most other applications. The official armv7 builder, beefy12, was
seeing an incredibly similar failure.
Original commitRevision:554661 
Wednesday, 4 Nov 2020
03:38 kevans search for other commits by this committer
emulators/qemu-user-static: update to 269a4ac93

Fixes:
- Fixed recently broken execution of PIE binaries (not zero'ing .bss)[0]
- Fixed handling of signals during pselect(2)/ppoll(2)
- Fixed nanosleep(2) (was writing out time remaining only on success)
- Fixed swapcontext(2)/setcontext(2)
- Fixed a lot of ktimer handling issues
- Fixed direct exec of rtld

Improvements:
- Implemented clock_nanosleep(2)
- Implemented msgget(2) and, more generally, fixed SysV msg support

- Refactored ELF loading (much easier to read, less easy to break)

Investigated by:	Andrew Gierth <andrew tao11 riddles org uk> [0]
Original commitRevision:554049 
Friday, 30 Oct 2020
03:26 kevans search for other commits by this committer
emulators/qemu-user-static: update to latest bsd-user-rebase-3.1

This fixes the recent ELF fix by properly initializing the extension to the
PT_LOAD segment rather than filling it with file garbage.

While here, disable capstone -- this part of the build is subject to
external pollution (= death), and we don't use it in qemu-user-static
anyways.
Original commitRevision:553663 
Monday, 19 Oct 2020
20:34 kevans search for other commits by this committer
emulators/qemu-user-static: update to latest with more fixes

This fixes a little more fallout from the signal refactoring that wasn't
immediately obvious, and fixes a longstanding bug in ELF loading that
resulted in rtld segfaults.
Original commitRevision:552765 
Monday, 14 Sep 2020
18:39 kevans search for other commits by this committer
emulator/qemu-user-static: fix major regression from signal refactor

Excellent diagnosis by Andrew Gierth revealed the exact nature of the
regression from previous signal handling fixes; gobject-introspection now
builds, and we should be able to once again build a pretty large chunk of
the ports tree.

The configure script patch has been incorporated into our tree, so the patch
may be removed.

As mentioned previously, qemu-user-static and qemu-user-static-devel will
not always be updated in lockstep; future changes will land to
qemu-user-static-devel first followed by qemu-user-static.
Original commitRevision:548669 
Sunday, 26 Apr 2020
15:57 kevans search for other commits by this committer
emulators/qemu-user-static: revive as a copy of qemu-user-static-devel

This is effectively the 3.1 update of qemu-user-static. The main feature of
the update to 3.1 is RISC-V support, contributed by Embecosm.

PR:		243906
Approved by:	koobs (mentor)
Original commitRevision:533075 
Wednesday, 15 Jan 2020
21:09 pkubaj search for other commits by this committer
emulators/qemu-user-static: unbreak on powerpc64

Builds and works fine.

MFH:		2020Q1 (fix build blanket)
Original commitRevision:523169 
Wednesday, 13 Nov 2019
22:46 linimon search for other commits by this committer
Let the masterport set the MAINTAINER line.

Submitted by:	kevans
Original commitRevision:517397 
Monday, 22 May 2017
13:17 linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
Original commitRevision:441455 
Wednesday, 1 Mar 2017
22:08 sbruno search for other commits by this committer
Add configure arg to fix build on 10.x

PR:	217411
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
Original commitRevision:435203 
Thursday, 18 Feb 2016
16:30 sbruno search for other commits by this committer
Attempt to unbreak stage (pointed out by amdmi3/junovitch)
- Add ivshmem-client/server to the pkg-plist of qemu-sbruno.
- Forceably nuke ivshmem-client/server during the build of qemu-user-static.

Bump PORTREVISION.
Original commitRevision:409112 
Wednesday, 16 Dec 2015
18:45 sbruno search for other commits by this committer
Take these ports as they are based on my branches in github.

rip nox@
Original commitRevision:403870 
Monday, 14 Dec 2015
02:52 eadler search for other commits by this committer
Reset maintainer
Original commitRevision:403704 
Sunday, 1 Mar 2015
15:16 nox search for other commits by this committer
- Add rc.d script to emulators/qemu-user-static to (optinally) setup
  imgact_binmisc configs on systems where that exists.
- Bump PORTREVISION.

Submitted by:	linimon (with some changes by me)
Original commitRevision:380206 
Tuesday, 6 Jan 2015
19:47 nox search for other commits by this committer
- 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)
Original commitRevision:376437 
Tuesday, 30 Dec 2014
23:52 nox search for other commits by this committer
Add MASTERDIR=   ${.CURDIR}/../qemu-sbruno as comment for now.
Original commitRevision:375865 
Monday, 18 Aug 2014
18:53 nox search for other commits by this committer
- Update to 2.0.2, announce message is here:

	http://thread.gmane.org/gmane.comp.emulators.qemu/291585

- Strip executables by default.
- Switch to USES=python:2,build.
Original commitRevision:365340 
Monday, 19 May 2014
17:12 nox search for other commits by this committer
Add new slave port emulators/qemu-user-static:

QEMU is a FAST! processor emulator using dynamic translation to achieve
good emulation speed.
QEMU has two operating modes:

    * Full system emulation. In this mode, QEMU emulates a full system
(for example a PC), including a processor and various peripherials.
It can be used to launch different Operating Systems without rebooting
the PC or to debug system code.
    * User mode emulation (Linux host only). In this mode, QEMU can launch
Linux processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator or to ease cross-compilation and
cross-debugging.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Original commitRevision:354560 

Number of commits found: 35