Commit graph

330 commits

Author SHA1 Message Date
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
Baptiste Daroussin
7a81cc2bcf Clean up plist 2014-10-27 12:24:22 +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
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +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
Juergen Lock
b41ddd0635 - 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.
2014-08-18 18:53:16 +00:00
Adam Weinberger
79d6017866 Rename emulators/ patch-xy patches to reflect the files they modify. 2014-07-28 18:39:29 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +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
27befbdddd Fix build on powerpc64 in poudriere.
Reported by:	jhibbits
2014-06-27 23:28:08 +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
Antoine Brodin
c0ef6553ab Allow to build with texinfo from ports
With hat:	portmgr
2014-06-26 08:41:34 +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
6f2df1132f 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.

As QEMU requires no host kernel patches to run, it is very safe and easy to use.

This is a slave port of emulators/qemu-devel to build only static
bsd-user targets named like qemu-mips-static.  While still being
experimental people have already built quite a few armv6/mips/mips64
packages using these and e.g. poudriere.  Some notes are also here:

	http://wiki.freebsd.org/QemuUserModeHowTo

WWW: http://wiki.qemu.org/Main_Page

Suggested by:	bapt
2014-05-19 17:12:58 +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
398e1c8e10 Bump PORTREVISION for the plist change. 2014-04-18 15:19:05 +00:00
Juergen Lock
f51fba84d0 (Attempt to) fix the previous commit:
- Set fbsd:nokeywords property on files/extra-patch-790d0ef625d22ff3f1a895d266a48e2bacd63776 . [1]
- pkg-plst was missed.

Resported by:	Nikolai Lifanov <lifanov@mail.lifanov.com> [1]
2014-04-18 15:16:09 +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
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +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
ab1128217e Update to 1.7.1 - announce/changelog message is here:
https://lists.nongnu.org/archive/html/qemu-devel/2014-03/msg04773.html
2014-03-26 20:09:29 +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
587837f8ba Switch my ports to USES= tar:... 2014-03-15 15:35:59 +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
f471f87efa Spell PORTREVISION correctly. 2014-01-19 23:01:59 +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
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +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
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Juergen Lock
1296c9cfcd - Fix plist when security/nss is installed. [1]
- (Attempt to) fix build with unusual locales(?). [2]

Reported by:	jkim (via private email) [1]
Reported by:	AN <andy@neu.net> on -ports [2]
2013-11-10 20:25:25 +00:00
Juergen Lock
0a45e41144 Add powerpc64 to ONLY_FOR_ARCHS.
PR:		ports/183067
Submitted by:	jhibbits
2013-10-19 22:07:48 +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
fa24fb0b77 - Set USE_GCC= any for now when building all targets as clang seems
to build a broken mips-softmmu target.  Some info is here - feel
  free to debug :)

	http://people.freebsd.org/~nox/tmp/qemu-1.6.0-mips-softmmu-crash.txt

- Bump PORTREVISION.

Submitted by:	sbruno
2013-09-30 22:26:08 +00:00