Commit graph

104 commits

Author SHA1 Message Date
Sean Bruno
8afaed3fd0 Fix build on FreeBSD 10. (cpm@)
Fix sendmsg/recvmsg emulation. (Michal Melon)
2017-10-24 16:44:24 +00:00
Sean Bruno
dbe8c51760 Update to capture some feature fixes:
Sync do_altsigstack with linux-user (mikael urankar)
Implement UMTX_OP_SHM mutex operations (michal meloun)
2017-10-20 21:28:14 +00:00
Sean Bruno
aea750b00a Repair a lock order reversion and remove mmap_fork_end() from fork_end()
Submitted by:	Michal Meloun <mmel@freebsd.org>
2017-10-12 16:31:21 +00:00
Sean Bruno
4e2c559b88 Minor comment nit fix0r.
PR:		221903
Submitted by:	linimon
2017-08-29 20:21:48 +00:00
Sean Bruno
70cfd107fd Remove the armv7 configuration when shutting down.
PR:		221903
Submitted by:	linimon
2017-08-29 18:22:54 +00:00
Sean Bruno
336c3bb09a Bump qemu-sbruno to chase qemu release candidates.
Add redirection for "armv7" so the poudriere can be tested for this
target when its ready.

Fix bsd-mem.h do_obreak() to invoke an mmap() with a proper -1 argument
for the fd argument.

Submitted by:	Mikael Urankanar <mikael.urankar@gmail.com>
2017-08-25 22:53:16 +00:00
Sean Bruno
20079b2a43 Update host kernel signal state when using sa_sigaction.
Merge linux-user change to allocate heap memory for execve args.

Submitted by:	Mikael Urankanar <mikael.urankar@gmail.com>
2017-07-21 21:15:30 +00:00
Sean Bruno
9a0bfe78ff Sync to QEMU for today.
Switch to using sysutils/dtc for libfdt with qemu-sbruno, remove
use of nox's homedir for providing dtc/libfdt and remove it as
a build depend in the qemu-user-static path if it was even being
built.
2017-07-17 19:38:56 +00:00
Sean Bruno
fb42daa9b8 Bump after pull requests.
- add strace logging for new syscalls after ino64 update
- sync mmap() code with linux-user
- implement posix_fallocate()
  -- this should help building aarch64 ports a bit.
- tcg: add handling for EXCP_ATOMIC

Submitted by:	Mikael Urankanar <mikael.urankar@gmail.com>
2017-07-11 20:03:10 +00:00
Sean Bruno
914ed891fa Bump for today's pull request:
Change certain bits of mmap.c to check for the fd that is passed into
mmap() for the value -1 instead of MAP_ANONYMOUS.  This should be much
more reliable as we will avoid doing an mmap() of -1.  :-)

Also include sys/param.h in mmap.c to capture __FreeBSD_version so that
MAP_GUARD code is actually run on versions that support it.

https://github.com/seanbruno/qemu-bsd-user/pull/45

Submitted by:	Guy Yur
2017-07-07 21:01:43 +00:00
Sean Bruno
3fb4be1ad2 Bump qemu-sbruno/qemu-user-static to capture fixes that are now required
in -current in support of mmap() MAP_GUARD.

Thanks to kib@ for the explanations and test program that I used to
come up with a solution.

While here, sync to upstream a bit.  This requires a little bit of a
fixup for NODOC builds.
2017-07-07 14:14:06 +00:00
Sean Bruno
ac8dc2c598 Update to support NODOCS build
PR:		216530
Submitted by:	Gerrit Bernie <mail+freebsd@gerritbeine.de>
2017-06-13 17:45:02 +00:00
Sean Bruno
0ffb1fa029 Update qemu-sbruno and qemu-user-static to 2.9.50
- Fix handling of ino64 changes in head (Michal Meloun)
- Don't return 0 if pending signal is detected before call to real select().
  This causes cmake timeout failures - a select() with NULL as
  timeout argument returns (erroneously) 0. (Michal Meloun)
- Allow users to compile bsd-user dynamically (Michal Meloun)
2017-06-12 14:35:10 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Mark Linimon
081beb2d38 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
2017-05-22 13:17:38 +00:00
Antoine Brodin
8fb879105d Switch default version of samba from 4.3 to 4.4
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D10131
2017-03-25 23:37:05 +00:00
Antoine Brodin
7cfe69b584 - Add USES=samba to handle dependency on samba
Valid ARGS:  build, env, lib, run (default: build,run)
- Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3)
- Remove obsolete samba36 ports
- Modify samba4x ports to install libsmbclient
- Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
2017-03-21 21:59:31 +00:00
Sean Bruno
2bc215492c Disable FPU on 32 bit mips. This will cause some additional breakage in
pkg building on mips.  Some ports errneously try and use FPU instructions
and will insta-crash when run on real hardware.  This change will identify
those ports that have these types of instructions so they can be fixed.
- dnelson

Add handler for fdatasync(). Quiesce noise about missing handler.
- jkim
2017-03-07 18:44:46 +00:00
Sean Bruno
75bb1e5675 Capture improvements to allow -j arguments to gmake work. 2017-03-01 22:07:17 +00:00
Sean Bruno
0ae256d150 update sha256 and size as I didn't do that when I updated.
Submitted by:	w.schwarzenfeld@utanet.at
2017-03-01 20:41:53 +00:00
Sean Bruno
b5bce6843f Capture fix for getrlimit()/setrlimit() which helps out with proper
handling of wait6().

34a5a54e4d
2017-03-01 16:50:40 +00:00
Sean Bruno
9f8fdd34bd Accept patch to fix fetching of distfiles (getifaddrs) on big endian machines.
As a side affect, we get a semi-functional ifconfig now.  :-)
2017-02-23 14:34:47 +00:00
Sean Bruno
2207838edb Fixup build of port for new and shiny man pages that appeared. 2017-01-23 18:11:31 +00:00
Sean Bruno
e39970ebe9 Update to capture fixes for signal handling from:
Fix typo in fork_end() in bsd-user/main.c. #32
    https://github.com/seanbruno/qemu-bsd-user/pull/32

Upstream merge and update as well.
2017-01-22 20:28:52 +00:00
Sean Bruno
65582e1985 Add little endian mips target to assist with folks doing CI20 development.
Submitted by:	kan
2017-01-11 22:41:28 +00:00
Sunpoet Po-Chuan Hsieh
e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00
Sean Bruno
8e4424ab46 Bump qemu-sbruno to capture today's removal of signal blocking in
the bsd-user code. This update should allow normal operation with the
bugs that we all were familiar with!

PR:	214944 215552
2016-12-29 01:12:37 +00:00
Sean Bruno
5c25f63290 Update to qemu 2.8.50:
- we should be able to build devel/m4 again, even though the configure
  script will segfault instead of hanging forever.  Progress!

PR:		214944
2016-12-26 15:08:17 +00:00
Sean Bruno
217b0b61a7 QEMU requires pixman to build qemu-system-* targets regardless of
whether we are building for X or not.  Add the dependency if

PR:		214668
Submitted by:	mail+freebsd@gerritbeine.de
2016-11-21 15:00:40 +00:00
Sean Bruno
dde039fc90 Track QEMU upstream as we approach 2.8.0 2016-11-17 18:13:07 +00:00
Alexey Dokuchaev
50c7b417e3 Do not terminate BROKEN messages with period, it is added by the framework. 2016-11-14 11:26:59 +00:00
Sean Bruno
5558ef6556 Fix build with devel/ncurses installed.
PR:	214484
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2016-11-14 02:58:57 +00:00
Dmitry Marakasov
65927df93c - Verbosify build
Approved by:	portmgr blanket
2016-11-12 12:46:33 +00:00
Sean Bruno
6480d047d2 Update qemu-sbruno/bsd-user to caputre a pile of memory leak abatements
in upstream QEMU.
2016-11-11 21:58:40 +00:00
Sean Bruno
d0151030e6 Delete duplicate distinfo lines that I inserted with make makesum.
Pointyhat fits nicely.

PR:	214309
Submitted by:	pkubaj@anongoth.pl
2016-11-08 13:57:29 +00:00
Sean Bruno
192def3202 Update and track upstream QEMU 2.7.50
No changes to qemu-user are intended here, nor are there and fixes here.
2016-11-08 02:00:10 +00:00
Dmitry Marakasov
19d207674a - Mark broken on 9.x: does not build:
multiboot.raw: option ROM does not begin with magic 55 aa

- Add missing files to plist

Approved by:	portmgr blanket
2016-10-24 15:35:01 +00:00
Sean Bruno
f3948c56b8 Update qemu-sbruno to upstream.
Add patch to fixup error message from kevent() emulation:
 	kevent: failed (Bad address)

Submitted-by: Mikail Urankar <mikael.urankar@gmail.com>
2016-07-28 16:18:47 +00:00
Sean Bruno
30cb462b0d Update qemu-sbruno/qemu-static-user to track upstream development.
Change the way qemu-user-static builds with relationship to glib20 (ian@)

Update a couple of patches for changes to include file locations.
2016-07-12 15:17:44 +00:00
Sean Bruno
ffa7e2ac5a Update qemu-sbruno/user-static to capture pull request:
- Allow utimensat() syscall on FreeBSD 10.3, where pkg(8) requires it.

Update qemu-sbruno Makefile to not build qemu-tools when building
qemu-user-static slave port.  (ian@)
2016-06-28 18:03:31 +00:00
Sean Bruno
22e415fd43 Capture upstream pull request from jkim@
https://github.com/seanbruno/qemu-bsd-user/pull/23

Limit sysctl(3) output for hw.availpages to 4GB.
- This output should be limited to 4GB on 32-bit targets to be consistent
  with hw.physmem. Note this also limits sysconf(3) with _SC_PHYS_PAGES
  because libc uses sysctlbyname("hw.availpages", ...) to get the value.
- Properly swap output for hw.physmem, etc. while I am in the neighborhood.

Submitted by:	jkim@
2016-06-21 14:59:46 +00:00
Sean Bruno
6a860fddbd Use correct ELF magic to run powerpc64 binaries.
PR:		209983
Submitted by:	jbeich
2016-06-13 19:12:50 +00:00
Sean Bruno
5dabcea590 Update to capture pull request from jkim@
- Clean up locking/unlocking path names

Submitted by:	jkim
2016-06-11 16:56:19 +00:00
Sean Bruno
3fb363a093 Update to a merged copy of 2.6.50 2016-06-02 19:11:22 +00:00
Sean Bruno
e430a29bd0 Update qemu-sbruno/qemu-static-user:
Disable atomic macros which conflict with C++ QEMU's atomic header defines
a few macros which conflict with standard C++ function names, namely
atomic_fetch_{add,sub,and,or}.  Disable these macros when compiling for C++.

PR:		209590
Submitted by:	dim
2016-05-19 17:27:35 +00:00
Sean Bruno
0aa0f23bcf Update qemu-sbruno to track upstream at version 2.5.93.
Fix aarch64 bsd-user by aligning the stack properly.  (andy turner).
743fbfffc1

Fix bsd-user syscall implementation of renameat.  (mikael urankar).
aa90a1b960

Fix bsd-user log_file argument handling now that handling of NULL isn't
being done by the called functions.
e3d069e8b1

PR:		208952
2016-04-28 21:01:44 +00:00
Sean Bruno
8ccb519c88 Fix arguments for renameat() to resolve issues with building certain
ports.

PR:	208952
Submitted by:	Mikael Urankar <mikhael.urankar@gmail.com>
2016-04-25 15:38:14 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Sean Bruno
3a64daf7b8 Remove i386 from builds for now while I unbreak the aarch64 target on
FreeBSD amd64 hosts.
2016-03-20 20:44:07 +00:00