Commit graph

119 commits

Author SHA1 Message Date
Mathieu Arnold
7710e576da Remove MASTER_SITES=GH when it is the only one.
It is added by USE_GITHUB.  Tested with `make makesum` not changing distinfo.
2019-01-08 13:20:19 +00:00
Sean Bruno
acafb4956e Bump qemu-sbruno to capture 4ef7d07
-  Avoid the overflow reported by Mark Millard...New version is safer
   end_addr >= addr is assured earlier in this loop.

Submitted by:	kevans
Reported by:	Mark Millard <marklmi@yahoo.com>
2018-11-11 17:15:04 +00:00
Sean Bruno
33c5a7f300 Incorpororate fixes to build packages after freebsd svn r339655. (kevans)
Add uname change for AARCH64.  (miki)
2018-11-09 18:14:43 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Antoine Brodin
ec3e56288a Switch default version of samba to 4.7
Samba 4.6 will be discontinued in a few weeks

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D16904
2018-09-01 17:05:47 +00:00
Sean Bruno
83d6593383 qemu-user-static update:
- Increase user stack when emulating aarch64.

Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
2018-06-23 00:02:15 +00:00
Sean Bruno
d2840ca42e qemu-sbruno + qemu-user-static highlights:
- regen syscall list
  (imp)
- Fix syscall handler for readv()
  (miki)
- new syscall support for getrandom() (fixes perl/python builds)
  (miki)
- cleanup some sysv-ipc detrius
  (brooks)
2018-05-01 23:35:16 +00:00
Brooks Davis
16a06ea402 Work around the lack of definition of union semun per POSIX.
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.

PR:		224300, 224443 (exp-run)
Approved by:	portmgr (antoine)
Exp-run:	antoine
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14137
2018-03-02 22:34:53 +00:00
Brooks Davis
3469ebf4e5 Rename and regenerate the patch files so they have normal syntax and
names and don't require -p1.

No functional change.

Approved by:	sbruno (maintainer)
2018-02-12 16:55:28 +00:00
Brooks Davis
5ae22da942 Update to the latest on github.
Clean up distfile handling.

Suppress unimportant and very noisy warnings in qemu-user-static.

PR:		225831
Approved by:	sbruno (maintainer)
Sponsored by:	DARPA, AFRL
2018-02-11 19:56:52 +00:00
Dmitry Marakasov
e88186a18a - Fix plist
- Check OPSYS along with OSVERSION

Approved by:	portmgr blanket
2018-02-03 17:08:09 +00:00
Sean Bruno
b50eb22fa0 emulators/qemu-sbruno add missing files to pkg-plist
Submitted by:	amdmi3
2018-02-01 21:06:28 +00:00
Antoine Brodin
ddd8c8640e Change default version of samba from 4.4 to 4.6
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D13529
2017-12-23 07:03:21 +00:00
Sean Bruno
aada14f42b emulators/qemu-sbruno
emulators/qemu-user-static

Update to 2.11.50 + patches from submitters.  Upstream introduced some git
nonsense with remotes inside their repos.  Change the way we fetch our
distributions with GH_TUPLE instead of the previous way.  Clean up a couple
lines commented out for the PCAP features that aren't stored in a patch, but
merely direct committed to this tree.

- Remove the interpreter name and interpreter prefix when retrieving the
  argument vectors using kvm_getargv  (Mikael Urankar)

- No need to check msg_controllen: msg_controllen can have the value 0 and
  the kernel discards negative value  (Mikael Urankar)

- Implement/modify kevent64 related syscalls.  (Mikael Urankar)

- Implement ktimer_{create, delete, settime, gettime} (Mikael Urankar)

- Stop using basename_r(3). Fix build after FreeBSD svn r326719 (Ed Shouten)

Changelogs can be found at https://github.com/seanbruno/qemu-bsd-user

PR:	224016
2017-12-17 00:14:17 +00:00
Mark Linimon
c26f1dd056 Alpha sort _stop function. Doesn't really affect anything (build-tested on armv7).
I have had this patch lurking in my tree for a while.
2017-11-27 01:09:32 +00:00
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